Struct aws_sdk_shield::input::DescribeProtectionInput [−][src]
#[non_exhaustive]pub struct DescribeProtectionInput {
pub protection_id: Option<String>,
pub resource_arn: Option<String>,
}
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.protection_id: Option<String>
The unique identifier (ID) for the Protection
object that is described. When submitting the DescribeProtection
request you must provide either the ResourceArn
or the ProtectionID
, but not both.
resource_arn: Option<String>
The ARN (Amazon Resource Name) of the Amazon Web Services resource for the Protection
object that is described. When submitting the DescribeProtection
request you must provide either the ResourceArn
or the ProtectionID
, but not both.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeProtection, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeProtection, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeProtection
>
Creates a new builder-style object to manufacture DescribeProtectionInput
The unique identifier (ID) for the Protection
object that is described. When submitting the DescribeProtection
request you must provide either the ResourceArn
or the ProtectionID
, but not both.
The ARN (Amazon Resource Name) of the Amazon Web Services resource for the Protection
object that is described. When submitting the DescribeProtection
request you must provide either the ResourceArn
or the ProtectionID
, but not both.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DescribeProtectionInput
impl Send for DescribeProtectionInput
impl Sync for DescribeProtectionInput
impl Unpin for DescribeProtectionInput
impl UnwindSafe for DescribeProtectionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more