Struct aws_sdk_opsworks::operation::describe_commands::builders::DescribeCommandsFluentBuilder
source · pub struct DescribeCommandsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeCommands.
Describes the results of specified commands.
This call accepts only one resource-identifying parameter.
Required Permissions: To use this action, an IAM user must have a Show, Deploy, or Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information about user permissions, see Managing User Permissions.
Implementations§
source§impl DescribeCommandsFluentBuilder
impl DescribeCommandsFluentBuilder
sourcepub fn as_input(&self) -> &DescribeCommandsInputBuilder
pub fn as_input(&self) -> &DescribeCommandsInputBuilder
Access the DescribeCommands as a reference.
sourcepub async fn send(
self,
) -> Result<DescribeCommandsOutput, SdkError<DescribeCommandsError, HttpResponse>>
pub async fn send( self, ) -> Result<DescribeCommandsOutput, SdkError<DescribeCommandsError, 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<DescribeCommandsOutput, DescribeCommandsError, Self>
pub fn customize( self, ) -> CustomizableOperation<DescribeCommandsOutput, DescribeCommandsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn deployment_id(self, input: impl Into<String>) -> Self
pub fn deployment_id(self, input: impl Into<String>) -> Self
The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
sourcepub fn set_deployment_id(self, input: Option<String>) -> Self
pub fn set_deployment_id(self, input: Option<String>) -> Self
The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
sourcepub fn get_deployment_id(&self) -> &Option<String>
pub fn get_deployment_id(&self) -> &Option<String>
The deployment ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified deployment.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The instance ID. If you include this parameter, DescribeCommands returns a description of the commands associated with the specified instance.
sourcepub fn command_ids(self, input: impl Into<String>) -> Self
pub fn command_ids(self, input: impl Into<String>) -> Self
Appends an item to CommandIds.
To override the contents of this collection use set_command_ids.
An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
sourcepub fn set_command_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_command_ids(self, input: Option<Vec<String>>) -> Self
An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
sourcepub fn get_command_ids(&self) -> &Option<Vec<String>>
pub fn get_command_ids(&self) -> &Option<Vec<String>>
An array of command IDs. If you include this parameter, DescribeCommands returns a description of the specified commands. Otherwise, it returns a description of every command.
Trait Implementations§
source§impl Clone for DescribeCommandsFluentBuilder
impl Clone for DescribeCommandsFluentBuilder
source§fn clone(&self) -> DescribeCommandsFluentBuilder
fn clone(&self) -> DescribeCommandsFluentBuilder
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 DescribeCommandsFluentBuilder
impl !RefUnwindSafe for DescribeCommandsFluentBuilder
impl Send for DescribeCommandsFluentBuilder
impl Sync for DescribeCommandsFluentBuilder
impl Unpin for DescribeCommandsFluentBuilder
impl !UnwindSafe for DescribeCommandsFluentBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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