#[non_exhaustive]pub struct CreateSecurityPolicyInput { /* private fields */ }
Implementations§
source§impl CreateSecurityPolicyInput
impl CreateSecurityPolicyInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateSecurityPolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateSecurityPolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateSecurityPolicy
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateSecurityPolicyInput
.
source§impl CreateSecurityPolicyInput
impl CreateSecurityPolicyInput
sourcepub fn type(&self) -> Option<&SecurityPolicyType>
pub fn type(&self) -> Option<&SecurityPolicyType>
The type of security policy.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the policy. Typically used to store information about the permissions defined in the policy.
sourcepub fn policy(&self) -> Option<&str>
pub fn policy(&self) -> Option<&str>
The JSON policy document to use as the content for the new policy.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier to ensure idempotency of the request.
Trait Implementations§
source§impl Clone for CreateSecurityPolicyInput
impl Clone for CreateSecurityPolicyInput
source§fn clone(&self) -> CreateSecurityPolicyInput
fn clone(&self) -> CreateSecurityPolicyInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateSecurityPolicyInput
impl Debug for CreateSecurityPolicyInput
source§impl PartialEq<CreateSecurityPolicyInput> for CreateSecurityPolicyInput
impl PartialEq<CreateSecurityPolicyInput> for CreateSecurityPolicyInput
source§fn eq(&self, other: &CreateSecurityPolicyInput) -> bool
fn eq(&self, other: &CreateSecurityPolicyInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.