update_account_settings
¶
update_account_settings(
*,
config_overrides: Optional[ProtonClientConfig] = None,
pipeline_service_role_arn: Optional[RoleArnOrEmptyString] = None,
pipeline_provisioning_repository: Optional[RepositoryBranchInput] = None,
delete_pipeline_provisioning_repository: Optional[bool] = None,
pipeline_codebuild_role_arn: Optional[RoleArnOrEmptyString] = None,
) -> UpdateAccountSettingsOutput
Update Proton settings that are used for multiple services in the Amazon Web Services account.
Parameters:
-
pipeline_service_role_arn(Optional[RoleArnOrEmptyString], default:None) –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.
-
pipeline_provisioning_repository(Optional[RepositoryBranchInput], default:None) –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
deletePipelineProvisioningRepositorytotrue, and don't setpipelineProvisioningRepository. -
delete_pipeline_provisioning_repository(Optional[bool], default:None) –Set to
trueto remove a configured pipeline repository from the account settings. Don't set this field if you are updating the configured pipeline repository. -
pipeline_codebuild_role_arn(Optional[RoleArnOrEmptyString], default:None) –The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.
Raises:
-
AccessDeniedException–There isn't sufficient access for performing this action.
-
ConflictException–The request couldn't be made due to a conflicting operation or resource.
-
InternalServerException–The request failed to register with the service.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input is invalid or an out-of-range value was supplied for the input parameter.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_proton/_services/proton.py
1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 | |