pub struct CreatePolicyVersionRequest {
pub policy_document: String,
pub policy_name: String,
pub set_as_default: Option<bool>,
}Expand description
The input for the CreatePolicyVersion operation.
Fields§
§policy_document: StringThe JSON document that describes the policy. Minimum length of 1. Maximum length of 2048, excluding whitespace.
policy_name: StringThe policy name.
set_as_default: 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).
Trait Implementations§
Source§impl Clone for CreatePolicyVersionRequest
impl Clone for CreatePolicyVersionRequest
Source§fn clone(&self) -> CreatePolicyVersionRequest
fn clone(&self) -> CreatePolicyVersionRequest
Returns a duplicate 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 CreatePolicyVersionRequest
impl Debug for CreatePolicyVersionRequest
Source§impl Default for CreatePolicyVersionRequest
impl Default for CreatePolicyVersionRequest
Source§fn default() -> CreatePolicyVersionRequest
fn default() -> CreatePolicyVersionRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for CreatePolicyVersionRequest
Auto Trait Implementations§
impl Freeze for CreatePolicyVersionRequest
impl RefUnwindSafe for CreatePolicyVersionRequest
impl Send for CreatePolicyVersionRequest
impl Sync for CreatePolicyVersionRequest
impl Unpin for CreatePolicyVersionRequest
impl UnwindSafe for CreatePolicyVersionRequest
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