// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CreateAccessor`](crate::operation::create_accessor::builders::CreateAccessorFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`client_request_token(impl Into<String>)`](crate::operation::create_accessor::builders::CreateAccessorFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::create_accessor::builders::CreateAccessorFluentBuilder::set_client_request_token):<br>required: **true**<br><p>This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon Web Services CLI.</p><br>
/// - [`accessor_type(AccessorType)`](crate::operation::create_accessor::builders::CreateAccessorFluentBuilder::accessor_type) / [`set_accessor_type(Option<AccessorType>)`](crate::operation::create_accessor::builders::CreateAccessorFluentBuilder::set_accessor_type):<br>required: **true**<br><p>The type of accessor.</p><note> <p>Currently, accessor type is restricted to <code>BILLING_TOKEN</code>.</p> </note><br>
/// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_accessor::builders::CreateAccessorFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_accessor::builders::CreateAccessorFluentBuilder::set_tags):<br>required: **false**<br><p>Tags to assign to the Accessor.</p> <p>Each tag consists of a key and an optional value. You can specify multiple key-value pairs in a single request with an overall maximum of 50 tags allowed per resource.</p> <p>For more information about tags, see <a href="https://docs.aws.amazon.com/managed-blockchain/latest/ethereum-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Ethereum Developer Guide</i>, or <a href="https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/tagging-resources.html">Tagging Resources</a> in the <i>Amazon Managed Blockchain Hyperledger Fabric Developer Guide</i>.</p><br>
/// - [`network_type(AccessorNetworkType)`](crate::operation::create_accessor::builders::CreateAccessorFluentBuilder::network_type) / [`set_network_type(Option<AccessorNetworkType>)`](crate::operation::create_accessor::builders::CreateAccessorFluentBuilder::set_network_type):<br>required: **false**<br><p>The blockchain network that the <code>Accessor</code> token is created for.</p><note> <p>We recommend using the appropriate <code>networkType</code> value for the blockchain network that you are creating the <code>Accessor</code> token for. You cannnot use the value <code>ETHEREUM_MAINNET_AND_GOERLI</code> to specify a <code>networkType</code> for your Accessor token.</p> <p>The default value of <code>ETHEREUM_MAINNET_AND_GOERLI</code> is only applied:</p> <ul> <li> <p>when the <code>CreateAccessor</code> action does not set a <code>networkType</code>.</p></li> <li> <p>to all existing <code>Accessor</code> tokens that were created before the <code>networkType</code> property was introduced.</p></li> </ul> </note><br>
/// - On success, responds with [`CreateAccessorOutput`](crate::operation::create_accessor::CreateAccessorOutput) with field(s):
/// - [`accessor_id(Option<String>)`](crate::operation::create_accessor::CreateAccessorOutput::accessor_id): <p>The unique identifier of the accessor.</p>
/// - [`billing_token(Option<String>)`](crate::operation::create_accessor::CreateAccessorOutput::billing_token): <p>The billing token is a property of the Accessor. Use this token to when making calls to the blockchain network. The billing token is used to track your accessor token for billing requests.</p>
/// - [`network_type(Option<AccessorNetworkType>)`](crate::operation::create_accessor::CreateAccessorOutput::network_type): <p>The blockchain network that the accessor token is created for.</p>
/// - On failure, responds with [`SdkError<CreateAccessorError>`](crate::operation::create_accessor::CreateAccessorError)
pub fn create_accessor(&self) -> crate::operation::create_accessor::builders::CreateAccessorFluentBuilder {
crate::operation::create_accessor::builders::CreateAccessorFluentBuilder::new(self.handle.clone())
}
}