Struct aws_sdk_iot::input::CreatePolicyInput
source · [−]#[non_exhaustive]pub struct CreatePolicyInput { /* private fields */ }
Expand description
The input for the CreatePolicy operation.
Implementations
sourceimpl CreatePolicyInput
impl CreatePolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePolicy, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePolicy, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreatePolicy
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreatePolicyInput
.
sourceimpl CreatePolicyInput
impl CreatePolicyInput
sourcepub fn policy_name(&self) -> Option<&str>
pub fn policy_name(&self) -> Option<&str>
The policy name.
sourcepub fn policy_document(&self) -> Option<&str>
pub fn policy_document(&self) -> Option<&str>
The JSON document that describes the policy. policyDocument must have a minimum length of 1, with a maximum length of 2048, excluding whitespace.
Metadata which can be used to manage the policy.
For URI Request parameters use format: ...key1=value1&key2=value2...
For the CLI command-line parameter use format: &&tags "key1=value1&key2=value2..."
For the cli-input-json file use format: "tags": "key1=value1&key2=value2..."
Trait Implementations
sourceimpl Clone for CreatePolicyInput
impl Clone for CreatePolicyInput
sourcefn clone(&self) -> CreatePolicyInput
fn clone(&self) -> CreatePolicyInput
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 CreatePolicyInput
impl Debug for CreatePolicyInput
sourceimpl PartialEq<CreatePolicyInput> for CreatePolicyInput
impl PartialEq<CreatePolicyInput> for CreatePolicyInput
sourcefn eq(&self, other: &CreatePolicyInput) -> bool
fn eq(&self, other: &CreatePolicyInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl StructuralPartialEq for CreatePolicyInput
Auto Trait Implementations
impl RefUnwindSafe for CreatePolicyInput
impl Send for CreatePolicyInput
impl Sync for CreatePolicyInput
impl Unpin for CreatePolicyInput
impl UnwindSafe for CreatePolicyInput
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