#[non_exhaustive]pub struct CreateCustomActionTypeInput { /* private fields */ }
Expand description
Represents the input of a CreateCustomActionType operation.
Implementations§
source§impl CreateCustomActionTypeInput
impl CreateCustomActionTypeInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCustomActionType, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCustomActionType, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateCustomActionType
>
Examples found in repository?
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateCustomActionType,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateCustomActionTypeError>,
> {
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::CreateCustomActionTypeOutput,
aws_smithy_http::result::SdkError<crate::error::CreateCustomActionTypeError>,
> {
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 CreateCustomActionTypeInput
.
source§impl CreateCustomActionTypeInput
impl CreateCustomActionTypeInput
sourcepub fn category(&self) -> Option<&ActionCategory>
pub fn category(&self) -> Option<&ActionCategory>
The category of the custom action, such as a build action or a test action.
sourcepub fn provider(&self) -> Option<&str>
pub fn provider(&self) -> Option<&str>
The provider of the service used in the custom action, such as AWS CodeDeploy.
sourcepub fn settings(&self) -> Option<&ActionTypeSettings>
pub fn settings(&self) -> Option<&ActionTypeSettings>
URLs that provide users information about this custom action.
sourcepub fn configuration_properties(&self) -> Option<&[ActionConfigurationProperty]>
pub fn configuration_properties(&self) -> Option<&[ActionConfigurationProperty]>
The configuration properties for the custom action.
You can refer to a name in the configuration properties of the custom action within the URL templates by following the format of {Config:name}, as long as the configuration property is both required and not secret. For more information, see Create a Custom Action for a Pipeline.
sourcepub fn input_artifact_details(&self) -> Option<&ArtifactDetails>
pub fn input_artifact_details(&self) -> Option<&ArtifactDetails>
The details of the input artifact for the action, such as its commit ID.
sourcepub fn output_artifact_details(&self) -> Option<&ArtifactDetails>
pub fn output_artifact_details(&self) -> Option<&ArtifactDetails>
The details of the output artifact of the action, such as its commit ID.
The tags for the custom action.
Trait Implementations§
source§impl Clone for CreateCustomActionTypeInput
impl Clone for CreateCustomActionTypeInput
source§fn clone(&self) -> CreateCustomActionTypeInput
fn clone(&self) -> CreateCustomActionTypeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more