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 |
In an environment account, update an environment account connection to use a new IAM role.
For more information, see Environment account connections in the AWS Proton Administrator guide.
Synopsis
- data UpdateEnvironmentAccountConnection = UpdateEnvironmentAccountConnection' {}
- newUpdateEnvironmentAccountConnection :: Text -> Text -> UpdateEnvironmentAccountConnection
- updateEnvironmentAccountConnection_id :: Lens' UpdateEnvironmentAccountConnection Text
- updateEnvironmentAccountConnection_roleArn :: Lens' UpdateEnvironmentAccountConnection Text
- data UpdateEnvironmentAccountConnectionResponse = UpdateEnvironmentAccountConnectionResponse' {}
- newUpdateEnvironmentAccountConnectionResponse :: Int -> EnvironmentAccountConnection -> UpdateEnvironmentAccountConnectionResponse
- updateEnvironmentAccountConnectionResponse_httpStatus :: Lens' UpdateEnvironmentAccountConnectionResponse Int
- updateEnvironmentAccountConnectionResponse_environmentAccountConnection :: Lens' UpdateEnvironmentAccountConnectionResponse EnvironmentAccountConnection
Creating a Request
data UpdateEnvironmentAccountConnection Source #
See: newUpdateEnvironmentAccountConnection
smart constructor.
Instances
newUpdateEnvironmentAccountConnection Source #
Create a value of UpdateEnvironmentAccountConnection
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:id:UpdateEnvironmentAccountConnection'
, updateEnvironmentAccountConnection_id
- The ID of the environment account connection to update.
$sel:roleArn:UpdateEnvironmentAccountConnection'
, updateEnvironmentAccountConnection_roleArn
- The Amazon Resource Name (ARN) of the IAM service role that is
associated with the environment account connection to update.
Request Lenses
updateEnvironmentAccountConnection_id :: Lens' UpdateEnvironmentAccountConnection Text Source #
The ID of the environment account connection to update.
updateEnvironmentAccountConnection_roleArn :: Lens' UpdateEnvironmentAccountConnection Text Source #
The Amazon Resource Name (ARN) of the IAM service role that is associated with the environment account connection to update.
Destructuring the Response
data UpdateEnvironmentAccountConnectionResponse Source #
See: newUpdateEnvironmentAccountConnectionResponse
smart constructor.
UpdateEnvironmentAccountConnectionResponse' | |
|
Instances
newUpdateEnvironmentAccountConnectionResponse Source #
:: Int | |
-> EnvironmentAccountConnection |
|
-> UpdateEnvironmentAccountConnectionResponse |
Create a value of UpdateEnvironmentAccountConnectionResponse
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:UpdateEnvironmentAccountConnectionResponse'
, updateEnvironmentAccountConnectionResponse_httpStatus
- The response's http status code.
$sel:environmentAccountConnection:UpdateEnvironmentAccountConnectionResponse'
, updateEnvironmentAccountConnectionResponse_environmentAccountConnection
- The environment account connection detail data that's returned by AWS
Proton.
Response Lenses
updateEnvironmentAccountConnectionResponse_httpStatus :: Lens' UpdateEnvironmentAccountConnectionResponse Int Source #
The response's http status code.
updateEnvironmentAccountConnectionResponse_environmentAccountConnection :: Lens' UpdateEnvironmentAccountConnectionResponse EnvironmentAccountConnection Source #
The environment account connection detail data that's returned by AWS Proton.