#[non_exhaustive]pub struct CreatePolicyVersionInput { /* private fields */ }Expand description
The input for the CreatePolicyVersion operation.
Implementations§
source§impl CreatePolicyVersionInput
impl CreatePolicyVersionInput
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. Minimum length of 1. Maximum length of 2048, excluding whitespace.
sourcepub fn set_as_default(&self) -> Option<bool>
pub fn set_as_default(&self) -> Option<bool>
Specifies whether the policy version is set as the default. When this parameter is true, the new policy version becomes the operative version (that is, the version that is in effect for the certificates to which the policy is attached).
source§impl CreatePolicyVersionInput
impl CreatePolicyVersionInput
sourcepub fn builder() -> CreatePolicyVersionInputBuilder
pub fn builder() -> CreatePolicyVersionInputBuilder
Creates a new builder-style object to manufacture CreatePolicyVersionInput.
source§impl CreatePolicyVersionInput
impl CreatePolicyVersionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePolicyVersion, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<CreatePolicyVersion, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreatePolicyVersion>
Trait Implementations§
source§impl Clone for CreatePolicyVersionInput
impl Clone for CreatePolicyVersionInput
source§fn clone(&self) -> CreatePolicyVersionInput
fn clone(&self) -> CreatePolicyVersionInput
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 CreatePolicyVersionInput
impl Debug for CreatePolicyVersionInput
source§impl PartialEq<CreatePolicyVersionInput> for CreatePolicyVersionInput
impl PartialEq<CreatePolicyVersionInput> for CreatePolicyVersionInput
source§fn eq(&self, other: &CreatePolicyVersionInput) -> bool
fn eq(&self, other: &CreatePolicyVersionInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreatePolicyVersionInput
Auto Trait Implementations§
impl RefUnwindSafe for CreatePolicyVersionInput
impl Send for CreatePolicyVersionInput
impl Sync for CreatePolicyVersionInput
impl Unpin for CreatePolicyVersionInput
impl UnwindSafe for CreatePolicyVersionInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more