libZSservicesZSamazonka-ssmZSamazonka-ssm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SSM.UpdateManagedInstanceRole

Description

Changes the Identity and Access Management (IAM) role that is assigned to the on-premises instance or virtual machines (VM). IAM roles are first assigned to these hybrid instances during the activation process. For more information, see CreateActivation.

Synopsis

Creating a Request

data UpdateManagedInstanceRole Source #

See: newUpdateManagedInstanceRole smart constructor.

Constructors

UpdateManagedInstanceRole' 

Fields

  • instanceId :: Text

    The ID of the managed instance where you want to update the role.

  • iamRole :: Text

    The IAM role you want to assign or change.

Instances

Instances details
Eq UpdateManagedInstanceRole Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

Read UpdateManagedInstanceRole Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

Show UpdateManagedInstanceRole Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

Generic UpdateManagedInstanceRole Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

Associated Types

type Rep UpdateManagedInstanceRole :: Type -> Type #

NFData UpdateManagedInstanceRole Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

Hashable UpdateManagedInstanceRole Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

ToJSON UpdateManagedInstanceRole Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

AWSRequest UpdateManagedInstanceRole Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

ToHeaders UpdateManagedInstanceRole Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

ToPath UpdateManagedInstanceRole Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

ToQuery UpdateManagedInstanceRole Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

type Rep UpdateManagedInstanceRole Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

type Rep UpdateManagedInstanceRole = D1 ('MetaData "UpdateManagedInstanceRole" "Amazonka.SSM.UpdateManagedInstanceRole" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "UpdateManagedInstanceRole'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "iamRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse UpdateManagedInstanceRole Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

newUpdateManagedInstanceRole Source #

Create a value of UpdateManagedInstanceRole with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:instanceId:UpdateManagedInstanceRole', updateManagedInstanceRole_instanceId - The ID of the managed instance where you want to update the role.

$sel:iamRole:UpdateManagedInstanceRole', updateManagedInstanceRole_iamRole - The IAM role you want to assign or change.

Request Lenses

updateManagedInstanceRole_instanceId :: Lens' UpdateManagedInstanceRole Text Source #

The ID of the managed instance where you want to update the role.

updateManagedInstanceRole_iamRole :: Lens' UpdateManagedInstanceRole Text Source #

The IAM role you want to assign or change.

Destructuring the Response

data UpdateManagedInstanceRoleResponse Source #

See: newUpdateManagedInstanceRoleResponse smart constructor.

Constructors

UpdateManagedInstanceRoleResponse' 

Fields

Instances

Instances details
Eq UpdateManagedInstanceRoleResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

Read UpdateManagedInstanceRoleResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

Show UpdateManagedInstanceRoleResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

Generic UpdateManagedInstanceRoleResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

Associated Types

type Rep UpdateManagedInstanceRoleResponse :: Type -> Type #

NFData UpdateManagedInstanceRoleResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

type Rep UpdateManagedInstanceRoleResponse Source # 
Instance details

Defined in Amazonka.SSM.UpdateManagedInstanceRole

type Rep UpdateManagedInstanceRoleResponse = D1 ('MetaData "UpdateManagedInstanceRoleResponse" "Amazonka.SSM.UpdateManagedInstanceRole" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "UpdateManagedInstanceRoleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateManagedInstanceRoleResponse Source #

Create a value of UpdateManagedInstanceRoleResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateManagedInstanceRoleResponse', updateManagedInstanceRoleResponse_httpStatus - The response's http status code.

Response Lenses