Struct aws_sdk_acmpca::input::CreatePermissionInput
source · [−]#[non_exhaustive]pub struct CreatePermissionInput {
pub certificate_authority_arn: Option<String>,
pub principal: Option<String>,
pub source_account: Option<String>,
pub actions: Option<Vec<ActionType>>,
}
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.The Amazon Resource Name (ARN) of the CA that grants the permissions. You can find the ARN by calling the ListCertificateAuthorities action. This must have the following form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
.
principal: Option<String>
The AWS service or identity that receives the permission. At this time, the only valid principal is acm.amazonaws.com
.
source_account: Option<String>
The ID of the calling account.
actions: Option<Vec<ActionType>>
The actions that the specified AWS service principal can use. These include IssueCertificate
, GetCertificate
, and ListPermissions
.
Implementations
sourceimpl CreatePermissionInput
impl CreatePermissionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePermission, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreatePermission, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreatePermission
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreatePermissionInput
sourceimpl CreatePermissionInput
impl CreatePermissionInput
The Amazon Resource Name (ARN) of the CA that grants the permissions. You can find the ARN by calling the ListCertificateAuthorities action. This must have the following form:
arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012
.
sourcepub fn principal(&self) -> Option<&str>
pub fn principal(&self) -> Option<&str>
The AWS service or identity that receives the permission. At this time, the only valid principal is acm.amazonaws.com
.
sourcepub fn source_account(&self) -> Option<&str>
pub fn source_account(&self) -> Option<&str>
The ID of the calling account.
Trait Implementations
sourceimpl Clone for CreatePermissionInput
impl Clone for CreatePermissionInput
sourcefn clone(&self) -> CreatePermissionInput
fn clone(&self) -> CreatePermissionInput
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 CreatePermissionInput
impl Debug for CreatePermissionInput
sourceimpl PartialEq<CreatePermissionInput> for CreatePermissionInput
impl PartialEq<CreatePermissionInput> for CreatePermissionInput
sourcefn eq(&self, other: &CreatePermissionInput) -> bool
fn eq(&self, other: &CreatePermissionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreatePermissionInput) -> bool
fn ne(&self, other: &CreatePermissionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreatePermissionInput
Auto Trait Implementations
impl RefUnwindSafe for CreatePermissionInput
impl Send for CreatePermissionInput
impl Sync for CreatePermissionInput
impl Unpin for CreatePermissionInput
impl UnwindSafe for CreatePermissionInput
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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