{
    "smithy": "1.0",
    "metadata": {
        "suppressions": [
            {
                "id": "HttpMethodSemantics",
                "namespace": "*"
            },
            {
                "id": "HttpResponseCodeSemantics",
                "namespace": "*"
            },
            {
                "id": "PaginatedTrait",
                "namespace": "*"
            },
            {
                "id": "HttpHeaderTrait",
                "namespace": "*"
            },
            {
                "id": "HttpUriConflict",
                "namespace": "*"
            },
            {
                "id": "Service",
                "namespace": "*"
            }
        ]
    },
    "shapes": {
        "com.amazonaws.secretsmanager#AddReplicaRegionListType": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.secretsmanager#ReplicaRegionType"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 1
                }
            }
        },
        "com.amazonaws.secretsmanager#AutomaticallyRotateAfterDaysType": {
            "type": "long",
            "traits": {
                "smithy.api#range": {
                    "min": 1,
                    "max": 1000
                }
            }
        },
        "com.amazonaws.secretsmanager#BooleanType": {
            "type": "boolean"
        },
        "com.amazonaws.secretsmanager#CancelRotateSecret": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#CancelRotateSecretRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#CancelRotateSecretResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Turns off automatic rotation, and if a rotation is currently in\n      progress, cancels the rotation.</p>\n         <p>If you cancel a rotation in progress, it can leave the <code>VersionStage</code>\n      labels in an unexpected state. You might\n      need to remove the staging label <code>AWSPENDING</code> from the partially created version. \n      You also need to determine whether to roll back to the previous version of the secret \n      by moving the staging label <code>AWSCURRENT</code> to the version that has <code>AWSPENDING</code>.\n      To determine \n      which version has a specific staging label, call <a>ListSecretVersionIds</a>. Then use \n     <a>UpdateSecretVersionStage</a> to change staging labels. \n     For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html\">How rotation works</a>.</p>\n         <p>To turn on automatic rotation again, call <a>RotateSecret</a>.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:CancelRotateSecret</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#CancelRotateSecretRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret.</p> \n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#CancelRotateSecretResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the secret.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#SecretNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the secret.</p>"
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The unique identifier of the version of the secret created during the rotation. This\n      version might not be complete, and should be evaluated for possible deletion. We recommend \n      that you remove the <code>VersionStage</code> value <code>AWSPENDING</code> from this version so that \n      Secrets Manager can delete it. Failing to clean up a cancelled rotation can block you from\n      starting future rotations.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#ClientRequestTokenType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 32,
                    "max": 64
                }
            }
        },
        "com.amazonaws.secretsmanager#CreateSecret": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#CreateSecretRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#CreateSecretResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#DecryptionFailure"
                },
                {
                    "target": "com.amazonaws.secretsmanager#EncryptionFailure"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#LimitExceededException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#MalformedPolicyDocumentException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#PreconditionNotMetException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceExistsException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Creates a new secret. A <i>secret</i> can be a password, a set of \n      credentials such as a user name and password, an OAuth token, or other secret information \n      that you store in an encrypted form in Secrets Manager. The secret also \n      includes the connection information to access a database or other service, which Secrets Manager \n      doesn't encrypt. A secret in Secrets Manager consists of both the protected secret data and the\n      important information needed to manage the secret.</p>\n         <p>For information about creating a secret in the console, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_create-basic-secret.html\">Create a secret</a>.</p>\n         <p>To create a secret, you can provide the secret value to be encrypted in either the\n      <code>SecretString</code> parameter or the <code>SecretBinary</code> parameter, but not both. \n      If you include <code>SecretString</code> or <code>SecretBinary</code>\n      then Secrets Manager creates an initial secret version and automatically attaches the staging\n      label <code>AWSCURRENT</code> to it.</p>\n         <p>For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret,\n      you must make sure the JSON you store in the <code>SecretString</code> matches the <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html\">JSON structure of\n        a database secret</a>.</p>\n         <p>If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key \n      <code>aws/secretsmanager</code>. If this key \n      doesn't already exist in your account, then Secrets Manager creates it for you automatically. All\n      users and roles in the Amazon Web Services account automatically have access to use <code>aws/secretsmanager</code>. \n      Creating <code>aws/secretsmanager</code> can result in a one-time significant delay in returning the \n      result.</p>\n         <p>If the secret is in a different Amazon Web Services account from the credentials calling the API, then \n      you can't use <code>aws/secretsmanager</code> to encrypt the secret, and you must create \n      and use a customer managed KMS key. </p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:CreateSecret</code>. If you \n      include tags in the secret, you also need <code>secretsmanager:TagResource</code>.\n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>\n         <p>To encrypt the secret with a KMS key other than <code>aws/secretsmanager</code>, you need <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permission to the key. </p>"
            }
        },
        "com.amazonaws.secretsmanager#CreateSecretRequest": {
            "type": "structure",
            "members": {
                "Name": {
                    "target": "com.amazonaws.secretsmanager#NameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the new secret.</p>\n         <p>The secret name can contain ASCII letters, numbers, and the following characters:\n      /_+=.@-</p>\n    \n         <p>Do not end your secret name with a hyphen followed by six characters. If you do so, you\n        risk confusion and unexpected results when searching for a secret by partial ARN. Secrets Manager\n        automatically adds a hyphen and six random characters after the secret name at the end of the ARN.</p>",
                        "smithy.api#required": {}
                    }
                },
                "ClientRequestToken": {
                    "target": "com.amazonaws.secretsmanager#ClientRequestTokenType",
                    "traits": {
                        "smithy.api#documentation": "<p>If you include <code>SecretString</code> or <code>SecretBinary</code>, then \n      Secrets Manager creates an initial version for the secret, and this parameter specifies the unique\n      identifier for the new version. </p>\n         <note>\n            <p>If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can\n        leave this parameter empty. The CLI or SDK generates a random UUID for you and includes it\n        as the value for this parameter in the request. If you don't use the SDK and instead\n        generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a\n        <code>ClientRequestToken</code> yourself for the new version and include the value in the\n        request.</p>\n         </note>\n         <p>This value helps ensure idempotency. Secrets Manager uses this value to prevent the accidental\n      creation of duplicate versions if there are failures and retries during a rotation. We\n      recommend that you generate a <a href=\"https://wikipedia.org/wiki/Universally_unique_identifier\">UUID-type</a> value to\n      ensure uniqueness of your versions within the specified secret. </p>\n         <ul>\n            <li>\n               <p>If the <code>ClientRequestToken</code> value isn't already associated with a version\n          of the secret then a new version of the secret is created. </p>\n            </li>\n            <li>\n               <p>If a version with this value already exists and the version <code>SecretString</code>\n          and <code>SecretBinary</code> values are the same as those in the request, then the\n          request is ignored.</p>\n            </li>\n            <li>\n               <p>If a version with this value already exists and that version's\n          <code>SecretString</code> and <code>SecretBinary</code> values are different from those\n          in the request, then the request fails because you cannot modify an existing version.\n          Instead, use <a>PutSecretValue</a> to create a new version.</p>\n            </li>\n         </ul>\n         <p>This value becomes the <code>VersionId</code> of the new version.</p>",
                        "smithy.api#idempotencyToken": {}
                    }
                },
                "Description": {
                    "target": "com.amazonaws.secretsmanager#DescriptionType",
                    "traits": {
                        "smithy.api#documentation": "<p>The description of the secret.</p>"
                    }
                },
                "KmsKeyId": {
                    "target": "com.amazonaws.secretsmanager#KmsKeyIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN, key ID, or alias of the KMS key that Secrets Manager uses to\n      encrypt the secret value in the secret.</p>\n         <p>To use a KMS key in a different account, use the key ARN or the alias ARN.</p>\n         <p>If you don't specify this value, then Secrets Manager uses the key <code>aws/secretsmanager</code>. \n      If that key doesn't yet exist, then Secrets Manager creates it for you automatically the first time it \n      encrypts the secret value.</p>\n         <p>If the secret is in a different Amazon Web Services account from the credentials calling the API, then \n      you can't use <code>aws/secretsmanager</code> to encrypt the secret, and you must create \n      and use a customer managed KMS key. </p>"
                    }
                },
                "SecretBinary": {
                    "target": "com.amazonaws.secretsmanager#SecretBinaryType",
                    "traits": {
                        "smithy.api#documentation": "<p>The binary data to encrypt and store in the new version of\n      the secret. We recommend that you store your binary data in a file and then pass the\n      contents of the file as a parameter.</p>\n         <p>Either <code>SecretString</code> or <code>SecretBinary</code> must have a value, but not\n      both.</p>\n         <p>This parameter is not available in the Secrets Manager console.</p>"
                    }
                },
                "SecretString": {
                    "target": "com.amazonaws.secretsmanager#SecretStringType",
                    "traits": {
                        "smithy.api#documentation": "<p>The text data to encrypt and store in this new version of\n      the secret. We recommend you use a JSON structure of key/value pairs for your secret value.</p>\n         <p>Either <code>SecretString</code> or <code>SecretBinary</code> must have a value, but not\n      both.</p>\n         <p>If you create a secret by using the Secrets Manager console then Secrets Manager puts the protected\n      secret text in only the <code>SecretString</code> parameter. The Secrets Manager console stores the\n      information as a JSON structure of key/value pairs that a Lambda rotation function can parse.</p>"
                    }
                },
                "Tags": {
                    "target": "com.amazonaws.secretsmanager#TagListType",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of tags to attach to the secret. Each tag\n      is a key and value pair of strings in a JSON text string, for example:</p>\n         <p>\n            <code>[{\"Key\":\"CostCenter\",\"Value\":\"12345\"},{\"Key\":\"environment\",\"Value\":\"production\"}]</code>\n         </p>\n         <p>Secrets Manager tag key names are case sensitive. A tag with the key \"ABC\" is a different tag\n      from one with key \"abc\".</p>\n         <p>If you check tags in permissions policies as part of your\n      security strategy, then adding or removing a tag can change permissions. If the\n      completion of this operation would result in you losing your permissions for\n      this secret, then Secrets Manager blocks the operation and returns an <code>Access Denied</code>\n      error. For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_examples.html#tag-secrets-abac\">Control \n        access to secrets using tags</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_examples.html#auth-and-access_tags2\">Limit access to identities with tags that match secrets' tags</a>.</p>\n         <p>For information about how to format a\n      JSON parameter for the various command line tool environments, see <a href=\"https://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#cli-using-param-json\">Using JSON for\n        Parameters</a>. If your command-line tool or SDK requires quotation marks around the parameter, you should\n      use single quotes to avoid confusion with the double quotes required in the JSON text.</p>\n            <p>The following restrictions apply to tags:</p>\n        <ul>\n            <li>\n               <p>Maximum number of tags per secret: 50</p>\n            </li>\n            <li>\n               <p>Maximum key length: 127 Unicode characters in UTF-8</p>\n            </li>\n            <li>\n               <p>Maximum value length: 255 Unicode characters in UTF-8</p>\n            </li>\n            <li>\n               <p>Tag keys and values are case sensitive.</p>\n            </li>\n            <li>\n               <p>Do not use the <code>aws:</code> prefix in your tag names or values because Amazon Web Services reserves it\n            for Amazon Web Services use. You can't edit or delete tag names or values with this \n              prefix. Tags with this prefix do not count against your tags per secret limit.</p>\n            </li>\n            <li>\n               <p>If you use your tagging schema across multiple services and resources,\n              other services might have restrictions on allowed characters. Generally\n              allowed characters: letters, spaces, and numbers representable in UTF-8, plus the\n              following special characters: + - = . _ : / @.</p>\n            </li>\n         </ul>"
                    }
                },
                "AddReplicaRegions": {
                    "target": "com.amazonaws.secretsmanager#AddReplicaRegionListType",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of Regions and KMS keys to replicate secrets.</p>"
                    }
                },
                "ForceOverwriteReplicaSecret": {
                    "target": "com.amazonaws.secretsmanager#BooleanType",
                    "traits": {
                        "smithy.api#documentation": "<p>Specifies whether to overwrite a secret with the same name in the\n      destination Region.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#CreateSecretResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the new secret. The ARN includes the name of the secret followed by six random \n      characters. This ensures that if you create a new secret with the same name as a deleted secret, \n      then users with access to the old secret don't get access to the new secret because the ARNs \n      are different.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#SecretNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the new secret.</p>"
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The unique identifier associated with the version of the new secret.</p>"
                    }
                },
                "ReplicationStatus": {
                    "target": "com.amazonaws.secretsmanager#ReplicationStatusListType",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of the replicas of this secret and their status:</p>\n         <ul>\n            <li>\n               <p>\n                  <code>Failed</code>, which indicates that the replica was not created.</p>\n            </li>\n            <li>\n               <p>\n                  <code>InProgress</code>, which indicates that Secrets Manager is in the process of creating the replica.</p>\n            </li>\n            <li>\n               <p>\n                  <code>InSync</code>, which indicates that the replica was created.</p>\n            </li>\n         </ul>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#CreatedDateType": {
            "type": "timestamp"
        },
        "com.amazonaws.secretsmanager#DecryptionFailure": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.secretsmanager#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Secrets Manager can't decrypt the protected secret text using the provided KMS key. </p>",
                "smithy.api#error": "client"
            }
        },
        "com.amazonaws.secretsmanager#DeleteResourcePolicy": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#DeleteResourcePolicyRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#DeleteResourcePolicyResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Deletes the resource-based permission policy attached to the secret. To attach a policy to \n      a secret, use <a>PutResourcePolicy</a>.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:DeleteResourcePolicy</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#DeleteResourcePolicyRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret to delete the attached resource-based policy for.</p>\n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#DeleteResourcePolicyResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the secret that the resource-based policy was deleted for.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#NameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the secret that the resource-based policy was deleted for.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#DeleteSecret": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#DeleteSecretRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#DeleteSecretResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Deletes a secret and all of its versions. You can specify a recovery\n      window during which you can restore the secret. The minimum recovery window is 7 days. \n      The default recovery window is 30 days. Secrets Manager attaches a <code>DeletionDate</code> stamp to\n      the secret that specifies the end of the recovery window. At the end of the recovery window,\n      Secrets Manager deletes the secret permanently.</p>\n         <p>You can't delete a primary secret that is replicated to other Regions. You must first delete the \n    replicas using <a>RemoveRegionsFromReplication</a>, and then delete the primary secret. \n    When you delete a replica, it is deleted immediately.</p>\n         <p>You can't directly delete a version of a secret. Instead, you remove all staging labels \n    from the version using <a>UpdateSecretVersionStage</a>. This marks the version as deprecated, \n    and then Secrets Manager can automatically delete the version in the background.</p>\n         <p>To determine whether an application still uses a secret, you can create an Amazon CloudWatch alarm \n    to alert you to any attempts to access a secret during the recovery window. For more information, \n    see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/monitoring_cloudwatch_deleted-secrets.html\">\n    Monitor secrets scheduled for deletion</a>.</p>\n         <p>Secrets Manager performs the permanent secret deletion at the end of the waiting period as a\n        background task with low priority. There is no guarantee of a specific time after the\n        recovery window for the permanent delete to occur.</p>\n         <p>At any time before recovery window ends, you can use <a>RestoreSecret</a> to\n      remove the <code>DeletionDate</code> and cancel the deletion of the secret.</p>\n         <p>When a secret is scheduled for deletion, you cannot retrieve the secret value.\n      You must first cancel the deletion with <a>RestoreSecret</a> and then you can retrieve the secret.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:DeleteSecret</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#DeleteSecretRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret to delete.</p>\n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                },
                "RecoveryWindowInDays": {
                    "target": "com.amazonaws.secretsmanager#RecoveryWindowInDaysType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>The number of days from 7 to 30 that Secrets Manager waits before permanently deleting the\n      secret. You can't use both this parameter and <code>ForceDeleteWithoutRecovery</code>\n      in the same call. If you don't use either, then Secrets Manager defaults to a 30 day recovery window.</p>"
                    }
                },
                "ForceDeleteWithoutRecovery": {
                    "target": "com.amazonaws.secretsmanager#BooleanType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>Specifies whether to delete the secret without any recovery window. You\n      can't use both this parameter and <code>RecoveryWindowInDays</code> in the same\n      call. If you don't use either, then Secrets Manager defaults to a 30 day recovery window.</p>\n         <p>Secrets Manager performs the actual deletion with an asynchronous background process, so there might \n      be a short delay before the secret is permanently deleted. If you delete a secret and then \n      immediately create a secret with the same name, use appropriate back off and retry logic.</p>\n         <important>\n            <p>Use this parameter with caution. This parameter causes the operation to skip the normal\n        recovery window before the permanent deletion that Secrets Manager would normally impose with the\n          <code>RecoveryWindowInDays</code> parameter. If you delete a secret with the\n          <code>ForceDeleteWithouRecovery</code> parameter, then you have no opportunity to recover\n        the secret. You lose the secret permanently.</p>\n         </important>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#DeleteSecretResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the secret.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#SecretNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the secret.</p>"
                    }
                },
                "DeletionDate": {
                    "target": "com.amazonaws.secretsmanager#DeletionDateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The date and time after which this secret Secrets Manager can permanently delete this secret, \n      and it can no longer be restored. This value is the date and time of the delete request \n      plus the number of days in <code>RecoveryWindowInDays</code>.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#DeletedDateType": {
            "type": "timestamp"
        },
        "com.amazonaws.secretsmanager#DeletionDateType": {
            "type": "timestamp"
        },
        "com.amazonaws.secretsmanager#DescribeSecret": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#DescribeSecretRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#DescribeSecretResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves the details of a secret. It does not include the encrypted secret value. Secrets Manager\n      only returns fields that have a value in the response. </p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:DescribeSecret</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#DescribeSecretRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret. </p>\n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#DescribeSecretResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the secret.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#SecretNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the secret.</p>"
                    }
                },
                "Description": {
                    "target": "com.amazonaws.secretsmanager#DescriptionType",
                    "traits": {
                        "smithy.api#documentation": "<p>The description of the secret.</p>"
                    }
                },
                "KmsKeyId": {
                    "target": "com.amazonaws.secretsmanager#KmsKeyIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the KMS key that Secrets Manager uses to encrypt the secret value. If the secret is encrypted with \n      the Amazon Web Services managed key <code>aws/secretsmanager</code>, this field is omitted.</p>"
                    }
                },
                "RotationEnabled": {
                    "target": "com.amazonaws.secretsmanager#RotationEnabledType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>Specifies whether automatic rotation is turned on for this secret.</p>\n         <p>To turn on rotation, use <a>RotateSecret</a>. To turn off\n      rotation, use <a>CancelRotateSecret</a>.</p>"
                    }
                },
                "RotationLambdaARN": {
                    "target": "com.amazonaws.secretsmanager#RotationLambdaARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the Lambda function that Secrets Manager invokes to rotate the\n      secret. </p>"
                    }
                },
                "RotationRules": {
                    "target": "com.amazonaws.secretsmanager#RotationRulesType",
                    "traits": {
                        "smithy.api#documentation": "<p>The rotation schedule and Lambda function for this secret. If the secret previously had rotation turned on, but \n      it is now turned off, this field shows the previous rotation schedule and rotation function. If the secret never had \n    rotation turned on, this field is omitted.</p>"
                    }
                },
                "LastRotatedDate": {
                    "target": "com.amazonaws.secretsmanager#LastRotatedDateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The last date and time that Secrets Manager rotated the secret. \n      If the secret isn't configured for rotation, Secrets Manager returns null.</p>"
                    }
                },
                "LastChangedDate": {
                    "target": "com.amazonaws.secretsmanager#LastChangedDateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The last date and time that this secret was modified in any way.</p>"
                    }
                },
                "LastAccessedDate": {
                    "target": "com.amazonaws.secretsmanager#LastAccessedDateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The last date that the secret value was retrieved. This value does not include the time. This field is omitted if the secret has never been retrieved.</p>"
                    }
                },
                "DeletedDate": {
                    "target": "com.amazonaws.secretsmanager#DeletedDateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The date the secret is scheduled for deletion. If it is not scheduled for deletion, this \n      field is omitted. When you delete a secret, Secrets Manager requires a \n      recovery window of at least 7 days before deleting the secret. Some time after the deleted date, \n      Secrets Manager deletes the secret, including all of its versions.</p>\n         <p>If a secret is scheduled for deletion, then its details, including the encrypted secret\n      value, is not accessible. To cancel a scheduled deletion and restore access to the secret, use <a>RestoreSecret</a>.</p>"
                    }
                },
                "Tags": {
                    "target": "com.amazonaws.secretsmanager#TagListType",
                    "traits": {
                        "smithy.api#documentation": "<p>The list of tags attached to the secret. To add tags to a\n      secret, use <a>TagResource</a>. To remove tags, use <a>UntagResource</a>.</p>"
                    }
                },
                "VersionIdsToStages": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionsToStagesMapType",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of the versions of the secret that have staging labels attached.\n      Versions that don't have staging labels are considered deprecated and Secrets Manager \n      can delete them.</p>\n         <p>Secrets Manager uses staging labels to indicate the status of a secret version during rotation. The three \n    staging labels for rotation are: </p>\n         <ul>\n            <li>\n               <p>\n                  <code>AWSCURRENT</code>, which indicates the current version of the secret.</p>\n            </li>\n            <li>\n               <p>\n                  <code>AWSPENDING</code>, which indicates the version of the secret that contains new \n        secret information that will become the next current version when rotation finishes.</p>\n               <p>During  \n          rotation, Secrets Manager creates an <code>AWSPENDING</code> version ID before creating the new secret version. \n        To check if a secret version exists, call <a>GetSecretValue</a>.</p>\n            </li>\n            <li>\n               <p>\n                  <code>AWSPREVIOUS</code>, which indicates the previous current version of the secret. \n      You can use this as the <i>last known good</i> version.</p>\n            </li>\n         </ul>\n         <p>For more information about rotation and staging labels, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html\">How rotation works</a>.</p>"
                    }
                },
                "OwningService": {
                    "target": "com.amazonaws.secretsmanager#OwningServiceType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the service that created this secret.</p>"
                    }
                },
                "CreatedDate": {
                    "target": "com.amazonaws.secretsmanager#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The date the secret was created.</p>"
                    }
                },
                "PrimaryRegion": {
                    "target": "com.amazonaws.secretsmanager#RegionType",
                    "traits": {
                        "smithy.api#documentation": "<p>The Region the secret is in. If a secret is replicated to other Regions, the replicas are listed in <code>ReplicationStatus</code>. </p>"
                    }
                },
                "ReplicationStatus": {
                    "target": "com.amazonaws.secretsmanager#ReplicationStatusListType",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of the replicas of this secret and their status: </p>\n         <ul>\n            <li>\n               <p>\n                  <code>Failed</code>, which indicates that the replica was not created.</p>\n            </li>\n            <li>\n               <p>\n                  <code>InProgress</code>, which indicates that Secrets Manager is in the process of creating the replica.</p>\n            </li>\n            <li>\n               <p>\n                  <code>InSync</code>, which indicates that the replica was created.</p>\n            </li>\n         </ul>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#DescriptionType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 2048
                }
            }
        },
        "com.amazonaws.secretsmanager#DurationType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 2,
                    "max": 3
                },
                "smithy.api#pattern": "^[0-9h]+$"
            }
        },
        "com.amazonaws.secretsmanager#EncryptionFailure": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.secretsmanager#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Secrets Manager can't encrypt the protected secret text using the provided KMS key. Check that the\n      KMS key is available, enabled, and not in an invalid state. For more\n      information, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html\">Key state: Effect on your KMS key</a>.</p>",
                "smithy.api#error": "client"
            }
        },
        "com.amazonaws.secretsmanager#ErrorMessage": {
            "type": "string"
        },
        "com.amazonaws.secretsmanager#ExcludeCharactersType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 4096
                }
            }
        },
        "com.amazonaws.secretsmanager#ExcludeLowercaseType": {
            "type": "boolean"
        },
        "com.amazonaws.secretsmanager#ExcludeNumbersType": {
            "type": "boolean"
        },
        "com.amazonaws.secretsmanager#ExcludePunctuationType": {
            "type": "boolean"
        },
        "com.amazonaws.secretsmanager#ExcludeUppercaseType": {
            "type": "boolean"
        },
        "com.amazonaws.secretsmanager#Filter": {
            "type": "structure",
            "members": {
                "Key": {
                    "target": "com.amazonaws.secretsmanager#FilterNameStringType",
                    "traits": {
                        "smithy.api#documentation": "<p>The following are keys you can use:</p>\n         <ul>\n            <li>\n               <p>\n                  <b>description</b>: Prefix match, not case-sensitive.</p>\n            </li>\n            <li>\n               <p>\n                  <b>name</b>: Prefix match, case-sensitive.</p>\n            </li>\n            <li>\n               <p>\n                  <b>tag-key</b>: Prefix match, case-sensitive.</p>\n            </li>\n            <li>\n               <p>\n                  <b>tag-value</b>: Prefix match, case-sensitive.</p>\n            </li>\n            <li>\n               <p>\n                  <b>primary-region</b>: Prefix match, case-sensitive.</p>\n            </li>\n            <li>\n               <p>\n                  <b>all</b>: Breaks the filter value string into words and then searches all attributes for matches. Not case-sensitive.</p>\n            </li>\n         </ul>"
                    }
                },
                "Values": {
                    "target": "com.amazonaws.secretsmanager#FilterValuesStringList",
                    "traits": {
                        "smithy.api#documentation": "<p>The keyword to filter for.</p>\n         <p>You can prefix your search value with an exclamation mark (<code>!</code>) in order to perform negation filters. </p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Allows you to add filters when you use the search function in Secrets Manager. For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html\">Find secrets in Secrets Manager</a>.</p>"
            }
        },
        "com.amazonaws.secretsmanager#FilterNameStringType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "description",
                        "name": "description"
                    },
                    {
                        "value": "name",
                        "name": "name"
                    },
                    {
                        "value": "tag-key",
                        "name": "tag_key"
                    },
                    {
                        "value": "tag-value",
                        "name": "tag_value"
                    },
                    {
                        "value": "primary-region",
                        "name": "primary_region"
                    },
                    {
                        "value": "all",
                        "name": "all"
                    }
                ]
            }
        },
        "com.amazonaws.secretsmanager#FilterValueStringType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 512
                },
                "smithy.api#pattern": "^\\!?[a-zA-Z0-9 :_@\\/\\+\\=\\.\\-]*$"
            }
        },
        "com.amazonaws.secretsmanager#FilterValuesStringList": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.secretsmanager#FilterValueStringType"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 10
                }
            }
        },
        "com.amazonaws.secretsmanager#FiltersListType": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.secretsmanager#Filter"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 10
                }
            }
        },
        "com.amazonaws.secretsmanager#GetRandomPassword": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#GetRandomPasswordRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#GetRandomPasswordResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Generates a random password. We recommend that you specify the\n      maximum length and include every character type that the system you are generating a password\n      for can support.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:GetRandomPassword</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#GetRandomPasswordRequest": {
            "type": "structure",
            "members": {
                "PasswordLength": {
                    "target": "com.amazonaws.secretsmanager#PasswordLengthType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>The length of the password. If you don't include this parameter, the \n      default length is 32 characters.</p>"
                    }
                },
                "ExcludeCharacters": {
                    "target": "com.amazonaws.secretsmanager#ExcludeCharactersType",
                    "traits": {
                        "smithy.api#documentation": "<p>A string of the characters that you don't want in the password.</p>"
                    }
                },
                "ExcludeNumbers": {
                    "target": "com.amazonaws.secretsmanager#ExcludeNumbersType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>Specifies whether to exclude numbers from the password. If you don't \n      include this switch, the password can contain numbers.</p>"
                    }
                },
                "ExcludePunctuation": {
                    "target": "com.amazonaws.secretsmanager#ExcludePunctuationType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>Specifies whether to exclude the following punctuation characters from the password: \n      <code>! \" # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \\ ] ^ _ ` { | } ~</code>. \n      If you don't include this switch, the password can contain punctuation.</p>"
                    }
                },
                "ExcludeUppercase": {
                    "target": "com.amazonaws.secretsmanager#ExcludeUppercaseType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>Specifies whether to exclude uppercase letters from the password. If you \n      don't include this switch, the password can contain uppercase letters.</p>"
                    }
                },
                "ExcludeLowercase": {
                    "target": "com.amazonaws.secretsmanager#ExcludeLowercaseType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>Specifies whether to exclude lowercase letters from the password. If\n      you don't include this switch, the password can contain lowercase letters.</p>"
                    }
                },
                "IncludeSpace": {
                    "target": "com.amazonaws.secretsmanager#IncludeSpaceType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>Specifies whether to include the space character. If you \n      include this switch, the password can contain space characters.</p>"
                    }
                },
                "RequireEachIncludedType": {
                    "target": "com.amazonaws.secretsmanager#RequireEachIncludedTypeType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation. \n      If you don't include this switch, the password contains at least one of every character type.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#GetRandomPasswordResponse": {
            "type": "structure",
            "members": {
                "RandomPassword": {
                    "target": "com.amazonaws.secretsmanager#RandomPasswordType",
                    "traits": {
                        "smithy.api#documentation": "<p>A string with the password.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#GetResourcePolicy": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#GetResourcePolicyRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#GetResourcePolicyResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves the JSON text of the resource-based policy document attached to the\n      secret. For more information about permissions policies attached to a secret, see \n      <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_resource-policies.html\">Permissions \n        policies attached to a secret</a>.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:GetResourcePolicy</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#GetResourcePolicyRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret to retrieve the attached resource-based policy for.</p>\n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#GetResourcePolicyResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the secret that the resource-based policy was retrieved for.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#NameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the secret that the resource-based policy was retrieved for.</p>"
                    }
                },
                "ResourcePolicy": {
                    "target": "com.amazonaws.secretsmanager#NonEmptyResourcePolicyType",
                    "traits": {
                        "smithy.api#documentation": "<p>A JSON-formatted string that contains the permissions policy \n      attached to the secret. For more information about permissions policies, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication and access control for\n        Secrets Manager</a>.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#GetSecretValue": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#GetSecretValueRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#GetSecretValueResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#DecryptionFailure"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Retrieves the contents of the encrypted fields <code>SecretString</code> or\n        <code>SecretBinary</code> from the specified version of a secret, whichever contains\n      content.</p>\n         <p>We recommend that you cache your secret values by using client-side caching. \n      Caching secrets improves speed and reduces your costs. For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/retrieving-secrets.html\">Cache secrets for \n        your applications</a>.</p>\n    \n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:GetSecretValue</code>. \n      If the secret is encrypted using a customer-managed key instead of the Amazon Web Services managed key \n      <code>aws/secretsmanager</code>, then you also need <code>kms:Decrypt</code> permissions for that key.\n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#GetSecretValueRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret to retrieve.</p>\n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The unique identifier of the version of the secret to retrieve. If\n      you include both this parameter and <code>VersionStage</code>, the two parameters must refer\n      to the same secret version. If you don't specify either a <code>VersionStage</code> or\n        <code>VersionId</code>, then Secrets Manager returns the <code>AWSCURRENT</code> version.</p>\n         <p>This value is typically a <a href=\"https://wikipedia.org/wiki/Universally_unique_identifier\">UUID-type</a> value with\n      32 hexadecimal digits.</p>"
                    }
                },
                "VersionStage": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionStageType",
                    "traits": {
                        "smithy.api#documentation": "<p>The staging label of the version of the secret to retrieve. </p>\n         <p>Secrets Manager uses staging labels to keep track of different versions during the rotation process.\n      If you include both this parameter and <code>VersionId</code>, the two parameters must refer\n      to the same secret version. If you don't specify either a <code>VersionStage</code> or\n      <code>VersionId</code>, Secrets Manager returns the <code>AWSCURRENT</code> version.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#GetSecretValueResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the secret.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#SecretNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The friendly name of the secret.</p>"
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The unique identifier of this version of the secret.</p>"
                    }
                },
                "SecretBinary": {
                    "target": "com.amazonaws.secretsmanager#SecretBinaryType",
                    "traits": {
                        "smithy.api#documentation": "<p>The decrypted secret value, if the secret value was originally provided as\n      binary data in the form of a byte array. The response parameter represents the binary data as\n      a <a href=\"https://tools.ietf.org/html/rfc4648#section-4\">base64-encoded</a>\n      string.</p>\n         <p>If the secret was created by using the Secrets Manager console, or if the secret value was \n      originally provided as a string, then this field is omitted. The secret value appears in \n      <code>SecretString</code> instead.</p>"
                    }
                },
                "SecretString": {
                    "target": "com.amazonaws.secretsmanager#SecretStringType",
                    "traits": {
                        "smithy.api#documentation": "<p>The decrypted secret value, if the secret value was originally provided as a string or \n      through the Secrets Manager console.</p>\n         <p>If this secret was created by using the console, then Secrets Manager stores the information as a\n      JSON structure of key/value pairs. </p>"
                    }
                },
                "VersionStages": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionStagesType",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of all of the staging labels currently attached to this version of the\n      secret.</p>"
                    }
                },
                "CreatedDate": {
                    "target": "com.amazonaws.secretsmanager#CreatedDateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The date and time that this version of the secret was created. If you don't specify \n      which version in <code>VersionId</code> or <code>VersionStage</code>, then Secrets Manager uses the \n      <code>AWSCURRENT</code> version.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#IncludeSpaceType": {
            "type": "boolean"
        },
        "com.amazonaws.secretsmanager#InternalServiceError": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.secretsmanager#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>An error occurred on the server side.</p>",
                "smithy.api#error": "server"
            }
        },
        "com.amazonaws.secretsmanager#InvalidNextTokenException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.secretsmanager#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The <code>NextToken</code> value is invalid.</p>",
                "smithy.api#error": "client"
            }
        },
        "com.amazonaws.secretsmanager#InvalidParameterException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.secretsmanager#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The parameter name or value is invalid.</p>",
                "smithy.api#error": "client"
            }
        },
        "com.amazonaws.secretsmanager#InvalidRequestException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.secretsmanager#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A parameter value is not valid for the current state of the\n      resource.</p>\n         <p>Possible causes:</p>\n         <ul>\n            <li>\n               <p>The secret is scheduled for deletion.</p>\n            </li>\n            <li>\n               <p>You tried to enable rotation on a secret that doesn't already have a Lambda function\n          ARN configured and you didn't include such an ARN as a parameter in this call. </p>\n            </li>\n         </ul>",
                "smithy.api#error": "client"
            }
        },
        "com.amazonaws.secretsmanager#KmsKeyIdListType": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.secretsmanager#KmsKeyIdType"
            }
        },
        "com.amazonaws.secretsmanager#KmsKeyIdType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 2048
                }
            }
        },
        "com.amazonaws.secretsmanager#LastAccessedDateType": {
            "type": "timestamp"
        },
        "com.amazonaws.secretsmanager#LastChangedDateType": {
            "type": "timestamp"
        },
        "com.amazonaws.secretsmanager#LastRotatedDateType": {
            "type": "timestamp"
        },
        "com.amazonaws.secretsmanager#LimitExceededException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.secretsmanager#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The request failed because it would exceed one of the Secrets Manager quotas.</p>",
                "smithy.api#error": "client"
            }
        },
        "com.amazonaws.secretsmanager#ListSecretVersionIds": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#ListSecretVersionIdsRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#ListSecretVersionIdsResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidNextTokenException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Lists the versions of a secret. Secrets Manager uses staging labels to indicate the different versions \n    of a secret. For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/getting-started.html#term_version\">\n    Secrets Manager concepts: Versions</a>.</p>\n         <p>To list the secrets in the account, use <a>ListSecrets</a>.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:ListSecretVersionIds</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>",
                "smithy.api#paginated": {
                    "inputToken": "NextToken",
                    "outputToken": "NextToken",
                    "pageSize": "MaxResults"
                }
            }
        },
        "com.amazonaws.secretsmanager#ListSecretVersionIdsRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret whose versions you want to list.</p>\n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                },
                "MaxResults": {
                    "target": "com.amazonaws.secretsmanager#MaxResultsType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>The number of results to include in the response.</p>\n         <p>If there are more results available, in the response, Secrets Manager includes <code>NextToken</code>. \n      To get the next results, call <code>ListSecretVersionIds</code> again with the value from <code>NextToken</code>. </p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.secretsmanager#NextTokenType",
                    "traits": {
                        "smithy.api#documentation": "<p>A token that indicates where the output should continue from, if a previous call \n      did not show all results. To get the next results, call <code>ListSecretVersionIds</code> again with \n      this value.</p>"
                    }
                },
                "IncludeDeprecated": {
                    "target": "com.amazonaws.secretsmanager#BooleanType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>Specifies whether to include versions of secrets that don't have any\n      staging labels attached to them. Versions without staging labels are considered deprecated and are subject to\n      deletion by Secrets Manager.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#ListSecretVersionIdsResponse": {
            "type": "structure",
            "members": {
                "Versions": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionsListType",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of the versions of the secret.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.secretsmanager#NextTokenType",
                    "traits": {
                        "smithy.api#documentation": "<p>Secrets Manager includes this value if there's more output available than what is included \n      in the current response. This can occur even when the response includes no values at all, \n      such as when you ask for a filtered view of a long list. To get the next results, \n      call <code>ListSecretVersionIds</code> again with this value. </p>"
                    }
                },
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the secret.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#SecretNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the secret.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#ListSecrets": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#ListSecretsRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#ListSecretsResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidNextTokenException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Lists the secrets that are stored by Secrets Manager in the Amazon Web Services account, not including secrets \n      that are marked for deletion. To see secrets marked for deletion, use the Secrets Manager console.</p>\n         <p>ListSecrets is eventually consistent, however it might not reflect changes from the last five minutes. \n      To get the latest information for a specific secret, use <a>DescribeSecret</a>.</p>\n         <p>To list the versions of a secret, use <a>ListSecretVersionIds</a>.</p>\n         <p>To get the secret value from <code>SecretString</code> or <code>SecretBinary</code>, \n      call <a>GetSecretValue</a>.</p> \n         <p>For information about finding secrets in the console, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/manage_search-secret.html\">Find secrets in Secrets Manager</a>.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:ListSecrets</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>",
                "smithy.api#paginated": {
                    "inputToken": "NextToken",
                    "outputToken": "NextToken",
                    "pageSize": "MaxResults"
                }
            }
        },
        "com.amazonaws.secretsmanager#ListSecretsRequest": {
            "type": "structure",
            "members": {
                "MaxResults": {
                    "target": "com.amazonaws.secretsmanager#MaxResultsType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>The number of results to include in the response.</p> \n         <p>If there are more results available, in the response, Secrets Manager includes <code>NextToken</code>. \n      To get the next results, call <code>ListSecrets</code> again with the value from \n      <code>NextToken</code>.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.secretsmanager#NextTokenType",
                    "traits": {
                        "smithy.api#documentation": "<p>A token that indicates where the output should continue from, if a \n      previous call did not show all results. To get the next results, call <code>ListSecrets</code> again \n      with this value.</p>"
                    }
                },
                "Filters": {
                    "target": "com.amazonaws.secretsmanager#FiltersListType",
                    "traits": {
                        "smithy.api#documentation": "<p>The filters to apply to the list of secrets.</p>"
                    }
                },
                "SortOrder": {
                    "target": "com.amazonaws.secretsmanager#SortOrderType",
                    "traits": {
                        "smithy.api#documentation": "<p>Lists secrets in the requested order. </p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#ListSecretsResponse": {
            "type": "structure",
            "members": {
                "SecretList": {
                    "target": "com.amazonaws.secretsmanager#SecretListType",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of the secrets in the account.</p>"
                    }
                },
                "NextToken": {
                    "target": "com.amazonaws.secretsmanager#NextTokenType",
                    "traits": {
                        "smithy.api#documentation": "<p>Secrets Manager includes this value if  \n      there's more output available than what is included in the current response. This can \n      occur even when the response includes no values at all, such as when you ask for a filtered view \n      of a long list. To get the next results, call <code>ListSecrets</code> again \n      with this value.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#MalformedPolicyDocumentException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.secretsmanager#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The resource policy has syntax errors.</p>",
                "smithy.api#error": "client"
            }
        },
        "com.amazonaws.secretsmanager#MaxResultsType": {
            "type": "integer",
            "traits": {
                "smithy.api#range": {
                    "min": 1,
                    "max": 100
                }
            }
        },
        "com.amazonaws.secretsmanager#NameType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 512
                }
            }
        },
        "com.amazonaws.secretsmanager#NextTokenType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 4096
                }
            }
        },
        "com.amazonaws.secretsmanager#NonEmptyResourcePolicyType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 20480
                }
            }
        },
        "com.amazonaws.secretsmanager#OwningServiceType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 128
                }
            }
        },
        "com.amazonaws.secretsmanager#PasswordLengthType": {
            "type": "long",
            "traits": {
                "smithy.api#range": {
                    "min": 1,
                    "max": 4096
                }
            }
        },
        "com.amazonaws.secretsmanager#PreconditionNotMetException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.secretsmanager#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The request failed because you did not complete all the prerequisite steps.</p>",
                "smithy.api#error": "client"
            }
        },
        "com.amazonaws.secretsmanager#PublicPolicyException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.secretsmanager#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>The <code>BlockPublicPolicy</code> parameter is set to true, and the resource policy did not prevent broad access to the secret.</p>",
                "smithy.api#error": "client"
            }
        },
        "com.amazonaws.secretsmanager#PutResourcePolicy": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#PutResourcePolicyRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#PutResourcePolicyResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#MalformedPolicyDocumentException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#PublicPolicyException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Attaches a resource-based permission policy to a secret. A resource-based policy is \n      optional. For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication and access control for Secrets Manager</a>\n         </p> \n         <p>For information about attaching a policy in the console, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_resource-based-policies.html\">Attach a \n      permissions policy to a secret</a>.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:PutResourcePolicy</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#PutResourcePolicyRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret to attach the resource-based policy.</p>\n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                },
                "ResourcePolicy": {
                    "target": "com.amazonaws.secretsmanager#NonEmptyResourcePolicyType",
                    "traits": {
                        "smithy.api#documentation": "<p>A JSON-formatted string for an Amazon Web Services\n      resource-based policy. For example policies, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_examples.html\">Permissions \n        policy examples</a>.</p>",
                        "smithy.api#required": {}
                    }
                },
                "BlockPublicPolicy": {
                    "target": "com.amazonaws.secretsmanager#BooleanType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>Specifies whether to block resource-based policies that allow broad access to the secret, for example those that use a wildcard for the principal.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#PutResourcePolicyResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the secret.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#NameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the secret.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#PutSecretValue": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#PutSecretValueRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#PutSecretValueResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#DecryptionFailure"
                },
                {
                    "target": "com.amazonaws.secretsmanager#EncryptionFailure"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#LimitExceededException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceExistsException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Creates a new version with a new encrypted secret value and attaches it to the secret. The \n      version can contain a new <code>SecretString</code> value or a new <code>SecretBinary</code> value. </p>\n         <p>We recommend you avoid calling <code>PutSecretValue</code> at a sustained rate of more than \n      once every 10 minutes. When you update the secret value, Secrets Manager creates a new version \n      of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not \n      remove versions created less than 24 hours ago. If you call <code>PutSecretValue</code> more \n      than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach \n      the quota for secret versions.</p>\n         <p>You can specify the staging labels to attach to the new version in <code>VersionStages</code>. \n      If you don't include <code>VersionStages</code>, then Secrets Manager automatically\n      moves the staging label <code>AWSCURRENT</code> to this version. If this operation creates \n      the first version for the secret, then Secrets Manager\n        automatically attaches the staging label <code>AWSCURRENT</code> to it .</p>\n         <p>If this operation moves the staging label <code>AWSCURRENT</code> from another version to this\n      version, then Secrets Manager also automatically moves the staging label <code>AWSPREVIOUS</code> to\n      the version that <code>AWSCURRENT</code> was removed from.</p>\n         <p>This operation is idempotent. If you call this operation with a <code>ClientRequestToken</code> \n    that matches an existing version's VersionId, and you specify the\n      same secret data, the operation succeeds but does nothing. However, if the secret data is\n      different, then the operation fails because you can't modify an existing version; you can\n      only create new ones.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:PutSecretValue</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#PutSecretValueRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret to add a new version to.</p>\n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p> \n         <p>If the secret doesn't already exist, use <code>CreateSecret</code> instead.</p>",
                        "smithy.api#required": {}
                    }
                },
                "ClientRequestToken": {
                    "target": "com.amazonaws.secretsmanager#ClientRequestTokenType",
                    "traits": {
                        "smithy.api#documentation": "<p>A unique identifier for the new version of the secret. </p>\n         <note>\n            <p>If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can\n        leave this parameter empty because they generate a random UUID for you. If you don't \n        use the SDK and instead generate a raw HTTP request to the\n        Secrets Manager service endpoint, then you must generate a <code>ClientRequestToken</code> yourself\n        for new versions and include that value in the request. </p>\n         </note>\n         <p>This value helps ensure idempotency. Secrets Manager uses this value to prevent the accidental\n      creation of duplicate versions if there are failures and retries during the Lambda rotation\n      function processing. We recommend that you generate a <a href=\"https://wikipedia.org/wiki/Universally_unique_identifier\">UUID-type</a> value to\n      ensure uniqueness within the specified secret. </p>\n         <ul>\n            <li>\n               <p>If the <code>ClientRequestToken</code> value isn't already associated with a version\n          of the secret then a new version of the secret is created. </p>\n            </li>\n            <li>\n               <p>If a version with this value already exists and that version's\n          <code>SecretString</code> or <code>SecretBinary</code> values are the same as those in\n          the request then the request is ignored. The operation is idempotent. </p>\n            </li>\n            <li>\n               <p>If a version with this value already exists and the version of the\n          <code>SecretString</code> and <code>SecretBinary</code> values are different from those\n          in the request, then the request fails because you can't modify a secret \n          version. You can only create new versions to store new secret values.</p>\n            </li>\n         </ul>\n         <p>This value becomes the <code>VersionId</code> of the new version.</p>",
                        "smithy.api#idempotencyToken": {}
                    }
                },
                "SecretBinary": {
                    "target": "com.amazonaws.secretsmanager#SecretBinaryType",
                    "traits": {
                        "smithy.api#documentation": "<p>The binary data to encrypt and store in the new version of\n      the secret. To use this parameter in the command-line tools, we recommend that you store your\n      binary data in a file and then pass the\n      contents of the file as a parameter. </p>\n         <p>You must include <code>SecretBinary</code> or <code>SecretString</code>, but not both.</p>\n         <p>You can't access this value from the Secrets Manager console.</p>"
                    }
                },
                "SecretString": {
                    "target": "com.amazonaws.secretsmanager#SecretStringType",
                    "traits": {
                        "smithy.api#documentation": "<p>The text to encrypt and store in the new version of the secret. </p>\n         <p>You must include <code>SecretBinary</code> or <code>SecretString</code>, but not both.</p>\n         <p>We recommend you create the secret string as JSON key/value pairs, as shown in the example.</p>"
                    }
                },
                "VersionStages": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionStagesType",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of staging labels to attach to this version of the\n      secret. Secrets Manager uses staging labels to track versions of a secret through the rotation process.</p>\n         <p>If you specify a staging\n      label that's already associated with a different version of the same secret, then Secrets Manager  \n      removes the label from the other version and attaches it to this version. \n      If you specify \n      <code>AWSCURRENT</code>, and it is already attached to another version, then Secrets Manager also  \n      moves the staging label <code>AWSPREVIOUS</code> to the version that <code>AWSCURRENT</code> was removed from.</p>\n         <p>If you don't include <code>VersionStages</code>, then Secrets Manager automatically\n      moves the staging label <code>AWSCURRENT</code> to this version.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#PutSecretValueResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the secret.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#SecretNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the secret.</p>"
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The unique identifier of the version of the secret.</p>"
                    }
                },
                "VersionStages": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionStagesType",
                    "traits": {
                        "smithy.api#documentation": "<p>The list of staging labels that are currently attached to this version of the secret.\n      Secrets Manager uses staging labels to track a version as it progresses through the secret rotation\n      process.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#RandomPasswordType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 4096
                },
                "smithy.api#sensitive": {}
            }
        },
        "com.amazonaws.secretsmanager#RecoveryWindowInDaysType": {
            "type": "long"
        },
        "com.amazonaws.secretsmanager#RegionType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 128
                },
                "smithy.api#pattern": "^([a-z]+-)+\\d+$"
            }
        },
        "com.amazonaws.secretsmanager#RemoveRegionsFromReplication": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#RemoveRegionsFromReplicationRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#RemoveRegionsFromReplicationResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>For a secret that is replicated to other Regions, deletes the secret replicas from the Regions you specify.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:RemoveRegionsFromReplication</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#RemoveRegionsFromReplicationRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret.</p>",
                        "smithy.api#required": {}
                    }
                },
                "RemoveReplicaRegions": {
                    "target": "com.amazonaws.secretsmanager#RemoveReplicaRegionListType",
                    "traits": {
                        "smithy.api#documentation": "<p>The Regions of the replicas to remove.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#RemoveRegionsFromReplicationResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the primary secret.</p>"
                    }
                },
                "ReplicationStatus": {
                    "target": "com.amazonaws.secretsmanager#ReplicationStatusListType",
                    "traits": {
                        "smithy.api#documentation": "<p>The status of replicas for this secret after you remove Regions.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#RemoveReplicaRegionListType": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.secretsmanager#RegionType"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 1
                }
            }
        },
        "com.amazonaws.secretsmanager#ReplicaRegionType": {
            "type": "structure",
            "members": {
                "Region": {
                    "target": "com.amazonaws.secretsmanager#RegionType",
                    "traits": {
                        "smithy.api#documentation": "<p>A Region code. For a list of Region codes, see <a href=\"https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints\">Name and code of Regions</a>.</p>"
                    }
                },
                "KmsKeyId": {
                    "target": "com.amazonaws.secretsmanager#KmsKeyIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN, key ID, or alias of the KMS key to encrypt the secret. If you don't include this field, Secrets Manager uses <code>aws/secretsmanager</code>.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A custom type that specifies a <code>Region</code> and the <code>KmsKeyId</code> for a replica secret.</p>"
            }
        },
        "com.amazonaws.secretsmanager#ReplicateSecretToRegions": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#ReplicateSecretToRegionsRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#ReplicateSecretToRegionsResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Replicates the secret to a new Regions. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/create-manage-multi-region-secrets.html\">Multi-Region secrets</a>.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:ReplicateSecretToRegions</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#ReplicateSecretToRegionsRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret to replicate.</p>",
                        "smithy.api#required": {}
                    }
                },
                "AddReplicaRegions": {
                    "target": "com.amazonaws.secretsmanager#AddReplicaRegionListType",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of Regions in which to replicate the secret.</p>",
                        "smithy.api#required": {}
                    }
                },
                "ForceOverwriteReplicaSecret": {
                    "target": "com.amazonaws.secretsmanager#BooleanType",
                    "traits": {
                        "smithy.api#documentation": "<p>Specifies whether to overwrite a secret with the same name in the destination Region.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#ReplicateSecretToRegionsResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the primary secret.</p>"
                    }
                },
                "ReplicationStatus": {
                    "target": "com.amazonaws.secretsmanager#ReplicationStatusListType",
                    "traits": {
                        "smithy.api#documentation": "<p>The status of replication.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#ReplicationStatusListType": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.secretsmanager#ReplicationStatusType"
            }
        },
        "com.amazonaws.secretsmanager#ReplicationStatusType": {
            "type": "structure",
            "members": {
                "Region": {
                    "target": "com.amazonaws.secretsmanager#RegionType",
                    "traits": {
                        "smithy.api#documentation": "<p>The Region where replication occurs.</p>"
                    }
                },
                "KmsKeyId": {
                    "target": "com.amazonaws.secretsmanager#KmsKeyIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>Can be an <code>ARN</code>, <code>Key ID</code>, or <code>Alias</code>. </p>"
                    }
                },
                "Status": {
                    "target": "com.amazonaws.secretsmanager#StatusType",
                    "traits": {
                        "smithy.api#documentation": "<p>The status can be <code>InProgress</code>, <code>Failed</code>, or <code>InSync</code>.</p>"
                    }
                },
                "StatusMessage": {
                    "target": "com.amazonaws.secretsmanager#StatusMessageType",
                    "traits": {
                        "smithy.api#documentation": "<p>Status message such as \"<i>Secret with this name already exists in this\n      region</i>\".</p>"
                    }
                },
                "LastAccessedDate": {
                    "target": "com.amazonaws.secretsmanager#LastAccessedDateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The date that you last accessed the secret in the Region. </p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A replication object consisting of a <code>RegionReplicationStatus</code> object and includes a Region, KMSKeyId, status, and status message.</p>"
            }
        },
        "com.amazonaws.secretsmanager#RequireEachIncludedTypeType": {
            "type": "boolean"
        },
        "com.amazonaws.secretsmanager#ResourceExistsException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.secretsmanager#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A resource with the ID you requested already exists.</p>",
                "smithy.api#error": "client"
            }
        },
        "com.amazonaws.secretsmanager#ResourceNotFoundException": {
            "type": "structure",
            "members": {
                "Message": {
                    "target": "com.amazonaws.secretsmanager#ErrorMessage"
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Secrets Manager can't find the resource that you asked for.</p>",
                "smithy.api#error": "client"
            }
        },
        "com.amazonaws.secretsmanager#RestoreSecret": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#RestoreSecretRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#RestoreSecretResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Cancels the scheduled deletion of a secret by removing the <code>DeletedDate</code> time\n      stamp. You can access a secret again after it has been restored.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:RestoreSecret</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#RestoreSecretRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret to restore.</p>\n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#RestoreSecretResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the secret that was restored.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#SecretNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the secret that was restored.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#RotateSecret": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#RotateSecretRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#RotateSecretResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Configures and starts the asynchronous process of rotating the secret. For more information about rotation, \n      see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets.html\">Rotate secrets</a>.</p>\n         <p>If you include the\n      configuration parameters, the operation sets the values for the secret and then immediately\n      starts a rotation. If you don't include the configuration parameters, the operation starts a\n      rotation with the values already stored in the secret. </p>\n         <p>For database credentials you want to rotate, for Secrets Manager to be able to rotate the secret, you must \n      make sure the secret value is in the\n        <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html\"> JSON structure\n        of a database secret</a>. In particular, if you want to use the <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html#rotating-secrets-two-users\"> alternating users strategy</a>, your secret must contain the ARN of a superuser\n      secret.</p>\n    \n         <p>To configure rotation, you also need the ARN of an Amazon Web Services Lambda function and the schedule \n      for the rotation. The Lambda rotation function creates a new\n      version of the secret and creates or updates the credentials on the database or service to\n      match. After testing the new credentials, the function marks the new secret version with the staging\n      label <code>AWSCURRENT</code>. Then anyone who retrieves the secret gets the new version. For more\n      information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html\">How rotation works</a>.</p>\n         <p>You can create the Lambda rotation function based on the <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_available-rotation-templates.html\">rotation function templates</a> that Secrets Manager provides. Choose \n      a template that matches your <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets_strategies.html\">Rotation strategy</a>.</p>\n         <p>When rotation is successful, the <code>AWSPENDING</code> staging label might be attached\n      to the same version as the <code>AWSCURRENT</code> version, or it might not be attached to any\n      version. If the <code>AWSPENDING</code> staging label is present but not attached to the same\n      version as <code>AWSCURRENT</code>, then any later invocation of <code>RotateSecret</code>\n      assumes that a previous rotation request is still in progress and returns an error.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:RotateSecret</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. You also need <code>lambda:InvokeFunction</code> permissions on the rotation function. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotating-secrets-required-permissions-function.html\">\n        Permissions for rotation</a>.</p>"
            }
        },
        "com.amazonaws.secretsmanager#RotateSecretRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret to rotate.</p>\n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                },
                "ClientRequestToken": {
                    "target": "com.amazonaws.secretsmanager#ClientRequestTokenType",
                    "traits": {
                        "smithy.api#documentation": "<p>A unique identifier for the new version of the secret that helps\n    ensure idempotency. Secrets Manager uses this value to prevent the accidental creation of duplicate versions if\n    there are failures and retries during rotation. This value becomes the\n    <code>VersionId</code> of the new version.</p>\n         <p>If you use the Amazon Web Services CLI or one of the Amazon Web Services SDK to call this operation, then you can\n    leave this parameter empty. The CLI or SDK generates a random UUID for you and includes that\n    in the request for this parameter. If you don't use the SDK and instead generate a raw HTTP\n    request to the Secrets Manager service endpoint, then you must generate a\n    <code>ClientRequestToken</code> yourself for new versions and include that value in the\n    request.</p>\n         <p>You only need to specify this value if you implement your own retry logic and you want to\n    ensure that Secrets Manager doesn't attempt to create a secret version twice. We recommend that you generate a <a href=\"https://wikipedia.org/wiki/Universally_unique_identifier\">UUID-type</a> value to\n    ensure uniqueness within the specified secret. </p>",
                        "smithy.api#idempotencyToken": {}
                    }
                },
                "RotationLambdaARN": {
                    "target": "com.amazonaws.secretsmanager#RotationLambdaARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the Lambda rotation function that can rotate the secret.</p>"
                    }
                },
                "RotationRules": {
                    "target": "com.amazonaws.secretsmanager#RotationRulesType",
                    "traits": {
                        "smithy.api#documentation": "<p>A structure that defines the rotation configuration for this secret.</p>"
                    }
                },
                "RotateImmediately": {
                    "target": "com.amazonaws.secretsmanager#BooleanType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. \n    The rotation schedule is defined in <a>RotateSecretRequest$RotationRules</a>.</p>\n         <p>If you don't immediately rotate the secret, Secrets Manager tests the rotation configuration by running the \n    <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_how.html\">\n               <code>testSecret</code> \n      step</a> of the Lambda rotation function. The test creates an <code>AWSPENDING</code> version of the secret and then removes it.</p>\n         <p>If you don't specify this value, then by default, Secrets Manager rotates the secret immediately.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#RotateSecretResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the secret.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#SecretNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the secret.</p>"
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the new version of the secret.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#RotationEnabledType": {
            "type": "boolean"
        },
        "com.amazonaws.secretsmanager#RotationLambdaARNType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 2048
                }
            }
        },
        "com.amazonaws.secretsmanager#RotationRulesType": {
            "type": "structure",
            "members": {
                "AutomaticallyAfterDays": {
                    "target": "com.amazonaws.secretsmanager#AutomaticallyRotateAfterDaysType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>The number of days between automatic scheduled rotations of the secret. You can use this \n      value to check that your secret meets your compliance guidelines for how often secrets must \n      be rotated.</p>\n         <p>In <code>DescribeSecret</code> and <code>ListSecrets</code>, this value is calculated from \n      the rotation schedule after every successful rotation. In <code>RotateSecret</code>, you can \n      set the rotation schedule in <code>RotationRules</code> with <code>AutomaticallyAfterDays</code>\n      or <code>ScheduleExpression</code>, but not both.</p>"
                    }
                },
                "Duration": {
                    "target": "com.amazonaws.secretsmanager#DurationType",
                    "traits": {
                        "smithy.api#documentation": "<p>The length of the rotation window in hours, for example <code>3h</code> for a three hour window. Secrets Manager \n      rotates your secret at any time during this window. The window must not go into the next UTC \n      day. If you don't specify this value, the window automatically ends at the end of \n      the UTC day. The window begins according to the <code>ScheduleExpression</code>. For more \n      information, including examples, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_schedule.html\">Schedule expressions \n        in Secrets Manager rotation</a>.</p>"
                    }
                },
                "ScheduleExpression": {
                    "target": "com.amazonaws.secretsmanager#ScheduleExpressionType",
                    "traits": {
                        "smithy.api#documentation": "<p>A <code>cron()</code> or <code>rate()</code> expression that defines the schedule for \n      rotating your secret. Secrets Manager rotation schedules use UTC time zone. </p>\n         <p>Secrets Manager <code>rate()</code> expressions \n      represent the interval in days that you want to rotate your secret, for example \n      <code>rate(10 days)</code>. If you use a <code>rate()</code> expression, the rotation \n      window opens at midnight, and Secrets Manager rotates your secret any time that day after midnight. \n      You can set a <code>Duration</code> to shorten the rotation window.</p>\n         <p>You can use a <code>cron()</code> expression to create rotation schedules that are \n      more detailed than a rotation interval. For more information, including examples, see \n      <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/rotate-secrets_schedule.html\">Schedule expressions \n        in Secrets Manager rotation</a>. If you use a <code>cron()</code> expression, Secrets Manager rotates \n      your secret any time during that day after the window opens. For example, \n      <code>cron(0 8 1 * ? *)</code> represents a rotation window that occurs on the first \n      day of every month beginning at 8:00 AM UTC. Secrets Manager rotates the secret any time that day \n      after 8:00 AM. You can set a <code>Duration</code> to shorten \n      the rotation window.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A structure that defines the rotation configuration for the secret.</p>"
            }
        },
        "com.amazonaws.secretsmanager#ScheduleExpressionType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 256
                },
                "smithy.api#pattern": "^[0-9A-Za-z\\(\\)#\\?\\*\\-\\/, ]+$"
            }
        },
        "com.amazonaws.secretsmanager#SecretARNType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 20,
                    "max": 2048
                }
            }
        },
        "com.amazonaws.secretsmanager#SecretBinaryType": {
            "type": "blob",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 65536
                },
                "smithy.api#sensitive": {}
            }
        },
        "com.amazonaws.secretsmanager#SecretIdType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 2048
                }
            }
        },
        "com.amazonaws.secretsmanager#SecretListEntry": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the secret.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#SecretNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The friendly name of the secret. You can use forward slashes in the name to represent a\n      path hierarchy. For example, <code>/prod/databases/dbserver1</code> could represent the secret\n      for a server named <code>dbserver1</code> in the folder <code>databases</code> in the folder\n      <code>prod</code>. </p>"
                    }
                },
                "Description": {
                    "target": "com.amazonaws.secretsmanager#DescriptionType",
                    "traits": {
                        "smithy.api#documentation": "<p>The user-provided description of the secret.</p>"
                    }
                },
                "KmsKeyId": {
                    "target": "com.amazonaws.secretsmanager#KmsKeyIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the KMS key that Secrets Manager uses to encrypt the secret value. If the secret is encrypted with \n      the Amazon Web Services managed key <code>aws/secretsmanager</code>, this field is omitted.</p>"
                    }
                },
                "RotationEnabled": {
                    "target": "com.amazonaws.secretsmanager#RotationEnabledType",
                    "traits": {
                        "smithy.api#box": {},
                        "smithy.api#documentation": "<p>Indicates whether automatic, scheduled rotation is enabled for this secret.</p>"
                    }
                },
                "RotationLambdaARN": {
                    "target": "com.amazonaws.secretsmanager#RotationLambdaARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of an Amazon Web Services Lambda function invoked by Secrets Manager to rotate and expire the\n      secret either automatically per the schedule or manually by a call to <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_RotateSecret.html\">\n               <code>RotateSecret</code>\n            </a>.</p>"
                    }
                },
                "RotationRules": {
                    "target": "com.amazonaws.secretsmanager#RotationRulesType",
                    "traits": {
                        "smithy.api#documentation": "<p>A structure that defines the rotation configuration for the secret.</p>"
                    }
                },
                "LastRotatedDate": {
                    "target": "com.amazonaws.secretsmanager#LastRotatedDateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The most recent date and time that the Secrets Manager rotation process was successfully completed. This value is null if the secret hasn't ever rotated.</p>"
                    }
                },
                "LastChangedDate": {
                    "target": "com.amazonaws.secretsmanager#LastChangedDateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The last date and time that this secret was modified in any way.</p>"
                    }
                },
                "LastAccessedDate": {
                    "target": "com.amazonaws.secretsmanager#LastAccessedDateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The last date that this secret was accessed. This value is truncated to midnight of the\n      date and therefore shows only the date, not the time.</p>"
                    }
                },
                "DeletedDate": {
                    "target": "com.amazonaws.secretsmanager#DeletedDateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The date and time the deletion of the secret occurred. Not present on active secrets. The\n      secret can be recovered until the number of days in the recovery window has passed, as\n      specified in the <code>RecoveryWindowInDays</code> parameter of the <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DeleteSecret.html\">\n               <code>DeleteSecret</code>\n            </a> operation.</p>"
                    }
                },
                "Tags": {
                    "target": "com.amazonaws.secretsmanager#TagListType",
                    "traits": {
                        "smithy.api#documentation": "<p>The list of user-defined tags associated with the secret. To add tags to a\n      secret, use <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_TagResource.html\">\n               <code>TagResource</code>\n            </a>. \n      To remove tags, use <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_UntagResource.html\">\n               <code>UntagResource</code>\n            </a>.</p>"
                    }
                },
                "SecretVersionsToStages": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionsToStagesMapType",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of all of the currently assigned <code>SecretVersionStage</code> staging labels and\n      the <code>SecretVersionId</code> attached to each one. Staging labels are used to keep\n      track of the different versions during the rotation process.</p>\n         <note>\n            <p>A version that does not have any <code>SecretVersionStage</code> is considered\n        deprecated and subject to deletion. Such versions are not included in this list.</p>\n         </note>"
                    }
                },
                "OwningService": {
                    "target": "com.amazonaws.secretsmanager#OwningServiceType",
                    "traits": {
                        "smithy.api#documentation": "<p>Returns the name of the service that created the secret.</p>"
                    }
                },
                "CreatedDate": {
                    "target": "com.amazonaws.secretsmanager#TimestampType",
                    "traits": {
                        "smithy.api#documentation": "<p>The date and time when a secret was created.</p>"
                    }
                },
                "PrimaryRegion": {
                    "target": "com.amazonaws.secretsmanager#RegionType",
                    "traits": {
                        "smithy.api#documentation": "<p>The Region where Secrets Manager originated the secret.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A structure that contains the details about a secret. It does not include the encrypted\n        <code>SecretString</code> and <code>SecretBinary</code> values. To get those values, use \n      <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_GetSecretValue.html\">GetSecretValue</a>\n      .</p>"
            }
        },
        "com.amazonaws.secretsmanager#SecretListType": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.secretsmanager#SecretListEntry"
            }
        },
        "com.amazonaws.secretsmanager#SecretNameType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 256
                }
            }
        },
        "com.amazonaws.secretsmanager#SecretStringType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 65536
                },
                "smithy.api#sensitive": {}
            }
        },
        "com.amazonaws.secretsmanager#SecretVersionIdType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 32,
                    "max": 64
                }
            }
        },
        "com.amazonaws.secretsmanager#SecretVersionStageType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 256
                }
            }
        },
        "com.amazonaws.secretsmanager#SecretVersionStagesType": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.secretsmanager#SecretVersionStageType"
            },
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 20
                }
            }
        },
        "com.amazonaws.secretsmanager#SecretVersionsListEntry": {
            "type": "structure",
            "members": {
                "VersionId": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The unique version identifier of this version of the secret.</p>"
                    }
                },
                "VersionStages": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionStagesType",
                    "traits": {
                        "smithy.api#documentation": "<p>An array of staging labels that are currently associated with this version of the\n      secret.</p>"
                    }
                },
                "LastAccessedDate": {
                    "target": "com.amazonaws.secretsmanager#LastAccessedDateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The date that this version of the secret was last accessed. Note that the resolution of\n      this field is at the date level and does not include the time.</p>"
                    }
                },
                "CreatedDate": {
                    "target": "com.amazonaws.secretsmanager#CreatedDateType",
                    "traits": {
                        "smithy.api#documentation": "<p>The date and time this version of the secret was created.</p>"
                    }
                },
                "KmsKeyIds": {
                    "target": "com.amazonaws.secretsmanager#KmsKeyIdListType",
                    "traits": {
                        "smithy.api#documentation": "<p>The KMS keys used to encrypt the secret version.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A structure that contains information about one version of a secret.</p>"
            }
        },
        "com.amazonaws.secretsmanager#SecretVersionsListType": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.secretsmanager#SecretVersionsListEntry"
            }
        },
        "com.amazonaws.secretsmanager#SecretVersionsToStagesMapType": {
            "type": "map",
            "key": {
                "target": "com.amazonaws.secretsmanager#SecretVersionIdType"
            },
            "value": {
                "target": "com.amazonaws.secretsmanager#SecretVersionStagesType"
            }
        },
        "com.amazonaws.secretsmanager#SortOrderType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "asc",
                        "name": "asc"
                    },
                    {
                        "value": "desc",
                        "name": "desc"
                    }
                ]
            }
        },
        "com.amazonaws.secretsmanager#StatusMessageType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 4096
                }
            }
        },
        "com.amazonaws.secretsmanager#StatusType": {
            "type": "string",
            "traits": {
                "smithy.api#enum": [
                    {
                        "value": "InSync",
                        "name": "InSync"
                    },
                    {
                        "value": "Failed",
                        "name": "Failed"
                    },
                    {
                        "value": "InProgress",
                        "name": "InProgress"
                    }
                ]
            }
        },
        "com.amazonaws.secretsmanager#StopReplicationToReplica": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#StopReplicationToReplicaRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#StopReplicationToReplicaResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Removes the link between the replica secret and the primary secret and promotes the replica to a primary secret in the replica Region.</p>\n         <p>You must call this operation from the Region in which you want to promote the replica to a primary secret.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:StopReplicationToReplica</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#StopReplicationToReplicaRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the primary secret. </p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#StopReplicationToReplicaResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the promoted secret. The ARN is the same as the original primary secret except the Region is changed.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#Tag": {
            "type": "structure",
            "members": {
                "Key": {
                    "target": "com.amazonaws.secretsmanager#TagKeyType",
                    "traits": {
                        "smithy.api#documentation": "<p>The key identifier, or name, of the tag.</p>"
                    }
                },
                "Value": {
                    "target": "com.amazonaws.secretsmanager#TagValueType",
                    "traits": {
                        "smithy.api#documentation": "<p>The string value associated with the key of the tag.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>A structure that contains information about a tag.</p>"
            }
        },
        "com.amazonaws.secretsmanager#TagKeyListType": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.secretsmanager#TagKeyType"
            }
        },
        "com.amazonaws.secretsmanager#TagKeyType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 1,
                    "max": 128
                }
            }
        },
        "com.amazonaws.secretsmanager#TagListType": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.secretsmanager#Tag"
            }
        },
        "com.amazonaws.secretsmanager#TagResource": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#TagResourceRequest"
            },
            "output": {
                "target": "smithy.api#Unit"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Attaches tags to a secret. Tags consist of a key name and a value. Tags are part of the \n      secret's metadata. They are not associated with specific versions of the secret. This operation appends tags to the existing list of tags.</p> \n            <p>The following restrictions apply to tags:</p>\n        <ul>\n            <li>\n               <p>Maximum number of tags per secret: 50</p>\n            </li>\n            <li>\n               <p>Maximum key length: 127 Unicode characters in UTF-8</p>\n            </li>\n            <li>\n               <p>Maximum value length: 255 Unicode characters in UTF-8</p>\n            </li>\n            <li>\n               <p>Tag keys and values are case sensitive.</p>\n            </li>\n            <li>\n               <p>Do not use the <code>aws:</code> prefix in your tag names or values because Amazon Web Services reserves it\n            for Amazon Web Services use. You can't edit or delete tag names or values with this \n              prefix. Tags with this prefix do not count against your tags per secret limit.</p>\n            </li>\n            <li>\n               <p>If you use your tagging schema across multiple services and resources,\n              other services might have restrictions on allowed characters. Generally\n              allowed characters: letters, spaces, and numbers representable in UTF-8, plus the\n              following special characters: + - = . _ : / @.</p>\n            </li>\n         </ul>\n   \n         <important>\n            <p>If you use tags as part of your security strategy, then adding or removing a tag can\n        change permissions. If successfully completing this operation would result in you losing\n        your permissions for this secret, then the operation is blocked and returns an Access Denied\n        error.</p>\n         </important>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:TagResource</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#TagResourceRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The identifier for the secret to attach tags to. You can specify either the\n      Amazon Resource Name (ARN) or the friendly name of the secret.</p> \n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                },
                "Tags": {
                    "target": "com.amazonaws.secretsmanager#TagListType",
                    "traits": {
                        "smithy.api#documentation": "<p>The tags to attach to the secret as a JSON text string argument. Each element in the list consists of a <code>Key</code>\n      and a <code>Value</code>.</p>\n\n         <p>For storing multiple values, we recommend that you use a JSON text \n    string argument and specify key/value pairs. For more information, see <a href=\"https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters.html\">Specifying parameter values for the Amazon Web Services CLI</a>\n    in the Amazon Web Services CLI User Guide.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#TagValueType": {
            "type": "string",
            "traits": {
                "smithy.api#length": {
                    "min": 0,
                    "max": 256
                }
            }
        },
        "com.amazonaws.secretsmanager#TimestampType": {
            "type": "timestamp"
        },
        "com.amazonaws.secretsmanager#UntagResource": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#UntagResourceRequest"
            },
            "output": {
                "target": "smithy.api#Unit"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Removes specific tags from a secret.</p>\n         <p>This operation is idempotent. If a requested tag is not attached to the secret, no error\n      is returned and the secret metadata is unchanged.</p>\n         <important>\n            <p>If you use tags as part of your security strategy, then removing a tag can change\n        permissions. If successfully completing this operation would result in you losing your\n        permissions for this secret, then the operation is blocked and returns an Access Denied\n        error.</p>\n         </important>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:UntagResource</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#UntagResourceRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret.</p>\n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                },
                "TagKeys": {
                    "target": "com.amazonaws.secretsmanager#TagKeyListType",
                    "traits": {
                        "smithy.api#documentation": "<p>A list of tag key names to remove from the secret. You don't specify the value. Both the\n      key and its associated value are removed.</p>\n         <p>This parameter requires a JSON text string argument.</p>\n         <p>For storing multiple values, we recommend that you use a JSON text \n    string argument and specify key/value pairs. For more information, see <a href=\"https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters.html\">Specifying parameter values for the Amazon Web Services CLI</a>\n    in the Amazon Web Services CLI User Guide.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#UpdateSecret": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#UpdateSecretRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#UpdateSecretResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#DecryptionFailure"
                },
                {
                    "target": "com.amazonaws.secretsmanager#EncryptionFailure"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#LimitExceededException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#MalformedPolicyDocumentException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#PreconditionNotMetException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceExistsException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Modifies the details of a secret, including metadata and the secret value. To change the secret value, you can also use <a>PutSecretValue</a>.</p>\n         <p>To change the rotation configuration of a secret, use <a>RotateSecret</a> instead.</p>\n    \n         <p>We recommend you avoid calling <code>UpdateSecret</code> at a sustained rate of more than \n      once every 10 minutes. When you call <code>UpdateSecret</code> to update the secret value, Secrets Manager creates a new version \n      of the secret. Secrets Manager removes outdated versions when there are more than 100, but it does not \n      remove versions created less than 24 hours ago. If you update the secret value more \n      than once every 10 minutes, you create more versions than Secrets Manager removes, and you will reach \n      the quota for secret versions.</p>\n         <p>If you include <code>SecretString</code> or <code>SecretBinary</code> to create a new\n      secret version, Secrets Manager automatically attaches the staging label <code>AWSCURRENT</code> to the new\n      version. </p>\n         <p>If you call this operation with a <code>ClientRequestToken</code> that matches an existing version's \n      <code>VersionId</code>, the operation results in an error. You can't modify an existing \n      version, you can only create a new version. To remove a version, remove all staging labels from it. See \n    <a>UpdateSecretVersionStage</a>.</p>\n         <p>If you don't specify an KMS encryption key, Secrets Manager uses the Amazon Web Services managed key \n      <code>aws/secretsmanager</code>. If this key doesn't already exist in your account, then Secrets Manager \n      creates it for you automatically. All users and roles in the Amazon Web Services account automatically have access \n      to use <code>aws/secretsmanager</code>. Creating <code>aws/secretsmanager</code> can result in a one-time \n      significant delay in returning the result.  </p>\n         <p>If the secret is in a different Amazon Web Services account from the credentials calling the API, then you can't \n      use <code>aws/secretsmanager</code> to encrypt the secret, and you must create and use a customer managed key. </p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:UpdateSecret</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. \n      If you use a customer managed key, you must also have <code>kms:GenerateDataKey</code> and \n      <code>kms:Decrypt</code> permissions on the key. For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/security-encryption.html\">\n        Secret encryption and decryption</a>.</p>"
            }
        },
        "com.amazonaws.secretsmanager#UpdateSecretRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or name of the secret.</p> \n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                },
                "ClientRequestToken": {
                    "target": "com.amazonaws.secretsmanager#ClientRequestTokenType",
                    "traits": {
                        "smithy.api#documentation": "<p>If you include <code>SecretString</code> or <code>SecretBinary</code>, then Secrets Manager creates \n    a new version for the secret, and this parameter specifies the unique identifier for the new \n    version.</p>\n         <note>\n            <p>If you use the Amazon Web Services CLI or one of the Amazon Web Services SDKs to call this operation, then you can\n        leave this parameter empty. The CLI or SDK generates a random UUID for you and includes it\n        as the value for this parameter in the request. If you don't use the SDK and instead\n        generate a raw HTTP request to the Secrets Manager service endpoint, then you must generate a\n        <code>ClientRequestToken</code> yourself for the new version and include the value in the\n        request.</p>\n         </note>\n         <p>This value becomes the <code>VersionId</code> of the new version.</p>",
                        "smithy.api#idempotencyToken": {}
                    }
                },
                "Description": {
                    "target": "com.amazonaws.secretsmanager#DescriptionType",
                    "traits": {
                        "smithy.api#documentation": "<p>The description of the secret.</p>"
                    }
                },
                "KmsKeyId": {
                    "target": "com.amazonaws.secretsmanager#KmsKeyIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN, key ID, or alias of the KMS key that Secrets Manager \n      uses to encrypt new secret versions as well as any existing versions the staging labels \n      <code>AWSCURRENT</code>, <code>AWSPENDING</code>, or <code>AWSPREVIOUS</code>. \n      For more information about versions and staging labels, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/getting-started.html#term_version\">Concepts: Version</a>.</p>\n         <important>\n            <p>You can only use the Amazon Web Services managed key <code>aws/secretsmanager</code> if you call this\n        operation using credentials from the same Amazon Web Services account that owns the secret. If the secret is in\n        a different account, then you must use a customer managed key and provide the ARN of that KMS key in\n        this field. The user making the call must have permissions to both the secret and the KMS key in\n        their respective accounts.</p>\n         </important>"
                    }
                },
                "SecretBinary": {
                    "target": "com.amazonaws.secretsmanager#SecretBinaryType",
                    "traits": {
                        "smithy.api#documentation": "<p>The binary data to encrypt and store in the new\n      version of the secret. We recommend that you\n      store your binary data in a file and then pass\n      the contents of the file as a parameter. </p>\n         <p>Either <code>SecretBinary</code> or\n        <code>SecretString</code> must have a value, but not both.</p>\n         <p>You can't access this parameter in the Secrets Manager console.</p>"
                    }
                },
                "SecretString": {
                    "target": "com.amazonaws.secretsmanager#SecretStringType",
                    "traits": {
                        "smithy.api#documentation": "<p>The text data to encrypt and store in the new\n      version of the secret. We recommend you use a JSON structure of key/value pairs for your secret value. </p>\n         <p>Either <code>SecretBinary</code> or <code>SecretString</code> must have\n      a value, but not both. </p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#UpdateSecretResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the secret that was updated.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#SecretNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the secret that was updated.</p>"
                    }
                },
                "VersionId": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>If Secrets Manager created a new version of the secret during this operation, then <code>VersionId</code>\n      contains the unique identifier of the new version.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#UpdateSecretVersionStage": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#UpdateSecretVersionStageRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#UpdateSecretVersionStageResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#LimitExceededException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Modifies the staging labels attached to a version of a secret. Secrets Manager uses staging labels to\n      track a version as it progresses through the secret rotation process. Each staging label can be \n      attached to only one version at a time. To add a staging label to a version when it is already \n      attached to another version, Secrets Manager first removes it from the other version first and\n      then attaches it to this one. For more information about versions and staging labels, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/getting-started.html#term_version\">Concepts: Version</a>. </p>\n         <p>The staging labels that you specify in the <code>VersionStage</code> parameter are added\n      to the existing list of staging labels for the version. </p>\n         <p>You can move the <code>AWSCURRENT</code> staging label to this version by including it in this\n      call.</p>\n         <note>\n            <p>Whenever you move <code>AWSCURRENT</code>, Secrets Manager automatically moves the label <code>AWSPREVIOUS</code>\n        to the version that <code>AWSCURRENT</code> was removed from.</p>\n         </note>\n         <p>If this action results in the last label being removed from a version, then the version is\n      considered to be 'deprecated' and can be deleted by Secrets Manager.</p>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:UpdateSecretVersionStage</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#UpdateSecretVersionStageRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN or the name of the secret with the version and staging labelsto modify.</p> \n         <p>For an ARN, we recommend that you specify a complete ARN rather \n      than a partial ARN. See <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen\">Finding a secret from a partial ARN</a>.</p>",
                        "smithy.api#required": {}
                    }
                },
                "VersionStage": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionStageType",
                    "traits": {
                        "smithy.api#documentation": "<p>The staging label to add to this version.</p>",
                        "smithy.api#required": {}
                    }
                },
                "RemoveFromVersionId": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the version that the staging label is to be removed\n      from. If the staging label you are trying to attach to one version is already attached to a\n      different version, then you must include this parameter and specify the version that the label\n      is to be removed from. If the label is attached and you either do not specify this parameter,\n      or the version ID does not match, then the operation fails.</p>"
                    }
                },
                "MoveToVersionId": {
                    "target": "com.amazonaws.secretsmanager#SecretVersionIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ID of the version to add the staging label to. To\n      remove a label from a version, then do not specify this parameter.</p>\n         <p>If the staging label is already attached to a different version of the secret, then you\n      must also specify the <code>RemoveFromVersionId</code> parameter. </p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#UpdateSecretVersionStageResponse": {
            "type": "structure",
            "members": {
                "ARN": {
                    "target": "com.amazonaws.secretsmanager#SecretARNType",
                    "traits": {
                        "smithy.api#documentation": "<p>The ARN of the secret that was updated.</p>"
                    }
                },
                "Name": {
                    "target": "com.amazonaws.secretsmanager#SecretNameType",
                    "traits": {
                        "smithy.api#documentation": "<p>The name of the secret that was updated.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#ValidateResourcePolicy": {
            "type": "operation",
            "input": {
                "target": "com.amazonaws.secretsmanager#ValidateResourcePolicyRequest"
            },
            "output": {
                "target": "com.amazonaws.secretsmanager#ValidateResourcePolicyResponse"
            },
            "errors": [
                {
                    "target": "com.amazonaws.secretsmanager#InternalServiceError"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidParameterException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#InvalidRequestException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#MalformedPolicyDocumentException"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ResourceNotFoundException"
                }
            ],
            "traits": {
                "smithy.api#documentation": "<p>Validates that a resource policy does not grant a wide range of principals access to\n      your secret. A resource-based policy is optional for secrets.</p>\n         <p>The API performs three checks when validating the policy:</p>\n         <ul>\n            <li>\n               <p>Sends a call to <a href=\"https://aws.amazon.com/blogs/security/protect-sensitive-data-in-the-cloud-with-automated-reasoning-zelkova/\">Zelkova</a>, an automated reasoning engine, to ensure your resource policy does not\n          allow broad access to your secret, for example policies that use a wildcard for the principal.</p>\n            </li>\n            <li>\n               <p>Checks for correct syntax in a policy.</p>\n            </li>\n            <li>\n               <p>Verifies the policy does not lock out a caller.</p>\n            </li>\n         </ul>\n         <p>\n            <b>Required permissions: </b>\n            <code>secretsmanager:ValidateResourcePolicy</code>. \n      For more information, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_iam-permissions.html#reference_iam-permissions_actions\">\n      IAM policy actions for Secrets Manager</a> and <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html\">Authentication \n      and access control in Secrets Manager</a>. </p>"
            }
        },
        "com.amazonaws.secretsmanager#ValidateResourcePolicyRequest": {
            "type": "structure",
            "members": {
                "SecretId": {
                    "target": "com.amazonaws.secretsmanager#SecretIdType",
                    "traits": {
                        "smithy.api#documentation": "<p>This field is reserved for internal use.</p>"
                    }
                },
                "ResourcePolicy": {
                    "target": "com.amazonaws.secretsmanager#NonEmptyResourcePolicyType",
                    "traits": {
                        "smithy.api#documentation": "<p>A JSON-formatted string that contains an Amazon Web Services\n      resource-based policy. The policy in the string identifies who can access or manage this\n      secret and its versions. For example policies, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_examples.html\">Permissions policy examples</a>.</p>",
                        "smithy.api#required": {}
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#ValidateResourcePolicyResponse": {
            "type": "structure",
            "members": {
                "PolicyValidationPassed": {
                    "target": "com.amazonaws.secretsmanager#BooleanType",
                    "traits": {
                        "smithy.api#documentation": "<p>True if your policy passes validation, otherwise false.</p>"
                    }
                },
                "ValidationErrors": {
                    "target": "com.amazonaws.secretsmanager#ValidationErrorsType",
                    "traits": {
                        "smithy.api#documentation": "<p>Validation errors if your policy didn't pass validation.</p>"
                    }
                }
            }
        },
        "com.amazonaws.secretsmanager#ValidationErrorsEntry": {
            "type": "structure",
            "members": {
                "CheckName": {
                    "target": "com.amazonaws.secretsmanager#NameType",
                    "traits": {
                        "smithy.api#documentation": "<p>Checks the name of the policy.</p>"
                    }
                },
                "ErrorMessage": {
                    "target": "com.amazonaws.secretsmanager#ErrorMessage",
                    "traits": {
                        "smithy.api#documentation": "<p>Displays error messages if validation encounters problems during validation of the resource policy.</p>"
                    }
                }
            },
            "traits": {
                "smithy.api#documentation": "<p>Displays errors that occurred during validation of the resource policy.</p>"
            }
        },
        "com.amazonaws.secretsmanager#ValidationErrorsType": {
            "type": "list",
            "member": {
                "target": "com.amazonaws.secretsmanager#ValidationErrorsEntry"
            }
        },
        "com.amazonaws.secretsmanager#secretsmanager": {
            "type": "service",
            "traits": {
                "aws.api#service": {
                    "sdkId": "Secrets Manager",
                    "arnNamespace": "secretsmanager",
                    "cloudFormationName": "SecretsManager",
                    "cloudTrailEventSource": "secretsmanager.amazonaws.com",
                    "endpointPrefix": "secretsmanager"
                },
                "aws.auth#sigv4": {
                    "name": "secretsmanager"
                },
                "aws.protocols#awsJson1_1": {},
                "smithy.api#documentation": "<fullname>Amazon Web Services Secrets Manager</fullname>\n         <p>Amazon Web Services Secrets Manager provides a service to enable you to store, manage, and retrieve, secrets.</p>\n    \n         <p>This guide provides descriptions of the Secrets Manager API. For more information about using this\n      service, see the <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/introduction.html\">Amazon Web Services Secrets Manager User Guide</a>.</p>\n    \n         <p>\n            <b>API Version</b>\n         </p>\n    \n         <p>This version of the Secrets Manager API Reference documents the Secrets Manager API version 2017-10-17.</p>\n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n    \n         <p>\n            <b>Support and Feedback for Amazon Web Services Secrets Manager</b>\n         </p>\n         <p>We welcome your feedback. Send your comments to <a href=\"mailto:awssecretsmanager-feedback@amazon.com\">awssecretsmanager-feedback@amazon.com</a>, or post your feedback and questions in the <a href=\"http://forums.aws.amazon.com/forum.jspa?forumID=296\">Amazon Web Services Secrets Manager Discussion Forum</a>. For more\n      information about the Amazon Web Services Discussion Forums, see <a href=\"http://forums.aws.amazon.com/help.jspa\">Forums\n        Help</a>.</p>\n    \n         <p>\n            <b>Logging API Requests</b>\n         </p>\n         <p>Amazon Web Services Secrets Manager supports Amazon Web Services CloudTrail, a service that records Amazon Web Services API calls for your Amazon Web Services\n      account and delivers log files to an Amazon S3 bucket. By using information that's collected\n      by Amazon Web Services CloudTrail, you can determine the requests successfully made to Secrets Manager, who made the\n      request, when it was made, and so on. For more about Amazon Web Services Secrets Manager and support for Amazon Web Services\n      CloudTrail, see <a href=\"https://docs.aws.amazon.com/secretsmanager/latest/userguide/monitoring.html#monitoring_cloudtrail\">Logging\n        Amazon Web Services Secrets Manager Events with Amazon Web Services CloudTrail</a> in the <i>Amazon Web Services Secrets Manager User Guide</i>.\n      To learn more about CloudTrail, including enabling it and find your log files, see the <a href=\"https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html\">Amazon Web Services CloudTrail User Guide</a>.</p>",
                "smithy.api#title": "AWS Secrets Manager"
            },
            "version": "2017-10-17",
            "operations": [
                {
                    "target": "com.amazonaws.secretsmanager#CancelRotateSecret"
                },
                {
                    "target": "com.amazonaws.secretsmanager#CreateSecret"
                },
                {
                    "target": "com.amazonaws.secretsmanager#DeleteResourcePolicy"
                },
                {
                    "target": "com.amazonaws.secretsmanager#DeleteSecret"
                },
                {
                    "target": "com.amazonaws.secretsmanager#DescribeSecret"
                },
                {
                    "target": "com.amazonaws.secretsmanager#GetRandomPassword"
                },
                {
                    "target": "com.amazonaws.secretsmanager#GetResourcePolicy"
                },
                {
                    "target": "com.amazonaws.secretsmanager#GetSecretValue"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ListSecrets"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ListSecretVersionIds"
                },
                {
                    "target": "com.amazonaws.secretsmanager#PutResourcePolicy"
                },
                {
                    "target": "com.amazonaws.secretsmanager#PutSecretValue"
                },
                {
                    "target": "com.amazonaws.secretsmanager#RemoveRegionsFromReplication"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ReplicateSecretToRegions"
                },
                {
                    "target": "com.amazonaws.secretsmanager#RestoreSecret"
                },
                {
                    "target": "com.amazonaws.secretsmanager#RotateSecret"
                },
                {
                    "target": "com.amazonaws.secretsmanager#StopReplicationToReplica"
                },
                {
                    "target": "com.amazonaws.secretsmanager#TagResource"
                },
                {
                    "target": "com.amazonaws.secretsmanager#UntagResource"
                },
                {
                    "target": "com.amazonaws.secretsmanager#UpdateSecret"
                },
                {
                    "target": "com.amazonaws.secretsmanager#UpdateSecretVersionStage"
                },
                {
                    "target": "com.amazonaws.secretsmanager#ValidateResourcePolicy"
                }
            ]
        }
    }
}
