Struct aws_sdk_iam::input::AddRoleToInstanceProfileInput
source · #[non_exhaustive]pub struct AddRoleToInstanceProfileInput { /* private fields */ }Implementations§
source§impl AddRoleToInstanceProfileInput
impl AddRoleToInstanceProfileInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddRoleToInstanceProfile, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddRoleToInstanceProfile, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<AddRoleToInstanceProfile>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AddRoleToInstanceProfileInput.
source§impl AddRoleToInstanceProfileInput
impl AddRoleToInstanceProfileInput
sourcepub fn instance_profile_name(&self) -> Option<&str>
pub fn instance_profile_name(&self) -> Option<&str>
The name of the instance profile to update.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
sourcepub fn role_name(&self) -> Option<&str>
pub fn role_name(&self) -> Option<&str>
The name of the role to add.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
Trait Implementations§
source§impl Clone for AddRoleToInstanceProfileInput
impl Clone for AddRoleToInstanceProfileInput
source§fn clone(&self) -> AddRoleToInstanceProfileInput
fn clone(&self) -> AddRoleToInstanceProfileInput
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 PartialEq<AddRoleToInstanceProfileInput> for AddRoleToInstanceProfileInput
impl PartialEq<AddRoleToInstanceProfileInput> for AddRoleToInstanceProfileInput
source§fn eq(&self, other: &AddRoleToInstanceProfileInput) -> bool
fn eq(&self, other: &AddRoleToInstanceProfileInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.