#[non_exhaustive]pub struct AddProfilePermissionInput {
pub profile_name: Option<String>,
pub profile_version: Option<String>,
pub action: Option<String>,
pub principal: Option<String>,
pub revision_id: Option<String>,
pub statement_id: Option<String>,
}
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.profile_name: Option<String>
The human-readable name of the signing profile.
profile_version: Option<String>
The version of the signing profile.
action: Option<String>
For cross-account signing. Grant a designated account permission to perform one or more of the following actions. Each action is associated with a specific API's operations. For more information about cross-account signing, see Using cross-account signing with signing profiles in the AWS Signer Developer Guide.
You can designate the following actions to an account.
-
signer:StartSigningJob
. This action isn't supported for container image workflows. For details, seeStartSigningJob
. -
signer:SignPayload
. This action isn't supported for AWS Lambda workflows. For details, seeSignPayload
-
signer:GetSigningProfile
. For details, seeGetSigningProfile
. -
signer:RevokeSignature
. For details, seeRevokeSignature
.
principal: Option<String>
The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
revision_id: Option<String>
A unique identifier for the current profile revision.
statement_id: Option<String>
A unique identifier for the cross-account permission statement.
Implementations§
source§impl AddProfilePermissionInput
impl AddProfilePermissionInput
sourcepub fn profile_name(&self) -> Option<&str>
pub fn profile_name(&self) -> Option<&str>
The human-readable name of the signing profile.
sourcepub fn profile_version(&self) -> Option<&str>
pub fn profile_version(&self) -> Option<&str>
The version of the signing profile.
sourcepub fn action(&self) -> Option<&str>
pub fn action(&self) -> Option<&str>
For cross-account signing. Grant a designated account permission to perform one or more of the following actions. Each action is associated with a specific API's operations. For more information about cross-account signing, see Using cross-account signing with signing profiles in the AWS Signer Developer Guide.
You can designate the following actions to an account.
-
signer:StartSigningJob
. This action isn't supported for container image workflows. For details, seeStartSigningJob
. -
signer:SignPayload
. This action isn't supported for AWS Lambda workflows. For details, seeSignPayload
-
signer:GetSigningProfile
. For details, seeGetSigningProfile
. -
signer:RevokeSignature
. For details, seeRevokeSignature
.
sourcepub fn principal(&self) -> Option<&str>
pub fn principal(&self) -> Option<&str>
The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
sourcepub fn revision_id(&self) -> Option<&str>
pub fn revision_id(&self) -> Option<&str>
A unique identifier for the current profile revision.
sourcepub fn statement_id(&self) -> Option<&str>
pub fn statement_id(&self) -> Option<&str>
A unique identifier for the cross-account permission statement.
source§impl AddProfilePermissionInput
impl AddProfilePermissionInput
sourcepub fn builder() -> AddProfilePermissionInputBuilder
pub fn builder() -> AddProfilePermissionInputBuilder
Creates a new builder-style object to manufacture AddProfilePermissionInput
.
Trait Implementations§
source§impl Clone for AddProfilePermissionInput
impl Clone for AddProfilePermissionInput
source§fn clone(&self) -> AddProfilePermissionInput
fn clone(&self) -> AddProfilePermissionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddProfilePermissionInput
impl Debug for AddProfilePermissionInput
source§impl PartialEq for AddProfilePermissionInput
impl PartialEq for AddProfilePermissionInput
source§fn eq(&self, other: &AddProfilePermissionInput) -> bool
fn eq(&self, other: &AddProfilePermissionInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddProfilePermissionInput
Auto Trait Implementations§
impl Freeze for AddProfilePermissionInput
impl RefUnwindSafe for AddProfilePermissionInput
impl Send for AddProfilePermissionInput
impl Sync for AddProfilePermissionInput
impl Unpin for AddProfilePermissionInput
impl UnwindSafe for AddProfilePermissionInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more