#[non_exhaustive]pub struct UpdateTemplateSyncConfigInput { /* private fields */ }
Implementations§
source§impl UpdateTemplateSyncConfigInput
impl UpdateTemplateSyncConfigInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateTemplateSyncConfig, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateTemplateSyncConfig, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateTemplateSyncConfig
>
Examples found in repository?
src/client.rs (line 9259)
9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateTemplateSyncConfig,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateTemplateSyncConfigError>,
> {
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::UpdateTemplateSyncConfigOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateTemplateSyncConfigError>,
> {
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 UpdateTemplateSyncConfigInput
.
source§impl UpdateTemplateSyncConfigInput
impl UpdateTemplateSyncConfigInput
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The synced template name.
sourcepub fn template_type(&self) -> Option<&TemplateType>
pub fn template_type(&self) -> Option<&TemplateType>
The synced template type.
sourcepub fn repository_provider(&self) -> Option<&RepositoryProvider>
pub fn repository_provider(&self) -> Option<&RepositoryProvider>
The repository provider.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The repository name (for example, myrepos/myrepo
).
sourcepub fn subdirectory(&self) -> Option<&str>
pub fn subdirectory(&self) -> Option<&str>
A subdirectory path to your template bundle version. When included, limits the template bundle search to this repository directory.
Trait Implementations§
source§impl Clone for UpdateTemplateSyncConfigInput
impl Clone for UpdateTemplateSyncConfigInput
source§fn clone(&self) -> UpdateTemplateSyncConfigInput
fn clone(&self) -> UpdateTemplateSyncConfigInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more