pub struct CreateCustomActionType { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateCustomActionType
.
Creates a new custom action that can be used in all pipelines associated with the AWS account. Only used for custom actions.
Implementations
sourceimpl CreateCustomActionType
impl CreateCustomActionType
sourcepub async fn send(
self
) -> Result<CreateCustomActionTypeOutput, SdkError<CreateCustomActionTypeError>>
pub async fn send(
self
) -> Result<CreateCustomActionTypeOutput, SdkError<CreateCustomActionTypeError>>
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 category(self, input: ActionCategory) -> Self
pub fn category(self, input: ActionCategory) -> Self
The category of the custom action, such as a build action or a test action.
sourcepub fn set_category(self, input: Option<ActionCategory>) -> Self
pub fn set_category(self, input: Option<ActionCategory>) -> Self
The category of the custom action, such as a build action or a test action.
sourcepub fn provider(self, input: impl Into<String>) -> Self
pub fn provider(self, input: impl Into<String>) -> Self
The provider of the service used in the custom action, such as AWS CodeDeploy.
sourcepub fn set_provider(self, input: Option<String>) -> Self
pub fn set_provider(self, input: Option<String>) -> Self
The provider of the service used in the custom action, such as AWS CodeDeploy.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
The version identifier of the custom action.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The version identifier of the custom action.
sourcepub fn settings(self, input: ActionTypeSettings) -> Self
pub fn settings(self, input: ActionTypeSettings) -> Self
URLs that provide users information about this custom action.
sourcepub fn set_settings(self, input: Option<ActionTypeSettings>) -> Self
pub fn set_settings(self, input: Option<ActionTypeSettings>) -> Self
URLs that provide users information about this custom action.
sourcepub fn configuration_properties(
self,
input: ActionConfigurationProperty
) -> Self
pub fn configuration_properties(
self,
input: ActionConfigurationProperty
) -> Self
Appends an item to configurationProperties
.
To override the contents of this collection use set_configuration_properties
.
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 set_configuration_properties(
self,
input: Option<Vec<ActionConfigurationProperty>>
) -> Self
pub fn set_configuration_properties(
self,
input: Option<Vec<ActionConfigurationProperty>>
) -> Self
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, input: ArtifactDetails) -> Self
pub fn input_artifact_details(self, input: ArtifactDetails) -> Self
The details of the input artifact for the action, such as its commit ID.
sourcepub fn set_input_artifact_details(self, input: Option<ArtifactDetails>) -> Self
pub fn set_input_artifact_details(self, input: Option<ArtifactDetails>) -> Self
The details of the input artifact for the action, such as its commit ID.
sourcepub fn output_artifact_details(self, input: ArtifactDetails) -> Self
pub fn output_artifact_details(self, input: ArtifactDetails) -> Self
The details of the output artifact of the action, such as its commit ID.
sourcepub fn set_output_artifact_details(self, input: Option<ArtifactDetails>) -> Self
pub fn set_output_artifact_details(self, input: Option<ArtifactDetails>) -> Self
The details of the output artifact of the action, such as its commit ID.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags for the custom action.
The tags for the custom action.
Trait Implementations
sourceimpl Clone for CreateCustomActionType
impl Clone for CreateCustomActionType
sourcefn clone(&self) -> CreateCustomActionType
fn clone(&self) -> CreateCustomActionType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl !RefUnwindSafe for CreateCustomActionType
impl Send for CreateCustomActionType
impl Sync for CreateCustomActionType
impl Unpin for CreateCustomActionType
impl !UnwindSafe for CreateCustomActionType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more