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 |
Modifies the list of Identity and Access Management (IAM) roles that can be used by the cluster to access other Amazon Web Services services.
A cluster can have up to 10 IAM roles associated at any time.
Synopsis
- data ModifyClusterIamRoles = ModifyClusterIamRoles' {
- removeIamRoles :: Maybe [Text]
- addIamRoles :: Maybe [Text]
- clusterIdentifier :: Text
- newModifyClusterIamRoles :: Text -> ModifyClusterIamRoles
- modifyClusterIamRoles_removeIamRoles :: Lens' ModifyClusterIamRoles (Maybe [Text])
- modifyClusterIamRoles_addIamRoles :: Lens' ModifyClusterIamRoles (Maybe [Text])
- modifyClusterIamRoles_clusterIdentifier :: Lens' ModifyClusterIamRoles Text
- data ModifyClusterIamRolesResponse = ModifyClusterIamRolesResponse' {
- cluster :: Maybe Cluster
- httpStatus :: Int
- newModifyClusterIamRolesResponse :: Int -> ModifyClusterIamRolesResponse
- modifyClusterIamRolesResponse_cluster :: Lens' ModifyClusterIamRolesResponse (Maybe Cluster)
- modifyClusterIamRolesResponse_httpStatus :: Lens' ModifyClusterIamRolesResponse Int
Creating a Request
data ModifyClusterIamRoles Source #
See: newModifyClusterIamRoles
smart constructor.
ModifyClusterIamRoles' | |
|
Instances
newModifyClusterIamRoles Source #
Create a value of ModifyClusterIamRoles
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:removeIamRoles:ModifyClusterIamRoles'
, modifyClusterIamRoles_removeIamRoles
- Zero or more IAM roles in ARN format to disassociate from the cluster.
You can disassociate up to 10 IAM roles from a single cluster in a
single request.
$sel:addIamRoles:ModifyClusterIamRoles'
, modifyClusterIamRoles_addIamRoles
- Zero or more IAM roles to associate with the cluster. The roles must be
in their Amazon Resource Name (ARN) format. You can associate up to 10
IAM roles with a single cluster in a single request.
$sel:clusterIdentifier:ModifyClusterIamRoles'
, modifyClusterIamRoles_clusterIdentifier
- The unique identifier of the cluster for which you want to associate or
disassociate IAM roles.
Request Lenses
modifyClusterIamRoles_removeIamRoles :: Lens' ModifyClusterIamRoles (Maybe [Text]) Source #
Zero or more IAM roles in ARN format to disassociate from the cluster. You can disassociate up to 10 IAM roles from a single cluster in a single request.
modifyClusterIamRoles_addIamRoles :: Lens' ModifyClusterIamRoles (Maybe [Text]) Source #
Zero or more IAM roles to associate with the cluster. The roles must be in their Amazon Resource Name (ARN) format. You can associate up to 10 IAM roles with a single cluster in a single request.
modifyClusterIamRoles_clusterIdentifier :: Lens' ModifyClusterIamRoles Text Source #
The unique identifier of the cluster for which you want to associate or disassociate IAM roles.
Destructuring the Response
data ModifyClusterIamRolesResponse Source #
See: newModifyClusterIamRolesResponse
smart constructor.
ModifyClusterIamRolesResponse' | |
|
Instances
newModifyClusterIamRolesResponse Source #
Create a value of ModifyClusterIamRolesResponse
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:cluster:ModifyClusterIamRolesResponse'
, modifyClusterIamRolesResponse_cluster
- Undocumented member.
$sel:httpStatus:ModifyClusterIamRolesResponse'
, modifyClusterIamRolesResponse_httpStatus
- The response's http status code.
Response Lenses
modifyClusterIamRolesResponse_cluster :: Lens' ModifyClusterIamRolesResponse (Maybe Cluster) Source #
Undocumented member.
modifyClusterIamRolesResponse_httpStatus :: Lens' ModifyClusterIamRolesResponse Int Source #
The response's http status code.