#[non_exhaustive]pub struct DescribeStackResourcesInput {
pub stack_name: Option<String>,
pub logical_resource_id: Option<String>,
pub physical_resource_id: Option<String>,
}Expand description
The input for DescribeStackResources action.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stack_name: Option<String>The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
Required: Conditional. If you don't specify StackName, you must specify PhysicalResourceId.
logical_resource_id: Option<String>The logical name of the resource as specified in the template.
Default: There is no default value.
physical_resource_id: Option<String>The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
For example, for an Amazon Elastic Compute Cloud (EC2) instance, PhysicalResourceId corresponds to the InstanceId. You can pass the EC2 InstanceId to DescribeStackResources to find which stack the instance belongs to and what other resources are part of the stack.
Required: Conditional. If you don't specify PhysicalResourceId, you must specify StackName.
Default: There is no default value.
Implementations
sourceimpl DescribeStackResourcesInput
impl DescribeStackResourcesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeStackResources, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeStackResources, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeStackResources>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DescribeStackResourcesInput.
sourceimpl DescribeStackResourcesInput
impl DescribeStackResourcesInput
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name or the unique stack ID that is associated with the stack, which aren't always interchangeable:
-
Running stacks: You can specify either the stack's name or its unique stack ID.
-
Deleted stacks: You must specify the unique stack ID.
Default: There is no default value.
Required: Conditional. If you don't specify StackName, you must specify PhysicalResourceId.
sourcepub fn logical_resource_id(&self) -> Option<&str>
pub fn logical_resource_id(&self) -> Option<&str>
The logical name of the resource as specified in the template.
Default: There is no default value.
sourcepub fn physical_resource_id(&self) -> Option<&str>
pub fn physical_resource_id(&self) -> Option<&str>
The name or unique identifier that corresponds to a physical instance ID of a resource supported by CloudFormation.
For example, for an Amazon Elastic Compute Cloud (EC2) instance, PhysicalResourceId corresponds to the InstanceId. You can pass the EC2 InstanceId to DescribeStackResources to find which stack the instance belongs to and what other resources are part of the stack.
Required: Conditional. If you don't specify PhysicalResourceId, you must specify StackName.
Default: There is no default value.
Trait Implementations
sourceimpl Clone for DescribeStackResourcesInput
impl Clone for DescribeStackResourcesInput
sourcefn clone(&self) -> DescribeStackResourcesInput
fn clone(&self) -> DescribeStackResourcesInput
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
sourceimpl Debug for DescribeStackResourcesInput
impl Debug for DescribeStackResourcesInput
sourceimpl PartialEq<DescribeStackResourcesInput> for DescribeStackResourcesInput
impl PartialEq<DescribeStackResourcesInput> for DescribeStackResourcesInput
sourcefn eq(&self, other: &DescribeStackResourcesInput) -> bool
fn eq(&self, other: &DescribeStackResourcesInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DescribeStackResourcesInput) -> bool
fn ne(&self, other: &DescribeStackResourcesInput) -> bool
This method tests for !=.
impl StructuralPartialEq for DescribeStackResourcesInput
Auto Trait Implementations
impl RefUnwindSafe for DescribeStackResourcesInput
impl Send for DescribeStackResourcesInput
impl Sync for DescribeStackResourcesInput
impl Unpin for DescribeStackResourcesInput
impl UnwindSafe for DescribeStackResourcesInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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> 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