Class: Aws::SecretsManager::Types::DeleteResourcePolicyRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-secretsmanager/types.rb

Overview

Note:

When making an API call, you may pass DeleteResourcePolicyRequest data as a hash:

{
  secret_id: "SecretIdType", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#secret_idString

The ARN or name of the secret to delete the attached resource-based policy for.

For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See [Finding a secret from a partial ARN].

[1]: docs.aws.amazon.com/secretsmanager/latest/userguide/troubleshoot.html#ARN_secretnamehyphen

Returns:

  • (String)

352
353
354
355
356
# File 'lib/aws-sdk-secretsmanager/types.rb', line 352

class DeleteResourcePolicyRequest < Struct.new(
  :secret_id)
  SENSITIVE = []
  include Aws::Structure
end