libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk
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.ElasticBeanstalk.AssociateEnvironmentOperationsRole

Description

Add or change the operations role used by an environment. After this call is made, Elastic Beanstalk uses the associated operations role for permissions to downstream services during subsequent calls acting on this environment. For more information, see Operations roles in the AWS Elastic Beanstalk Developer Guide.

Synopsis

Creating a Request

data AssociateEnvironmentOperationsRole Source #

Request to add or change the operations role used by an environment.

See: newAssociateEnvironmentOperationsRole smart constructor.

Constructors

AssociateEnvironmentOperationsRole' 

Fields

  • environmentName :: Text

    The name of the environment to which to set the operations role.

  • operationsRole :: Text

    The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.

Instances

Instances details
Eq AssociateEnvironmentOperationsRole Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

Read AssociateEnvironmentOperationsRole Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

Show AssociateEnvironmentOperationsRole Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

Generic AssociateEnvironmentOperationsRole Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

Associated Types

type Rep AssociateEnvironmentOperationsRole :: Type -> Type #

NFData AssociateEnvironmentOperationsRole Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

Hashable AssociateEnvironmentOperationsRole Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

AWSRequest AssociateEnvironmentOperationsRole Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

ToHeaders AssociateEnvironmentOperationsRole Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

ToPath AssociateEnvironmentOperationsRole Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

ToQuery AssociateEnvironmentOperationsRole Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

type Rep AssociateEnvironmentOperationsRole Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

type Rep AssociateEnvironmentOperationsRole = D1 ('MetaData "AssociateEnvironmentOperationsRole" "Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "AssociateEnvironmentOperationsRole'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "operationsRole") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse AssociateEnvironmentOperationsRole Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

newAssociateEnvironmentOperationsRole Source #

Create a value of AssociateEnvironmentOperationsRole 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:environmentName:AssociateEnvironmentOperationsRole', associateEnvironmentOperationsRole_environmentName - The name of the environment to which to set the operations role.

$sel:operationsRole:AssociateEnvironmentOperationsRole', associateEnvironmentOperationsRole_operationsRole - The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.

Request Lenses

associateEnvironmentOperationsRole_environmentName :: Lens' AssociateEnvironmentOperationsRole Text Source #

The name of the environment to which to set the operations role.

associateEnvironmentOperationsRole_operationsRole :: Lens' AssociateEnvironmentOperationsRole Text Source #

The Amazon Resource Name (ARN) of an existing IAM role to be used as the environment's operations role.

Destructuring the Response

data AssociateEnvironmentOperationsRoleResponse Source #

Instances

Instances details
Eq AssociateEnvironmentOperationsRoleResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

Read AssociateEnvironmentOperationsRoleResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

Show AssociateEnvironmentOperationsRoleResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

Generic AssociateEnvironmentOperationsRoleResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

NFData AssociateEnvironmentOperationsRoleResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

type Rep AssociateEnvironmentOperationsRoleResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole

type Rep AssociateEnvironmentOperationsRoleResponse = D1 ('MetaData "AssociateEnvironmentOperationsRoleResponse" "Amazonka.ElasticBeanstalk.AssociateEnvironmentOperationsRole" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "AssociateEnvironmentOperationsRoleResponse'" 'PrefixI 'False) (U1 :: Type -> Type))