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 more