Struct aws_sdk_signer::operation::add_profile_permission::builders::AddProfilePermissionInputBuilder
source · #[non_exhaustive]pub struct AddProfilePermissionInputBuilder { /* private fields */ }
Expand description
A builder for AddProfilePermissionInput
.
Implementations§
source§impl AddProfilePermissionInputBuilder
impl AddProfilePermissionInputBuilder
sourcepub fn profile_name(self, input: impl Into<String>) -> Self
pub fn profile_name(self, input: impl Into<String>) -> Self
The human-readable name of the signing profile.
This field is required.sourcepub fn set_profile_name(self, input: Option<String>) -> Self
pub fn set_profile_name(self, input: Option<String>) -> Self
The human-readable name of the signing profile.
sourcepub fn get_profile_name(&self) -> &Option<String>
pub fn get_profile_name(&self) -> &Option<String>
The human-readable name of the signing profile.
sourcepub fn profile_version(self, input: impl Into<String>) -> Self
pub fn profile_version(self, input: impl Into<String>) -> Self
The version of the signing profile.
sourcepub fn set_profile_version(self, input: Option<String>) -> Self
pub fn set_profile_version(self, input: Option<String>) -> Self
The version of the signing profile.
sourcepub fn get_profile_version(&self) -> &Option<String>
pub fn get_profile_version(&self) -> &Option<String>
The version of the signing profile.
sourcepub fn action(self, input: impl Into<String>) -> Self
pub fn action(self, input: impl Into<String>) -> Self
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 set_action(self, input: Option<String>) -> Self
pub fn set_action(self, input: Option<String>) -> Self
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 get_action(&self) -> &Option<String>
pub fn get_action(&self) -> &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
.
sourcepub fn principal(self, input: impl Into<String>) -> Self
pub fn principal(self, input: impl Into<String>) -> Self
The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
This field is required.sourcepub fn set_principal(self, input: Option<String>) -> Self
pub fn set_principal(self, input: Option<String>) -> Self
The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
sourcepub fn get_principal(&self) -> &Option<String>
pub fn get_principal(&self) -> &Option<String>
The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
sourcepub fn revision_id(self, input: impl Into<String>) -> Self
pub fn revision_id(self, input: impl Into<String>) -> Self
A unique identifier for the current profile revision.
sourcepub fn set_revision_id(self, input: Option<String>) -> Self
pub fn set_revision_id(self, input: Option<String>) -> Self
A unique identifier for the current profile revision.
sourcepub fn get_revision_id(&self) -> &Option<String>
pub fn get_revision_id(&self) -> &Option<String>
A unique identifier for the current profile revision.
sourcepub fn statement_id(self, input: impl Into<String>) -> Self
pub fn statement_id(self, input: impl Into<String>) -> Self
A unique identifier for the cross-account permission statement.
This field is required.sourcepub fn set_statement_id(self, input: Option<String>) -> Self
pub fn set_statement_id(self, input: Option<String>) -> Self
A unique identifier for the cross-account permission statement.
sourcepub fn get_statement_id(&self) -> &Option<String>
pub fn get_statement_id(&self) -> &Option<String>
A unique identifier for the cross-account permission statement.
sourcepub fn build(self) -> Result<AddProfilePermissionInput, BuildError>
pub fn build(self) -> Result<AddProfilePermissionInput, BuildError>
Consumes the builder and constructs a AddProfilePermissionInput
.
source§impl AddProfilePermissionInputBuilder
impl AddProfilePermissionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AddProfilePermissionOutput, SdkError<AddProfilePermissionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AddProfilePermissionOutput, SdkError<AddProfilePermissionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddProfilePermissionInputBuilder
impl Clone for AddProfilePermissionInputBuilder
source§fn clone(&self) -> AddProfilePermissionInputBuilder
fn clone(&self) -> AddProfilePermissionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AddProfilePermissionInputBuilder
impl Default for AddProfilePermissionInputBuilder
source§fn default() -> AddProfilePermissionInputBuilder
fn default() -> AddProfilePermissionInputBuilder
source§impl PartialEq for AddProfilePermissionInputBuilder
impl PartialEq for AddProfilePermissionInputBuilder
source§fn eq(&self, other: &AddProfilePermissionInputBuilder) -> bool
fn eq(&self, other: &AddProfilePermissionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddProfilePermissionInputBuilder
Auto Trait Implementations§
impl Freeze for AddProfilePermissionInputBuilder
impl RefUnwindSafe for AddProfilePermissionInputBuilder
impl Send for AddProfilePermissionInputBuilder
impl Sync for AddProfilePermissionInputBuilder
impl Unpin for AddProfilePermissionInputBuilder
impl UnwindSafe for AddProfilePermissionInputBuilder
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