Struct aws_sdk_proton::input::UpdateAccountSettingsInput
source · #[non_exhaustive]pub struct UpdateAccountSettingsInput { /* private fields */ }
Implementations§
source§impl UpdateAccountSettingsInput
impl UpdateAccountSettingsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAccountSettings, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateAccountSettings, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateAccountSettings
>
Examples found in repository?
7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateAccountSettings,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateAccountSettingsError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateAccountSettingsOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateAccountSettingsError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateAccountSettingsInput
.
source§impl UpdateAccountSettingsInput
impl UpdateAccountSettingsInput
sourcepub fn pipeline_service_role_arn(&self) -> Option<&str>
pub fn pipeline_service_role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.
To remove a previously configured ARN, specify an empty string.
sourcepub fn pipeline_provisioning_repository(&self) -> Option<&RepositoryBranchInput>
pub fn pipeline_provisioning_repository(&self) -> Option<&RepositoryBranchInput>
A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository
.
To remove a previously configured repository, set deletePipelineProvisioningRepository
to true
, and don't set pipelineProvisioningRepository
.
sourcepub fn delete_pipeline_provisioning_repository(&self) -> Option<bool>
pub fn delete_pipeline_provisioning_repository(&self) -> Option<bool>
Set to true
to remove a configured pipeline repository from the account settings. Don't set this field if you are updating the configured pipeline repository.
Trait Implementations§
source§impl Clone for UpdateAccountSettingsInput
impl Clone for UpdateAccountSettingsInput
source§fn clone(&self) -> UpdateAccountSettingsInput
fn clone(&self) -> UpdateAccountSettingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more