pub struct GetKeyFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetKey
.
Gets the key material for an Amazon Web Services Payment Cryptography key, including the immutable and mutable data specified when the key was created.
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
-
CreateKey
-
DeleteKey
-
ListKeys
Implementations§
source§impl GetKeyFluentBuilder
impl GetKeyFluentBuilder
sourcepub fn as_input(&self) -> &GetKeyInputBuilder
pub fn as_input(&self) -> &GetKeyInputBuilder
Access the GetKey as a reference.
sourcepub async fn send(
self
) -> Result<GetKeyOutput, SdkError<GetKeyError, HttpResponse>>
pub async fn send( self ) -> Result<GetKeyOutput, SdkError<GetKeyError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetKeyOutput, GetKeyError, Self>, SdkError<GetKeyError>>
pub async fn customize( self ) -> Result<CustomizableOperation<GetKeyOutput, GetKeyError, Self>, SdkError<GetKeyError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn key_identifier(self, input: impl Into<String>) -> Self
pub fn key_identifier(self, input: impl Into<String>) -> Self
The KeyARN
of the Amazon Web Services Payment Cryptography key.
sourcepub fn set_key_identifier(self, input: Option<String>) -> Self
pub fn set_key_identifier(self, input: Option<String>) -> Self
The KeyARN
of the Amazon Web Services Payment Cryptography key.
sourcepub fn get_key_identifier(&self) -> &Option<String>
pub fn get_key_identifier(&self) -> &Option<String>
The KeyARN
of the Amazon Web Services Payment Cryptography key.
Trait Implementations§
source§impl Clone for GetKeyFluentBuilder
impl Clone for GetKeyFluentBuilder
source§fn clone(&self) -> GetKeyFluentBuilder
fn clone(&self) -> GetKeyFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more