Struct aws_sdk_cloudfront::client::fluent_builders::UpdatePublicKey
source · pub struct UpdatePublicKey { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdatePublicKey
.
Update public key information. Note that the only value you can change is the comment.
Implementations§
source§impl UpdatePublicKey
impl UpdatePublicKey
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdatePublicKey, AwsResponseRetryClassifier>, SdkError<UpdatePublicKeyError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdatePublicKey, AwsResponseRetryClassifier>, SdkError<UpdatePublicKeyError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdatePublicKeyOutput, SdkError<UpdatePublicKeyError>>
pub async fn send(
self
) -> Result<UpdatePublicKeyOutput, SdkError<UpdatePublicKeyError>>
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 fn public_key_config(self, input: PublicKeyConfig) -> Self
pub fn public_key_config(self, input: PublicKeyConfig) -> Self
A public key configuration.
sourcepub fn set_public_key_config(self, input: Option<PublicKeyConfig>) -> Self
pub fn set_public_key_config(self, input: Option<PublicKeyConfig>) -> Self
A public key configuration.
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the public key that you are updating.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The identifier of the public key that you are updating.
sourcepub fn if_match(self, input: impl Into<String>) -> Self
pub fn if_match(self, input: impl Into<String>) -> Self
The value of the ETag
header that you received when retrieving the public key to update. For example: E2QWRUHAPOMQZL
.
sourcepub fn set_if_match(self, input: Option<String>) -> Self
pub fn set_if_match(self, input: Option<String>) -> Self
The value of the ETag
header that you received when retrieving the public key to update. For example: E2QWRUHAPOMQZL
.
Trait Implementations§
source§impl Clone for UpdatePublicKey
impl Clone for UpdatePublicKey
source§fn clone(&self) -> UpdatePublicKey
fn clone(&self) -> UpdatePublicKey
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more