@aws-sdk/client-iam

DeletePolicyVersionCommandInput Interface

Members

Name
Type
Details
PolicyArn Requiredstring | undefined

The Amazon Resource Name (ARN) of the IAM policy from which you want to delete a version.

For more information about ARNs, see Amazon Resource Names (ARNs)  in the Amazon Web Services General Reference.

VersionId Requiredstring | undefined

The policy version to delete.

This parameter allows (through its regex pattern ) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.

For more information about managed policy versions, see Versioning for managed policies  in the IAM User Guide.

Full Signature

export interface DeletePolicyVersionCommandInput extends DeletePolicyVersionRequest