Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data AssociateEnvironmentOperationsRole = AssociateEnvironmentOperationsRole' {}
- newAssociateEnvironmentOperationsRole :: Text -> Text -> AssociateEnvironmentOperationsRole
- associateEnvironmentOperationsRole_environmentName :: Lens' AssociateEnvironmentOperationsRole Text
- associateEnvironmentOperationsRole_operationsRole :: Lens' AssociateEnvironmentOperationsRole Text
- data AssociateEnvironmentOperationsRoleResponse = AssociateEnvironmentOperationsRoleResponse' {
- newAssociateEnvironmentOperationsRoleResponse :: AssociateEnvironmentOperationsRoleResponse
Creating a Request
data AssociateEnvironmentOperationsRole Source #
Request to add or change the operations role used by an environment.
See: newAssociateEnvironmentOperationsRole
smart constructor.
AssociateEnvironmentOperationsRole' | |
|
Instances
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 #
See: newAssociateEnvironmentOperationsRoleResponse
smart constructor.
Instances
Eq AssociateEnvironmentOperationsRoleResponse Source # | |
Read AssociateEnvironmentOperationsRoleResponse Source # | |
Show AssociateEnvironmentOperationsRoleResponse Source # | |
Generic AssociateEnvironmentOperationsRoleResponse Source # | |
NFData AssociateEnvironmentOperationsRoleResponse Source # | |
type Rep AssociateEnvironmentOperationsRoleResponse Source # | |
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)) |
newAssociateEnvironmentOperationsRoleResponse :: AssociateEnvironmentOperationsRoleResponse Source #
Create a value of AssociateEnvironmentOperationsRoleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.