Struct rusoto_kms::GetKeyPolicyRequest [−][src]
Fields
key_id: String
Gets the key policy for the specified customer master key (CMK).
Specify the key ID or key ARN of the CMK.
For example:
-
Key ID:
1234abcd-12ab-34cd-56ef-1234567890ab
-
Key ARN:
arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
To get the key ID and key ARN for a CMK, use ListKeys or DescribeKey.
policy_name: String
Specifies the name of the key policy. The only valid name is default
. To get the names of key policies, use ListKeyPolicies.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetKeyPolicyRequest
impl Send for GetKeyPolicyRequest
impl Sync for GetKeyPolicyRequest
impl Unpin for GetKeyPolicyRequest
impl UnwindSafe for GetKeyPolicyRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self