Struct aws_sdk_cloudfront::client::fluent_builders::GetKeyGroup [−][src]
pub struct GetKeyGroup<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetKeyGroup
.
Gets a key group, including the date and time when the key group was last modified.
To get a key group, you must provide the key group’s identifier. If the key group is
referenced in a distribution’s cache behavior, you can get the key group’s identifier
using ListDistributions
or GetDistribution
. If the key group
is not referenced in a cache behavior, you can get the identifier using
ListKeyGroups
.
Implementations
impl<C, M, R> GetKeyGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetKeyGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<GetKeyGroupOutput, SdkError<GetKeyGroupError>> where
R::Policy: SmithyRetryPolicy<GetKeyGroupInputOperationOutputAlias, GetKeyGroupOutput, GetKeyGroupError, GetKeyGroupInputOperationRetryAlias>,
pub async fn send(self) -> Result<GetKeyGroupOutput, SdkError<GetKeyGroupError>> where
R::Policy: SmithyRetryPolicy<GetKeyGroupInputOperationOutputAlias, GetKeyGroupOutput, GetKeyGroupError, GetKeyGroupInputOperationRetryAlias>,
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.
The identifier of the key group that you are getting. To get the identifier, use
ListKeyGroups
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for GetKeyGroup<C, M, R>
impl<C, M, R> Unpin for GetKeyGroup<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for GetKeyGroup<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more