| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Proton.UpdateEnvironmentAccountConnection
Description
In an environment account, update an environment account connection to use a new IAM role.
For more information, see Environment account connections in the Proton User guide.
Synopsis
- data UpdateEnvironmentAccountConnection = UpdateEnvironmentAccountConnection' {}
- newUpdateEnvironmentAccountConnection :: Text -> UpdateEnvironmentAccountConnection
- updateEnvironmentAccountConnection_codebuildRoleArn :: Lens' UpdateEnvironmentAccountConnection (Maybe Text)
- updateEnvironmentAccountConnection_componentRoleArn :: Lens' UpdateEnvironmentAccountConnection (Maybe Text)
- updateEnvironmentAccountConnection_roleArn :: Lens' UpdateEnvironmentAccountConnection (Maybe Text)
- updateEnvironmentAccountConnection_id :: 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.
Constructors
| UpdateEnvironmentAccountConnection' | |
Fields
| |
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:
UpdateEnvironmentAccountConnection, updateEnvironmentAccountConnection_codebuildRoleArn - The Amazon Resource Name (ARN) of an IAM service role in the environment
account. Proton uses this role to provision infrastructure resources
using CodeBuild-based provisioning in the associated environment
account.
UpdateEnvironmentAccountConnection, updateEnvironmentAccountConnection_componentRoleArn - The Amazon Resource Name (ARN) of the IAM service role that Proton uses
when provisioning directly defined components in the associated
environment account. It determines the scope of infrastructure that a
component can provision in the account.
The environment account connection must have a componentRoleArn to
allow directly defined components to be associated with any environments
running in the account.
For more information about components, see Proton components in the Proton User Guide.
UpdateEnvironmentAccountConnection, updateEnvironmentAccountConnection_roleArn - The Amazon Resource Name (ARN) of the IAM service role that's
associated with the environment account connection to update.
UpdateEnvironmentAccountConnection, updateEnvironmentAccountConnection_id - The ID of the environment account connection to update.
Request Lenses
updateEnvironmentAccountConnection_codebuildRoleArn :: Lens' UpdateEnvironmentAccountConnection (Maybe Text) Source #
The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using CodeBuild-based provisioning in the associated environment account.
updateEnvironmentAccountConnection_componentRoleArn :: Lens' UpdateEnvironmentAccountConnection (Maybe Text) Source #
The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account.
The environment account connection must have a componentRoleArn to
allow directly defined components to be associated with any environments
running in the account.
For more information about components, see Proton components in the Proton User Guide.
updateEnvironmentAccountConnection_roleArn :: Lens' UpdateEnvironmentAccountConnection (Maybe Text) Source #
The Amazon Resource Name (ARN) of the IAM service role that's associated with the environment account connection to update.
updateEnvironmentAccountConnection_id :: Lens' UpdateEnvironmentAccountConnection Text Source #
The ID of the environment account connection to update.
Destructuring the Response
data UpdateEnvironmentAccountConnectionResponse Source #
See: newUpdateEnvironmentAccountConnectionResponse smart constructor.
Constructors
| UpdateEnvironmentAccountConnectionResponse' | |
Fields
| |
Instances
newUpdateEnvironmentAccountConnectionResponse Source #
Arguments
| :: 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
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 Proton.