Removes an existing environment from your Ampify project.
+ * Removes an existing environment from your Amplify project.
*/
public deleteBackend(
args: DeleteBackendCommandInput,
@@ -447,7 +447,7 @@ export class AmplifyBackend extends AmplifyBackendClient {
}
/**
- * Provides project level details for your Amplify UI project.
+ * Provides project-level details for your Amplify UI project.
*/
public getBackend(args: GetBackendCommandInput, options?: __HttpHandlerOptions): Promise;
public getBackend(args: GetBackendCommandInput, cb: (err: any, data?: GetBackendCommandOutput) => void): void;
@@ -473,7 +473,7 @@ export class AmplifyBackend extends AmplifyBackendClient {
}
/**
- * Gets the details for a backend api.
+ * Gets the details for a backend API.
*/
public getBackendAPI(
args: GetBackendAPICommandInput,
@@ -537,7 +537,7 @@ export class AmplifyBackend extends AmplifyBackendClient {
}
/**
- * Gets a backend auth details.
+ * Gets backend auth details.
*/
public getBackendAuth(
args: GetBackendAuthCommandInput,
@@ -691,7 +691,7 @@ export class AmplifyBackend extends AmplifyBackendClient {
}
/**
- * Removes the AWS resources required to access the Amplify Admin UI.
+ * Removes the AWS resources that are required to access the Amplify Admin UI.
*/
public removeBackendConfig(
args: RemoveBackendConfigCommandInput,
@@ -787,7 +787,7 @@ export class AmplifyBackend extends AmplifyBackendClient {
}
/**
- * Updates the AWS resources required to access the Amplify Admin UI.
+ * Updates the AWS resources that are required to access the Amplify Admin UI.
*/
public updateBackendConfig(
args: UpdateBackendConfigCommandInput,
diff --git a/clients/client-amplifybackend/commands/CreateTokenCommand.ts b/clients/client-amplifybackend/commands/CreateTokenCommand.ts
index 5fe9ee32fe274..18e76d2993ccc 100644
--- a/clients/client-amplifybackend/commands/CreateTokenCommand.ts
+++ b/clients/client-amplifybackend/commands/CreateTokenCommand.ts
@@ -21,7 +21,7 @@ export type CreateTokenCommandInput = CreateTokenRequest;
export type CreateTokenCommandOutput = CreateTokenResponse & __MetadataBearer;
/**
- * Generates a one time challenge code to authenticate a user into your Amplify Admin UI.
+ * Generates a one-time challenge code to authenticate a user into your Amplify Admin UI.
*/
export class CreateTokenCommand extends $Command<
CreateTokenCommandInput,
diff --git a/clients/client-amplifybackend/commands/DeleteBackendCommand.ts b/clients/client-amplifybackend/commands/DeleteBackendCommand.ts
index 78dcb15032953..fdc8df02cc776 100644
--- a/clients/client-amplifybackend/commands/DeleteBackendCommand.ts
+++ b/clients/client-amplifybackend/commands/DeleteBackendCommand.ts
@@ -21,7 +21,7 @@ export type DeleteBackendCommandInput = DeleteBackendRequest;
export type DeleteBackendCommandOutput = DeleteBackendResponse & __MetadataBearer;
/**
- * Removes an existing environment from your Ampify project.
+ * Removes an existing environment from your Amplify project.
*/
export class DeleteBackendCommand extends $Command<
DeleteBackendCommandInput,
diff --git a/clients/client-amplifybackend/commands/GetBackendAPICommand.ts b/clients/client-amplifybackend/commands/GetBackendAPICommand.ts
index 55031c3a3274d..653bf0293e081 100644
--- a/clients/client-amplifybackend/commands/GetBackendAPICommand.ts
+++ b/clients/client-amplifybackend/commands/GetBackendAPICommand.ts
@@ -21,7 +21,7 @@ export type GetBackendAPICommandInput = GetBackendAPIRequest;
export type GetBackendAPICommandOutput = GetBackendAPIResponse & __MetadataBearer;
/**
- * Gets the details for a backend api.
+ * Gets the details for a backend API.
*/
export class GetBackendAPICommand extends $Command<
GetBackendAPICommandInput,
diff --git a/clients/client-amplifybackend/commands/GetBackendAuthCommand.ts b/clients/client-amplifybackend/commands/GetBackendAuthCommand.ts
index 684eb18bba6ae..6829ec400a7ac 100644
--- a/clients/client-amplifybackend/commands/GetBackendAuthCommand.ts
+++ b/clients/client-amplifybackend/commands/GetBackendAuthCommand.ts
@@ -21,7 +21,7 @@ export type GetBackendAuthCommandInput = GetBackendAuthRequest;
export type GetBackendAuthCommandOutput = GetBackendAuthResponse & __MetadataBearer;
/**
- * Gets a backend auth details.
+ * Gets backend auth details.
*/
export class GetBackendAuthCommand extends $Command<
GetBackendAuthCommandInput,
diff --git a/clients/client-amplifybackend/commands/GetBackendCommand.ts b/clients/client-amplifybackend/commands/GetBackendCommand.ts
index 14b938ab21130..f8db2f167dbd3 100644
--- a/clients/client-amplifybackend/commands/GetBackendCommand.ts
+++ b/clients/client-amplifybackend/commands/GetBackendCommand.ts
@@ -21,7 +21,7 @@ export type GetBackendCommandInput = GetBackendRequest;
export type GetBackendCommandOutput = GetBackendResponse & __MetadataBearer;
/**
- * Provides project level details for your Amplify UI project.
+ * Provides project-level details for your Amplify UI project.
*/
export class GetBackendCommand extends $Command<
GetBackendCommandInput,
diff --git a/clients/client-amplifybackend/commands/RemoveBackendConfigCommand.ts b/clients/client-amplifybackend/commands/RemoveBackendConfigCommand.ts
index b10546f809afa..f044cfb578f42 100644
--- a/clients/client-amplifybackend/commands/RemoveBackendConfigCommand.ts
+++ b/clients/client-amplifybackend/commands/RemoveBackendConfigCommand.ts
@@ -21,7 +21,7 @@ export type RemoveBackendConfigCommandInput = RemoveBackendConfigRequest;
export type RemoveBackendConfigCommandOutput = RemoveBackendConfigResponse & __MetadataBearer;
/**
- * Removes the AWS resources required to access the Amplify Admin UI.
+ * Removes the AWS resources that are required to access the Amplify Admin UI.
*/
export class RemoveBackendConfigCommand extends $Command<
RemoveBackendConfigCommandInput,
diff --git a/clients/client-amplifybackend/commands/UpdateBackendConfigCommand.ts b/clients/client-amplifybackend/commands/UpdateBackendConfigCommand.ts
index 7e633ab3635a1..8f8cfe66ef875 100644
--- a/clients/client-amplifybackend/commands/UpdateBackendConfigCommand.ts
+++ b/clients/client-amplifybackend/commands/UpdateBackendConfigCommand.ts
@@ -21,7 +21,7 @@ export type UpdateBackendConfigCommandInput = UpdateBackendConfigRequest;
export type UpdateBackendConfigCommandOutput = UpdateBackendConfigResponse & __MetadataBearer;
/**
- * Updates the AWS resources required to access the Amplify Admin UI.
+ * Updates the AWS resources that are required to access the Amplify Admin UI.
*/
export class UpdateBackendConfigCommand extends $Command<
UpdateBackendConfigCommandInput,
diff --git a/clients/client-amplifybackend/models/models_0.ts b/clients/client-amplifybackend/models/models_0.ts
index 6abbc5a0b439a..e1460c40ffcb9 100644
--- a/clients/client-amplifybackend/models/models_0.ts
+++ b/clients/client-amplifybackend/models/models_0.ts
@@ -15,7 +15,7 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
name: "BadRequestException";
$fault: "client";
/**
- * An error message to inform that the request has failed.
+ * An error message to inform that the request failed.
*/
Message?: string;
}
@@ -97,7 +97,7 @@ export interface GatewayTimeoutException extends __SmithyException, $MetadataBea
name: "GatewayTimeoutException";
$fault: "server";
/**
- * An error message to inform that the request has failed.
+ * An error message to inform that the request failed.
*/
Message?: string;
}
@@ -115,7 +115,7 @@ export interface NotFoundException extends __SmithyException, $MetadataBearer {
name: "NotFoundException";
$fault: "client";
/**
- * An error message to inform that the request has failed.
+ * An error message to inform that the request failed.
*/
Message?: string;
@@ -132,7 +132,7 @@ export namespace NotFoundException {
}
/**
- * An error that is returned when a limit of a specific type has been exceeded.
+ * An error that is returned when a limit of a specific type is exceeded.
*/
export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
name: "TooManyRequestsException";
@@ -143,7 +143,7 @@ export interface TooManyRequestsException extends __SmithyException, $MetadataBe
LimitType?: string;
/**
- * An error message to inform that the request has failed.
+ * An error message to inform that the request failed.
*/
Message?: string;
}
@@ -185,7 +185,7 @@ export interface CreateBackendRequest {
BackendEnvironmentName: string | undefined;
/**
- * The resource configuration for the create backend request.
+ * The resource configuration for the backend creation request.
*/
ResourceConfig?: ResourceConfig;
@@ -251,17 +251,17 @@ export enum Mode {
*/
export interface BackendAPIAppSyncAuthSettings {
/**
- * The Amazon Cognito user pool id, if Amazon Cognito was used as an authentication setting to access your data models.
+ * The Amazon Cognito user pool ID, if Amazon Cognito is used as an authentication setting to access your data models.
*/
CognitoUserPoolId?: string;
/**
- * The api key description for API_KEY, if it was used as an authentication mechanism to access your data models.
+ * The API key description for API_KEY, if it is used as an authentication mechanism to access your data models.
*/
Description?: string;
/**
- * The api key expiration time for API_KEY, if it was used as an authentication mechanism to access your data models.
+ * The API key expiration time for API_KEY, if it is used as an authentication mechanism to access your data models.
*/
ExpirationTime?: number;
@@ -271,7 +271,7 @@ export interface BackendAPIAppSyncAuthSettings {
OpenIDAuthTTL?: string;
/**
- * The clientID for openID, if openID was used as an authentication setting to access your data models.
+ * The clientID for openID, if openID is used as an authentication setting to access your data models.
*/
OpenIDClientId?: string;
@@ -281,12 +281,12 @@ export interface BackendAPIAppSyncAuthSettings {
OpenIDIatTTL?: string;
/**
- * The openID issuer URL, if openID was used as an authentication setting to access your data models.
+ * The openID issuer URL, if openID is used as an authentication setting to access your data models.
*/
OpenIDIssueURL?: string;
/**
- * The open id provider name, if openID was used as an authentication mechanism to access your data models.
+ * The openID provider name, if openID is used as an authentication mechanism to access your data models.
*/
OpenIDProviderName?: string;
}
@@ -326,7 +326,7 @@ export enum ResolutionStrategy {
}
/**
- * Describes the conflict resolution configuration for your data model configured in your Amplify project.
+ * Describes the conflict resolution configuration for the data model configured in your Amplify project.
*/
export interface BackendAPIConflictResolution {
/**
@@ -342,26 +342,26 @@ export namespace BackendAPIConflictResolution {
}
/**
- * The resource config for the data model,configured as a part of the Amplify project.
+ * The resource configuration for the data model, configured as a part of the Amplify project.
*/
export interface BackendAPIResourceConfig {
/**
- * Addition authentication methods used to interact with your data models.
+ * Additional authentication methods used to interact with your data models.
*/
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 the Amplify project.
*/
ApiName?: string;
/**
- * The conflict resoultion strategy for your data stored in the data models.
+ * The conflict resolution strategy for your data stored in the data models.
*/
ConflictResolution?: BackendAPIConflictResolution;
/**
- * The default authentication type for interacting with the configured data models in your amplify project.
+ * The default authentication type for interacting with the configured data models in your Amplify project.
*/
DefaultAuthType?: BackendAPIAuthType;
@@ -371,7 +371,7 @@ export interface BackendAPIResourceConfig {
Service?: string;
/**
- * The definition of the data model in the annotated transform of the graphql schema.
+ * The definition of the data model in the annotated transform of the GraphQL schema.
*/
TransformSchema?: string;
}
@@ -457,7 +457,7 @@ export enum AuthResources {
}
/**
- * Describes authorization configurations for the auth resources, configures as a part of your Amplify project.
+ * Describes authorization configurations for the auth resources, configured as a part of your Amplify project.
*/
export interface CreateBackendAuthIdentityPoolConfig {
/**
@@ -524,11 +524,11 @@ export namespace SmsSettings {
}
/**
- * Describes the forgot password policy for authenticating into the Amlify app.
+ * Describes the forgot password policy for authenticating into the Amplify app.
*/
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 method to use (either SMS or email) to deliver messages to app users that want to recover their password.
*/
DeliveryMethod: DeliveryMethod | string | undefined;
@@ -565,7 +565,7 @@ export enum MfaTypesElement {
*/
export interface Settings {
/**
- * The supported MFA types
+ * The supported MFA types.
*/
MfaTypes?: (MfaTypesElement | string)[];
@@ -582,11 +582,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 (MFA) policies for your Amazon Cognito user pool that's 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;
@@ -616,16 +616,16 @@ export enum OAuthScopesElement {
}
/**
- * Describes third party social federation configurations for allowing your app users to sign in using OAuth.
+ * Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
*/
export interface BackendAuthSocialProviderConfig {
/**
- * Describes the client_id which can be obtained from the third party social federation provider.
+ * Describes the client_id that 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 that can be obtained from third-party social federation providers.
*/
ClientSecret?: string;
}
@@ -637,21 +637,21 @@ export namespace BackendAuthSocialProviderConfig {
}
/**
- * The settings for using the social providers for access to your Amplify app.
+ * The settings for using the social identity providers for access to your Amplify app.
*/
export interface SocialProviderSettings {
/**
- * Describes third party social federation configurations for allowing your app users to sign in using OAuth.
+ * Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
*/
Facebook?: BackendAuthSocialProviderConfig;
/**
- * Describes third party social federation configurations for allowing your app users to sign in using OAuth.
+ * Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
*/
Google?: BackendAuthSocialProviderConfig;
/**
- * Describes third party social federation configurations for allowing your app users to sign in using OAuth.
+ * Describes third-party social federation configurations for allowing your app users to sign in using OAuth.
*/
LoginWithAmazon?: BackendAuthSocialProviderConfig;
}
@@ -672,27 +672,27 @@ export interface CreateBackendAuthOAuthConfig {
DomainPrefix?: string;
/**
- * The OAuth grant type which you use to allow app users to authenticate from your Amplify app.
+ * The OAuth grant type that you use to allow app users to authenticate from your Amplify app.
*/
OAuthGrantType: OAuthGrantType | string | undefined;
/**
- * List of OAuth related flows which use to allow your app users to authenticate from your Amplify app.
+ * List of OAuth-related flows that allow your app users to authenticate from your Amplify app.
*/
OAuthScopes: (OAuthScopesElement | string)[] | undefined;
/**
- * The redirected URI for sigining into your Amplify app.
+ * The redirected URI for signing in to your Amplify app.
*/
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;
/**
- * The settings for using the social providers for access to your Amplify app.
+ * The settings for using social identity providers for access to your Amplify app.
*/
SocialProviderSettings?: SocialProviderSettings;
}
@@ -704,16 +704,16 @@ export namespace CreateBackendAuthOAuthConfig {
}
/**
- * The password policy configuration for the backend to your Amplify project.
+ * The password policy configuration for the backend of your Amplify project.
*/
export interface CreateBackendAuthPasswordPolicyConfig {
/**
- * Additional constraints for the pasword used to access the backend of your Amplify project.
+ * Additional constraints for the password used to access the backend of your Amplify project.
*/
AdditionalConstraints?: (AdditionalConstraintsElement | string)[];
/**
- * The minimum length of password used to access the backend of your Amplify project.
+ * The minimum length of the password used to access the backend of your Amplify project.
*/
MinimumLength: number | undefined;
}
@@ -761,7 +761,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 (MFA) policies for your Amazon Cognito user pool that's configured as a part of your Amplify project.
*/
Mfa?: CreateBackendAuthMFAConfig;
@@ -776,12 +776,12 @@ export interface CreateBackendAuthUserPoolConfig {
PasswordPolicy?: CreateBackendAuthPasswordPolicyConfig;
/**
- * The required attributes to sign up new users in the user pool.
+ * The required attributes to sign up new users in the Amazon Cognito user pool.
*/
RequiredSignUpAttributes: (RequiredSignUpAttributesElement | string)[] | undefined;
/**
- * Describes the sign-in methods that your Amplify app users to login using the Amazon Cognito user pool, configured as a part of your Amplify project.
+ * Describes the sign-in methods that your Amplify app users to log in using the Amazon Cognito user pool that's configured as a part of your Amplify project.
*/
SignInMethod: SignInMethod | string | undefined;
@@ -807,7 +807,7 @@ export interface CreateBackendAuthResourceConfig {
AuthResources: AuthResources | string | undefined;
/**
- * Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
+ * Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of the auth resource in your Amplify project.
*/
IdentityPoolConfigs?: CreateBackendAuthIdentityPoolConfig;
@@ -817,7 +817,7 @@ export interface CreateBackendAuthResourceConfig {
Service: Service | string | undefined;
/**
- * Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
+ * Describes the authentication configuration for the Amazon Cognito user pool, provisioned as a part of the auth resource in your Amplify project.
*/
UserPoolConfigs: CreateBackendAuthUserPoolConfig | undefined;
}
@@ -966,17 +966,17 @@ export interface CreateTokenResponse {
AppId?: string;
/**
- * One time challenge code for authenticating into Amplify Admin UI.
+ * One-time challenge code for authenticating into the Amplify Admin UI.
*/
ChallengeCode?: string;
/**
- * A unique identifier provided when creating a new challenge token.
+ * A unique ID provided when creating a new challenge token.
*/
SessionId?: string;
/**
- * The expiry time for the one time generated token code.
+ * The expiry time for the one-time generated token code.
*/
Ttl?: string;
}
@@ -1183,7 +1183,7 @@ export interface DeleteTokenRequest {
AppId: string | undefined;
/**
- * The session Id.
+ * The session ID.
*/
SessionId: string | undefined;
}
@@ -1294,7 +1294,7 @@ export namespace GetBackendRequest {
export interface GetBackendResponse {
/**
- * A stringified version of the current configs for your Amplify project.
+ * A stringified version of the current configurations for your Amplify project.
*/
AmplifyMetaConfig?: string;
@@ -1427,7 +1427,7 @@ export enum Status {
export interface GetBackendAPIModelsResponse {
/**
- * Stringified JSON of the datastore model.
+ * Stringified JSON of the DataStore model.
*/
Models?: string;
@@ -1580,7 +1580,7 @@ export interface GetTokenRequest {
AppId: string | undefined;
/**
- * The session Id.
+ * The session ID.
*/
SessionId: string | undefined;
}
@@ -1598,17 +1598,17 @@ export interface GetTokenResponse {
AppId?: string;
/**
- * The one time challenge code for authenticating into Amplify Admin UI.
+ * The one-time challenge code for authenticating into the Amplify Admin UI.
*/
ChallengeCode?: string;
/**
- * A unique identifier provided when creating a new challenge token.
+ * A unique ID provided when creating a new challenge token.
*/
SessionId?: string;
/**
- * The expiry time for the one time generated token code.
+ * The expiry time for the one-time generated token code.
*/
Ttl?: string;
}
@@ -1639,7 +1639,7 @@ export interface ListBackendJobsRequest {
JobId?: string;
/**
- * The maximum number of results you want in the response.
+ * The maximum number of results that you want in the response.
*/
MaxResults?: number;
@@ -1649,12 +1649,12 @@ export interface ListBackendJobsRequest {
NextToken?: string;
/**
- * 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;
/**
- * Filters the list of response objects to only include those with the specified status.
+ * Filters the list of response objects to include only those with the specified status.
*/
Status?: string;
}
@@ -1888,7 +1888,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 you can set to allow or disallow guest-level authorization into your Amplify app.
*/
UnauthenticatedLogin?: boolean;
}
@@ -1900,11 +1900,11 @@ export namespace UpdateBackendAuthIdentityPoolConfig {
}
/**
- * Describes the forgot password policy for authenticating into the Amlify app.
+ * Describes the forgot password policy for authenticating into the Amplify app.
*/
export interface UpdateBackendAuthForgotPasswordConfig {
/**
- * Describes which mode to use (either SMS or email) to deliver messages to app users that want to recover their password.
+ * Describes which method to use (either SMS or email) to deliver messages to app users that want to recover their password.
*/
DeliveryMethod?: DeliveryMethod | string;
@@ -1961,22 +1961,22 @@ export interface UpdateBackendAuthOAuthConfig {
OAuthGrantType?: OAuthGrantType | string;
/**
- * The list of OAuth related flows which can allow users to authenticate from your Amplify app.
+ * The list of OAuth-related flows that can allow users to authenticate from your Amplify app.
*/
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[];
/**
- * Describes third party social federation configurations for allowing your users to sign in with OAuth.
+ * Describes third-party social federation configurations for allowing your users to sign in with OAuth.
*/
SocialProviderSettings?: SocialProviderSettings;
}
@@ -1988,16 +1988,16 @@ export namespace UpdateBackendAuthOAuthConfig {
}
/**
- * Describes the password policy for your Amazon Cognito user pool configured as a part of your Amplify project.
+ * Describes the password policy for your Amazon Cognito user pool that's configured as a part of your Amplify project.
*/
export interface UpdateBackendAuthPasswordPolicyConfig {
/**
- * Describes additional constrains on password requirements to sign in into the auth resource, configured as a part of your Ampify project.
+ * Describes additional constrains on the password requirements to sign in to the auth resource, configured as a part of your Amplify project.
*/
AdditionalConstraints?: (AdditionalConstraintsElement | string)[];
/**
- * Describes the minimum length of password required to sign in into the auth resource, configured as a part of your Ampify project.
+ * Describes the minimum length of the password required to sign in to the auth resource, configured as a part of your Amplify project.
*/
MinimumLength?: number;
}
@@ -2009,7 +2009,7 @@ export namespace UpdateBackendAuthPasswordPolicyConfig {
}
/**
- * Describes the Amazon Cognito user pool configuration for the authorization resource to be configured for your Amplify project on an update.
+ * Describes the Amazon Cognito user pool configuration to configure the authorization resource for your Amplify project on an update.
*/
export interface UpdateBackendAuthUserPoolConfig {
/**
@@ -2018,7 +2018,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 (MFA) policies for your Amazon Cognito user pool that's configured as a part of your Amplify project.
*/
Mfa?: UpdateBackendAuthMFAConfig;
@@ -2049,7 +2049,7 @@ export interface UpdateBackendAuthResourceConfig {
AuthResources: AuthResources | string | undefined;
/**
- * Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
+ * Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of the auth resource in your Amplify project.
*/
IdentityPoolConfigs?: UpdateBackendAuthIdentityPoolConfig;
@@ -2059,7 +2059,7 @@ export interface UpdateBackendAuthResourceConfig {
Service: Service | string | undefined;
/**
- * Describes the authentication configuration for the Amazon Cognito userpool, provisioned as a part of your auth resource in the Amplify project.
+ * Describes the authentication configuration for the Amazon Cognito user pool, provisioned as a part of the auth resource in your Amplify project.
*/
UserPoolConfigs: UpdateBackendAuthUserPoolConfig | undefined;
}
@@ -2144,22 +2144,22 @@ export namespace UpdateBackendAuthResponse {
*/
export interface LoginAuthConfigReqObj {
/**
- * Amazon Cognito identitypool id used for the Amplify Admin UI login authorization.
+ * The Amazon Cognito identity pool ID used for Amplify Admin UI login authorization.
*/
AwsCognitoIdentityPoolId?: string;
/**
- * The AWS Region for the the Amplify Admin login.
+ * The AWS Region for the Amplify Admin UI login.
*/
AwsCognitoRegion?: string;
/**
- * The Amazon Cognito userpool id used for Amplify Admin UI login authentication.
+ * The Amazon Cognito user pool ID used for Amplify Admin UI login authentication.
*/
AwsUserPoolsId?: string;
/**
- * The web client ID for the Amazon Cognito userpools.
+ * The web client ID for the Amazon Cognito user pools.
*/
AwsUserPoolsWebClientId?: string;
}
@@ -2208,7 +2208,7 @@ export interface UpdateBackendConfigResponse {
Error?: string;
/**
- * Describes the Amazon Cognito configurations for the Admin UI auth resource to login with.
+ * Describes the Amazon Cognito configurations for the Admin UI auth resource to log in with.
*/
LoginAuthConfig?: LoginAuthConfigReqObj;
}
@@ -2239,12 +2239,12 @@ 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;
/**
- * Filters the list of response objects to only include those with the specified status.
+ * Filters the list of response objects to include only those with the specified status.
*/
Status?: string;
}
diff --git a/clients/client-auditmanager/.gitignore b/clients/client-auditmanager/.gitignore
new file mode 100644
index 0000000000000..b41c05b597c42
--- /dev/null
+++ b/clients/client-auditmanager/.gitignore
@@ -0,0 +1,14 @@
+/node_modules/
+/build/
+/coverage/
+/docs/
+/types/
+/dist/
+*.tsbuildinfo
+*.tgz
+*.log
+package-lock.json
+
+*.d.ts
+*.js
+*.js.map
diff --git a/clients/client-auditmanager/.npmignore b/clients/client-auditmanager/.npmignore
new file mode 100644
index 0000000000000..b7ff81137c4ad
--- /dev/null
+++ b/clients/client-auditmanager/.npmignore
@@ -0,0 +1,4 @@
+/coverage/
+/docs/
+tsconfig.test.json
+*.tsbuildinfo
diff --git a/clients/client-auditmanager/AuditManager.ts b/clients/client-auditmanager/AuditManager.ts
new file mode 100644
index 0000000000000..35b27cc849d2d
--- /dev/null
+++ b/clients/client-auditmanager/AuditManager.ts
@@ -0,0 +1,1995 @@
+import { AuditManagerClient } from "./AuditManagerClient";
+import {
+ AssociateAssessmentReportEvidenceFolderCommand,
+ AssociateAssessmentReportEvidenceFolderCommandInput,
+ AssociateAssessmentReportEvidenceFolderCommandOutput,
+} from "./commands/AssociateAssessmentReportEvidenceFolderCommand";
+import {
+ BatchAssociateAssessmentReportEvidenceCommand,
+ BatchAssociateAssessmentReportEvidenceCommandInput,
+ BatchAssociateAssessmentReportEvidenceCommandOutput,
+} from "./commands/BatchAssociateAssessmentReportEvidenceCommand";
+import {
+ BatchCreateDelegationByAssessmentCommand,
+ BatchCreateDelegationByAssessmentCommandInput,
+ BatchCreateDelegationByAssessmentCommandOutput,
+} from "./commands/BatchCreateDelegationByAssessmentCommand";
+import {
+ BatchDeleteDelegationByAssessmentCommand,
+ BatchDeleteDelegationByAssessmentCommandInput,
+ BatchDeleteDelegationByAssessmentCommandOutput,
+} from "./commands/BatchDeleteDelegationByAssessmentCommand";
+import {
+ BatchDisassociateAssessmentReportEvidenceCommand,
+ BatchDisassociateAssessmentReportEvidenceCommandInput,
+ BatchDisassociateAssessmentReportEvidenceCommandOutput,
+} from "./commands/BatchDisassociateAssessmentReportEvidenceCommand";
+import {
+ BatchImportEvidenceToAssessmentControlCommand,
+ BatchImportEvidenceToAssessmentControlCommandInput,
+ BatchImportEvidenceToAssessmentControlCommandOutput,
+} from "./commands/BatchImportEvidenceToAssessmentControlCommand";
+import {
+ CreateAssessmentCommand,
+ CreateAssessmentCommandInput,
+ CreateAssessmentCommandOutput,
+} from "./commands/CreateAssessmentCommand";
+import {
+ CreateAssessmentFrameworkCommand,
+ CreateAssessmentFrameworkCommandInput,
+ CreateAssessmentFrameworkCommandOutput,
+} from "./commands/CreateAssessmentFrameworkCommand";
+import {
+ CreateAssessmentReportCommand,
+ CreateAssessmentReportCommandInput,
+ CreateAssessmentReportCommandOutput,
+} from "./commands/CreateAssessmentReportCommand";
+import {
+ CreateControlCommand,
+ CreateControlCommandInput,
+ CreateControlCommandOutput,
+} from "./commands/CreateControlCommand";
+import {
+ DeleteAssessmentCommand,
+ DeleteAssessmentCommandInput,
+ DeleteAssessmentCommandOutput,
+} from "./commands/DeleteAssessmentCommand";
+import {
+ DeleteAssessmentFrameworkCommand,
+ DeleteAssessmentFrameworkCommandInput,
+ DeleteAssessmentFrameworkCommandOutput,
+} from "./commands/DeleteAssessmentFrameworkCommand";
+import {
+ DeleteAssessmentReportCommand,
+ DeleteAssessmentReportCommandInput,
+ DeleteAssessmentReportCommandOutput,
+} from "./commands/DeleteAssessmentReportCommand";
+import {
+ DeleteControlCommand,
+ DeleteControlCommandInput,
+ DeleteControlCommandOutput,
+} from "./commands/DeleteControlCommand";
+import {
+ DeregisterAccountCommand,
+ DeregisterAccountCommandInput,
+ DeregisterAccountCommandOutput,
+} from "./commands/DeregisterAccountCommand";
+import {
+ DeregisterOrganizationAdminAccountCommand,
+ DeregisterOrganizationAdminAccountCommandInput,
+ DeregisterOrganizationAdminAccountCommandOutput,
+} from "./commands/DeregisterOrganizationAdminAccountCommand";
+import {
+ DisassociateAssessmentReportEvidenceFolderCommand,
+ DisassociateAssessmentReportEvidenceFolderCommandInput,
+ DisassociateAssessmentReportEvidenceFolderCommandOutput,
+} from "./commands/DisassociateAssessmentReportEvidenceFolderCommand";
+import {
+ GetAccountStatusCommand,
+ GetAccountStatusCommandInput,
+ GetAccountStatusCommandOutput,
+} from "./commands/GetAccountStatusCommand";
+import {
+ GetAssessmentCommand,
+ GetAssessmentCommandInput,
+ GetAssessmentCommandOutput,
+} from "./commands/GetAssessmentCommand";
+import {
+ GetAssessmentFrameworkCommand,
+ GetAssessmentFrameworkCommandInput,
+ GetAssessmentFrameworkCommandOutput,
+} from "./commands/GetAssessmentFrameworkCommand";
+import {
+ GetAssessmentReportUrlCommand,
+ GetAssessmentReportUrlCommandInput,
+ GetAssessmentReportUrlCommandOutput,
+} from "./commands/GetAssessmentReportUrlCommand";
+import {
+ GetChangeLogsCommand,
+ GetChangeLogsCommandInput,
+ GetChangeLogsCommandOutput,
+} from "./commands/GetChangeLogsCommand";
+import { GetControlCommand, GetControlCommandInput, GetControlCommandOutput } from "./commands/GetControlCommand";
+import {
+ GetDelegationsCommand,
+ GetDelegationsCommandInput,
+ GetDelegationsCommandOutput,
+} from "./commands/GetDelegationsCommand";
+import {
+ GetEvidenceByEvidenceFolderCommand,
+ GetEvidenceByEvidenceFolderCommandInput,
+ GetEvidenceByEvidenceFolderCommandOutput,
+} from "./commands/GetEvidenceByEvidenceFolderCommand";
+import { GetEvidenceCommand, GetEvidenceCommandInput, GetEvidenceCommandOutput } from "./commands/GetEvidenceCommand";
+import {
+ GetEvidenceFolderCommand,
+ GetEvidenceFolderCommandInput,
+ GetEvidenceFolderCommandOutput,
+} from "./commands/GetEvidenceFolderCommand";
+import {
+ GetEvidenceFoldersByAssessmentCommand,
+ GetEvidenceFoldersByAssessmentCommandInput,
+ GetEvidenceFoldersByAssessmentCommandOutput,
+} from "./commands/GetEvidenceFoldersByAssessmentCommand";
+import {
+ GetEvidenceFoldersByAssessmentControlCommand,
+ GetEvidenceFoldersByAssessmentControlCommandInput,
+ GetEvidenceFoldersByAssessmentControlCommandOutput,
+} from "./commands/GetEvidenceFoldersByAssessmentControlCommand";
+import {
+ GetOrganizationAdminAccountCommand,
+ GetOrganizationAdminAccountCommandInput,
+ GetOrganizationAdminAccountCommandOutput,
+} from "./commands/GetOrganizationAdminAccountCommand";
+import {
+ GetServicesInScopeCommand,
+ GetServicesInScopeCommandInput,
+ GetServicesInScopeCommandOutput,
+} from "./commands/GetServicesInScopeCommand";
+import { GetSettingsCommand, GetSettingsCommandInput, GetSettingsCommandOutput } from "./commands/GetSettingsCommand";
+import {
+ ListAssessmentFrameworksCommand,
+ ListAssessmentFrameworksCommandInput,
+ ListAssessmentFrameworksCommandOutput,
+} from "./commands/ListAssessmentFrameworksCommand";
+import {
+ ListAssessmentReportsCommand,
+ ListAssessmentReportsCommandInput,
+ ListAssessmentReportsCommandOutput,
+} from "./commands/ListAssessmentReportsCommand";
+import {
+ ListAssessmentsCommand,
+ ListAssessmentsCommandInput,
+ ListAssessmentsCommandOutput,
+} from "./commands/ListAssessmentsCommand";
+import {
+ ListControlsCommand,
+ ListControlsCommandInput,
+ ListControlsCommandOutput,
+} from "./commands/ListControlsCommand";
+import {
+ ListKeywordsForDataSourceCommand,
+ ListKeywordsForDataSourceCommandInput,
+ ListKeywordsForDataSourceCommandOutput,
+} from "./commands/ListKeywordsForDataSourceCommand";
+import {
+ ListNotificationsCommand,
+ ListNotificationsCommandInput,
+ ListNotificationsCommandOutput,
+} from "./commands/ListNotificationsCommand";
+import {
+ ListTagsForResourceCommand,
+ ListTagsForResourceCommandInput,
+ ListTagsForResourceCommandOutput,
+} from "./commands/ListTagsForResourceCommand";
+import {
+ RegisterAccountCommand,
+ RegisterAccountCommandInput,
+ RegisterAccountCommandOutput,
+} from "./commands/RegisterAccountCommand";
+import {
+ RegisterOrganizationAdminAccountCommand,
+ RegisterOrganizationAdminAccountCommandInput,
+ RegisterOrganizationAdminAccountCommandOutput,
+} from "./commands/RegisterOrganizationAdminAccountCommand";
+import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
+import {
+ UntagResourceCommand,
+ UntagResourceCommandInput,
+ UntagResourceCommandOutput,
+} from "./commands/UntagResourceCommand";
+import {
+ UpdateAssessmentCommand,
+ UpdateAssessmentCommandInput,
+ UpdateAssessmentCommandOutput,
+} from "./commands/UpdateAssessmentCommand";
+import {
+ UpdateAssessmentControlCommand,
+ UpdateAssessmentControlCommandInput,
+ UpdateAssessmentControlCommandOutput,
+} from "./commands/UpdateAssessmentControlCommand";
+import {
+ UpdateAssessmentControlSetStatusCommand,
+ UpdateAssessmentControlSetStatusCommandInput,
+ UpdateAssessmentControlSetStatusCommandOutput,
+} from "./commands/UpdateAssessmentControlSetStatusCommand";
+import {
+ UpdateAssessmentFrameworkCommand,
+ UpdateAssessmentFrameworkCommandInput,
+ UpdateAssessmentFrameworkCommandOutput,
+} from "./commands/UpdateAssessmentFrameworkCommand";
+import {
+ UpdateAssessmentStatusCommand,
+ UpdateAssessmentStatusCommandInput,
+ UpdateAssessmentStatusCommandOutput,
+} from "./commands/UpdateAssessmentStatusCommand";
+import {
+ UpdateControlCommand,
+ UpdateControlCommandInput,
+ UpdateControlCommandOutput,
+} from "./commands/UpdateControlCommand";
+import {
+ UpdateSettingsCommand,
+ UpdateSettingsCommandInput,
+ UpdateSettingsCommandOutput,
+} from "./commands/UpdateSettingsCommand";
+import {
+ ValidateAssessmentReportIntegrityCommand,
+ ValidateAssessmentReportIntegrityCommandInput,
+ ValidateAssessmentReportIntegrityCommandOutput,
+} from "./commands/ValidateAssessmentReportIntegrityCommand";
+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
+ * better manage risk and simplify compliance.
+ * AWS 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:
+ *
+ * -
+ *
+ * Actions: An alphabetical list of all AWS Audit Manager API operations.
+ *
+ * -
+ *
+ * Data types: An alphabetical list of all AWS Audit Manager data types.
+ *
+ * -
+ *
+ * Common parameters: Parameters that all Query operations can use.
+ *
+ * -
+ *
+ * Common errors: Client and server errors that all operations can return.
+ *
+ *
+ *
+ * If you're new to AWS Audit Manager, we recommend that you review the AWS Audit Manager User Guide.
+ */
+export class AuditManager extends AuditManagerClient {
+ /**
+ *
+ * Associates an evidence folder to the specified assessment report in AWS Audit Manager.
+ *
+ */
+ public associateAssessmentReportEvidenceFolder(
+ args: AssociateAssessmentReportEvidenceFolderCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public associateAssessmentReportEvidenceFolder(
+ args: AssociateAssessmentReportEvidenceFolderCommandInput,
+ cb: (err: any, data?: AssociateAssessmentReportEvidenceFolderCommandOutput) => void
+ ): void;
+ public associateAssessmentReportEvidenceFolder(
+ args: AssociateAssessmentReportEvidenceFolderCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: AssociateAssessmentReportEvidenceFolderCommandOutput) => void
+ ): void;
+ public associateAssessmentReportEvidenceFolder(
+ args: AssociateAssessmentReportEvidenceFolderCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: AssociateAssessmentReportEvidenceFolderCommandOutput) => void),
+ cb?: (err: any, data?: AssociateAssessmentReportEvidenceFolderCommandOutput) => void
+ ): Promise | void {
+ const command = new AssociateAssessmentReportEvidenceFolderCommand(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 list of evidence to an assessment report in an AWS Audit Manager assessment.
+ *
+ */
+ public batchAssociateAssessmentReportEvidence(
+ args: BatchAssociateAssessmentReportEvidenceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public batchAssociateAssessmentReportEvidence(
+ args: BatchAssociateAssessmentReportEvidenceCommandInput,
+ cb: (err: any, data?: BatchAssociateAssessmentReportEvidenceCommandOutput) => void
+ ): void;
+ public batchAssociateAssessmentReportEvidence(
+ args: BatchAssociateAssessmentReportEvidenceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: BatchAssociateAssessmentReportEvidenceCommandOutput) => void
+ ): void;
+ public batchAssociateAssessmentReportEvidence(
+ args: BatchAssociateAssessmentReportEvidenceCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: BatchAssociateAssessmentReportEvidenceCommandOutput) => void),
+ cb?: (err: any, data?: BatchAssociateAssessmentReportEvidenceCommandOutput) => void
+ ): Promise | void {
+ const command = new BatchAssociateAssessmentReportEvidenceCommand(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);
+ }
+ }
+
+ /**
+ *
+ * Create a batch of delegations for a specified assessment in AWS Audit Manager.
+ *
+ */
+ public batchCreateDelegationByAssessment(
+ args: BatchCreateDelegationByAssessmentCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public batchCreateDelegationByAssessment(
+ args: BatchCreateDelegationByAssessmentCommandInput,
+ cb: (err: any, data?: BatchCreateDelegationByAssessmentCommandOutput) => void
+ ): void;
+ public batchCreateDelegationByAssessment(
+ args: BatchCreateDelegationByAssessmentCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: BatchCreateDelegationByAssessmentCommandOutput) => void
+ ): void;
+ public batchCreateDelegationByAssessment(
+ args: BatchCreateDelegationByAssessmentCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchCreateDelegationByAssessmentCommandOutput) => void),
+ cb?: (err: any, data?: BatchCreateDelegationByAssessmentCommandOutput) => void
+ ): Promise | void {
+ const command = new BatchCreateDelegationByAssessmentCommand(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 delegations in the specified AWS Audit Manager assessment.
+ *
+ */
+ public batchDeleteDelegationByAssessment(
+ args: BatchDeleteDelegationByAssessmentCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public batchDeleteDelegationByAssessment(
+ args: BatchDeleteDelegationByAssessmentCommandInput,
+ cb: (err: any, data?: BatchDeleteDelegationByAssessmentCommandOutput) => void
+ ): void;
+ public batchDeleteDelegationByAssessment(
+ args: BatchDeleteDelegationByAssessmentCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: BatchDeleteDelegationByAssessmentCommandOutput) => void
+ ): void;
+ public batchDeleteDelegationByAssessment(
+ args: BatchDeleteDelegationByAssessmentCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchDeleteDelegationByAssessmentCommandOutput) => void),
+ cb?: (err: any, data?: BatchDeleteDelegationByAssessmentCommandOutput) => void
+ ): Promise | void {
+ const command = new BatchDeleteDelegationByAssessmentCommand(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 list of evidence from the specified assessment report in AWS Audit Manager.
+ *
+ */
+ public batchDisassociateAssessmentReportEvidence(
+ args: BatchDisassociateAssessmentReportEvidenceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public batchDisassociateAssessmentReportEvidence(
+ args: BatchDisassociateAssessmentReportEvidenceCommandInput,
+ cb: (err: any, data?: BatchDisassociateAssessmentReportEvidenceCommandOutput) => void
+ ): void;
+ public batchDisassociateAssessmentReportEvidence(
+ args: BatchDisassociateAssessmentReportEvidenceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: BatchDisassociateAssessmentReportEvidenceCommandOutput) => void
+ ): void;
+ public batchDisassociateAssessmentReportEvidence(
+ args: BatchDisassociateAssessmentReportEvidenceCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: BatchDisassociateAssessmentReportEvidenceCommandOutput) => void),
+ cb?: (err: any, data?: BatchDisassociateAssessmentReportEvidenceCommandOutput) => void
+ ): Promise | void {
+ const command = new BatchDisassociateAssessmentReportEvidenceCommand(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);
+ }
+ }
+
+ /**
+ *
+ * Uploads one or more pieces of evidence to the specified control in the assessment in AWS Audit Manager.
+ *
+ */
+ public batchImportEvidenceToAssessmentControl(
+ args: BatchImportEvidenceToAssessmentControlCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public batchImportEvidenceToAssessmentControl(
+ args: BatchImportEvidenceToAssessmentControlCommandInput,
+ cb: (err: any, data?: BatchImportEvidenceToAssessmentControlCommandOutput) => void
+ ): void;
+ public batchImportEvidenceToAssessmentControl(
+ args: BatchImportEvidenceToAssessmentControlCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: BatchImportEvidenceToAssessmentControlCommandOutput) => void
+ ): void;
+ public batchImportEvidenceToAssessmentControl(
+ args: BatchImportEvidenceToAssessmentControlCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: BatchImportEvidenceToAssessmentControlCommandOutput) => void),
+ cb?: (err: any, data?: BatchImportEvidenceToAssessmentControlCommandOutput) => void
+ ): Promise | void {
+ const command = new BatchImportEvidenceToAssessmentControlCommand(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 assessment in AWS Audit Manager.
+ *
+ */
+ public createAssessment(
+ args: CreateAssessmentCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createAssessment(
+ args: CreateAssessmentCommandInput,
+ cb: (err: any, data?: CreateAssessmentCommandOutput) => void
+ ): void;
+ public createAssessment(
+ args: CreateAssessmentCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateAssessmentCommandOutput) => void
+ ): void;
+ public createAssessment(
+ args: CreateAssessmentCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAssessmentCommandOutput) => void),
+ cb?: (err: any, data?: CreateAssessmentCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateAssessmentCommand(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 custom framework in AWS Audit Manager.
+ *
+ */
+ public createAssessmentFramework(
+ args: CreateAssessmentFrameworkCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createAssessmentFramework(
+ args: CreateAssessmentFrameworkCommandInput,
+ cb: (err: any, data?: CreateAssessmentFrameworkCommandOutput) => void
+ ): void;
+ public createAssessmentFramework(
+ args: CreateAssessmentFrameworkCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateAssessmentFrameworkCommandOutput) => void
+ ): void;
+ public createAssessmentFramework(
+ args: CreateAssessmentFrameworkCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAssessmentFrameworkCommandOutput) => void),
+ cb?: (err: any, data?: CreateAssessmentFrameworkCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateAssessmentFrameworkCommand(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 assessment report for the specified assessment.
+ *
+ */
+ public createAssessmentReport(
+ args: CreateAssessmentReportCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createAssessmentReport(
+ args: CreateAssessmentReportCommandInput,
+ cb: (err: any, data?: CreateAssessmentReportCommandOutput) => void
+ ): void;
+ public createAssessmentReport(
+ args: CreateAssessmentReportCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateAssessmentReportCommandOutput) => void
+ ): void;
+ public createAssessmentReport(
+ args: CreateAssessmentReportCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateAssessmentReportCommandOutput) => void),
+ cb?: (err: any, data?: CreateAssessmentReportCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateAssessmentReportCommand(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 custom control in AWS Audit Manager.
+ *
+ */
+ public createControl(
+ args: CreateControlCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public createControl(
+ args: CreateControlCommandInput,
+ cb: (err: any, data?: CreateControlCommandOutput) => void
+ ): void;
+ public createControl(
+ args: CreateControlCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: CreateControlCommandOutput) => void
+ ): void;
+ public createControl(
+ args: CreateControlCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateControlCommandOutput) => void),
+ cb?: (err: any, data?: CreateControlCommandOutput) => void
+ ): Promise | void {
+ const command = new CreateControlCommand(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 assessment in AWS Audit Manager.
+ *
+ */
+ public deleteAssessment(
+ args: DeleteAssessmentCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteAssessment(
+ args: DeleteAssessmentCommandInput,
+ cb: (err: any, data?: DeleteAssessmentCommandOutput) => void
+ ): void;
+ public deleteAssessment(
+ args: DeleteAssessmentCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteAssessmentCommandOutput) => void
+ ): void;
+ public deleteAssessment(
+ args: DeleteAssessmentCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAssessmentCommandOutput) => void),
+ cb?: (err: any, data?: DeleteAssessmentCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteAssessmentCommand(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 custom framework in AWS Audit Manager.
+ *
+ */
+ public deleteAssessmentFramework(
+ args: DeleteAssessmentFrameworkCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteAssessmentFramework(
+ args: DeleteAssessmentFrameworkCommandInput,
+ cb: (err: any, data?: DeleteAssessmentFrameworkCommandOutput) => void
+ ): void;
+ public deleteAssessmentFramework(
+ args: DeleteAssessmentFrameworkCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteAssessmentFrameworkCommandOutput) => void
+ ): void;
+ public deleteAssessmentFramework(
+ args: DeleteAssessmentFrameworkCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAssessmentFrameworkCommandOutput) => void),
+ cb?: (err: any, data?: DeleteAssessmentFrameworkCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteAssessmentFrameworkCommand(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 assessment report from an assessment in AWS Audit Manager.
+ *
+ */
+ public deleteAssessmentReport(
+ args: DeleteAssessmentReportCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteAssessmentReport(
+ args: DeleteAssessmentReportCommandInput,
+ cb: (err: any, data?: DeleteAssessmentReportCommandOutput) => void
+ ): void;
+ public deleteAssessmentReport(
+ args: DeleteAssessmentReportCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteAssessmentReportCommandOutput) => void
+ ): void;
+ public deleteAssessmentReport(
+ args: DeleteAssessmentReportCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteAssessmentReportCommandOutput) => void),
+ cb?: (err: any, data?: DeleteAssessmentReportCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteAssessmentReportCommand(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 custom control in AWS Audit Manager.
+ *
+ */
+ public deleteControl(
+ args: DeleteControlCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deleteControl(
+ args: DeleteControlCommandInput,
+ cb: (err: any, data?: DeleteControlCommandOutput) => void
+ ): void;
+ public deleteControl(
+ args: DeleteControlCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeleteControlCommandOutput) => void
+ ): void;
+ public deleteControl(
+ args: DeleteControlCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteControlCommandOutput) => void),
+ cb?: (err: any, data?: DeleteControlCommandOutput) => void
+ ): Promise | void {
+ const command = new DeleteControlCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Deregisters an account in AWS Audit Manager.
+ *
+ */
+ public deregisterAccount(
+ args: DeregisterAccountCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deregisterAccount(
+ args: DeregisterAccountCommandInput,
+ cb: (err: any, data?: DeregisterAccountCommandOutput) => void
+ ): void;
+ public deregisterAccount(
+ args: DeregisterAccountCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeregisterAccountCommandOutput) => void
+ ): void;
+ public deregisterAccount(
+ args: DeregisterAccountCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterAccountCommandOutput) => void),
+ cb?: (err: any, data?: DeregisterAccountCommandOutput) => void
+ ): Promise | void {
+ const command = new DeregisterAccountCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Deregisters the delegated AWS administrator account from the AWS organization.
+ *
+ */
+ public deregisterOrganizationAdminAccount(
+ args: DeregisterOrganizationAdminAccountCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public deregisterOrganizationAdminAccount(
+ args: DeregisterOrganizationAdminAccountCommandInput,
+ cb: (err: any, data?: DeregisterOrganizationAdminAccountCommandOutput) => void
+ ): void;
+ public deregisterOrganizationAdminAccount(
+ args: DeregisterOrganizationAdminAccountCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DeregisterOrganizationAdminAccountCommandOutput) => void
+ ): void;
+ public deregisterOrganizationAdminAccount(
+ args: DeregisterOrganizationAdminAccountCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterOrganizationAdminAccountCommandOutput) => void),
+ cb?: (err: any, data?: DeregisterOrganizationAdminAccountCommandOutput) => void
+ ): Promise | void {
+ const command = new DeregisterOrganizationAdminAccountCommand(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 an evidence folder from the specified assessment report in AWS Audit Manager.
+ *
+ */
+ public disassociateAssessmentReportEvidenceFolder(
+ args: DisassociateAssessmentReportEvidenceFolderCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public disassociateAssessmentReportEvidenceFolder(
+ args: DisassociateAssessmentReportEvidenceFolderCommandInput,
+ cb: (err: any, data?: DisassociateAssessmentReportEvidenceFolderCommandOutput) => void
+ ): void;
+ public disassociateAssessmentReportEvidenceFolder(
+ args: DisassociateAssessmentReportEvidenceFolderCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: DisassociateAssessmentReportEvidenceFolderCommandOutput) => void
+ ): void;
+ public disassociateAssessmentReportEvidenceFolder(
+ args: DisassociateAssessmentReportEvidenceFolderCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: DisassociateAssessmentReportEvidenceFolderCommandOutput) => void),
+ cb?: (err: any, data?: DisassociateAssessmentReportEvidenceFolderCommandOutput) => void
+ ): Promise | void {
+ const command = new DisassociateAssessmentReportEvidenceFolderCommand(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 registration status of an account in AWS Audit Manager.
+ *
+ */
+ public getAccountStatus(
+ args: GetAccountStatusCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getAccountStatus(
+ args: GetAccountStatusCommandInput,
+ cb: (err: any, data?: GetAccountStatusCommandOutput) => void
+ ): void;
+ public getAccountStatus(
+ args: GetAccountStatusCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetAccountStatusCommandOutput) => void
+ ): void;
+ public getAccountStatus(
+ args: GetAccountStatusCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAccountStatusCommandOutput) => void),
+ cb?: (err: any, data?: GetAccountStatusCommandOutput) => void
+ ): Promise | void {
+ const command = new GetAccountStatusCommand(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 assessment from AWS Audit Manager.
+ *
+ */
+ public getAssessment(
+ args: GetAssessmentCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getAssessment(
+ args: GetAssessmentCommandInput,
+ cb: (err: any, data?: GetAssessmentCommandOutput) => void
+ ): void;
+ public getAssessment(
+ args: GetAssessmentCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetAssessmentCommandOutput) => void
+ ): void;
+ public getAssessment(
+ args: GetAssessmentCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAssessmentCommandOutput) => void),
+ cb?: (err: any, data?: GetAssessmentCommandOutput) => void
+ ): Promise | void {
+ const command = new GetAssessmentCommand(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 framework from AWS Audit Manager.
+ *
+ */
+ public getAssessmentFramework(
+ args: GetAssessmentFrameworkCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getAssessmentFramework(
+ args: GetAssessmentFrameworkCommandInput,
+ cb: (err: any, data?: GetAssessmentFrameworkCommandOutput) => void
+ ): void;
+ public getAssessmentFramework(
+ args: GetAssessmentFrameworkCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetAssessmentFrameworkCommandOutput) => void
+ ): void;
+ public getAssessmentFramework(
+ args: GetAssessmentFrameworkCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAssessmentFrameworkCommandOutput) => void),
+ cb?: (err: any, data?: GetAssessmentFrameworkCommandOutput) => void
+ ): Promise | void {
+ const command = new GetAssessmentFrameworkCommand(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 URL of a specified assessment report in AWS Audit Manager.
+ *
+ */
+ public getAssessmentReportUrl(
+ args: GetAssessmentReportUrlCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getAssessmentReportUrl(
+ args: GetAssessmentReportUrlCommandInput,
+ cb: (err: any, data?: GetAssessmentReportUrlCommandOutput) => void
+ ): void;
+ public getAssessmentReportUrl(
+ args: GetAssessmentReportUrlCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetAssessmentReportUrlCommandOutput) => void
+ ): void;
+ public getAssessmentReportUrl(
+ args: GetAssessmentReportUrlCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetAssessmentReportUrlCommandOutput) => void),
+ cb?: (err: any, data?: GetAssessmentReportUrlCommandOutput) => void
+ ): Promise | void {
+ const command = new GetAssessmentReportUrlCommand(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 changelogs from AWS Audit Manager.
+ *
+ */
+ public getChangeLogs(
+ args: GetChangeLogsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getChangeLogs(
+ args: GetChangeLogsCommandInput,
+ cb: (err: any, data?: GetChangeLogsCommandOutput) => void
+ ): void;
+ public getChangeLogs(
+ args: GetChangeLogsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetChangeLogsCommandOutput) => void
+ ): void;
+ public getChangeLogs(
+ args: GetChangeLogsCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetChangeLogsCommandOutput) => void),
+ cb?: (err: any, data?: GetChangeLogsCommandOutput) => void
+ ): Promise | void {
+ const command = new GetChangeLogsCommand(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 control from AWS Audit Manager.
+ *
+ */
+ public getControl(args: GetControlCommandInput, options?: __HttpHandlerOptions): Promise;
+ public getControl(args: GetControlCommandInput, cb: (err: any, data?: GetControlCommandOutput) => void): void;
+ public getControl(
+ args: GetControlCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetControlCommandOutput) => void
+ ): void;
+ public getControl(
+ args: GetControlCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetControlCommandOutput) => void),
+ cb?: (err: any, data?: GetControlCommandOutput) => void
+ ): Promise | void {
+ const command = new GetControlCommand(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 delegations from an audit owner to a delegate.
+ *
+ */
+ public getDelegations(
+ args: GetDelegationsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getDelegations(
+ args: GetDelegationsCommandInput,
+ cb: (err: any, data?: GetDelegationsCommandOutput) => void
+ ): void;
+ public getDelegations(
+ args: GetDelegationsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetDelegationsCommandOutput) => void
+ ): void;
+ public getDelegations(
+ args: GetDelegationsCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDelegationsCommandOutput) => void),
+ cb?: (err: any, data?: GetDelegationsCommandOutput) => void
+ ): Promise | void {
+ const command = new GetDelegationsCommand(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 evidence from AWS Audit Manager.
+ *
+ */
+ public getEvidence(args: GetEvidenceCommandInput, options?: __HttpHandlerOptions): Promise;
+ public getEvidence(args: GetEvidenceCommandInput, cb: (err: any, data?: GetEvidenceCommandOutput) => void): void;
+ public getEvidence(
+ args: GetEvidenceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetEvidenceCommandOutput) => void
+ ): void;
+ public getEvidence(
+ args: GetEvidenceCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetEvidenceCommandOutput) => void),
+ cb?: (err: any, data?: GetEvidenceCommandOutput) => void
+ ): Promise | void {
+ const command = new GetEvidenceCommand(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 all evidence from a specified evidence folder in AWS Audit Manager.
+ *
+ */
+ public getEvidenceByEvidenceFolder(
+ args: GetEvidenceByEvidenceFolderCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getEvidenceByEvidenceFolder(
+ args: GetEvidenceByEvidenceFolderCommandInput,
+ cb: (err: any, data?: GetEvidenceByEvidenceFolderCommandOutput) => void
+ ): void;
+ public getEvidenceByEvidenceFolder(
+ args: GetEvidenceByEvidenceFolderCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetEvidenceByEvidenceFolderCommandOutput) => void
+ ): void;
+ public getEvidenceByEvidenceFolder(
+ args: GetEvidenceByEvidenceFolderCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetEvidenceByEvidenceFolderCommandOutput) => void),
+ cb?: (err: any, data?: GetEvidenceByEvidenceFolderCommandOutput) => void
+ ): Promise | void {
+ const command = new GetEvidenceByEvidenceFolderCommand(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 evidence folder from the specified assessment in AWS Audit Manager.
+ *
+ */
+ public getEvidenceFolder(
+ args: GetEvidenceFolderCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getEvidenceFolder(
+ args: GetEvidenceFolderCommandInput,
+ cb: (err: any, data?: GetEvidenceFolderCommandOutput) => void
+ ): void;
+ public getEvidenceFolder(
+ args: GetEvidenceFolderCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetEvidenceFolderCommandOutput) => void
+ ): void;
+ public getEvidenceFolder(
+ args: GetEvidenceFolderCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetEvidenceFolderCommandOutput) => void),
+ cb?: (err: any, data?: GetEvidenceFolderCommandOutput) => void
+ ): Promise | void {
+ const command = new GetEvidenceFolderCommand(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 evidence folders from a specified assessment in AWS Audit Manager.
+ *
+ */
+ public getEvidenceFoldersByAssessment(
+ args: GetEvidenceFoldersByAssessmentCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getEvidenceFoldersByAssessment(
+ args: GetEvidenceFoldersByAssessmentCommandInput,
+ cb: (err: any, data?: GetEvidenceFoldersByAssessmentCommandOutput) => void
+ ): void;
+ public getEvidenceFoldersByAssessment(
+ args: GetEvidenceFoldersByAssessmentCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetEvidenceFoldersByAssessmentCommandOutput) => void
+ ): void;
+ public getEvidenceFoldersByAssessment(
+ args: GetEvidenceFoldersByAssessmentCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetEvidenceFoldersByAssessmentCommandOutput) => void),
+ cb?: (err: any, data?: GetEvidenceFoldersByAssessmentCommandOutput) => void
+ ): Promise | void {
+ const command = new GetEvidenceFoldersByAssessmentCommand(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 evidence folders associated with a specified control of an assessment in AWS Audit Manager.
+ *
+ */
+ public getEvidenceFoldersByAssessmentControl(
+ args: GetEvidenceFoldersByAssessmentControlCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getEvidenceFoldersByAssessmentControl(
+ args: GetEvidenceFoldersByAssessmentControlCommandInput,
+ cb: (err: any, data?: GetEvidenceFoldersByAssessmentControlCommandOutput) => void
+ ): void;
+ public getEvidenceFoldersByAssessmentControl(
+ args: GetEvidenceFoldersByAssessmentControlCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetEvidenceFoldersByAssessmentControlCommandOutput) => void
+ ): void;
+ public getEvidenceFoldersByAssessmentControl(
+ args: GetEvidenceFoldersByAssessmentControlCommandInput,
+ optionsOrCb?:
+ | __HttpHandlerOptions
+ | ((err: any, data?: GetEvidenceFoldersByAssessmentControlCommandOutput) => void),
+ cb?: (err: any, data?: GetEvidenceFoldersByAssessmentControlCommandOutput) => void
+ ): Promise | void {
+ const command = new GetEvidenceFoldersByAssessmentControlCommand(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 name of the delegated AWS administrator account for the AWS organization.
+ *
+ */
+ public getOrganizationAdminAccount(
+ args: GetOrganizationAdminAccountCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getOrganizationAdminAccount(
+ args: GetOrganizationAdminAccountCommandInput,
+ cb: (err: any, data?: GetOrganizationAdminAccountCommandOutput) => void
+ ): void;
+ public getOrganizationAdminAccount(
+ args: GetOrganizationAdminAccountCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetOrganizationAdminAccountCommandOutput) => void
+ ): void;
+ public getOrganizationAdminAccount(
+ args: GetOrganizationAdminAccountCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetOrganizationAdminAccountCommandOutput) => void),
+ cb?: (err: any, data?: GetOrganizationAdminAccountCommandOutput) => void
+ ): Promise | void {
+ const command = new GetOrganizationAdminAccountCommand(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 the in-scope AWS services for the specified assessment.
+ *
+ */
+ public getServicesInScope(
+ args: GetServicesInScopeCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public getServicesInScope(
+ args: GetServicesInScopeCommandInput,
+ cb: (err: any, data?: GetServicesInScopeCommandOutput) => void
+ ): void;
+ public getServicesInScope(
+ args: GetServicesInScopeCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetServicesInScopeCommandOutput) => void
+ ): void;
+ public getServicesInScope(
+ args: GetServicesInScopeCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetServicesInScopeCommandOutput) => void),
+ cb?: (err: any, data?: GetServicesInScopeCommandOutput) => void
+ ): Promise | void {
+ const command = new GetServicesInScopeCommand(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 settings for the specified AWS account.
+ *
+ */
+ public getSettings(args: GetSettingsCommandInput, options?: __HttpHandlerOptions): Promise;
+ public getSettings(args: GetSettingsCommandInput, cb: (err: any, data?: GetSettingsCommandOutput) => void): void;
+ public getSettings(
+ args: GetSettingsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: GetSettingsCommandOutput) => void
+ ): void;
+ public getSettings(
+ args: GetSettingsCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetSettingsCommandOutput) => void),
+ cb?: (err: any, data?: GetSettingsCommandOutput) => void
+ ): Promise | void {
+ const command = new GetSettingsCommand(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 the frameworks available in the AWS Audit Manager framework library.
+ *
+ */
+ public listAssessmentFrameworks(
+ args: ListAssessmentFrameworksCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listAssessmentFrameworks(
+ args: ListAssessmentFrameworksCommandInput,
+ cb: (err: any, data?: ListAssessmentFrameworksCommandOutput) => void
+ ): void;
+ public listAssessmentFrameworks(
+ args: ListAssessmentFrameworksCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListAssessmentFrameworksCommandOutput) => void
+ ): void;
+ public listAssessmentFrameworks(
+ args: ListAssessmentFrameworksCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAssessmentFrameworksCommandOutput) => void),
+ cb?: (err: any, data?: ListAssessmentFrameworksCommandOutput) => void
+ ): Promise | void {
+ const command = new ListAssessmentFrameworksCommand(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 assessment reports created in AWS Audit Manager.
+ *
+ */
+ public listAssessmentReports(
+ args: ListAssessmentReportsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listAssessmentReports(
+ args: ListAssessmentReportsCommandInput,
+ cb: (err: any, data?: ListAssessmentReportsCommandOutput) => void
+ ): void;
+ public listAssessmentReports(
+ args: ListAssessmentReportsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListAssessmentReportsCommandOutput) => void
+ ): void;
+ public listAssessmentReports(
+ args: ListAssessmentReportsCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAssessmentReportsCommandOutput) => void),
+ cb?: (err: any, data?: ListAssessmentReportsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListAssessmentReportsCommand(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 current and past assessments from AWS Audit Manager.
+ *
+ */
+ public listAssessments(
+ args: ListAssessmentsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listAssessments(
+ args: ListAssessmentsCommandInput,
+ cb: (err: any, data?: ListAssessmentsCommandOutput) => void
+ ): void;
+ public listAssessments(
+ args: ListAssessmentsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListAssessmentsCommandOutput) => void
+ ): void;
+ public listAssessments(
+ args: ListAssessmentsCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListAssessmentsCommandOutput) => void),
+ cb?: (err: any, data?: ListAssessmentsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListAssessmentsCommand(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 controls from AWS Audit Manager.
+ *
+ */
+ public listControls(
+ args: ListControlsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listControls(args: ListControlsCommandInput, cb: (err: any, data?: ListControlsCommandOutput) => void): void;
+ public listControls(
+ args: ListControlsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListControlsCommandOutput) => void
+ ): void;
+ public listControls(
+ args: ListControlsCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListControlsCommandOutput) => void),
+ cb?: (err: any, data?: ListControlsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListControlsCommand(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 keywords that pre-mapped to the specified control data source.
+ *
+ */
+ public listKeywordsForDataSource(
+ args: ListKeywordsForDataSourceCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listKeywordsForDataSource(
+ args: ListKeywordsForDataSourceCommandInput,
+ cb: (err: any, data?: ListKeywordsForDataSourceCommandOutput) => void
+ ): void;
+ public listKeywordsForDataSource(
+ args: ListKeywordsForDataSourceCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListKeywordsForDataSourceCommandOutput) => void
+ ): void;
+ public listKeywordsForDataSource(
+ args: ListKeywordsForDataSourceCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListKeywordsForDataSourceCommandOutput) => void),
+ cb?: (err: any, data?: ListKeywordsForDataSourceCommandOutput) => void
+ ): Promise | void {
+ const command = new ListKeywordsForDataSourceCommand(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 AWS Audit Manager notifications.
+ *
+ */
+ public listNotifications(
+ args: ListNotificationsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public listNotifications(
+ args: ListNotificationsCommandInput,
+ cb: (err: any, data?: ListNotificationsCommandOutput) => void
+ ): void;
+ public listNotifications(
+ args: ListNotificationsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ListNotificationsCommandOutput) => void
+ ): void;
+ public listNotifications(
+ args: ListNotificationsCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListNotificationsCommandOutput) => void),
+ cb?: (err: any, data?: ListNotificationsCommandOutput) => void
+ ): Promise | void {
+ const command = new ListNotificationsCommand(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 tags for the specified resource in AWS Audit Manager.
+ *
+ */
+ 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);
+ }
+ }
+
+ /**
+ *
+ * Enables AWS Audit Manager for the specified AWS account.
+ *
+ */
+ public registerAccount(
+ args: RegisterAccountCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public registerAccount(
+ args: RegisterAccountCommandInput,
+ cb: (err: any, data?: RegisterAccountCommandOutput) => void
+ ): void;
+ public registerAccount(
+ args: RegisterAccountCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: RegisterAccountCommandOutput) => void
+ ): void;
+ public registerAccount(
+ args: RegisterAccountCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterAccountCommandOutput) => void),
+ cb?: (err: any, data?: RegisterAccountCommandOutput) => void
+ ): Promise | void {
+ const command = new RegisterAccountCommand(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);
+ }
+ }
+
+ /**
+ *
+ * Enables an AWS account within the organization as the delegated administrator for AWS Audit Manager.
+ *
+ */
+ public registerOrganizationAdminAccount(
+ args: RegisterOrganizationAdminAccountCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public registerOrganizationAdminAccount(
+ args: RegisterOrganizationAdminAccountCommandInput,
+ cb: (err: any, data?: RegisterOrganizationAdminAccountCommandOutput) => void
+ ): void;
+ public registerOrganizationAdminAccount(
+ args: RegisterOrganizationAdminAccountCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: RegisterOrganizationAdminAccountCommandOutput) => void
+ ): void;
+ public registerOrganizationAdminAccount(
+ args: RegisterOrganizationAdminAccountCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterOrganizationAdminAccountCommandOutput) => void),
+ cb?: (err: any, data?: RegisterOrganizationAdminAccountCommandOutput) => void
+ ): Promise | void {
+ const command = new RegisterOrganizationAdminAccountCommand(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);
+ }
+ }
+
+ /**
+ *
+ * Tags the specified resource in AWS Audit Manager.
+ *
+ */
+ 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 a tag from a resource in AWS Audit Manager.
+ *
+ */
+ 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);
+ }
+ }
+
+ /**
+ *
+ * Edits an AWS Audit Manager assessment.
+ *
+ */
+ public updateAssessment(
+ args: UpdateAssessmentCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateAssessment(
+ args: UpdateAssessmentCommandInput,
+ cb: (err: any, data?: UpdateAssessmentCommandOutput) => void
+ ): void;
+ public updateAssessment(
+ args: UpdateAssessmentCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateAssessmentCommandOutput) => void
+ ): void;
+ public updateAssessment(
+ args: UpdateAssessmentCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAssessmentCommandOutput) => void),
+ cb?: (err: any, data?: UpdateAssessmentCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateAssessmentCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates a control within an assessment in AWS Audit Manager.
+ *
+ */
+ public updateAssessmentControl(
+ args: UpdateAssessmentControlCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateAssessmentControl(
+ args: UpdateAssessmentControlCommandInput,
+ cb: (err: any, data?: UpdateAssessmentControlCommandOutput) => void
+ ): void;
+ public updateAssessmentControl(
+ args: UpdateAssessmentControlCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateAssessmentControlCommandOutput) => void
+ ): void;
+ public updateAssessmentControl(
+ args: UpdateAssessmentControlCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAssessmentControlCommandOutput) => void),
+ cb?: (err: any, data?: UpdateAssessmentControlCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateAssessmentControlCommand(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 status of a control set in an AWS Audit Manager assessment.
+ *
+ */
+ public updateAssessmentControlSetStatus(
+ args: UpdateAssessmentControlSetStatusCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateAssessmentControlSetStatus(
+ args: UpdateAssessmentControlSetStatusCommandInput,
+ cb: (err: any, data?: UpdateAssessmentControlSetStatusCommandOutput) => void
+ ): void;
+ public updateAssessmentControlSetStatus(
+ args: UpdateAssessmentControlSetStatusCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateAssessmentControlSetStatusCommandOutput) => void
+ ): void;
+ public updateAssessmentControlSetStatus(
+ args: UpdateAssessmentControlSetStatusCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAssessmentControlSetStatusCommandOutput) => void),
+ cb?: (err: any, data?: UpdateAssessmentControlSetStatusCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateAssessmentControlSetStatusCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates a custom framework in AWS Audit Manager.
+ *
+ */
+ public updateAssessmentFramework(
+ args: UpdateAssessmentFrameworkCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateAssessmentFramework(
+ args: UpdateAssessmentFrameworkCommandInput,
+ cb: (err: any, data?: UpdateAssessmentFrameworkCommandOutput) => void
+ ): void;
+ public updateAssessmentFramework(
+ args: UpdateAssessmentFrameworkCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateAssessmentFrameworkCommandOutput) => void
+ ): void;
+ public updateAssessmentFramework(
+ args: UpdateAssessmentFrameworkCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAssessmentFrameworkCommandOutput) => void),
+ cb?: (err: any, data?: UpdateAssessmentFrameworkCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateAssessmentFrameworkCommand(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 status of an assessment in AWS Audit Manager.
+ *
+ */
+ public updateAssessmentStatus(
+ args: UpdateAssessmentStatusCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateAssessmentStatus(
+ args: UpdateAssessmentStatusCommandInput,
+ cb: (err: any, data?: UpdateAssessmentStatusCommandOutput) => void
+ ): void;
+ public updateAssessmentStatus(
+ args: UpdateAssessmentStatusCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateAssessmentStatusCommandOutput) => void
+ ): void;
+ public updateAssessmentStatus(
+ args: UpdateAssessmentStatusCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateAssessmentStatusCommandOutput) => void),
+ cb?: (err: any, data?: UpdateAssessmentStatusCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateAssessmentStatusCommand(args);
+ if (typeof optionsOrCb === "function") {
+ this.send(command, optionsOrCb);
+ } else if (typeof cb === "function") {
+ if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
+ this.send(command, optionsOrCb || {}, cb);
+ } else {
+ return this.send(command, optionsOrCb);
+ }
+ }
+
+ /**
+ *
+ * Updates a custom control in AWS Audit Manager.
+ *
+ */
+ public updateControl(
+ args: UpdateControlCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateControl(
+ args: UpdateControlCommandInput,
+ cb: (err: any, data?: UpdateControlCommandOutput) => void
+ ): void;
+ public updateControl(
+ args: UpdateControlCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateControlCommandOutput) => void
+ ): void;
+ public updateControl(
+ args: UpdateControlCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateControlCommandOutput) => void),
+ cb?: (err: any, data?: UpdateControlCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateControlCommand(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 AWS Audit Manager settings for the current user account.
+ *
+ */
+ public updateSettings(
+ args: UpdateSettingsCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public updateSettings(
+ args: UpdateSettingsCommandInput,
+ cb: (err: any, data?: UpdateSettingsCommandOutput) => void
+ ): void;
+ public updateSettings(
+ args: UpdateSettingsCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: UpdateSettingsCommandOutput) => void
+ ): void;
+ public updateSettings(
+ args: UpdateSettingsCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSettingsCommandOutput) => void),
+ cb?: (err: any, data?: UpdateSettingsCommandOutput) => void
+ ): Promise | void {
+ const command = new UpdateSettingsCommand(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);
+ }
+ }
+
+ /**
+ *
+ * Validates the integrity of an assessment report in AWS Audit Manager.
+ *
+ */
+ public validateAssessmentReportIntegrity(
+ args: ValidateAssessmentReportIntegrityCommandInput,
+ options?: __HttpHandlerOptions
+ ): Promise;
+ public validateAssessmentReportIntegrity(
+ args: ValidateAssessmentReportIntegrityCommandInput,
+ cb: (err: any, data?: ValidateAssessmentReportIntegrityCommandOutput) => void
+ ): void;
+ public validateAssessmentReportIntegrity(
+ args: ValidateAssessmentReportIntegrityCommandInput,
+ options: __HttpHandlerOptions,
+ cb: (err: any, data?: ValidateAssessmentReportIntegrityCommandOutput) => void
+ ): void;
+ public validateAssessmentReportIntegrity(
+ args: ValidateAssessmentReportIntegrityCommandInput,
+ optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ValidateAssessmentReportIntegrityCommandOutput) => void),
+ cb?: (err: any, data?: ValidateAssessmentReportIntegrityCommandOutput) => void
+ ): Promise | void {
+ const command = new ValidateAssessmentReportIntegrityCommand(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-auditmanager/AuditManagerClient.ts b/clients/client-auditmanager/AuditManagerClient.ts
new file mode 100644
index 0000000000000..e0d1b7b4e9647
--- /dev/null
+++ b/clients/client-auditmanager/AuditManagerClient.ts
@@ -0,0 +1,468 @@
+import {
+ AssociateAssessmentReportEvidenceFolderCommandInput,
+ AssociateAssessmentReportEvidenceFolderCommandOutput,
+} from "./commands/AssociateAssessmentReportEvidenceFolderCommand";
+import {
+ BatchAssociateAssessmentReportEvidenceCommandInput,
+ BatchAssociateAssessmentReportEvidenceCommandOutput,
+} from "./commands/BatchAssociateAssessmentReportEvidenceCommand";
+import {
+ BatchCreateDelegationByAssessmentCommandInput,
+ BatchCreateDelegationByAssessmentCommandOutput,
+} from "./commands/BatchCreateDelegationByAssessmentCommand";
+import {
+ BatchDeleteDelegationByAssessmentCommandInput,
+ BatchDeleteDelegationByAssessmentCommandOutput,
+} from "./commands/BatchDeleteDelegationByAssessmentCommand";
+import {
+ BatchDisassociateAssessmentReportEvidenceCommandInput,
+ BatchDisassociateAssessmentReportEvidenceCommandOutput,
+} from "./commands/BatchDisassociateAssessmentReportEvidenceCommand";
+import {
+ BatchImportEvidenceToAssessmentControlCommandInput,
+ BatchImportEvidenceToAssessmentControlCommandOutput,
+} from "./commands/BatchImportEvidenceToAssessmentControlCommand";
+import { CreateAssessmentCommandInput, CreateAssessmentCommandOutput } from "./commands/CreateAssessmentCommand";
+import {
+ CreateAssessmentFrameworkCommandInput,
+ CreateAssessmentFrameworkCommandOutput,
+} from "./commands/CreateAssessmentFrameworkCommand";
+import {
+ CreateAssessmentReportCommandInput,
+ CreateAssessmentReportCommandOutput,
+} from "./commands/CreateAssessmentReportCommand";
+import { CreateControlCommandInput, CreateControlCommandOutput } from "./commands/CreateControlCommand";
+import { DeleteAssessmentCommandInput, DeleteAssessmentCommandOutput } from "./commands/DeleteAssessmentCommand";
+import {
+ DeleteAssessmentFrameworkCommandInput,
+ DeleteAssessmentFrameworkCommandOutput,
+} from "./commands/DeleteAssessmentFrameworkCommand";
+import {
+ DeleteAssessmentReportCommandInput,
+ DeleteAssessmentReportCommandOutput,
+} from "./commands/DeleteAssessmentReportCommand";
+import { DeleteControlCommandInput, DeleteControlCommandOutput } from "./commands/DeleteControlCommand";
+import { DeregisterAccountCommandInput, DeregisterAccountCommandOutput } from "./commands/DeregisterAccountCommand";
+import {
+ DeregisterOrganizationAdminAccountCommandInput,
+ DeregisterOrganizationAdminAccountCommandOutput,
+} from "./commands/DeregisterOrganizationAdminAccountCommand";
+import {
+ DisassociateAssessmentReportEvidenceFolderCommandInput,
+ DisassociateAssessmentReportEvidenceFolderCommandOutput,
+} from "./commands/DisassociateAssessmentReportEvidenceFolderCommand";
+import { GetAccountStatusCommandInput, GetAccountStatusCommandOutput } from "./commands/GetAccountStatusCommand";
+import { GetAssessmentCommandInput, GetAssessmentCommandOutput } from "./commands/GetAssessmentCommand";
+import {
+ GetAssessmentFrameworkCommandInput,
+ GetAssessmentFrameworkCommandOutput,
+} from "./commands/GetAssessmentFrameworkCommand";
+import {
+ GetAssessmentReportUrlCommandInput,
+ GetAssessmentReportUrlCommandOutput,
+} from "./commands/GetAssessmentReportUrlCommand";
+import { GetChangeLogsCommandInput, GetChangeLogsCommandOutput } from "./commands/GetChangeLogsCommand";
+import { GetControlCommandInput, GetControlCommandOutput } from "./commands/GetControlCommand";
+import { GetDelegationsCommandInput, GetDelegationsCommandOutput } from "./commands/GetDelegationsCommand";
+import {
+ GetEvidenceByEvidenceFolderCommandInput,
+ GetEvidenceByEvidenceFolderCommandOutput,
+} from "./commands/GetEvidenceByEvidenceFolderCommand";
+import { GetEvidenceCommandInput, GetEvidenceCommandOutput } from "./commands/GetEvidenceCommand";
+import { GetEvidenceFolderCommandInput, GetEvidenceFolderCommandOutput } from "./commands/GetEvidenceFolderCommand";
+import {
+ GetEvidenceFoldersByAssessmentCommandInput,
+ GetEvidenceFoldersByAssessmentCommandOutput,
+} from "./commands/GetEvidenceFoldersByAssessmentCommand";
+import {
+ GetEvidenceFoldersByAssessmentControlCommandInput,
+ GetEvidenceFoldersByAssessmentControlCommandOutput,
+} from "./commands/GetEvidenceFoldersByAssessmentControlCommand";
+import {
+ GetOrganizationAdminAccountCommandInput,
+ GetOrganizationAdminAccountCommandOutput,
+} from "./commands/GetOrganizationAdminAccountCommand";
+import { GetServicesInScopeCommandInput, GetServicesInScopeCommandOutput } from "./commands/GetServicesInScopeCommand";
+import { GetSettingsCommandInput, GetSettingsCommandOutput } from "./commands/GetSettingsCommand";
+import {
+ ListAssessmentFrameworksCommandInput,
+ ListAssessmentFrameworksCommandOutput,
+} from "./commands/ListAssessmentFrameworksCommand";
+import {
+ ListAssessmentReportsCommandInput,
+ ListAssessmentReportsCommandOutput,
+} from "./commands/ListAssessmentReportsCommand";
+import { ListAssessmentsCommandInput, ListAssessmentsCommandOutput } from "./commands/ListAssessmentsCommand";
+import { ListControlsCommandInput, ListControlsCommandOutput } from "./commands/ListControlsCommand";
+import {
+ ListKeywordsForDataSourceCommandInput,
+ ListKeywordsForDataSourceCommandOutput,
+} from "./commands/ListKeywordsForDataSourceCommand";
+import { ListNotificationsCommandInput, ListNotificationsCommandOutput } from "./commands/ListNotificationsCommand";
+import {
+ ListTagsForResourceCommandInput,
+ ListTagsForResourceCommandOutput,
+} from "./commands/ListTagsForResourceCommand";
+import { RegisterAccountCommandInput, RegisterAccountCommandOutput } from "./commands/RegisterAccountCommand";
+import {
+ RegisterOrganizationAdminAccountCommandInput,
+ RegisterOrganizationAdminAccountCommandOutput,
+} from "./commands/RegisterOrganizationAdminAccountCommand";
+import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
+import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
+import { UpdateAssessmentCommandInput, UpdateAssessmentCommandOutput } from "./commands/UpdateAssessmentCommand";
+import {
+ UpdateAssessmentControlCommandInput,
+ UpdateAssessmentControlCommandOutput,
+} from "./commands/UpdateAssessmentControlCommand";
+import {
+ UpdateAssessmentControlSetStatusCommandInput,
+ UpdateAssessmentControlSetStatusCommandOutput,
+} from "./commands/UpdateAssessmentControlSetStatusCommand";
+import {
+ UpdateAssessmentFrameworkCommandInput,
+ UpdateAssessmentFrameworkCommandOutput,
+} from "./commands/UpdateAssessmentFrameworkCommand";
+import {
+ UpdateAssessmentStatusCommandInput,
+ UpdateAssessmentStatusCommandOutput,
+} from "./commands/UpdateAssessmentStatusCommand";
+import { UpdateControlCommandInput, UpdateControlCommandOutput } from "./commands/UpdateControlCommand";
+import { UpdateSettingsCommandInput, UpdateSettingsCommandOutput } from "./commands/UpdateSettingsCommand";
+import {
+ ValidateAssessmentReportIntegrityCommandInput,
+ ValidateAssessmentReportIntegrityCommandOutput,
+} from "./commands/ValidateAssessmentReportIntegrityCommand";
+import { ClientDefaultValues as __ClientDefaultValues } from "./runtimeConfig";
+import {
+ EndpointsInputConfig,
+ EndpointsResolvedConfig,
+ RegionInputConfig,
+ RegionResolvedConfig,
+ resolveEndpointsConfig,
+ resolveRegionConfig,
+} from "@aws-sdk/config-resolver";
+import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
+import {
+ HostHeaderInputConfig,
+ HostHeaderResolvedConfig,
+ getHostHeaderPlugin,
+ resolveHostHeaderConfig,
+} from "@aws-sdk/middleware-host-header";
+import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
+import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
+import {
+ AwsAuthInputConfig,
+ AwsAuthResolvedConfig,
+ getAwsAuthPlugin,
+ resolveAwsAuthConfig,
+} from "@aws-sdk/middleware-signing";
+import {
+ UserAgentInputConfig,
+ UserAgentResolvedConfig,
+ getUserAgentPlugin,
+ resolveUserAgentConfig,
+} from "@aws-sdk/middleware-user-agent";
+import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
+import {
+ Client as __Client,
+ SmithyConfiguration as __SmithyConfiguration,
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
+} from "@aws-sdk/smithy-client";
+import {
+ RegionInfoProvider,
+ Credentials as __Credentials,
+ Decoder as __Decoder,
+ Encoder as __Encoder,
+ HashConstructor as __HashConstructor,
+ HttpHandlerOptions as __HttpHandlerOptions,
+ Logger as __Logger,
+ Provider as __Provider,
+ StreamCollector as __StreamCollector,
+ UrlParser as __UrlParser,
+} from "@aws-sdk/types";
+
+export type ServiceInputTypes =
+ | AssociateAssessmentReportEvidenceFolderCommandInput
+ | BatchAssociateAssessmentReportEvidenceCommandInput
+ | BatchCreateDelegationByAssessmentCommandInput
+ | BatchDeleteDelegationByAssessmentCommandInput
+ | BatchDisassociateAssessmentReportEvidenceCommandInput
+ | BatchImportEvidenceToAssessmentControlCommandInput
+ | CreateAssessmentCommandInput
+ | CreateAssessmentFrameworkCommandInput
+ | CreateAssessmentReportCommandInput
+ | CreateControlCommandInput
+ | DeleteAssessmentCommandInput
+ | DeleteAssessmentFrameworkCommandInput
+ | DeleteAssessmentReportCommandInput
+ | DeleteControlCommandInput
+ | DeregisterAccountCommandInput
+ | DeregisterOrganizationAdminAccountCommandInput
+ | DisassociateAssessmentReportEvidenceFolderCommandInput
+ | GetAccountStatusCommandInput
+ | GetAssessmentCommandInput
+ | GetAssessmentFrameworkCommandInput
+ | GetAssessmentReportUrlCommandInput
+ | GetChangeLogsCommandInput
+ | GetControlCommandInput
+ | GetDelegationsCommandInput
+ | GetEvidenceByEvidenceFolderCommandInput
+ | GetEvidenceCommandInput
+ | GetEvidenceFolderCommandInput
+ | GetEvidenceFoldersByAssessmentCommandInput
+ | GetEvidenceFoldersByAssessmentControlCommandInput
+ | GetOrganizationAdminAccountCommandInput
+ | GetServicesInScopeCommandInput
+ | GetSettingsCommandInput
+ | ListAssessmentFrameworksCommandInput
+ | ListAssessmentReportsCommandInput
+ | ListAssessmentsCommandInput
+ | ListControlsCommandInput
+ | ListKeywordsForDataSourceCommandInput
+ | ListNotificationsCommandInput
+ | ListTagsForResourceCommandInput
+ | RegisterAccountCommandInput
+ | RegisterOrganizationAdminAccountCommandInput
+ | TagResourceCommandInput
+ | UntagResourceCommandInput
+ | UpdateAssessmentCommandInput
+ | UpdateAssessmentControlCommandInput
+ | UpdateAssessmentControlSetStatusCommandInput
+ | UpdateAssessmentFrameworkCommandInput
+ | UpdateAssessmentStatusCommandInput
+ | UpdateControlCommandInput
+ | UpdateSettingsCommandInput
+ | ValidateAssessmentReportIntegrityCommandInput;
+
+export type ServiceOutputTypes =
+ | AssociateAssessmentReportEvidenceFolderCommandOutput
+ | BatchAssociateAssessmentReportEvidenceCommandOutput
+ | BatchCreateDelegationByAssessmentCommandOutput
+ | BatchDeleteDelegationByAssessmentCommandOutput
+ | BatchDisassociateAssessmentReportEvidenceCommandOutput
+ | BatchImportEvidenceToAssessmentControlCommandOutput
+ | CreateAssessmentCommandOutput
+ | CreateAssessmentFrameworkCommandOutput
+ | CreateAssessmentReportCommandOutput
+ | CreateControlCommandOutput
+ | DeleteAssessmentCommandOutput
+ | DeleteAssessmentFrameworkCommandOutput
+ | DeleteAssessmentReportCommandOutput
+ | DeleteControlCommandOutput
+ | DeregisterAccountCommandOutput
+ | DeregisterOrganizationAdminAccountCommandOutput
+ | DisassociateAssessmentReportEvidenceFolderCommandOutput
+ | GetAccountStatusCommandOutput
+ | GetAssessmentCommandOutput
+ | GetAssessmentFrameworkCommandOutput
+ | GetAssessmentReportUrlCommandOutput
+ | GetChangeLogsCommandOutput
+ | GetControlCommandOutput
+ | GetDelegationsCommandOutput
+ | GetEvidenceByEvidenceFolderCommandOutput
+ | GetEvidenceCommandOutput
+ | GetEvidenceFolderCommandOutput
+ | GetEvidenceFoldersByAssessmentCommandOutput
+ | GetEvidenceFoldersByAssessmentControlCommandOutput
+ | GetOrganizationAdminAccountCommandOutput
+ | GetServicesInScopeCommandOutput
+ | GetSettingsCommandOutput
+ | ListAssessmentFrameworksCommandOutput
+ | ListAssessmentReportsCommandOutput
+ | ListAssessmentsCommandOutput
+ | ListControlsCommandOutput
+ | ListKeywordsForDataSourceCommandOutput
+ | ListNotificationsCommandOutput
+ | ListTagsForResourceCommandOutput
+ | RegisterAccountCommandOutput
+ | RegisterOrganizationAdminAccountCommandOutput
+ | TagResourceCommandOutput
+ | UntagResourceCommandOutput
+ | UpdateAssessmentCommandOutput
+ | UpdateAssessmentControlCommandOutput
+ | UpdateAssessmentControlSetStatusCommandOutput
+ | UpdateAssessmentFrameworkCommandOutput
+ | UpdateAssessmentStatusCommandOutput
+ | UpdateControlCommandOutput
+ | UpdateSettingsCommandOutput
+ | ValidateAssessmentReportIntegrityCommandOutput;
+
+export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
+ /**
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
+ */
+ requestHandler?: __HttpHandler;
+
+ /**
+ * A constructor for a class implementing the @aws-sdk/types.Hash interface
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
+ */
+ sha256?: __HashConstructor;
+
+ /**
+ * The function that will be used to convert strings into HTTP endpoints.
+ */
+ urlParser?: __UrlParser;
+
+ /**
+ * A function that can calculate the length of a request body.
+ */
+ bodyLengthChecker?: (body: any) => number | undefined;
+
+ /**
+ * A function that converts a stream into an array of bytes.
+ */
+ streamCollector?: __StreamCollector;
+
+ /**
+ * The function that will be used to convert a base64-encoded string to a byte array
+ */
+ base64Decoder?: __Decoder;
+
+ /**
+ * The function that will be used to convert binary data to a base64-encoded string
+ */
+ base64Encoder?: __Encoder;
+
+ /**
+ * The function that will be used to convert a UTF8-encoded string to a byte array
+ */
+ utf8Decoder?: __Decoder;
+
+ /**
+ * The function that will be used to convert binary data to a UTF-8 encoded string
+ */
+ utf8Encoder?: __Encoder;
+
+ /**
+ * The string that will be used to populate default value in 'User-Agent' header
+ */
+ defaultUserAgent?: string;
+
+ /**
+ * The runtime environment
+ */
+ runtime?: string;
+
+ /**
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
+ * trait of an operation.
+ */
+ disableHostPrefix?: boolean;
+
+ /**
+ * The service name with which to sign requests.
+ */
+ signingName?: string;
+
+ /**
+ * Default credentials provider; Not available in browser runtime
+ */
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
+
+ /**
+ * The AWS region to which this client will send requests
+ */
+ region?: string | __Provider;
+
+ /**
+ * Value for how many times a request will be made at most in case of retry.
+ */
+ maxAttempts?: number | __Provider;
+
+ /**
+ * Optional logger for logging debug/info/warn/error.
+ */
+ logger?: __Logger;
+
+ /**
+ * Fetch related hostname, signing name or signing region with given region.
+ */
+ regionInfoProvider?: RegionInfoProvider;
+}
+
+export type AuditManagerClientConfig = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
+ ClientDefaults &
+ RegionInputConfig &
+ EndpointsInputConfig &
+ AwsAuthInputConfig &
+ RetryInputConfig &
+ UserAgentInputConfig &
+ HostHeaderInputConfig;
+
+export type AuditManagerClientResolvedConfig = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
+ Required &
+ RegionResolvedConfig &
+ EndpointsResolvedConfig &
+ AwsAuthResolvedConfig &
+ RetryResolvedConfig &
+ UserAgentResolvedConfig &
+ HostHeaderResolvedConfig;
+
+/**
+ * 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
+ * better manage risk and simplify compliance.
+ * AWS 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:
+ *
+ * -
+ *
+ * Actions: An alphabetical list of all AWS Audit Manager API operations.
+ *
+ * -
+ *
+ * Data types: An alphabetical list of all AWS Audit Manager data types.
+ *
+ * -
+ *
+ * Common parameters: Parameters that all Query operations can use.
+ *
+ * -
+ *
+ * Common errors: Client and server errors that all operations can return.
+ *
+ *
+ *
+ * If you're new to AWS Audit Manager, we recommend that you review the AWS Audit Manager User Guide.
+ */
+export class AuditManagerClient extends __Client<
+ __HttpHandlerOptions,
+ ServiceInputTypes,
+ ServiceOutputTypes,
+ AuditManagerClientResolvedConfig
+> {
+ readonly config: AuditManagerClientResolvedConfig;
+
+ constructor(configuration: AuditManagerClientConfig) {
+ let _config_0 = {
+ ...__ClientDefaultValues,
+ ...configuration,
+ };
+ let _config_1 = resolveRegionConfig(_config_0);
+ let _config_2 = resolveEndpointsConfig(_config_1);
+ let _config_3 = resolveAwsAuthConfig(_config_2);
+ let _config_4 = resolveRetryConfig(_config_3);
+ let _config_5 = resolveUserAgentConfig(_config_4);
+ let _config_6 = resolveHostHeaderConfig(_config_5);
+ super(_config_6);
+ this.config = _config_6;
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
+ this.middlewareStack.use(getRetryPlugin(this.config));
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
+ this.middlewareStack.use(getLoggerPlugin(this.config));
+ }
+
+ destroy(): void {
+ super.destroy();
+ }
+}
diff --git a/clients/client-auditmanager/LICENSE b/clients/client-auditmanager/LICENSE
new file mode 100644
index 0000000000000..dd65ae06be7a9
--- /dev/null
+++ b/clients/client-auditmanager/LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "{}"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/clients/client-auditmanager/README.md b/clients/client-auditmanager/README.md
new file mode 100644
index 0000000000000..532c8c7adc2fb
--- /dev/null
+++ b/clients/client-auditmanager/README.md
@@ -0,0 +1,6 @@
+# @aws-sdk/client-auditmanager
+
+[![NPM version](https://img.shields.io/npm/v/@aws-sdk/client-auditmanager/rc.svg)](https://www.npmjs.com/package/@aws-sdk/client-auditmanager)
+[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/client-auditmanager.svg)](https://www.npmjs.com/package/@aws-sdk/client-auditmanager)
+
+For SDK usage, please step to [SDK readme](https://github.com/aws/aws-sdk-js-v3).
diff --git a/clients/client-auditmanager/commands/AssociateAssessmentReportEvidenceFolderCommand.ts b/clients/client-auditmanager/commands/AssociateAssessmentReportEvidenceFolderCommand.ts
new file mode 100644
index 0000000000000..25635ea2a9383
--- /dev/null
+++ b/clients/client-auditmanager/commands/AssociateAssessmentReportEvidenceFolderCommand.ts
@@ -0,0 +1,103 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import {
+ AssociateAssessmentReportEvidenceFolderRequest,
+ AssociateAssessmentReportEvidenceFolderResponse,
+} from "../models/models_0";
+import {
+ deserializeAws_restJson1AssociateAssessmentReportEvidenceFolderCommand,
+ serializeAws_restJson1AssociateAssessmentReportEvidenceFolderCommand,
+} 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 type AssociateAssessmentReportEvidenceFolderCommandInput = AssociateAssessmentReportEvidenceFolderRequest;
+export type AssociateAssessmentReportEvidenceFolderCommandOutput = AssociateAssessmentReportEvidenceFolderResponse &
+ __MetadataBearer;
+
+/**
+ *
+ * Associates an evidence folder to the specified assessment report in AWS Audit Manager.
+ *
+ */
+export class AssociateAssessmentReportEvidenceFolderCommand extends $Command<
+ AssociateAssessmentReportEvidenceFolderCommandInput,
+ AssociateAssessmentReportEvidenceFolderCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: AssociateAssessmentReportEvidenceFolderCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ AssociateAssessmentReportEvidenceFolderCommandInput,
+ AssociateAssessmentReportEvidenceFolderCommandOutput
+ > {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "AssociateAssessmentReportEvidenceFolderCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: AssociateAssessmentReportEvidenceFolderRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: AssociateAssessmentReportEvidenceFolderResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: AssociateAssessmentReportEvidenceFolderCommandInput,
+ context: __SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1AssociateAssessmentReportEvidenceFolderCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1AssociateAssessmentReportEvidenceFolderCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/BatchAssociateAssessmentReportEvidenceCommand.ts b/clients/client-auditmanager/commands/BatchAssociateAssessmentReportEvidenceCommand.ts
new file mode 100644
index 0000000000000..7f093256a7dbc
--- /dev/null
+++ b/clients/client-auditmanager/commands/BatchAssociateAssessmentReportEvidenceCommand.ts
@@ -0,0 +1,100 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import {
+ BatchAssociateAssessmentReportEvidenceRequest,
+ BatchAssociateAssessmentReportEvidenceResponse,
+} from "../models/models_0";
+import {
+ deserializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommand,
+ serializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommand,
+} 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 type BatchAssociateAssessmentReportEvidenceCommandInput = BatchAssociateAssessmentReportEvidenceRequest;
+export type BatchAssociateAssessmentReportEvidenceCommandOutput = BatchAssociateAssessmentReportEvidenceResponse &
+ __MetadataBearer;
+
+/**
+ *
+ * Associates a list of evidence to an assessment report in an AWS Audit Manager assessment.
+ *
+ */
+export class BatchAssociateAssessmentReportEvidenceCommand extends $Command<
+ BatchAssociateAssessmentReportEvidenceCommandInput,
+ BatchAssociateAssessmentReportEvidenceCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: BatchAssociateAssessmentReportEvidenceCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "BatchAssociateAssessmentReportEvidenceCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: BatchAssociateAssessmentReportEvidenceRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: BatchAssociateAssessmentReportEvidenceResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: BatchAssociateAssessmentReportEvidenceCommandInput,
+ context: __SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/BatchCreateDelegationByAssessmentCommand.ts b/clients/client-auditmanager/commands/BatchCreateDelegationByAssessmentCommand.ts
new file mode 100644
index 0000000000000..001f8277f6ecf
--- /dev/null
+++ b/clients/client-auditmanager/commands/BatchCreateDelegationByAssessmentCommand.ts
@@ -0,0 +1,100 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import {
+ BatchCreateDelegationByAssessmentRequest,
+ BatchCreateDelegationByAssessmentResponse,
+} from "../models/models_0";
+import {
+ deserializeAws_restJson1BatchCreateDelegationByAssessmentCommand,
+ serializeAws_restJson1BatchCreateDelegationByAssessmentCommand,
+} 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 type BatchCreateDelegationByAssessmentCommandInput = BatchCreateDelegationByAssessmentRequest;
+export type BatchCreateDelegationByAssessmentCommandOutput = BatchCreateDelegationByAssessmentResponse &
+ __MetadataBearer;
+
+/**
+ *
+ * Create a batch of delegations for a specified assessment in AWS Audit Manager.
+ *
+ */
+export class BatchCreateDelegationByAssessmentCommand extends $Command<
+ BatchCreateDelegationByAssessmentCommandInput,
+ BatchCreateDelegationByAssessmentCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: BatchCreateDelegationByAssessmentCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "BatchCreateDelegationByAssessmentCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: BatchCreateDelegationByAssessmentRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: BatchCreateDelegationByAssessmentResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: BatchCreateDelegationByAssessmentCommandInput,
+ context: __SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1BatchCreateDelegationByAssessmentCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1BatchCreateDelegationByAssessmentCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/BatchDeleteDelegationByAssessmentCommand.ts b/clients/client-auditmanager/commands/BatchDeleteDelegationByAssessmentCommand.ts
new file mode 100644
index 0000000000000..95ac9b8d067c5
--- /dev/null
+++ b/clients/client-auditmanager/commands/BatchDeleteDelegationByAssessmentCommand.ts
@@ -0,0 +1,100 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import {
+ BatchDeleteDelegationByAssessmentRequest,
+ BatchDeleteDelegationByAssessmentResponse,
+} from "../models/models_0";
+import {
+ deserializeAws_restJson1BatchDeleteDelegationByAssessmentCommand,
+ serializeAws_restJson1BatchDeleteDelegationByAssessmentCommand,
+} 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 type BatchDeleteDelegationByAssessmentCommandInput = BatchDeleteDelegationByAssessmentRequest;
+export type BatchDeleteDelegationByAssessmentCommandOutput = BatchDeleteDelegationByAssessmentResponse &
+ __MetadataBearer;
+
+/**
+ *
+ * Deletes the delegations in the specified AWS Audit Manager assessment.
+ *
+ */
+export class BatchDeleteDelegationByAssessmentCommand extends $Command<
+ BatchDeleteDelegationByAssessmentCommandInput,
+ BatchDeleteDelegationByAssessmentCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: BatchDeleteDelegationByAssessmentCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "BatchDeleteDelegationByAssessmentCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: BatchDeleteDelegationByAssessmentRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: BatchDeleteDelegationByAssessmentResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: BatchDeleteDelegationByAssessmentCommandInput,
+ context: __SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1BatchDeleteDelegationByAssessmentCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1BatchDeleteDelegationByAssessmentCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/BatchDisassociateAssessmentReportEvidenceCommand.ts b/clients/client-auditmanager/commands/BatchDisassociateAssessmentReportEvidenceCommand.ts
new file mode 100644
index 0000000000000..8c4e797cca7f5
--- /dev/null
+++ b/clients/client-auditmanager/commands/BatchDisassociateAssessmentReportEvidenceCommand.ts
@@ -0,0 +1,103 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import {
+ BatchDisassociateAssessmentReportEvidenceRequest,
+ BatchDisassociateAssessmentReportEvidenceResponse,
+} from "../models/models_0";
+import {
+ deserializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCommand,
+ serializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCommand,
+} 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 type BatchDisassociateAssessmentReportEvidenceCommandInput = BatchDisassociateAssessmentReportEvidenceRequest;
+export type BatchDisassociateAssessmentReportEvidenceCommandOutput = BatchDisassociateAssessmentReportEvidenceResponse &
+ __MetadataBearer;
+
+/**
+ *
+ * Disassociates a list of evidence from the specified assessment report in AWS Audit Manager.
+ *
+ */
+export class BatchDisassociateAssessmentReportEvidenceCommand extends $Command<
+ BatchDisassociateAssessmentReportEvidenceCommandInput,
+ BatchDisassociateAssessmentReportEvidenceCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: BatchDisassociateAssessmentReportEvidenceCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ BatchDisassociateAssessmentReportEvidenceCommandInput,
+ BatchDisassociateAssessmentReportEvidenceCommandOutput
+ > {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "BatchDisassociateAssessmentReportEvidenceCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: BatchDisassociateAssessmentReportEvidenceRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: BatchDisassociateAssessmentReportEvidenceResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: BatchDisassociateAssessmentReportEvidenceCommandInput,
+ context: __SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/BatchImportEvidenceToAssessmentControlCommand.ts b/clients/client-auditmanager/commands/BatchImportEvidenceToAssessmentControlCommand.ts
new file mode 100644
index 0000000000000..a21c59fe73841
--- /dev/null
+++ b/clients/client-auditmanager/commands/BatchImportEvidenceToAssessmentControlCommand.ts
@@ -0,0 +1,100 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import {
+ BatchImportEvidenceToAssessmentControlRequest,
+ BatchImportEvidenceToAssessmentControlResponse,
+} from "../models/models_0";
+import {
+ deserializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand,
+ serializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand,
+} 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 type BatchImportEvidenceToAssessmentControlCommandInput = BatchImportEvidenceToAssessmentControlRequest;
+export type BatchImportEvidenceToAssessmentControlCommandOutput = BatchImportEvidenceToAssessmentControlResponse &
+ __MetadataBearer;
+
+/**
+ *
+ * Uploads one or more pieces of evidence to the specified control in the assessment in AWS Audit Manager.
+ *
+ */
+export class BatchImportEvidenceToAssessmentControlCommand extends $Command<
+ BatchImportEvidenceToAssessmentControlCommandInput,
+ BatchImportEvidenceToAssessmentControlCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: BatchImportEvidenceToAssessmentControlCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "BatchImportEvidenceToAssessmentControlCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: BatchImportEvidenceToAssessmentControlRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: BatchImportEvidenceToAssessmentControlResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: BatchImportEvidenceToAssessmentControlCommandInput,
+ context: __SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/CreateAssessmentCommand.ts b/clients/client-auditmanager/commands/CreateAssessmentCommand.ts
new file mode 100644
index 0000000000000..212055098f181
--- /dev/null
+++ b/clients/client-auditmanager/commands/CreateAssessmentCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { CreateAssessmentRequest, CreateAssessmentResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1CreateAssessmentCommand,
+ serializeAws_restJson1CreateAssessmentCommand,
+} 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 type CreateAssessmentCommandInput = CreateAssessmentRequest;
+export type CreateAssessmentCommandOutput = CreateAssessmentResponse & __MetadataBearer;
+
+/**
+ *
+ * Creates an assessment in AWS Audit Manager.
+ *
+ */
+export class CreateAssessmentCommand extends $Command<
+ CreateAssessmentCommandInput,
+ CreateAssessmentCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateAssessmentCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "CreateAssessmentCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: CreateAssessmentRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: CreateAssessmentResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: CreateAssessmentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1CreateAssessmentCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1CreateAssessmentCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/CreateAssessmentFrameworkCommand.ts b/clients/client-auditmanager/commands/CreateAssessmentFrameworkCommand.ts
new file mode 100644
index 0000000000000..bc926c6941650
--- /dev/null
+++ b/clients/client-auditmanager/commands/CreateAssessmentFrameworkCommand.ts
@@ -0,0 +1,93 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { CreateAssessmentFrameworkRequest, CreateAssessmentFrameworkResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1CreateAssessmentFrameworkCommand,
+ serializeAws_restJson1CreateAssessmentFrameworkCommand,
+} 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 type CreateAssessmentFrameworkCommandInput = CreateAssessmentFrameworkRequest;
+export type CreateAssessmentFrameworkCommandOutput = CreateAssessmentFrameworkResponse & __MetadataBearer;
+
+/**
+ *
+ * Creates a custom framework in AWS Audit Manager.
+ *
+ */
+export class CreateAssessmentFrameworkCommand extends $Command<
+ CreateAssessmentFrameworkCommandInput,
+ CreateAssessmentFrameworkCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateAssessmentFrameworkCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "CreateAssessmentFrameworkCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: CreateAssessmentFrameworkRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: CreateAssessmentFrameworkResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: CreateAssessmentFrameworkCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1CreateAssessmentFrameworkCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1CreateAssessmentFrameworkCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/CreateAssessmentReportCommand.ts b/clients/client-auditmanager/commands/CreateAssessmentReportCommand.ts
new file mode 100644
index 0000000000000..b436f821fc516
--- /dev/null
+++ b/clients/client-auditmanager/commands/CreateAssessmentReportCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { CreateAssessmentReportRequest, CreateAssessmentReportResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1CreateAssessmentReportCommand,
+ serializeAws_restJson1CreateAssessmentReportCommand,
+} 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 type CreateAssessmentReportCommandInput = CreateAssessmentReportRequest;
+export type CreateAssessmentReportCommandOutput = CreateAssessmentReportResponse & __MetadataBearer;
+
+/**
+ *
+ * Creates an assessment report for the specified assessment.
+ *
+ */
+export class CreateAssessmentReportCommand extends $Command<
+ CreateAssessmentReportCommandInput,
+ CreateAssessmentReportCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateAssessmentReportCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "CreateAssessmentReportCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: CreateAssessmentReportRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: CreateAssessmentReportResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: CreateAssessmentReportCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1CreateAssessmentReportCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1CreateAssessmentReportCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/CreateControlCommand.ts b/clients/client-auditmanager/commands/CreateControlCommand.ts
new file mode 100644
index 0000000000000..6c3b144a4538d
--- /dev/null
+++ b/clients/client-auditmanager/commands/CreateControlCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { CreateControlRequest, CreateControlResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1CreateControlCommand,
+ serializeAws_restJson1CreateControlCommand,
+} 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 type CreateControlCommandInput = CreateControlRequest;
+export type CreateControlCommandOutput = CreateControlResponse & __MetadataBearer;
+
+/**
+ *
+ * Creates a new custom control in AWS Audit Manager.
+ *
+ */
+export class CreateControlCommand extends $Command<
+ CreateControlCommandInput,
+ CreateControlCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: CreateControlCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "CreateControlCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: CreateControlRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: CreateControlResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: CreateControlCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1CreateControlCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1CreateControlCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/DeleteAssessmentCommand.ts b/clients/client-auditmanager/commands/DeleteAssessmentCommand.ts
new file mode 100644
index 0000000000000..354c5bd578716
--- /dev/null
+++ b/clients/client-auditmanager/commands/DeleteAssessmentCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { DeleteAssessmentRequest, DeleteAssessmentResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1DeleteAssessmentCommand,
+ serializeAws_restJson1DeleteAssessmentCommand,
+} 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 type DeleteAssessmentCommandInput = DeleteAssessmentRequest;
+export type DeleteAssessmentCommandOutput = DeleteAssessmentResponse & __MetadataBearer;
+
+/**
+ *
+ * Deletes an assessment in AWS Audit Manager.
+ *
+ */
+export class DeleteAssessmentCommand extends $Command<
+ DeleteAssessmentCommandInput,
+ DeleteAssessmentCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteAssessmentCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "DeleteAssessmentCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: DeleteAssessmentRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: DeleteAssessmentResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: DeleteAssessmentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1DeleteAssessmentCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1DeleteAssessmentCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/DeleteAssessmentFrameworkCommand.ts b/clients/client-auditmanager/commands/DeleteAssessmentFrameworkCommand.ts
new file mode 100644
index 0000000000000..03381fd3463cc
--- /dev/null
+++ b/clients/client-auditmanager/commands/DeleteAssessmentFrameworkCommand.ts
@@ -0,0 +1,93 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { DeleteAssessmentFrameworkRequest, DeleteAssessmentFrameworkResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1DeleteAssessmentFrameworkCommand,
+ serializeAws_restJson1DeleteAssessmentFrameworkCommand,
+} 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 type DeleteAssessmentFrameworkCommandInput = DeleteAssessmentFrameworkRequest;
+export type DeleteAssessmentFrameworkCommandOutput = DeleteAssessmentFrameworkResponse & __MetadataBearer;
+
+/**
+ *
+ * Deletes a custom framework in AWS Audit Manager.
+ *
+ */
+export class DeleteAssessmentFrameworkCommand extends $Command<
+ DeleteAssessmentFrameworkCommandInput,
+ DeleteAssessmentFrameworkCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteAssessmentFrameworkCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "DeleteAssessmentFrameworkCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: DeleteAssessmentFrameworkRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: DeleteAssessmentFrameworkResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: DeleteAssessmentFrameworkCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1DeleteAssessmentFrameworkCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1DeleteAssessmentFrameworkCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/DeleteAssessmentReportCommand.ts b/clients/client-auditmanager/commands/DeleteAssessmentReportCommand.ts
new file mode 100644
index 0000000000000..2db16a66f0604
--- /dev/null
+++ b/clients/client-auditmanager/commands/DeleteAssessmentReportCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { DeleteAssessmentReportRequest, DeleteAssessmentReportResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1DeleteAssessmentReportCommand,
+ serializeAws_restJson1DeleteAssessmentReportCommand,
+} 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 type DeleteAssessmentReportCommandInput = DeleteAssessmentReportRequest;
+export type DeleteAssessmentReportCommandOutput = DeleteAssessmentReportResponse & __MetadataBearer;
+
+/**
+ *
+ * Deletes an assessment report from an assessment in AWS Audit Manager.
+ *
+ */
+export class DeleteAssessmentReportCommand extends $Command<
+ DeleteAssessmentReportCommandInput,
+ DeleteAssessmentReportCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteAssessmentReportCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "DeleteAssessmentReportCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: DeleteAssessmentReportRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: DeleteAssessmentReportResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: DeleteAssessmentReportCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1DeleteAssessmentReportCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1DeleteAssessmentReportCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/DeleteControlCommand.ts b/clients/client-auditmanager/commands/DeleteControlCommand.ts
new file mode 100644
index 0000000000000..d620eb998012e
--- /dev/null
+++ b/clients/client-auditmanager/commands/DeleteControlCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { DeleteControlRequest, DeleteControlResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1DeleteControlCommand,
+ serializeAws_restJson1DeleteControlCommand,
+} 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 type DeleteControlCommandInput = DeleteControlRequest;
+export type DeleteControlCommandOutput = DeleteControlResponse & __MetadataBearer;
+
+/**
+ *
+ * Deletes a custom control in AWS Audit Manager.
+ *
+ */
+export class DeleteControlCommand extends $Command<
+ DeleteControlCommandInput,
+ DeleteControlCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeleteControlCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "DeleteControlCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: DeleteControlRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: DeleteControlResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: DeleteControlCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1DeleteControlCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1DeleteControlCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/DeregisterAccountCommand.ts b/clients/client-auditmanager/commands/DeregisterAccountCommand.ts
new file mode 100644
index 0000000000000..0de11f1cda7fb
--- /dev/null
+++ b/clients/client-auditmanager/commands/DeregisterAccountCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { DeregisterAccountRequest, DeregisterAccountResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1DeregisterAccountCommand,
+ serializeAws_restJson1DeregisterAccountCommand,
+} 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 type DeregisterAccountCommandInput = DeregisterAccountRequest;
+export type DeregisterAccountCommandOutput = DeregisterAccountResponse & __MetadataBearer;
+
+/**
+ *
+ * Deregisters an account in AWS Audit Manager.
+ *
+ */
+export class DeregisterAccountCommand extends $Command<
+ DeregisterAccountCommandInput,
+ DeregisterAccountCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeregisterAccountCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "DeregisterAccountCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: DeregisterAccountRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: DeregisterAccountResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: DeregisterAccountCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1DeregisterAccountCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1DeregisterAccountCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/DeregisterOrganizationAdminAccountCommand.ts b/clients/client-auditmanager/commands/DeregisterOrganizationAdminAccountCommand.ts
new file mode 100644
index 0000000000000..3de3dc3bc9f1b
--- /dev/null
+++ b/clients/client-auditmanager/commands/DeregisterOrganizationAdminAccountCommand.ts
@@ -0,0 +1,100 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import {
+ DeregisterOrganizationAdminAccountRequest,
+ DeregisterOrganizationAdminAccountResponse,
+} from "../models/models_0";
+import {
+ deserializeAws_restJson1DeregisterOrganizationAdminAccountCommand,
+ serializeAws_restJson1DeregisterOrganizationAdminAccountCommand,
+} 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 type DeregisterOrganizationAdminAccountCommandInput = DeregisterOrganizationAdminAccountRequest;
+export type DeregisterOrganizationAdminAccountCommandOutput = DeregisterOrganizationAdminAccountResponse &
+ __MetadataBearer;
+
+/**
+ *
+ * Deregisters the delegated AWS administrator account from the AWS organization.
+ *
+ */
+export class DeregisterOrganizationAdminAccountCommand extends $Command<
+ DeregisterOrganizationAdminAccountCommandInput,
+ DeregisterOrganizationAdminAccountCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DeregisterOrganizationAdminAccountCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "DeregisterOrganizationAdminAccountCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: DeregisterOrganizationAdminAccountRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: DeregisterOrganizationAdminAccountResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DeregisterOrganizationAdminAccountCommandInput,
+ context: __SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1DeregisterOrganizationAdminAccountCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1DeregisterOrganizationAdminAccountCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/DisassociateAssessmentReportEvidenceFolderCommand.ts b/clients/client-auditmanager/commands/DisassociateAssessmentReportEvidenceFolderCommand.ts
new file mode 100644
index 0000000000000..e6b653d353eeb
--- /dev/null
+++ b/clients/client-auditmanager/commands/DisassociateAssessmentReportEvidenceFolderCommand.ts
@@ -0,0 +1,103 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import {
+ DisassociateAssessmentReportEvidenceFolderRequest,
+ DisassociateAssessmentReportEvidenceFolderResponse,
+} from "../models/models_0";
+import {
+ deserializeAws_restJson1DisassociateAssessmentReportEvidenceFolderCommand,
+ serializeAws_restJson1DisassociateAssessmentReportEvidenceFolderCommand,
+} 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 type DisassociateAssessmentReportEvidenceFolderCommandInput = DisassociateAssessmentReportEvidenceFolderRequest;
+export type DisassociateAssessmentReportEvidenceFolderCommandOutput = DisassociateAssessmentReportEvidenceFolderResponse &
+ __MetadataBearer;
+
+/**
+ *
+ * Disassociates an evidence folder from the specified assessment report in AWS Audit Manager.
+ *
+ */
+export class DisassociateAssessmentReportEvidenceFolderCommand extends $Command<
+ DisassociateAssessmentReportEvidenceFolderCommandInput,
+ DisassociateAssessmentReportEvidenceFolderCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: DisassociateAssessmentReportEvidenceFolderCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler<
+ DisassociateAssessmentReportEvidenceFolderCommandInput,
+ DisassociateAssessmentReportEvidenceFolderCommandOutput
+ > {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "DisassociateAssessmentReportEvidenceFolderCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: DisassociateAssessmentReportEvidenceFolderRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: DisassociateAssessmentReportEvidenceFolderResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: DisassociateAssessmentReportEvidenceFolderCommandInput,
+ context: __SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1DisassociateAssessmentReportEvidenceFolderCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1DisassociateAssessmentReportEvidenceFolderCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetAccountStatusCommand.ts b/clients/client-auditmanager/commands/GetAccountStatusCommand.ts
new file mode 100644
index 0000000000000..68ae76628e5c9
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetAccountStatusCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetAccountStatusRequest, GetAccountStatusResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetAccountStatusCommand,
+ serializeAws_restJson1GetAccountStatusCommand,
+} 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 type GetAccountStatusCommandInput = GetAccountStatusRequest;
+export type GetAccountStatusCommandOutput = GetAccountStatusResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns the registration status of an account in AWS Audit Manager.
+ *
+ */
+export class GetAccountStatusCommand extends $Command<
+ GetAccountStatusCommandInput,
+ GetAccountStatusCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetAccountStatusCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetAccountStatusCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetAccountStatusRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetAccountStatusResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: GetAccountStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetAccountStatusCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1GetAccountStatusCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetAssessmentCommand.ts b/clients/client-auditmanager/commands/GetAssessmentCommand.ts
new file mode 100644
index 0000000000000..d072b34a363fb
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetAssessmentCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetAssessmentRequest, GetAssessmentResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetAssessmentCommand,
+ serializeAws_restJson1GetAssessmentCommand,
+} 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 type GetAssessmentCommandInput = GetAssessmentRequest;
+export type GetAssessmentCommandOutput = GetAssessmentResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns an assessment from AWS Audit Manager.
+ *
+ */
+export class GetAssessmentCommand extends $Command<
+ GetAssessmentCommandInput,
+ GetAssessmentCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetAssessmentCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetAssessmentCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetAssessmentRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetAssessmentResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: GetAssessmentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetAssessmentCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1GetAssessmentCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetAssessmentFrameworkCommand.ts b/clients/client-auditmanager/commands/GetAssessmentFrameworkCommand.ts
new file mode 100644
index 0000000000000..6fe4cc195784a
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetAssessmentFrameworkCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetAssessmentFrameworkRequest, GetAssessmentFrameworkResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetAssessmentFrameworkCommand,
+ serializeAws_restJson1GetAssessmentFrameworkCommand,
+} 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 type GetAssessmentFrameworkCommandInput = GetAssessmentFrameworkRequest;
+export type GetAssessmentFrameworkCommandOutput = GetAssessmentFrameworkResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns a framework from AWS Audit Manager.
+ *
+ */
+export class GetAssessmentFrameworkCommand extends $Command<
+ GetAssessmentFrameworkCommandInput,
+ GetAssessmentFrameworkCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetAssessmentFrameworkCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetAssessmentFrameworkCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetAssessmentFrameworkRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetAssessmentFrameworkResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: GetAssessmentFrameworkCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetAssessmentFrameworkCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1GetAssessmentFrameworkCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetAssessmentReportUrlCommand.ts b/clients/client-auditmanager/commands/GetAssessmentReportUrlCommand.ts
new file mode 100644
index 0000000000000..c491fbb061cf7
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetAssessmentReportUrlCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetAssessmentReportUrlRequest, GetAssessmentReportUrlResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetAssessmentReportUrlCommand,
+ serializeAws_restJson1GetAssessmentReportUrlCommand,
+} 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 type GetAssessmentReportUrlCommandInput = GetAssessmentReportUrlRequest;
+export type GetAssessmentReportUrlCommandOutput = GetAssessmentReportUrlResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns the URL of a specified assessment report in AWS Audit Manager.
+ *
+ */
+export class GetAssessmentReportUrlCommand extends $Command<
+ GetAssessmentReportUrlCommandInput,
+ GetAssessmentReportUrlCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetAssessmentReportUrlCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetAssessmentReportUrlCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetAssessmentReportUrlRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetAssessmentReportUrlResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: GetAssessmentReportUrlCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetAssessmentReportUrlCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1GetAssessmentReportUrlCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetChangeLogsCommand.ts b/clients/client-auditmanager/commands/GetChangeLogsCommand.ts
new file mode 100644
index 0000000000000..16f37b40575d4
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetChangeLogsCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetChangeLogsRequest, GetChangeLogsResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetChangeLogsCommand,
+ serializeAws_restJson1GetChangeLogsCommand,
+} 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 type GetChangeLogsCommandInput = GetChangeLogsRequest;
+export type GetChangeLogsCommandOutput = GetChangeLogsResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns a list of changelogs from AWS Audit Manager.
+ *
+ */
+export class GetChangeLogsCommand extends $Command<
+ GetChangeLogsCommandInput,
+ GetChangeLogsCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetChangeLogsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetChangeLogsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetChangeLogsRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetChangeLogsResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: GetChangeLogsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetChangeLogsCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1GetChangeLogsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetControlCommand.ts b/clients/client-auditmanager/commands/GetControlCommand.ts
new file mode 100644
index 0000000000000..70270b7c9cbc4
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetControlCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetControlRequest, GetControlResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetControlCommand,
+ serializeAws_restJson1GetControlCommand,
+} 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 type GetControlCommandInput = GetControlRequest;
+export type GetControlCommandOutput = GetControlResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns a control from AWS Audit Manager.
+ *
+ */
+export class GetControlCommand extends $Command<
+ GetControlCommandInput,
+ GetControlCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetControlCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetControlCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetControlRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetControlResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: GetControlCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetControlCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1GetControlCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetDelegationsCommand.ts b/clients/client-auditmanager/commands/GetDelegationsCommand.ts
new file mode 100644
index 0000000000000..9acd0fa81b409
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetDelegationsCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetDelegationsRequest, GetDelegationsResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetDelegationsCommand,
+ serializeAws_restJson1GetDelegationsCommand,
+} 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 type GetDelegationsCommandInput = GetDelegationsRequest;
+export type GetDelegationsCommandOutput = GetDelegationsResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns a list of delegations from an audit owner to a delegate.
+ *
+ */
+export class GetDelegationsCommand extends $Command<
+ GetDelegationsCommandInput,
+ GetDelegationsCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetDelegationsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetDelegationsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetDelegationsRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetDelegationsResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: GetDelegationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetDelegationsCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1GetDelegationsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetEvidenceByEvidenceFolderCommand.ts b/clients/client-auditmanager/commands/GetEvidenceByEvidenceFolderCommand.ts
new file mode 100644
index 0000000000000..38710bf1c592e
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetEvidenceByEvidenceFolderCommand.ts
@@ -0,0 +1,93 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetEvidenceByEvidenceFolderRequest, GetEvidenceByEvidenceFolderResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetEvidenceByEvidenceFolderCommand,
+ serializeAws_restJson1GetEvidenceByEvidenceFolderCommand,
+} 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 type GetEvidenceByEvidenceFolderCommandInput = GetEvidenceByEvidenceFolderRequest;
+export type GetEvidenceByEvidenceFolderCommandOutput = GetEvidenceByEvidenceFolderResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns all evidence from a specified evidence folder in AWS Audit Manager.
+ *
+ */
+export class GetEvidenceByEvidenceFolderCommand extends $Command<
+ GetEvidenceByEvidenceFolderCommandInput,
+ GetEvidenceByEvidenceFolderCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetEvidenceByEvidenceFolderCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetEvidenceByEvidenceFolderCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetEvidenceByEvidenceFolderRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetEvidenceByEvidenceFolderResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: GetEvidenceByEvidenceFolderCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetEvidenceByEvidenceFolderCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1GetEvidenceByEvidenceFolderCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetEvidenceCommand.ts b/clients/client-auditmanager/commands/GetEvidenceCommand.ts
new file mode 100644
index 0000000000000..1c8c9c1aed00b
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetEvidenceCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetEvidenceRequest, GetEvidenceResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetEvidenceCommand,
+ serializeAws_restJson1GetEvidenceCommand,
+} 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 type GetEvidenceCommandInput = GetEvidenceRequest;
+export type GetEvidenceCommandOutput = GetEvidenceResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns evidence from AWS Audit Manager.
+ *
+ */
+export class GetEvidenceCommand extends $Command<
+ GetEvidenceCommandInput,
+ GetEvidenceCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetEvidenceCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetEvidenceCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetEvidenceRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetEvidenceResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: GetEvidenceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetEvidenceCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1GetEvidenceCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetEvidenceFolderCommand.ts b/clients/client-auditmanager/commands/GetEvidenceFolderCommand.ts
new file mode 100644
index 0000000000000..22ea537219f68
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetEvidenceFolderCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetEvidenceFolderRequest, GetEvidenceFolderResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetEvidenceFolderCommand,
+ serializeAws_restJson1GetEvidenceFolderCommand,
+} 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 type GetEvidenceFolderCommandInput = GetEvidenceFolderRequest;
+export type GetEvidenceFolderCommandOutput = GetEvidenceFolderResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns an evidence folder from the specified assessment in AWS Audit Manager.
+ *
+ */
+export class GetEvidenceFolderCommand extends $Command<
+ GetEvidenceFolderCommandInput,
+ GetEvidenceFolderCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetEvidenceFolderCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetEvidenceFolderCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetEvidenceFolderRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetEvidenceFolderResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: GetEvidenceFolderCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetEvidenceFolderCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1GetEvidenceFolderCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentCommand.ts b/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentCommand.ts
new file mode 100644
index 0000000000000..aac3e029c3938
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentCommand.ts
@@ -0,0 +1,96 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetEvidenceFoldersByAssessmentRequest, GetEvidenceFoldersByAssessmentResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetEvidenceFoldersByAssessmentCommand,
+ serializeAws_restJson1GetEvidenceFoldersByAssessmentCommand,
+} 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 type GetEvidenceFoldersByAssessmentCommandInput = GetEvidenceFoldersByAssessmentRequest;
+export type GetEvidenceFoldersByAssessmentCommandOutput = GetEvidenceFoldersByAssessmentResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns the evidence folders from a specified assessment in AWS Audit Manager.
+ *
+ */
+export class GetEvidenceFoldersByAssessmentCommand extends $Command<
+ GetEvidenceFoldersByAssessmentCommandInput,
+ GetEvidenceFoldersByAssessmentCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetEvidenceFoldersByAssessmentCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetEvidenceFoldersByAssessmentCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetEvidenceFoldersByAssessmentRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetEvidenceFoldersByAssessmentResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetEvidenceFoldersByAssessmentCommandInput,
+ context: __SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetEvidenceFoldersByAssessmentCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1GetEvidenceFoldersByAssessmentCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentControlCommand.ts b/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentControlCommand.ts
new file mode 100644
index 0000000000000..cce1ce2c1e8d3
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetEvidenceFoldersByAssessmentControlCommand.ts
@@ -0,0 +1,100 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import {
+ GetEvidenceFoldersByAssessmentControlRequest,
+ GetEvidenceFoldersByAssessmentControlResponse,
+} from "../models/models_0";
+import {
+ deserializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand,
+ serializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand,
+} 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 type GetEvidenceFoldersByAssessmentControlCommandInput = GetEvidenceFoldersByAssessmentControlRequest;
+export type GetEvidenceFoldersByAssessmentControlCommandOutput = GetEvidenceFoldersByAssessmentControlResponse &
+ __MetadataBearer;
+
+/**
+ *
+ * Returns a list of evidence folders associated with a specified control of an assessment in AWS Audit Manager.
+ *
+ */
+export class GetEvidenceFoldersByAssessmentControlCommand extends $Command<
+ GetEvidenceFoldersByAssessmentControlCommandInput,
+ GetEvidenceFoldersByAssessmentControlCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetEvidenceFoldersByAssessmentControlCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetEvidenceFoldersByAssessmentControlCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetEvidenceFoldersByAssessmentControlRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetEvidenceFoldersByAssessmentControlResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(
+ input: GetEvidenceFoldersByAssessmentControlCommandInput,
+ context: __SerdeContext
+ ): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetOrganizationAdminAccountCommand.ts b/clients/client-auditmanager/commands/GetOrganizationAdminAccountCommand.ts
new file mode 100644
index 0000000000000..52dca02efac74
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetOrganizationAdminAccountCommand.ts
@@ -0,0 +1,93 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetOrganizationAdminAccountRequest, GetOrganizationAdminAccountResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetOrganizationAdminAccountCommand,
+ serializeAws_restJson1GetOrganizationAdminAccountCommand,
+} 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 type GetOrganizationAdminAccountCommandInput = GetOrganizationAdminAccountRequest;
+export type GetOrganizationAdminAccountCommandOutput = GetOrganizationAdminAccountResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns the name of the delegated AWS administrator account for the AWS organization.
+ *
+ */
+export class GetOrganizationAdminAccountCommand extends $Command<
+ GetOrganizationAdminAccountCommandInput,
+ GetOrganizationAdminAccountCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetOrganizationAdminAccountCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetOrganizationAdminAccountCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetOrganizationAdminAccountRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetOrganizationAdminAccountResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: GetOrganizationAdminAccountCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetOrganizationAdminAccountCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1GetOrganizationAdminAccountCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetServicesInScopeCommand.ts b/clients/client-auditmanager/commands/GetServicesInScopeCommand.ts
new file mode 100644
index 0000000000000..848eef447bf0e
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetServicesInScopeCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetServicesInScopeRequest, GetServicesInScopeResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetServicesInScopeCommand,
+ serializeAws_restJson1GetServicesInScopeCommand,
+} 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 type GetServicesInScopeCommandInput = GetServicesInScopeRequest;
+export type GetServicesInScopeCommandOutput = GetServicesInScopeResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns a list of the in-scope AWS services for the specified assessment.
+ *
+ */
+export class GetServicesInScopeCommand extends $Command<
+ GetServicesInScopeCommandInput,
+ GetServicesInScopeCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetServicesInScopeCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetServicesInScopeCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetServicesInScopeRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetServicesInScopeResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: GetServicesInScopeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetServicesInScopeCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1GetServicesInScopeCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/GetSettingsCommand.ts b/clients/client-auditmanager/commands/GetSettingsCommand.ts
new file mode 100644
index 0000000000000..b75f1b27cc045
--- /dev/null
+++ b/clients/client-auditmanager/commands/GetSettingsCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { GetSettingsRequest, GetSettingsResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1GetSettingsCommand,
+ serializeAws_restJson1GetSettingsCommand,
+} 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 type GetSettingsCommandInput = GetSettingsRequest;
+export type GetSettingsCommandOutput = GetSettingsResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns the settings for the specified AWS account.
+ *
+ */
+export class GetSettingsCommand extends $Command<
+ GetSettingsCommandInput,
+ GetSettingsCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: GetSettingsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "GetSettingsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: GetSettingsRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: GetSettingsResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: GetSettingsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1GetSettingsCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1GetSettingsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/ListAssessmentFrameworksCommand.ts b/clients/client-auditmanager/commands/ListAssessmentFrameworksCommand.ts
new file mode 100644
index 0000000000000..e92cd8e1dcbac
--- /dev/null
+++ b/clients/client-auditmanager/commands/ListAssessmentFrameworksCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { ListAssessmentFrameworksRequest, ListAssessmentFrameworksResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1ListAssessmentFrameworksCommand,
+ serializeAws_restJson1ListAssessmentFrameworksCommand,
+} 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 type ListAssessmentFrameworksCommandInput = ListAssessmentFrameworksRequest;
+export type ListAssessmentFrameworksCommandOutput = ListAssessmentFrameworksResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns a list of the frameworks available in the AWS Audit Manager framework library.
+ *
+ */
+export class ListAssessmentFrameworksCommand extends $Command<
+ ListAssessmentFrameworksCommandInput,
+ ListAssessmentFrameworksCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: ListAssessmentFrameworksCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "ListAssessmentFrameworksCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: ListAssessmentFrameworksRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: ListAssessmentFrameworksResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: ListAssessmentFrameworksCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1ListAssessmentFrameworksCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1ListAssessmentFrameworksCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/ListAssessmentReportsCommand.ts b/clients/client-auditmanager/commands/ListAssessmentReportsCommand.ts
new file mode 100644
index 0000000000000..1a6a42d48af59
--- /dev/null
+++ b/clients/client-auditmanager/commands/ListAssessmentReportsCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { ListAssessmentReportsRequest, ListAssessmentReportsResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1ListAssessmentReportsCommand,
+ serializeAws_restJson1ListAssessmentReportsCommand,
+} 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 type ListAssessmentReportsCommandInput = ListAssessmentReportsRequest;
+export type ListAssessmentReportsCommandOutput = ListAssessmentReportsResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns a list of assessment reports created in AWS Audit Manager.
+ *
+ */
+export class ListAssessmentReportsCommand extends $Command<
+ ListAssessmentReportsCommandInput,
+ ListAssessmentReportsCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: ListAssessmentReportsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "ListAssessmentReportsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: ListAssessmentReportsRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: ListAssessmentReportsResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: ListAssessmentReportsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1ListAssessmentReportsCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1ListAssessmentReportsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/ListAssessmentsCommand.ts b/clients/client-auditmanager/commands/ListAssessmentsCommand.ts
new file mode 100644
index 0000000000000..240cd776235b8
--- /dev/null
+++ b/clients/client-auditmanager/commands/ListAssessmentsCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { ListAssessmentsRequest, ListAssessmentsResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1ListAssessmentsCommand,
+ serializeAws_restJson1ListAssessmentsCommand,
+} 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 type ListAssessmentsCommandInput = ListAssessmentsRequest;
+export type ListAssessmentsCommandOutput = ListAssessmentsResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns a list of current and past assessments from AWS Audit Manager.
+ *
+ */
+export class ListAssessmentsCommand extends $Command<
+ ListAssessmentsCommandInput,
+ ListAssessmentsCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: ListAssessmentsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "ListAssessmentsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: ListAssessmentsRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: ListAssessmentsResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: ListAssessmentsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1ListAssessmentsCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1ListAssessmentsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/ListControlsCommand.ts b/clients/client-auditmanager/commands/ListControlsCommand.ts
new file mode 100644
index 0000000000000..8c86b7ed80642
--- /dev/null
+++ b/clients/client-auditmanager/commands/ListControlsCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { ListControlsRequest, ListControlsResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1ListControlsCommand,
+ serializeAws_restJson1ListControlsCommand,
+} 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 type ListControlsCommandInput = ListControlsRequest;
+export type ListControlsCommandOutput = ListControlsResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns a list of controls from AWS Audit Manager.
+ *
+ */
+export class ListControlsCommand extends $Command<
+ ListControlsCommandInput,
+ ListControlsCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: ListControlsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "ListControlsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: ListControlsRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: ListControlsResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: ListControlsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1ListControlsCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise {
+ return deserializeAws_restJson1ListControlsCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/ListKeywordsForDataSourceCommand.ts b/clients/client-auditmanager/commands/ListKeywordsForDataSourceCommand.ts
new file mode 100644
index 0000000000000..7351b90c8a44f
--- /dev/null
+++ b/clients/client-auditmanager/commands/ListKeywordsForDataSourceCommand.ts
@@ -0,0 +1,93 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { ListKeywordsForDataSourceRequest, ListKeywordsForDataSourceResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1ListKeywordsForDataSourceCommand,
+ serializeAws_restJson1ListKeywordsForDataSourceCommand,
+} 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 type ListKeywordsForDataSourceCommandInput = ListKeywordsForDataSourceRequest;
+export type ListKeywordsForDataSourceCommandOutput = ListKeywordsForDataSourceResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns a list of keywords that pre-mapped to the specified control data source.
+ *
+ */
+export class ListKeywordsForDataSourceCommand extends $Command<
+ ListKeywordsForDataSourceCommandInput,
+ ListKeywordsForDataSourceCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: ListKeywordsForDataSourceCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "ListKeywordsForDataSourceCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: ListKeywordsForDataSourceRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: ListKeywordsForDataSourceResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: ListKeywordsForDataSourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1ListKeywordsForDataSourceCommand(input, context);
+ }
+
+ private deserialize(
+ output: __HttpResponse,
+ context: __SerdeContext
+ ): Promise {
+ return deserializeAws_restJson1ListKeywordsForDataSourceCommand(output, context);
+ }
+
+ // Start section: command_body_extra
+ // End section: command_body_extra
+}
diff --git a/clients/client-auditmanager/commands/ListNotificationsCommand.ts b/clients/client-auditmanager/commands/ListNotificationsCommand.ts
new file mode 100644
index 0000000000000..0600e82de95fb
--- /dev/null
+++ b/clients/client-auditmanager/commands/ListNotificationsCommand.ts
@@ -0,0 +1,90 @@
+import { AuditManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AuditManagerClient";
+import { ListNotificationsRequest, ListNotificationsResponse } from "../models/models_0";
+import {
+ deserializeAws_restJson1ListNotificationsCommand,
+ serializeAws_restJson1ListNotificationsCommand,
+} 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 type ListNotificationsCommandInput = ListNotificationsRequest;
+export type ListNotificationsCommandOutput = ListNotificationsResponse & __MetadataBearer;
+
+/**
+ *
+ * Returns a list of all AWS Audit Manager notifications.
+ *
+ */
+export class ListNotificationsCommand extends $Command<
+ ListNotificationsCommandInput,
+ ListNotificationsCommandOutput,
+ AuditManagerClientResolvedConfig
+> {
+ // Start section: command_properties
+ // End section: command_properties
+
+ constructor(readonly input: ListNotificationsCommandInput) {
+ // Start section: command_constructor
+ super();
+ // End section: command_constructor
+ }
+
+ /**
+ * @internal
+ */
+ resolveMiddleware(
+ clientStack: MiddlewareStack,
+ configuration: AuditManagerClientResolvedConfig,
+ options?: __HttpHandlerOptions
+ ): Handler {
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
+
+ const stack = clientStack.concat(this.middlewareStack);
+
+ const { logger } = configuration;
+ const clientName = "AuditManagerClient";
+ const commandName = "ListNotificationsCommand";
+ const handlerExecutionContext: HandlerExecutionContext = {
+ logger,
+ clientName,
+ commandName,
+ inputFilterSensitiveLog: ListNotificationsRequest.filterSensitiveLog,
+ outputFilterSensitiveLog: ListNotificationsResponse.filterSensitiveLog,
+ };
+
+ if (typeof logger.info === "function") {
+ logger.info({
+ clientName,
+ commandName,
+ });
+ }
+
+ const { requestHandler } = configuration;
+ return stack.resolve(
+ (request: FinalizeHandlerArguments) =>
+ requestHandler.handle(request.request as __HttpRequest, options || {}),
+ handlerExecutionContext
+ );
+ }
+
+ private serialize(input: ListNotificationsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
+ return serializeAws_restJson1ListNotificationsCommand(input, context);
+ }
+
+ private deserialize(output: __HttpResponse, context: __SerdeContext): Promise