pub struct GetAccessor { /* private fields */ }Expand description
Fluent builder constructing a request to GetAccessor.
The token based access feature is in preview release for Ethereum on Amazon Managed Blockchain and is subject to change. We recommend that you use this feature only with test scenarios, and not in production environments.
Returns detailed information about an accessor. An accessor object is a container that has the information required for token based access to your Ethereum nodes.
Implementations§
source§impl GetAccessor
impl GetAccessor
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetAccessor, AwsResponseRetryClassifier>, SdkError<GetAccessorError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetAccessor, AwsResponseRetryClassifier>, SdkError<GetAccessorError>>
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<GetAccessorOutput, SdkError<GetAccessorError>>
pub async fn send(self) -> Result<GetAccessorOutput, SdkError<GetAccessorError>>
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 accessor_id(self, input: impl Into<String>) -> Self
pub fn accessor_id(self, input: impl Into<String>) -> Self
The unique identifier of the accessor.
sourcepub fn set_accessor_id(self, input: Option<String>) -> Self
pub fn set_accessor_id(self, input: Option<String>) -> Self
The unique identifier of the accessor.
Trait Implementations§
source§impl Clone for GetAccessor
impl Clone for GetAccessor
source§fn clone(&self) -> GetAccessor
fn clone(&self) -> GetAccessor
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more