Struct aws_sdk_cloudformation::operation::register_publisher::builders::RegisterPublisherFluentBuilder
source · pub struct RegisterPublisherFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to RegisterPublisher
.
Registers your account as a publisher of public extensions in the CloudFormation registry. Public extensions are available for use by all CloudFormation users. This publisher ID applies to your account in all Amazon Web Services Regions.
For information about requirements for registering as a public extension publisher, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.
Implementations§
source§impl RegisterPublisherFluentBuilder
impl RegisterPublisherFluentBuilder
sourcepub fn as_input(&self) -> &RegisterPublisherInputBuilder
pub fn as_input(&self) -> &RegisterPublisherInputBuilder
Access the RegisterPublisher as a reference.
sourcepub async fn send(
self
) -> Result<RegisterPublisherOutput, SdkError<RegisterPublisherError, HttpResponse>>
pub async fn send( self ) -> Result<RegisterPublisherOutput, SdkError<RegisterPublisherError, HttpResponse>>
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 customize(
self
) -> CustomizableOperation<RegisterPublisherOutput, RegisterPublisherError, Self>
pub fn customize( self ) -> CustomizableOperation<RegisterPublisherOutput, RegisterPublisherError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn accept_terms_and_conditions(self, input: bool) -> Self
pub fn accept_terms_and_conditions(self, input: bool) -> Self
Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry.
The default is false
.
sourcepub fn set_accept_terms_and_conditions(self, input: Option<bool>) -> Self
pub fn set_accept_terms_and_conditions(self, input: Option<bool>) -> Self
Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry.
The default is false
.
sourcepub fn get_accept_terms_and_conditions(&self) -> &Option<bool>
pub fn get_accept_terms_and_conditions(&self) -> &Option<bool>
Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry.
The default is false
.
sourcepub fn connection_arn(self, input: impl Into<String>) -> Self
pub fn connection_arn(self, input: impl Into<String>) -> Self
If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.
sourcepub fn set_connection_arn(self, input: Option<String>) -> Self
pub fn set_connection_arn(self, input: Option<String>) -> Self
If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.
sourcepub fn get_connection_arn(&self) -> &Option<String>
pub fn get_connection_arn(&self) -> &Option<String>
If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account.
For more information, see Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide.
Trait Implementations§
source§impl Clone for RegisterPublisherFluentBuilder
impl Clone for RegisterPublisherFluentBuilder
source§fn clone(&self) -> RegisterPublisherFluentBuilder
fn clone(&self) -> RegisterPublisherFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for RegisterPublisherFluentBuilder
impl !RefUnwindSafe for RegisterPublisherFluentBuilder
impl Send for RegisterPublisherFluentBuilder
impl Sync for RegisterPublisherFluentBuilder
impl Unpin for RegisterPublisherFluentBuilder
impl !UnwindSafe for RegisterPublisherFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more