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 |
Update Proton settings that are used for multiple services in the Amazon Web Services account.
Synopsis
- data UpdateAccountSettings = UpdateAccountSettings' {}
- newUpdateAccountSettings :: UpdateAccountSettings
- updateAccountSettings_deletePipelineProvisioningRepository :: Lens' UpdateAccountSettings (Maybe Bool)
- updateAccountSettings_pipelineCodebuildRoleArn :: Lens' UpdateAccountSettings (Maybe Text)
- updateAccountSettings_pipelineProvisioningRepository :: Lens' UpdateAccountSettings (Maybe RepositoryBranchInput)
- updateAccountSettings_pipelineServiceRoleArn :: Lens' UpdateAccountSettings (Maybe Text)
- data UpdateAccountSettingsResponse = UpdateAccountSettingsResponse' {}
- newUpdateAccountSettingsResponse :: Int -> AccountSettings -> UpdateAccountSettingsResponse
- updateAccountSettingsResponse_httpStatus :: Lens' UpdateAccountSettingsResponse Int
- updateAccountSettingsResponse_accountSettings :: Lens' UpdateAccountSettingsResponse AccountSettings
Creating a Request
data UpdateAccountSettings Source #
See: newUpdateAccountSettings
smart constructor.
UpdateAccountSettings' | |
|
Instances
newUpdateAccountSettings :: UpdateAccountSettings Source #
Create a value of UpdateAccountSettings
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:deletePipelineProvisioningRepository:UpdateAccountSettings'
, updateAccountSettings_deletePipelineProvisioningRepository
- Set to true
to remove a configured pipeline repository from the
account settings. Don't set this field if you are updating the
configured pipeline repository.
UpdateAccountSettings
, updateAccountSettings_pipelineCodebuildRoleArn
- The Amazon Resource Name (ARN) of the service role you want to use for
provisioning pipelines. Proton assumes this role for CodeBuild-based
provisioning.
UpdateAccountSettings
, updateAccountSettings_pipelineProvisioningRepository
- A linked repository for pipeline provisioning. Specify it if you have
environments configured for self-managed provisioning with services that
include pipelines. A linked repository is a repository that has been
registered with Proton. For more information, see CreateRepository.
To remove a previously configured repository, set
deletePipelineProvisioningRepository
to true
, and don't set
pipelineProvisioningRepository
.
UpdateAccountSettings
, updateAccountSettings_pipelineServiceRoleArn
- The Amazon Resource Name (ARN) of the service role you want to use for
provisioning pipelines. Assumed by Proton for Amazon Web
Services-managed provisioning, and by customer-owned automation for
self-managed provisioning.
To remove a previously configured ARN, specify an empty string.
Request Lenses
updateAccountSettings_deletePipelineProvisioningRepository :: Lens' UpdateAccountSettings (Maybe Bool) Source #
Set to true
to remove a configured pipeline repository from the
account settings. Don't set this field if you are updating the
configured pipeline repository.
updateAccountSettings_pipelineCodebuildRoleArn :: Lens' UpdateAccountSettings (Maybe Text) Source #
The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.
updateAccountSettings_pipelineProvisioningRepository :: Lens' UpdateAccountSettings (Maybe RepositoryBranchInput) Source #
A linked repository for pipeline provisioning. Specify it if you have environments configured for self-managed provisioning with services that include pipelines. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
To remove a previously configured repository, set
deletePipelineProvisioningRepository
to true
, and don't set
pipelineProvisioningRepository
.
updateAccountSettings_pipelineServiceRoleArn :: Lens' UpdateAccountSettings (Maybe Text) Source #
The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Assumed by Proton for Amazon Web Services-managed provisioning, and by customer-owned automation for self-managed provisioning.
To remove a previously configured ARN, specify an empty string.
Destructuring the Response
data UpdateAccountSettingsResponse Source #
See: newUpdateAccountSettingsResponse
smart constructor.
UpdateAccountSettingsResponse' | |
|
Instances
newUpdateAccountSettingsResponse Source #
Create a value of UpdateAccountSettingsResponse
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:UpdateAccountSettingsResponse'
, updateAccountSettingsResponse_httpStatus
- The response's http status code.
$sel:accountSettings:UpdateAccountSettingsResponse'
, updateAccountSettingsResponse_accountSettings
- The Proton pipeline service role and repository data shared across the
Amazon Web Services account.
Response Lenses
updateAccountSettingsResponse_httpStatus :: Lens' UpdateAccountSettingsResponse Int Source #
The response's http status code.
updateAccountSettingsResponse_accountSettings :: Lens' UpdateAccountSettingsResponse AccountSettings Source #
The Proton pipeline service role and repository data shared across the Amazon Web Services account.