cdk-docker-image-deployment 0.0.72 → 0.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +9 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/customer-profiles-2020-08-15.min.json +35 -6
- package/node_modules/aws-sdk/apis/lakeformation-2017-03-31.min.json +24 -19
- package/node_modules/aws-sdk/apis/proton-2020-07-20.min.json +186 -179
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +3 -3
- package/node_modules/aws-sdk/apis/workdocs-2016-05-01.min.json +106 -41
- package/node_modules/aws-sdk/apis/xray-2016-04-12.min.json +4 -0
- package/node_modules/aws-sdk/clients/customerprofiles.d.ts +39 -4
- package/node_modules/aws-sdk/clients/lakeformation.d.ts +11 -3
- package/node_modules/aws-sdk/clients/managedblockchain.d.ts +6 -6
- package/node_modules/aws-sdk/clients/proton.d.ts +66 -33
- package/node_modules/aws-sdk/clients/rds.d.ts +9 -5
- package/node_modules/aws-sdk/clients/workdocs.d.ts +52 -7
- package/node_modules/aws-sdk/clients/xray.d.ts +10 -2
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +7 -7
- package/node_modules/aws-sdk/dist/aws-sdk.js +116 -47
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +15 -15
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +4 -4
|
@@ -61,11 +61,11 @@ declare class Proton extends Service {
|
|
|
61
61
|
*/
|
|
62
62
|
createComponent(callback?: (err: AWSError, data: Proton.Types.CreateComponentOutput) => void): Request<Proton.Types.CreateComponentOutput, AWSError>;
|
|
63
63
|
/**
|
|
64
|
-
* Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be shared across services. You can provision environments using the following methods:
|
|
64
|
+
* Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be shared across services. You can provision environments using the following methods: Amazon Web Services-managed provisioning – Proton makes direct calls to provision your resources. Self-managed provisioning – Proton makes pull requests on your repository to provide compiled infrastructure as code (IaC) files that your IaC engine uses to provision resources. CodeBuild-based provisioning – Proton uses CodeBuild to run shell commands that you provide. Your commands can read inputs that Proton provides, and are responsible for provisioning or deprovisioning infrastructure and generating output values. For more information, see Environments and Provisioning methods in the Proton User Guide.
|
|
65
65
|
*/
|
|
66
66
|
createEnvironment(params: Proton.Types.CreateEnvironmentInput, callback?: (err: AWSError, data: Proton.Types.CreateEnvironmentOutput) => void): Request<Proton.Types.CreateEnvironmentOutput, AWSError>;
|
|
67
67
|
/**
|
|
68
|
-
* Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be shared across services. You can provision environments using the following methods:
|
|
68
|
+
* Deploy a new environment. An Proton environment is created from an environment template that defines infrastructure and resources that can be shared across services. You can provision environments using the following methods: Amazon Web Services-managed provisioning – Proton makes direct calls to provision your resources. Self-managed provisioning – Proton makes pull requests on your repository to provide compiled infrastructure as code (IaC) files that your IaC engine uses to provision resources. CodeBuild-based provisioning – Proton uses CodeBuild to run shell commands that you provide. Your commands can read inputs that Proton provides, and are responsible for provisioning or deprovisioning infrastructure and generating output values. For more information, see Environments and Provisioning methods in the Proton User Guide.
|
|
69
69
|
*/
|
|
70
70
|
createEnvironment(callback?: (err: AWSError, data: Proton.Types.CreateEnvironmentOutput) => void): Request<Proton.Types.CreateEnvironmentOutput, AWSError>;
|
|
71
71
|
/**
|
|
@@ -485,11 +485,11 @@ declare class Proton extends Service {
|
|
|
485
485
|
*/
|
|
486
486
|
listTagsForResource(callback?: (err: AWSError, data: Proton.Types.ListTagsForResourceOutput) => void): Request<Proton.Types.ListTagsForResourceOutput, AWSError>;
|
|
487
487
|
/**
|
|
488
|
-
* Notify Proton of
|
|
488
|
+
* Notify Proton of the following information related to a provisioned resource (environment, service instance, or service pipeline): For CodeBuild-based provisioning, provide your provisioned resource output values to Proton. For self-managed provisioning, notify Proton about the status of your provisioned resource. To disambiguate between different deployments of the same resource, set deploymentId to a unique deployment ID of your choice. </li> </ul>
|
|
489
489
|
*/
|
|
490
490
|
notifyResourceDeploymentStatusChange(params: Proton.Types.NotifyResourceDeploymentStatusChangeInput, callback?: (err: AWSError, data: Proton.Types.NotifyResourceDeploymentStatusChangeOutput) => void): Request<Proton.Types.NotifyResourceDeploymentStatusChangeOutput, AWSError>;
|
|
491
491
|
/**
|
|
492
|
-
* Notify Proton of
|
|
492
|
+
* Notify Proton of the following information related to a provisioned resource (environment, service instance, or service pipeline): For CodeBuild-based provisioning, provide your provisioned resource output values to Proton. For self-managed provisioning, notify Proton about the status of your provisioned resource. To disambiguate between different deployments of the same resource, set deploymentId to a unique deployment ID of your choice. </li> </ul>
|
|
493
493
|
*/
|
|
494
494
|
notifyResourceDeploymentStatusChange(callback?: (err: AWSError, data: Proton.Types.NotifyResourceDeploymentStatusChangeOutput) => void): Request<Proton.Types.NotifyResourceDeploymentStatusChangeOutput, AWSError>;
|
|
495
495
|
/**
|
|
@@ -533,11 +533,11 @@ declare class Proton extends Service {
|
|
|
533
533
|
*/
|
|
534
534
|
updateComponent(callback?: (err: AWSError, data: Proton.Types.UpdateComponentOutput) => void): Request<Proton.Types.UpdateComponentOutput, AWSError>;
|
|
535
535
|
/**
|
|
536
|
-
* Update an environment. If the environment is associated with an environment account connection, don't update or include the protonServiceRoleArn and provisioningRepository
|
|
536
|
+
* Update an environment. If the environment is associated with an environment account connection, don't update or include the protonServiceRoleArn, codebuildRoleArn, and provisioningRepository parameters. You can only update to a new environment account connection if that connection was created in the same environment account that the current environment account connection was created in. The account connection must also be associated with the current environment. If the environment isn't associated with an environment account connection, don't update or include the environmentAccountConnectionId parameter. You can't update or connect the environment to an environment account connection if it isn't already associated with an environment connection. You can update either environmentAccountConnectionId or one or more of protonServiceRoleArn, codebuildRoleArn, and provisioningRepository. If the environment was configured for Amazon Web Services-managed or CodeBuild-based provisioning, omit the provisioningRepository parameter. If the environment was configured for self-managed provisioning, specify the provisioningRepository parameter and omit the protonServiceRoleArn, codebuildRoleArn, and provisioningRepository parameters. For more information, see Environments and Provisioning methods in the Proton User Guide. There are four modes for updating an environment. The deploymentType field defines the mode. NONE In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated. CURRENT_VERSION In this mode, the environment is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include minor or major version parameters when you use this deployment-type. MINOR_VERSION In this mode, the environment is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use. MAJOR_VERSION In this mode, the environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that's higher than the major version in use and a minor version.
|
|
537
537
|
*/
|
|
538
538
|
updateEnvironment(params: Proton.Types.UpdateEnvironmentInput, callback?: (err: AWSError, data: Proton.Types.UpdateEnvironmentOutput) => void): Request<Proton.Types.UpdateEnvironmentOutput, AWSError>;
|
|
539
539
|
/**
|
|
540
|
-
* Update an environment. If the environment is associated with an environment account connection, don't update or include the protonServiceRoleArn and provisioningRepository
|
|
540
|
+
* Update an environment. If the environment is associated with an environment account connection, don't update or include the protonServiceRoleArn, codebuildRoleArn, and provisioningRepository parameters. You can only update to a new environment account connection if that connection was created in the same environment account that the current environment account connection was created in. The account connection must also be associated with the current environment. If the environment isn't associated with an environment account connection, don't update or include the environmentAccountConnectionId parameter. You can't update or connect the environment to an environment account connection if it isn't already associated with an environment connection. You can update either environmentAccountConnectionId or one or more of protonServiceRoleArn, codebuildRoleArn, and provisioningRepository. If the environment was configured for Amazon Web Services-managed or CodeBuild-based provisioning, omit the provisioningRepository parameter. If the environment was configured for self-managed provisioning, specify the provisioningRepository parameter and omit the protonServiceRoleArn, codebuildRoleArn, and provisioningRepository parameters. For more information, see Environments and Provisioning methods in the Proton User Guide. There are four modes for updating an environment. The deploymentType field defines the mode. NONE In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated. CURRENT_VERSION In this mode, the environment is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include minor or major version parameters when you use this deployment-type. MINOR_VERSION In this mode, the environment is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use. MAJOR_VERSION In this mode, the environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that's higher than the major version in use and a minor version.
|
|
541
541
|
*/
|
|
542
542
|
updateEnvironment(callback?: (err: AWSError, data: Proton.Types.UpdateEnvironmentOutput) => void): Request<Proton.Types.UpdateEnvironmentOutput, AWSError>;
|
|
543
543
|
/**
|
|
@@ -707,14 +707,18 @@ declare namespace Proton {
|
|
|
707
707
|
environmentAccountConnection: EnvironmentAccountConnection;
|
|
708
708
|
}
|
|
709
709
|
export interface AccountSettings {
|
|
710
|
+
/**
|
|
711
|
+
* The Amazon Resource Name (ARN) of the service role that Proton uses for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.
|
|
712
|
+
*/
|
|
713
|
+
pipelineCodebuildRoleArn?: RoleArnOrEmptyString;
|
|
710
714
|
/**
|
|
711
715
|
* The linked repository for pipeline provisioning. Required 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.
|
|
712
716
|
*/
|
|
713
717
|
pipelineProvisioningRepository?: RepositoryBranch;
|
|
714
718
|
/**
|
|
715
|
-
* The Amazon Resource Name (ARN) of the service role
|
|
719
|
+
* The Amazon Resource Name (ARN) of the service role that Proton uses for provisioning pipelines. Proton assumes this role for Amazon Web Services-managed provisioning.
|
|
716
720
|
*/
|
|
717
|
-
pipelineServiceRoleArn?:
|
|
721
|
+
pipelineServiceRoleArn?: RoleArnOrEmptyString;
|
|
718
722
|
}
|
|
719
723
|
export type Arn = string;
|
|
720
724
|
export type AwsAccountId = string;
|
|
@@ -947,9 +951,13 @@ declare namespace Proton {
|
|
|
947
951
|
*/
|
|
948
952
|
clientToken?: ClientToken;
|
|
949
953
|
/**
|
|
950
|
-
* The Amazon Resource Name (ARN) of
|
|
954
|
+
* 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.
|
|
951
955
|
*/
|
|
952
|
-
|
|
956
|
+
codebuildRoleArn?: RoleArn;
|
|
957
|
+
/**
|
|
958
|
+
* The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision directly defined components in the associated environment account. It determines the scope of infrastructure that a component can provision in the account. You must specify componentRoleArn to allow directly defined components to be associated with any environments running in this account. For more information about components, see Proton components in the Proton User Guide.
|
|
959
|
+
*/
|
|
960
|
+
componentRoleArn?: RoleArn;
|
|
953
961
|
/**
|
|
954
962
|
* The name of the Proton environment that's created in the associated management account.
|
|
955
963
|
*/
|
|
@@ -959,9 +967,9 @@ declare namespace Proton {
|
|
|
959
967
|
*/
|
|
960
968
|
managementAccountId: AwsAccountId;
|
|
961
969
|
/**
|
|
962
|
-
* The Amazon Resource Name (ARN) of
|
|
970
|
+
* The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using Amazon Web Services-managed provisioning and CloudFormation in the associated environment account.
|
|
963
971
|
*/
|
|
964
|
-
roleArn:
|
|
972
|
+
roleArn: RoleArn;
|
|
965
973
|
/**
|
|
966
974
|
* An optional list of metadata items that you can associate with the Proton environment account connection. A tag is a key-value pair. For more information, see Proton resources and tagging in the Proton User Guide.
|
|
967
975
|
*/
|
|
@@ -974,16 +982,20 @@ declare namespace Proton {
|
|
|
974
982
|
environmentAccountConnection: EnvironmentAccountConnection;
|
|
975
983
|
}
|
|
976
984
|
export interface CreateEnvironmentInput {
|
|
985
|
+
/**
|
|
986
|
+
* The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf. To use CodeBuild-based provisioning for the environment or for any service instance running in the environment, specify either the environmentAccountConnectionId or codebuildRoleArn parameter.
|
|
987
|
+
*/
|
|
988
|
+
codebuildRoleArn?: RoleArn;
|
|
977
989
|
/**
|
|
978
990
|
* The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision. You must specify componentRoleArn to allow directly defined components to be associated with this environment. For more information about components, see Proton components in the Proton User Guide.
|
|
979
991
|
*/
|
|
980
|
-
componentRoleArn?:
|
|
992
|
+
componentRoleArn?: RoleArn;
|
|
981
993
|
/**
|
|
982
994
|
* A description of the environment that's being created and deployed.
|
|
983
995
|
*/
|
|
984
996
|
description?: Description;
|
|
985
997
|
/**
|
|
986
|
-
* The ID of the environment account connection that you provide if you
|
|
998
|
+
* The ID of the environment account connection that you provide if you want Proton to provision infrastructure resources for your environment or for any of the service instances running in it in an environment account. For more information, see Environment account connections in the Proton User guide. If you specify the environmentAccountConnectionId parameter, don't specify protonServiceRoleArn, codebuildRoleArn, or provisioningRepository.
|
|
987
999
|
*/
|
|
988
1000
|
environmentAccountConnectionId?: EnvironmentAccountConnectionId;
|
|
989
1001
|
/**
|
|
@@ -991,11 +1003,11 @@ declare namespace Proton {
|
|
|
991
1003
|
*/
|
|
992
1004
|
name: ResourceName;
|
|
993
1005
|
/**
|
|
994
|
-
* The Amazon Resource Name (ARN) of the
|
|
1006
|
+
* The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using Amazon Web Services-managed provisioning and CloudFormation on your behalf. To use Amazon Web Services-managed provisioning for the environment or for any service instance running in the environment, specify either the environmentAccountConnectionId or protonServiceRoleArn parameter.
|
|
995
1007
|
*/
|
|
996
1008
|
protonServiceRoleArn?: Arn;
|
|
997
1009
|
/**
|
|
998
|
-
* The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository. To use self-managed provisioning for the environment
|
|
1010
|
+
* The linked repository that you use to host your rendered infrastructure templates for self-managed provisioning. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository. To use self-managed provisioning for the environment or for any service instance running in the environment, specify this parameter.
|
|
999
1011
|
*/
|
|
1000
1012
|
provisioningRepository?: RepositoryBranchInput;
|
|
1001
1013
|
/**
|
|
@@ -1424,10 +1436,14 @@ declare namespace Proton {
|
|
|
1424
1436
|
* The Amazon Resource Name (ARN) of the environment.
|
|
1425
1437
|
*/
|
|
1426
1438
|
arn: EnvironmentArn;
|
|
1439
|
+
/**
|
|
1440
|
+
* The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
|
|
1441
|
+
*/
|
|
1442
|
+
codebuildRoleArn?: RoleArn;
|
|
1427
1443
|
/**
|
|
1428
1444
|
* The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision. The environment must have a componentRoleArn to allow directly defined components to be associated with the environment. For more information about components, see Proton components in the Proton User Guide.
|
|
1429
1445
|
*/
|
|
1430
|
-
componentRoleArn?:
|
|
1446
|
+
componentRoleArn?: RoleArn;
|
|
1431
1447
|
/**
|
|
1432
1448
|
* The time when the environment was created.
|
|
1433
1449
|
*/
|
|
@@ -1445,7 +1461,7 @@ declare namespace Proton {
|
|
|
1445
1461
|
*/
|
|
1446
1462
|
description?: Description;
|
|
1447
1463
|
/**
|
|
1448
|
-
* The ID of the environment account connection that
|
|
1464
|
+
* The ID of the environment account connection that Proton uses to provision infrastructure resources in an environment account.
|
|
1449
1465
|
*/
|
|
1450
1466
|
environmentAccountConnectionId?: EnvironmentAccountConnectionId;
|
|
1451
1467
|
/**
|
|
@@ -1465,7 +1481,7 @@ declare namespace Proton {
|
|
|
1465
1481
|
*/
|
|
1466
1482
|
name: ResourceName;
|
|
1467
1483
|
/**
|
|
1468
|
-
* The Amazon Resource Name (ARN) of the
|
|
1484
|
+
* The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using Amazon Web Services-managed provisioning and CloudFormation on your behalf.
|
|
1469
1485
|
*/
|
|
1470
1486
|
protonServiceRoleArn?: Arn;
|
|
1471
1487
|
/**
|
|
@@ -1498,10 +1514,14 @@ declare namespace Proton {
|
|
|
1498
1514
|
* The Amazon Resource Name (ARN) of the environment account connection.
|
|
1499
1515
|
*/
|
|
1500
1516
|
arn: EnvironmentAccountConnectionArn;
|
|
1517
|
+
/**
|
|
1518
|
+
* 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.
|
|
1519
|
+
*/
|
|
1520
|
+
codebuildRoleArn?: RoleArn;
|
|
1501
1521
|
/**
|
|
1502
1522
|
* 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.
|
|
1503
1523
|
*/
|
|
1504
|
-
componentRoleArn?:
|
|
1524
|
+
componentRoleArn?: RoleArn;
|
|
1505
1525
|
/**
|
|
1506
1526
|
* The environment account that's connected to the environment account connection.
|
|
1507
1527
|
*/
|
|
@@ -1527,7 +1547,7 @@ declare namespace Proton {
|
|
|
1527
1547
|
*/
|
|
1528
1548
|
requestedAt: Timestamp;
|
|
1529
1549
|
/**
|
|
1530
|
-
* The IAM service role
|
|
1550
|
+
* The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using Amazon Web Services-managed provisioning and CloudFormation in the associated environment account.
|
|
1531
1551
|
*/
|
|
1532
1552
|
roleArn: Arn;
|
|
1533
1553
|
/**
|
|
@@ -2520,21 +2540,21 @@ declare namespace Proton {
|
|
|
2520
2540
|
export type NextToken = string;
|
|
2521
2541
|
export interface NotifyResourceDeploymentStatusChangeInput {
|
|
2522
2542
|
/**
|
|
2523
|
-
* The deployment ID for your provisioned resource.
|
|
2543
|
+
* The deployment ID for your provisioned resource. Proton uses it to disambiguate different deployments of the resource. Applicable to self-managed provisioning.
|
|
2524
2544
|
*/
|
|
2525
2545
|
deploymentId?: DeploymentId;
|
|
2526
2546
|
/**
|
|
2527
|
-
* The
|
|
2547
|
+
* The output values generated by your provisioned resource.
|
|
2528
2548
|
*/
|
|
2529
2549
|
outputs?: NotifyResourceDeploymentStatusChangeInputOutputsList;
|
|
2530
2550
|
/**
|
|
2531
|
-
* The
|
|
2551
|
+
* The Amazon Resource Name (ARN) of your provisioned resource.
|
|
2532
2552
|
*/
|
|
2533
2553
|
resourceArn: Arn;
|
|
2534
2554
|
/**
|
|
2535
2555
|
* The status of your provisioned resource.
|
|
2536
2556
|
*/
|
|
2537
|
-
status
|
|
2557
|
+
status?: ResourceDeploymentStatus;
|
|
2538
2558
|
/**
|
|
2539
2559
|
* The deployment status message for your provisioned resource.
|
|
2540
2560
|
*/
|
|
@@ -2557,7 +2577,6 @@ declare namespace Proton {
|
|
|
2557
2577
|
export type OutputKey = string;
|
|
2558
2578
|
export type OutputValueString = string;
|
|
2559
2579
|
export type OutputsList = Output[];
|
|
2560
|
-
export type PipelineRoleArn = string;
|
|
2561
2580
|
export interface ProvisionedResource {
|
|
2562
2581
|
/**
|
|
2563
2582
|
* The provisioned resource identifier.
|
|
@@ -2786,6 +2805,8 @@ declare namespace Proton {
|
|
|
2786
2805
|
*/
|
|
2787
2806
|
sha: SHA;
|
|
2788
2807
|
}
|
|
2808
|
+
export type RoleArn = string;
|
|
2809
|
+
export type RoleArnOrEmptyString = string;
|
|
2789
2810
|
export type S3Bucket = string;
|
|
2790
2811
|
export type S3Key = string;
|
|
2791
2812
|
export interface S3ObjectSource {
|
|
@@ -3299,6 +3320,10 @@ declare namespace Proton {
|
|
|
3299
3320
|
* 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.
|
|
3300
3321
|
*/
|
|
3301
3322
|
deletePipelineProvisioningRepository?: Boolean;
|
|
3323
|
+
/**
|
|
3324
|
+
* The Amazon Resource Name (ARN) of the service role you want to use for provisioning pipelines. Proton assumes this role for CodeBuild-based provisioning.
|
|
3325
|
+
*/
|
|
3326
|
+
pipelineCodebuildRoleArn?: RoleArnOrEmptyString;
|
|
3302
3327
|
/**
|
|
3303
3328
|
* 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.
|
|
3304
3329
|
*/
|
|
@@ -3306,7 +3331,7 @@ declare namespace Proton {
|
|
|
3306
3331
|
/**
|
|
3307
3332
|
* 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.
|
|
3308
3333
|
*/
|
|
3309
|
-
pipelineServiceRoleArn?:
|
|
3334
|
+
pipelineServiceRoleArn?: RoleArnOrEmptyString;
|
|
3310
3335
|
}
|
|
3311
3336
|
export interface UpdateAccountSettingsOutput {
|
|
3312
3337
|
/**
|
|
@@ -3351,18 +3376,22 @@ declare namespace Proton {
|
|
|
3351
3376
|
component: Component;
|
|
3352
3377
|
}
|
|
3353
3378
|
export interface UpdateEnvironmentAccountConnectionInput {
|
|
3379
|
+
/**
|
|
3380
|
+
* 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.
|
|
3381
|
+
*/
|
|
3382
|
+
codebuildRoleArn?: RoleArn;
|
|
3354
3383
|
/**
|
|
3355
3384
|
* 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.
|
|
3356
3385
|
*/
|
|
3357
|
-
componentRoleArn?:
|
|
3386
|
+
componentRoleArn?: RoleArn;
|
|
3358
3387
|
/**
|
|
3359
3388
|
* The ID of the environment account connection to update.
|
|
3360
3389
|
*/
|
|
3361
3390
|
id: EnvironmentAccountConnectionId;
|
|
3362
3391
|
/**
|
|
3363
|
-
* The Amazon Resource Name (ARN) of
|
|
3392
|
+
* The Amazon Resource Name (ARN) of an IAM service role in the environment account. Proton uses this role to provision infrastructure resources using Amazon Web Services-managed provisioning and CloudFormation in the associated environment account.
|
|
3364
3393
|
*/
|
|
3365
|
-
roleArn?:
|
|
3394
|
+
roleArn?: RoleArn;
|
|
3366
3395
|
}
|
|
3367
3396
|
export interface UpdateEnvironmentAccountConnectionOutput {
|
|
3368
3397
|
/**
|
|
@@ -3371,10 +3400,14 @@ declare namespace Proton {
|
|
|
3371
3400
|
environmentAccountConnection: EnvironmentAccountConnection;
|
|
3372
3401
|
}
|
|
3373
3402
|
export interface UpdateEnvironmentInput {
|
|
3403
|
+
/**
|
|
3404
|
+
* The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using CodeBuild-based provisioning on your behalf.
|
|
3405
|
+
*/
|
|
3406
|
+
codebuildRoleArn?: RoleArn;
|
|
3374
3407
|
/**
|
|
3375
3408
|
* The Amazon Resource Name (ARN) of the IAM service role that Proton uses when provisioning directly defined components in this environment. It determines the scope of infrastructure that a component can provision. The environment must have a componentRoleArn to allow directly defined components to be associated with the environment. For more information about components, see Proton components in the Proton User Guide.
|
|
3376
3409
|
*/
|
|
3377
|
-
componentRoleArn?:
|
|
3410
|
+
componentRoleArn?: RoleArn;
|
|
3378
3411
|
/**
|
|
3379
3412
|
* There are four modes for updating an environment. The deploymentType field defines the mode. NONE In this mode, a deployment doesn't occur. Only the requested metadata parameters are updated. CURRENT_VERSION In this mode, the environment is deployed and updated with the new spec that you provide. Only requested parameters are updated. Don’t include major or minor version parameters when you use this deployment-type. MINOR_VERSION In this mode, the environment is deployed and updated with the published, recommended (latest) minor version of the current major version in use, by default. You can also specify a different minor version of the current major version in use. MAJOR_VERSION In this mode, the environment is deployed and updated with the published, recommended (latest) major and minor version of the current template, by default. You can also specify a different major version that is higher than the major version in use and a minor version (optional).
|
|
3380
3413
|
*/
|
|
@@ -3384,7 +3417,7 @@ declare namespace Proton {
|
|
|
3384
3417
|
*/
|
|
3385
3418
|
description?: Description;
|
|
3386
3419
|
/**
|
|
3387
|
-
* The ID of the environment account connection. You can only update to a new environment account connection if it was created in the same environment account that the current environment account connection was created in and is associated with the current environment.
|
|
3420
|
+
* The ID of the environment account connection that you provide if you want Proton to provision infrastructure resources for your environment or for any of the service instances running in it in an environment account. For more information, see Environment account connections in the Proton User guide. You can only update to a new environment account connection if it was created in the same environment account that the current environment account connection was created in and is associated with the current environment.
|
|
3388
3421
|
*/
|
|
3389
3422
|
environmentAccountConnectionId?: EnvironmentAccountConnectionId;
|
|
3390
3423
|
/**
|
|
@@ -3392,7 +3425,7 @@ declare namespace Proton {
|
|
|
3392
3425
|
*/
|
|
3393
3426
|
name: ResourceName;
|
|
3394
3427
|
/**
|
|
3395
|
-
* The Amazon Resource Name (ARN) of the
|
|
3428
|
+
* The Amazon Resource Name (ARN) of the IAM service role that allows Proton to provision infrastructure using Amazon Web Services-managed provisioning and CloudFormation on your behalf.
|
|
3396
3429
|
*/
|
|
3397
3430
|
protonServiceRoleArn?: Arn;
|
|
3398
3431
|
/**
|
|
@@ -2093,7 +2093,7 @@ declare namespace RDS {
|
|
|
2093
2093
|
*/
|
|
2094
2094
|
NetworkType?: String;
|
|
2095
2095
|
/**
|
|
2096
|
-
* Specifies the storage throughput value for the DB instance. This setting doesn't apply to RDS Custom or Amazon Aurora.
|
|
2096
|
+
* Specifies the storage throughput value for the DB instance. This setting applies only to the gp3 storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
|
|
2097
2097
|
*/
|
|
2098
2098
|
StorageThroughput?: IntegerOptional;
|
|
2099
2099
|
}
|
|
@@ -3507,7 +3507,7 @@ declare namespace RDS {
|
|
|
3507
3507
|
*/
|
|
3508
3508
|
ActivityStreamPolicyStatus?: ActivityStreamPolicyStatus;
|
|
3509
3509
|
/**
|
|
3510
|
-
* Specifies the storage throughput for the DB instance.
|
|
3510
|
+
* Specifies the storage throughput for the DB instance. This setting applies only to the gp3 storage type.
|
|
3511
3511
|
*/
|
|
3512
3512
|
StorageThroughput?: IntegerOptional;
|
|
3513
3513
|
}
|
|
@@ -6231,7 +6231,7 @@ declare namespace RDS {
|
|
|
6231
6231
|
*/
|
|
6232
6232
|
NetworkType?: String;
|
|
6233
6233
|
/**
|
|
6234
|
-
* Specifies the storage throughput value for the DB instance. This setting doesn't apply to RDS Custom or Amazon Aurora.
|
|
6234
|
+
* Specifies the storage throughput value for the DB instance. This setting applies only to the gp3 storage type. This setting doesn't apply to RDS Custom or Amazon Aurora.
|
|
6235
6235
|
*/
|
|
6236
6236
|
StorageThroughput?: IntegerOptional;
|
|
6237
6237
|
}
|
|
@@ -7794,9 +7794,9 @@ declare namespace RDS {
|
|
|
7794
7794
|
*/
|
|
7795
7795
|
DBInstanceIdentifier: String;
|
|
7796
7796
|
/**
|
|
7797
|
-
* The identifier for the DB snapshot to restore from. Constraints: Must match the identifier of an existing DBSnapshot. If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier must be the ARN of the shared DB snapshot.
|
|
7797
|
+
* The identifier for the DB snapshot to restore from. Constraints: Must match the identifier of an existing DBSnapshot. Can't be specified when DBClusterSnapshotIdentifier is specified. Must be specified when DBClusterSnapshotIdentifier isn't specified. If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier must be the ARN of the shared DB snapshot.
|
|
7798
7798
|
*/
|
|
7799
|
-
DBSnapshotIdentifier
|
|
7799
|
+
DBSnapshotIdentifier?: String;
|
|
7800
7800
|
/**
|
|
7801
7801
|
* The compute and memory capacity of the Amazon RDS DB instance, for example db.m4.large. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide. Default: The same DBInstanceClass as the original DB instance.
|
|
7802
7802
|
*/
|
|
@@ -7918,6 +7918,10 @@ declare namespace RDS {
|
|
|
7918
7918
|
* Specifies the storage throughput value for the DB instance. This setting doesn't apply to RDS Custom or Amazon Aurora.
|
|
7919
7919
|
*/
|
|
7920
7920
|
StorageThroughput?: IntegerOptional;
|
|
7921
|
+
/**
|
|
7922
|
+
* The identifier for the RDS for MySQL Multi-AZ DB cluster snapshot to restore from. For more information on Multi-AZ DB clusters, see Multi-AZ deployments with two readable standby DB instances in the Amazon RDS User Guide. Constraints: Must match the identifier of an existing Multi-AZ DB cluster snapshot. Can't be specified when DBSnapshotIdentifier is specified. Must be specified when DBSnapshotIdentifier isn't specified. If you are restoring from a shared manual Multi-AZ DB cluster snapshot, the DBClusterSnapshotIdentifier must be the ARN of the shared snapshot. Can't be the identifier of an Aurora DB cluster snapshot. Can't be the identifier of an RDS for PostgreSQL Multi-AZ DB cluster snapshot.
|
|
7923
|
+
*/
|
|
7924
|
+
DBClusterSnapshotIdentifier?: String;
|
|
7921
7925
|
}
|
|
7922
7926
|
export interface RestoreDBInstanceFromDBSnapshotResult {
|
|
7923
7927
|
DBInstance?: DBInstance;
|
|
@@ -68,11 +68,11 @@ declare class WorkDocs extends Service {
|
|
|
68
68
|
*/
|
|
69
69
|
createLabels(callback?: (err: AWSError, data: WorkDocs.Types.CreateLabelsResponse) => void): Request<WorkDocs.Types.CreateLabelsResponse, AWSError>;
|
|
70
70
|
/**
|
|
71
|
-
* Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a confirmation message, and must confirm the subscription. For more information, see
|
|
71
|
+
* Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a confirmation message, and must confirm the subscription. For more information, see Setting up notifications for an IAM user or role in the Amazon WorkDocs Developer Guide.
|
|
72
72
|
*/
|
|
73
73
|
createNotificationSubscription(params: WorkDocs.Types.CreateNotificationSubscriptionRequest, callback?: (err: AWSError, data: WorkDocs.Types.CreateNotificationSubscriptionResponse) => void): Request<WorkDocs.Types.CreateNotificationSubscriptionResponse, AWSError>;
|
|
74
74
|
/**
|
|
75
|
-
* Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a confirmation message, and must confirm the subscription. For more information, see
|
|
75
|
+
* Configure Amazon WorkDocs to use Amazon SNS notifications. The endpoint receives a confirmation message, and must confirm the subscription. For more information, see Setting up notifications for an IAM user or role in the Amazon WorkDocs Developer Guide.
|
|
76
76
|
*/
|
|
77
77
|
createNotificationSubscription(callback?: (err: AWSError, data: WorkDocs.Types.CreateNotificationSubscriptionResponse) => void): Request<WorkDocs.Types.CreateNotificationSubscriptionResponse, AWSError>;
|
|
78
78
|
/**
|
|
@@ -115,6 +115,14 @@ declare class WorkDocs extends Service {
|
|
|
115
115
|
* Permanently deletes the specified document and its associated metadata.
|
|
116
116
|
*/
|
|
117
117
|
deleteDocument(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
118
|
+
/**
|
|
119
|
+
* Deletes a version of an Amazon WorkDocs document. Use the DeletePriorVersions parameter to delete prior versions.
|
|
120
|
+
*/
|
|
121
|
+
deleteDocumentVersion(params: WorkDocs.Types.DeleteDocumentVersionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
122
|
+
/**
|
|
123
|
+
* Deletes a version of an Amazon WorkDocs document. Use the DeletePriorVersions parameter to delete prior versions.
|
|
124
|
+
*/
|
|
125
|
+
deleteDocumentVersion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
118
126
|
/**
|
|
119
127
|
* Permanently deletes the specified folder and its contents.
|
|
120
128
|
*/
|
|
@@ -307,6 +315,14 @@ declare class WorkDocs extends Service {
|
|
|
307
315
|
* Removes the permission for the specified principal from the specified resource.
|
|
308
316
|
*/
|
|
309
317
|
removeResourcePermission(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
318
|
+
/**
|
|
319
|
+
* Recovers a deleted version of an Amazon WorkDocs document.
|
|
320
|
+
*/
|
|
321
|
+
restoreDocumentVersions(params: WorkDocs.Types.RestoreDocumentVersionsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
322
|
+
/**
|
|
323
|
+
* Recovers a deleted version of an Amazon WorkDocs document.
|
|
324
|
+
*/
|
|
325
|
+
restoreDocumentVersions(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
310
326
|
/**
|
|
311
327
|
* Updates the specified attributes of a document. The user must have access to both the document and its parent folder, if applicable.
|
|
312
328
|
*/
|
|
@@ -733,6 +749,24 @@ declare namespace WorkDocs {
|
|
|
733
749
|
*/
|
|
734
750
|
DocumentId: ResourceIdType;
|
|
735
751
|
}
|
|
752
|
+
export interface DeleteDocumentVersionRequest {
|
|
753
|
+
/**
|
|
754
|
+
* Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
|
|
755
|
+
*/
|
|
756
|
+
AuthenticationToken?: AuthenticationHeaderType;
|
|
757
|
+
/**
|
|
758
|
+
* The ID of a document.
|
|
759
|
+
*/
|
|
760
|
+
DocumentId: ResourceIdType;
|
|
761
|
+
/**
|
|
762
|
+
* The version ID of a document.
|
|
763
|
+
*/
|
|
764
|
+
VersionId: DocumentVersionIdType;
|
|
765
|
+
/**
|
|
766
|
+
* When set to TRUE, deletes the specified version and all prior versions of a document.
|
|
767
|
+
*/
|
|
768
|
+
DeletePriorVersions: BooleanType;
|
|
769
|
+
}
|
|
736
770
|
export interface DeleteFolderContentsRequest {
|
|
737
771
|
/**
|
|
738
772
|
* Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
|
|
@@ -833,7 +867,7 @@ declare namespace WorkDocs {
|
|
|
833
867
|
/**
|
|
834
868
|
* The marker for the next set of results.
|
|
835
869
|
*/
|
|
836
|
-
Marker?:
|
|
870
|
+
Marker?: SearchMarkerType;
|
|
837
871
|
}
|
|
838
872
|
export interface DescribeActivitiesResponse {
|
|
839
873
|
/**
|
|
@@ -843,7 +877,7 @@ declare namespace WorkDocs {
|
|
|
843
877
|
/**
|
|
844
878
|
* The marker for the next set of results.
|
|
845
879
|
*/
|
|
846
|
-
Marker?:
|
|
880
|
+
Marker?: SearchMarkerType;
|
|
847
881
|
}
|
|
848
882
|
export interface DescribeCommentsRequest {
|
|
849
883
|
/**
|
|
@@ -1087,7 +1121,7 @@ declare namespace WorkDocs {
|
|
|
1087
1121
|
*/
|
|
1088
1122
|
UserIds?: UserIdsType;
|
|
1089
1123
|
/**
|
|
1090
|
-
* A query to filter users by user name.
|
|
1124
|
+
* A query to filter users by user name. Remember the following about the Userids and Query parameters: If you don't use either parameter, the API returns a paginated list of all users on the site. If you use both parameters, the API ignores the Query parameter. The Userid parameter only returns user names that match a corresponding user ID. The Query parameter runs a "prefix" search for users by the GivenName, SurName, or UserName fields included in a CreateUser API call. For example, querying on Ma returns Márcia Oliveira, María García, and Mateo Jackson. If you use multiple characters, the API only returns data that matches all characters. For example, querying on Ma J only returns Mateo Jackson.
|
|
1091
1125
|
*/
|
|
1092
1126
|
Query?: SearchQueryType;
|
|
1093
1127
|
/**
|
|
@@ -1509,7 +1543,7 @@ declare namespace WorkDocs {
|
|
|
1509
1543
|
/**
|
|
1510
1544
|
* The ID of the parent folder.
|
|
1511
1545
|
*/
|
|
1512
|
-
ParentFolderId
|
|
1546
|
+
ParentFolderId?: ResourceIdType;
|
|
1513
1547
|
}
|
|
1514
1548
|
export interface InitiateDocumentVersionUploadResponse {
|
|
1515
1549
|
/**
|
|
@@ -1659,8 +1693,19 @@ declare namespace WorkDocs {
|
|
|
1659
1693
|
export type ResourceSortType = "DATE"|"NAME"|string;
|
|
1660
1694
|
export type ResourceStateType = "ACTIVE"|"RESTORING"|"RECYCLING"|"RECYCLED"|string;
|
|
1661
1695
|
export type ResourceType = "FOLDER"|"DOCUMENT"|string;
|
|
1696
|
+
export interface RestoreDocumentVersionsRequest {
|
|
1697
|
+
/**
|
|
1698
|
+
* Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
|
|
1699
|
+
*/
|
|
1700
|
+
AuthenticationToken?: AuthenticationHeaderType;
|
|
1701
|
+
/**
|
|
1702
|
+
* The ID of the document.
|
|
1703
|
+
*/
|
|
1704
|
+
DocumentId: ResourceIdType;
|
|
1705
|
+
}
|
|
1662
1706
|
export type RolePermissionType = "DIRECT"|"INHERITED"|string;
|
|
1663
1707
|
export type RoleType = "VIEWER"|"CONTRIBUTOR"|"OWNER"|"COOWNER"|string;
|
|
1708
|
+
export type SearchMarkerType = string;
|
|
1664
1709
|
export type SearchQueryType = string;
|
|
1665
1710
|
export interface SharePrincipal {
|
|
1666
1711
|
/**
|
|
@@ -1736,7 +1781,7 @@ declare namespace WorkDocs {
|
|
|
1736
1781
|
}
|
|
1737
1782
|
export type SubscriptionEndPointType = string;
|
|
1738
1783
|
export type SubscriptionList = Subscription[];
|
|
1739
|
-
export type SubscriptionProtocolType = "HTTPS"|string;
|
|
1784
|
+
export type SubscriptionProtocolType = "HTTPS"|"SQS"|string;
|
|
1740
1785
|
export type SubscriptionType = "ALL"|string;
|
|
1741
1786
|
export type TimeZoneIdType = string;
|
|
1742
1787
|
export type TimestampType = Date;
|
|
@@ -416,13 +416,21 @@ declare namespace XRay {
|
|
|
416
416
|
*/
|
|
417
417
|
SummaryStatistics?: EdgeStatistics;
|
|
418
418
|
/**
|
|
419
|
-
* A histogram that maps the spread of client response times on an edge.
|
|
419
|
+
* A histogram that maps the spread of client response times on an edge. Only populated for synchronous edges.
|
|
420
420
|
*/
|
|
421
421
|
ResponseTimeHistogram?: Histogram;
|
|
422
422
|
/**
|
|
423
423
|
* Aliases for the edge.
|
|
424
424
|
*/
|
|
425
425
|
Aliases?: AliasList;
|
|
426
|
+
/**
|
|
427
|
+
* Describes an asynchronous connection, with a value of link.
|
|
428
|
+
*/
|
|
429
|
+
EdgeType?: String;
|
|
430
|
+
/**
|
|
431
|
+
* A histogram that maps the spread of event age when received by consumers. Age is calculated each time an event is received. Only populated when EdgeType is link.
|
|
432
|
+
*/
|
|
433
|
+
ReceivedEventAgeHistogram?: Histogram;
|
|
426
434
|
}
|
|
427
435
|
export type EdgeList = Edge[];
|
|
428
436
|
export interface EdgeStatistics {
|
|
@@ -1802,7 +1810,7 @@ declare namespace XRay {
|
|
|
1802
1810
|
*/
|
|
1803
1811
|
Duration?: NullableDouble;
|
|
1804
1812
|
/**
|
|
1805
|
-
* LimitExceeded is set to true when the trace has exceeded
|
|
1813
|
+
* LimitExceeded is set to true when the trace has exceeded the Trace document size limit. For more information about this limit and other X-Ray limits and quotas, see Amazon Web Services X-Ray endpoints and quotas.
|
|
1806
1814
|
*/
|
|
1807
1815
|
LimitExceeded?: NullableBoolean;
|
|
1808
1816
|
/**
|