Struct aws_sdk_snowball::client::fluent_builders::GetJobUnlockCode [−][src]
pub struct GetJobUnlockCode<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetJobUnlockCode
.
Returns the UnlockCode
code value for the specified job. A particular
UnlockCode
value can be accessed for up to 360 days after the associated job
has been created.
The UnlockCode
value is a 29-character code with 25 alphanumeric
characters and 4 hyphens. This code is used to decrypt the manifest file when it is passed
along with the manifest to the Snow device through the Snowball client when the client is started
for the first time.
As a best practice, we recommend that you don't save a copy of the
UnlockCode
in the same location as the manifest file for that job. Saving these
separately helps prevent unauthorized parties from gaining access to the Snow device associated
with that job.
Implementations
impl<C, M, R> GetJobUnlockCode<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetJobUnlockCode<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetJobUnlockCodeOutput, SdkError<GetJobUnlockCodeError>> where
R::Policy: SmithyRetryPolicy<GetJobUnlockCodeInputOperationOutputAlias, GetJobUnlockCodeOutput, GetJobUnlockCodeError, GetJobUnlockCodeInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetJobUnlockCodeOutput, SdkError<GetJobUnlockCodeError>> where
R::Policy: SmithyRetryPolicy<GetJobUnlockCodeInputOperationOutputAlias, GetJobUnlockCodeOutput, GetJobUnlockCodeError, GetJobUnlockCodeInputOperationRetryAlias>,
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 ID for the job that you want to get the UnlockCode
value for, for
example JID123e4567-e89b-12d3-a456-426655440000
.
The ID for the job that you want to get the UnlockCode
value for, for
example JID123e4567-e89b-12d3-a456-426655440000
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for GetJobUnlockCode<C, M, R>
impl<C, M, R> Send for GetJobUnlockCode<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetJobUnlockCode<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetJobUnlockCode<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for GetJobUnlockCode<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