@aws-sdk/client-appconfig 3.288.0 → 3.290.0
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/dist-types/commands/CreateApplicationCommand.d.ts +26 -0
- package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +33 -0
- package/dist-types/commands/CreateDeploymentStrategyCommand.d.ts +32 -0
- package/dist-types/commands/CreateEnvironmentCommand.d.ts +30 -0
- package/dist-types/commands/CreateExtensionAssociationCommand.d.ts +13 -0
- package/dist-types/commands/CreateExtensionCommand.d.ts +14 -0
- package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +43 -0
- package/dist-types/commands/DeleteApplicationCommand.d.ts +22 -0
- package/dist-types/commands/DeleteConfigurationProfileCommand.d.ts +26 -0
- package/dist-types/commands/DeleteDeploymentStrategyCommand.d.ts +21 -0
- package/dist-types/commands/DeleteEnvironmentCommand.d.ts +26 -0
- package/dist-types/commands/DeleteExtensionAssociationCommand.d.ts +10 -0
- package/dist-types/commands/DeleteExtensionCommand.d.ts +10 -0
- package/dist-types/commands/DeleteHostedConfigurationVersionCommand.d.ts +23 -0
- package/dist-types/commands/GetApplicationCommand.d.ts +27 -0
- package/dist-types/commands/GetConfigurationCommand.d.ts +30 -0
- package/dist-types/commands/GetConfigurationProfileCommand.d.ts +31 -0
- package/dist-types/commands/GetDeploymentCommand.d.ts +87 -0
- package/dist-types/commands/GetDeploymentStrategyCommand.d.ts +32 -0
- package/dist-types/commands/GetEnvironmentCommand.d.ts +30 -0
- package/dist-types/commands/GetExtensionAssociationCommand.d.ts +10 -0
- package/dist-types/commands/GetExtensionCommand.d.ts +10 -0
- package/dist-types/commands/GetHostedConfigurationVersionCommand.d.ts +31 -0
- package/dist-types/commands/ListApplicationsCommand.d.ts +31 -0
- package/dist-types/commands/ListConfigurationProfilesCommand.d.ts +33 -0
- package/dist-types/commands/ListDeploymentStrategiesCommand.d.ts +31 -0
- package/dist-types/commands/ListDeploymentsCommand.d.ts +41 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +33 -0
- package/dist-types/commands/ListExtensionAssociationsCommand.d.ts +7 -0
- package/dist-types/commands/ListExtensionsCommand.d.ts +7 -0
- package/dist-types/commands/ListHostedConfigurationVersionsCommand.d.ts +34 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +28 -0
- package/dist-types/commands/StartDeploymentCommand.d.ts +58 -0
- package/dist-types/commands/StopDeploymentCommand.d.ts +32 -0
- package/dist-types/commands/TagResourceCommand.d.ts +24 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +24 -0
- package/dist-types/commands/UpdateApplicationCommand.d.ts +30 -0
- package/dist-types/commands/UpdateConfigurationProfileCommand.d.ts +33 -0
- package/dist-types/commands/UpdateDeploymentStrategyCommand.d.ts +34 -0
- package/dist-types/commands/UpdateEnvironmentCommand.d.ts +32 -0
- package/dist-types/commands/UpdateExtensionAssociationCommand.d.ts +10 -0
- package/dist-types/commands/UpdateExtensionCommand.d.ts +14 -0
- package/dist-types/commands/ValidateConfigurationCommand.d.ts +23 -0
- package/package.json +29 -29
|
@@ -33,6 +33,38 @@ export interface GetDeploymentStrategyCommandOutput extends DeploymentStrategy,
|
|
|
33
33
|
* @see {@link GetDeploymentStrategyCommandOutput} for command's `response` shape.
|
|
34
34
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
35
35
|
*
|
|
36
|
+
* @throws {@link BadRequestException} (client fault)
|
|
37
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InternalServerException} (server fault)
|
|
40
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
43
|
+
* <p>The requested resource could not be found.</p>
|
|
44
|
+
*
|
|
45
|
+
*
|
|
46
|
+
* @example To retrieve details of a deployment strategy
|
|
47
|
+
* ```javascript
|
|
48
|
+
* // The following get-deployment-strategy example lists the details of the specified deployment strategy.
|
|
49
|
+
* const input = {
|
|
50
|
+
* "DeploymentStrategyId": "1225qzk"
|
|
51
|
+
* };
|
|
52
|
+
* const command = new GetDeploymentStrategyCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* /* response ==
|
|
55
|
+
* {
|
|
56
|
+
* "DeploymentDurationInMinutes": 15,
|
|
57
|
+
* "FinalBakeTimeInMinutes": 0,
|
|
58
|
+
* "GrowthFactor": 25,
|
|
59
|
+
* "GrowthType": "LINEAR",
|
|
60
|
+
* "Id": "1225qzk",
|
|
61
|
+
* "Name": "Example-Deployment",
|
|
62
|
+
* "ReplicateTo": "SSM_DOCUMENT"
|
|
63
|
+
* }
|
|
64
|
+
* *\/
|
|
65
|
+
* // example id: to-retrieve-details-of-a-deployment-strategy-1632266385805
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
36
68
|
*/
|
|
37
69
|
export declare class GetDeploymentStrategyCommand extends $Command<GetDeploymentStrategyCommandInput, GetDeploymentStrategyCommandOutput, AppConfigClientResolvedConfig> {
|
|
38
70
|
readonly input: GetDeploymentStrategyCommandInput;
|
|
@@ -34,6 +34,36 @@ export interface GetEnvironmentCommandOutput extends Environment, __MetadataBear
|
|
|
34
34
|
* @see {@link GetEnvironmentCommandOutput} for command's `response` shape.
|
|
35
35
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
36
36
|
*
|
|
37
|
+
* @throws {@link BadRequestException} (client fault)
|
|
38
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InternalServerException} (server fault)
|
|
41
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
44
|
+
* <p>The requested resource could not be found.</p>
|
|
45
|
+
*
|
|
46
|
+
*
|
|
47
|
+
* @example To retrieve environment details
|
|
48
|
+
* ```javascript
|
|
49
|
+
* // The following get-environment example returns the details and state of the specified environment.
|
|
50
|
+
* const input = {
|
|
51
|
+
* "ApplicationId": "339ohji",
|
|
52
|
+
* "EnvironmentId": "54j1r29"
|
|
53
|
+
* };
|
|
54
|
+
* const command = new GetEnvironmentCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* /* response ==
|
|
57
|
+
* {
|
|
58
|
+
* "ApplicationId": "339ohji",
|
|
59
|
+
* "Id": "54j1r29",
|
|
60
|
+
* "Name": "Example-Environment",
|
|
61
|
+
* "State": "READY_FOR_DEPLOYMENT"
|
|
62
|
+
* }
|
|
63
|
+
* *\/
|
|
64
|
+
* // example id: to-retrieve-environment-details-1632266924806
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
37
67
|
*/
|
|
38
68
|
export declare class GetEnvironmentCommand extends $Command<GetEnvironmentCommandInput, GetEnvironmentCommandOutput, AppConfigClientResolvedConfig> {
|
|
39
69
|
readonly input: GetEnvironmentCommandInput;
|
|
@@ -32,6 +32,16 @@ export interface GetExtensionAssociationCommandOutput extends ExtensionAssociati
|
|
|
32
32
|
* @see {@link GetExtensionAssociationCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link BadRequestException} (client fault)
|
|
36
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InternalServerException} (server fault)
|
|
39
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
42
|
+
* <p>The requested resource could not be found.</p>
|
|
43
|
+
*
|
|
44
|
+
*
|
|
35
45
|
*/
|
|
36
46
|
export declare class GetExtensionAssociationCommand extends $Command<GetExtensionAssociationCommandInput, GetExtensionAssociationCommandOutput, AppConfigClientResolvedConfig> {
|
|
37
47
|
readonly input: GetExtensionAssociationCommandInput;
|
|
@@ -29,6 +29,16 @@ export interface GetExtensionCommandOutput extends Extension, __MetadataBearer {
|
|
|
29
29
|
* @see {@link GetExtensionCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link BadRequestException} (client fault)
|
|
33
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InternalServerException} (server fault)
|
|
36
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
39
|
+
* <p>The requested resource could not be found.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
32
42
|
*/
|
|
33
43
|
export declare class GetExtensionCommand extends $Command<GetExtensionCommandInput, GetExtensionCommandOutput, AppConfigClientResolvedConfig> {
|
|
34
44
|
readonly input: GetExtensionCommandInput;
|
|
@@ -29,6 +29,37 @@ export interface GetHostedConfigurationVersionCommandOutput extends HostedConfig
|
|
|
29
29
|
* @see {@link GetHostedConfigurationVersionCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link BadRequestException} (client fault)
|
|
33
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InternalServerException} (server fault)
|
|
36
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
39
|
+
* <p>The requested resource could not be found.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
42
|
+
* @example To retrieve hosted configuration details
|
|
43
|
+
* ```javascript
|
|
44
|
+
* // The following get-hosted-configuration-version example retrieves the configuration details of the AWS AppConfig hosted configuration.
|
|
45
|
+
* const input = {
|
|
46
|
+
* "ApplicationId": "339ohji",
|
|
47
|
+
* "ConfigurationProfileId": "ur8hx2f",
|
|
48
|
+
* "VersionNumber": 1
|
|
49
|
+
* };
|
|
50
|
+
* const command = new GetHostedConfigurationVersionCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* /* response ==
|
|
53
|
+
* {
|
|
54
|
+
* "ApplicationId": "339ohji",
|
|
55
|
+
* "ConfigurationProfileId": "ur8hx2f",
|
|
56
|
+
* "ContentType": "application/json",
|
|
57
|
+
* "VersionNumber": 1
|
|
58
|
+
* }
|
|
59
|
+
* *\/
|
|
60
|
+
* // example id: to-retrieve-hosted-configuration-details-1632267003527
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
32
63
|
*/
|
|
33
64
|
export declare class GetHostedConfigurationVersionCommand extends $Command<GetHostedConfigurationVersionCommandInput, GetHostedConfigurationVersionCommandOutput, AppConfigClientResolvedConfig> {
|
|
34
65
|
readonly input: GetHostedConfigurationVersionCommandInput;
|
|
@@ -29,6 +29,37 @@ export interface ListApplicationsCommandOutput extends Applications, __MetadataB
|
|
|
29
29
|
* @see {@link ListApplicationsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link BadRequestException} (client fault)
|
|
33
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InternalServerException} (server fault)
|
|
36
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
37
|
+
*
|
|
38
|
+
*
|
|
39
|
+
* @example To list the available applications
|
|
40
|
+
* ```javascript
|
|
41
|
+
* // The following list-applications example lists the available applications in your AWS account.
|
|
42
|
+
* const input = {};
|
|
43
|
+
* const command = new ListApplicationsCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* /* response ==
|
|
46
|
+
* {
|
|
47
|
+
* "Items": [
|
|
48
|
+
* {
|
|
49
|
+
* "Description": "An application used for creating an example.",
|
|
50
|
+
* "Id": "339ohji",
|
|
51
|
+
* "Name": "test-application"
|
|
52
|
+
* },
|
|
53
|
+
* {
|
|
54
|
+
* "Id": "rwalwu7",
|
|
55
|
+
* "Name": "Test-Application"
|
|
56
|
+
* }
|
|
57
|
+
* ]
|
|
58
|
+
* }
|
|
59
|
+
* *\/
|
|
60
|
+
* // example id: to-list-the-available-applications-1632267111131
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
32
63
|
*/
|
|
33
64
|
export declare class ListApplicationsCommand extends $Command<ListApplicationsCommandInput, ListApplicationsCommandOutput, AppConfigClientResolvedConfig> {
|
|
34
65
|
readonly input: ListApplicationsCommandInput;
|
|
@@ -29,6 +29,39 @@ export interface ListConfigurationProfilesCommandOutput extends ConfigurationPro
|
|
|
29
29
|
* @see {@link ListConfigurationProfilesCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link BadRequestException} (client fault)
|
|
33
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InternalServerException} (server fault)
|
|
36
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
39
|
+
* <p>The requested resource could not be found.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
42
|
+
* @example To list the available configuration profiles
|
|
43
|
+
* ```javascript
|
|
44
|
+
* // The following list-configuration-profiles example lists the available configuration profiles for the specified application.
|
|
45
|
+
* const input = {
|
|
46
|
+
* "ApplicationId": "339ohji"
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListConfigurationProfilesCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* /* response ==
|
|
51
|
+
* {
|
|
52
|
+
* "Items": [
|
|
53
|
+
* {
|
|
54
|
+
* "ApplicationId": "339ohji",
|
|
55
|
+
* "Id": "ur8hx2f",
|
|
56
|
+
* "LocationUri": "ssm-parameter://Example-Parameter",
|
|
57
|
+
* "Name": "Example-Configuration-Profile"
|
|
58
|
+
* }
|
|
59
|
+
* ]
|
|
60
|
+
* }
|
|
61
|
+
* *\/
|
|
62
|
+
* // example id: to-list-the-available-configuration-profiles-1632267193265
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
32
65
|
*/
|
|
33
66
|
export declare class ListConfigurationProfilesCommand extends $Command<ListConfigurationProfilesCommandInput, ListConfigurationProfilesCommandOutput, AppConfigClientResolvedConfig> {
|
|
34
67
|
readonly input: ListConfigurationProfilesCommandInput;
|
|
@@ -29,6 +29,37 @@ export interface ListDeploymentStrategiesCommandOutput extends DeploymentStrateg
|
|
|
29
29
|
* @see {@link ListDeploymentStrategiesCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link BadRequestException} (client fault)
|
|
33
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InternalServerException} (server fault)
|
|
36
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
37
|
+
*
|
|
38
|
+
*
|
|
39
|
+
* @example To list the available deployment strategies
|
|
40
|
+
* ```javascript
|
|
41
|
+
* // The following list-deployment-strategies example lists the available deployment strategies in your AWS account.
|
|
42
|
+
* const input = {};
|
|
43
|
+
* const command = new ListDeploymentStrategiesCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* /* response ==
|
|
46
|
+
* {
|
|
47
|
+
* "Items": [
|
|
48
|
+
* {
|
|
49
|
+
* "DeploymentDurationInMinutes": 15,
|
|
50
|
+
* "FinalBakeTimeInMinutes": 0,
|
|
51
|
+
* "GrowthFactor": 25,
|
|
52
|
+
* "GrowthType": "LINEAR",
|
|
53
|
+
* "Id": "1225qzk",
|
|
54
|
+
* "Name": "Example-Deployment",
|
|
55
|
+
* "ReplicateTo": "SSM_DOCUMENT"
|
|
56
|
+
* }
|
|
57
|
+
* ]
|
|
58
|
+
* }
|
|
59
|
+
* *\/
|
|
60
|
+
* // example id: to-list-the-available-deployment-strategies-1632267364180
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
32
63
|
*/
|
|
33
64
|
export declare class ListDeploymentStrategiesCommand extends $Command<ListDeploymentStrategiesCommandInput, ListDeploymentStrategiesCommandOutput, AppConfigClientResolvedConfig> {
|
|
34
65
|
readonly input: ListDeploymentStrategiesCommandInput;
|
|
@@ -29,6 +29,47 @@ export interface ListDeploymentsCommandOutput extends Deployments, __MetadataBea
|
|
|
29
29
|
* @see {@link ListDeploymentsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link BadRequestException} (client fault)
|
|
33
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InternalServerException} (server fault)
|
|
36
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
39
|
+
* <p>The requested resource could not be found.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
42
|
+
* @example To list the available deployments
|
|
43
|
+
* ```javascript
|
|
44
|
+
* // The following list-deployments example lists the available deployments in your AWS account for the specified application and environment.
|
|
45
|
+
* const input = {
|
|
46
|
+
* "ApplicationId": "339ohji",
|
|
47
|
+
* "EnvironmentId": "54j1r29"
|
|
48
|
+
* };
|
|
49
|
+
* const command = new ListDeploymentsCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* /* response ==
|
|
52
|
+
* {
|
|
53
|
+
* "Items": [
|
|
54
|
+
* {
|
|
55
|
+
* "CompletedAt": "2021-09-17T21:59:03.888000+00:00",
|
|
56
|
+
* "ConfigurationName": "Example-Configuration-Profile",
|
|
57
|
+
* "ConfigurationVersion": "1",
|
|
58
|
+
* "DeploymentDurationInMinutes": 15,
|
|
59
|
+
* "DeploymentNumber": 1,
|
|
60
|
+
* "FinalBakeTimeInMinutes": 0,
|
|
61
|
+
* "GrowthFactor": 25,
|
|
62
|
+
* "GrowthType": "LINEAR",
|
|
63
|
+
* "PercentageComplete": 100,
|
|
64
|
+
* "StartedAt": "2021-09-17T21:43:54.205000+00:00",
|
|
65
|
+
* "State": "COMPLETE"
|
|
66
|
+
* }
|
|
67
|
+
* ]
|
|
68
|
+
* }
|
|
69
|
+
* *\/
|
|
70
|
+
* // example id: to-list-the-available-deployments-1632267282025
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
32
73
|
*/
|
|
33
74
|
export declare class ListDeploymentsCommand extends $Command<ListDeploymentsCommandInput, ListDeploymentsCommandOutput, AppConfigClientResolvedConfig> {
|
|
34
75
|
readonly input: ListDeploymentsCommandInput;
|
|
@@ -29,6 +29,39 @@ export interface ListEnvironmentsCommandOutput extends Environments, __MetadataB
|
|
|
29
29
|
* @see {@link ListEnvironmentsCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link BadRequestException} (client fault)
|
|
33
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InternalServerException} (server fault)
|
|
36
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
39
|
+
* <p>The requested resource could not be found.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
42
|
+
* @example To list the available environments
|
|
43
|
+
* ```javascript
|
|
44
|
+
* // The following list-environments example lists the available environments in your AWS account for the specified application.
|
|
45
|
+
* const input = {
|
|
46
|
+
* "ApplicationId": "339ohji"
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListEnvironmentsCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* /* response ==
|
|
51
|
+
* {
|
|
52
|
+
* "Items": [
|
|
53
|
+
* {
|
|
54
|
+
* "ApplicationId": "339ohji",
|
|
55
|
+
* "Id": "54j1r29",
|
|
56
|
+
* "Name": "Example-Environment",
|
|
57
|
+
* "State": "READY_FOR_DEPLOYMENT"
|
|
58
|
+
* }
|
|
59
|
+
* ]
|
|
60
|
+
* }
|
|
61
|
+
* *\/
|
|
62
|
+
* // example id: to-list-the-available-environments-1632267474389
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
32
65
|
*/
|
|
33
66
|
export declare class ListEnvironmentsCommand extends $Command<ListEnvironmentsCommandInput, ListEnvironmentsCommandOutput, AppConfigClientResolvedConfig> {
|
|
34
67
|
readonly input: ListEnvironmentsCommandInput;
|
|
@@ -32,6 +32,13 @@ export interface ListExtensionAssociationsCommandOutput extends ExtensionAssocia
|
|
|
32
32
|
* @see {@link ListExtensionAssociationsCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link BadRequestException} (client fault)
|
|
36
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InternalServerException} (server fault)
|
|
39
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
35
42
|
*/
|
|
36
43
|
export declare class ListExtensionAssociationsCommand extends $Command<ListExtensionAssociationsCommandInput, ListExtensionAssociationsCommandOutput, AppConfigClientResolvedConfig> {
|
|
37
44
|
readonly input: ListExtensionAssociationsCommandInput;
|
|
@@ -32,6 +32,13 @@ export interface ListExtensionsCommandOutput extends Extensions, __MetadataBeare
|
|
|
32
32
|
* @see {@link ListExtensionsCommandOutput} for command's `response` shape.
|
|
33
33
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
34
34
|
*
|
|
35
|
+
* @throws {@link BadRequestException} (client fault)
|
|
36
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link InternalServerException} (server fault)
|
|
39
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
35
42
|
*/
|
|
36
43
|
export declare class ListExtensionsCommand extends $Command<ListExtensionsCommandInput, ListExtensionsCommandOutput, AppConfigClientResolvedConfig> {
|
|
37
44
|
readonly input: ListExtensionsCommandInput;
|
|
@@ -30,6 +30,40 @@ export interface ListHostedConfigurationVersionsCommandOutput extends HostedConf
|
|
|
30
30
|
* @see {@link ListHostedConfigurationVersionsCommandOutput} for command's `response` shape.
|
|
31
31
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
32
32
|
*
|
|
33
|
+
* @throws {@link BadRequestException} (client fault)
|
|
34
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
35
|
+
*
|
|
36
|
+
* @throws {@link InternalServerException} (server fault)
|
|
37
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
40
|
+
* <p>The requested resource could not be found.</p>
|
|
41
|
+
*
|
|
42
|
+
*
|
|
43
|
+
* @example To list the available hosted configuration versions
|
|
44
|
+
* ```javascript
|
|
45
|
+
* // The following list-hosted-configuration-versions example lists the configurations versions hosted in the AWS AppConfig hosted configuration store for the specified application and configuration profile.
|
|
46
|
+
* const input = {
|
|
47
|
+
* "ApplicationId": "339ohji",
|
|
48
|
+
* "ConfigurationProfileId": "ur8hx2f"
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ListHostedConfigurationVersionsCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* /* response ==
|
|
53
|
+
* {
|
|
54
|
+
* "Items": [
|
|
55
|
+
* {
|
|
56
|
+
* "ApplicationId": "339ohji",
|
|
57
|
+
* "ConfigurationProfileId": "ur8hx2f",
|
|
58
|
+
* "ContentType": "application/json",
|
|
59
|
+
* "VersionNumber": 1
|
|
60
|
+
* }
|
|
61
|
+
* ]
|
|
62
|
+
* }
|
|
63
|
+
* *\/
|
|
64
|
+
* // example id: to-list-the-available-hosted-configuration-versions-1632267647667
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
33
67
|
*/
|
|
34
68
|
export declare class ListHostedConfigurationVersionsCommand extends $Command<ListHostedConfigurationVersionsCommandInput, ListHostedConfigurationVersionsCommandOutput, AppConfigClientResolvedConfig> {
|
|
35
69
|
readonly input: ListHostedConfigurationVersionsCommandInput;
|
|
@@ -29,6 +29,34 @@ export interface ListTagsForResourceCommandOutput extends ResourceTags, __Metada
|
|
|
29
29
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link BadRequestException} (client fault)
|
|
33
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InternalServerException} (server fault)
|
|
36
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
39
|
+
* <p>The requested resource could not be found.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
42
|
+
* @example To list the tags of an application
|
|
43
|
+
* ```javascript
|
|
44
|
+
* // The following list-tags-for-resource example lists the tags of a specified application.
|
|
45
|
+
* const input = {
|
|
46
|
+
* "ResourceArn": "arn:aws:appconfig:us-east-1:111122223333:application/339ohji"
|
|
47
|
+
* };
|
|
48
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* /* response ==
|
|
51
|
+
* {
|
|
52
|
+
* "Tags": {
|
|
53
|
+
* "group1": "1"
|
|
54
|
+
* }
|
|
55
|
+
* }
|
|
56
|
+
* *\/
|
|
57
|
+
* // example id: to-list-the-tags-of-an-application-1632328796560
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
32
60
|
*/
|
|
33
61
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, AppConfigClientResolvedConfig> {
|
|
34
62
|
readonly input: ListTagsForResourceCommandInput;
|
|
@@ -29,6 +29,64 @@ export interface StartDeploymentCommandOutput extends Deployment, __MetadataBear
|
|
|
29
29
|
* @see {@link StartDeploymentCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link BadRequestException} (client fault)
|
|
33
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link ConflictException} (client fault)
|
|
36
|
+
* <p>The request could not be processed because of conflict in the current state of the
|
|
37
|
+
* resource.</p>
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link InternalServerException} (server fault)
|
|
40
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
43
|
+
* <p>The requested resource could not be found.</p>
|
|
44
|
+
*
|
|
45
|
+
*
|
|
46
|
+
* @example To start a configuration deployment
|
|
47
|
+
* ```javascript
|
|
48
|
+
* // The following start-deployment example starts a deployment to the application using the specified environment, deployment strategy, and configuration profile.
|
|
49
|
+
* const input = {
|
|
50
|
+
* "ApplicationId": "339ohji",
|
|
51
|
+
* "ConfigurationProfileId": "ur8hx2f",
|
|
52
|
+
* "ConfigurationVersion": "1",
|
|
53
|
+
* "DeploymentStrategyId": "1225qzk",
|
|
54
|
+
* "Description": "",
|
|
55
|
+
* "EnvironmentId": "54j1r29",
|
|
56
|
+
* "Tags": {}
|
|
57
|
+
* };
|
|
58
|
+
* const command = new StartDeploymentCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* /* response ==
|
|
61
|
+
* {
|
|
62
|
+
* "ApplicationId": "339ohji",
|
|
63
|
+
* "ConfigurationLocationUri": "ssm-parameter://Example-Parameter",
|
|
64
|
+
* "ConfigurationName": "Example-Configuration-Profile",
|
|
65
|
+
* "ConfigurationProfileId": "ur8hx2f",
|
|
66
|
+
* "ConfigurationVersion": "1",
|
|
67
|
+
* "DeploymentDurationInMinutes": 15,
|
|
68
|
+
* "DeploymentNumber": 1,
|
|
69
|
+
* "DeploymentStrategyId": "1225qzk",
|
|
70
|
+
* "EnvironmentId": "54j1r29",
|
|
71
|
+
* "EventLog": [
|
|
72
|
+
* {
|
|
73
|
+
* "Description": "Deployment started",
|
|
74
|
+
* "EventType": "DEPLOYMENT_STARTED",
|
|
75
|
+
* "OccurredAt": "2021-09-17T21:43:54.205000+00:00",
|
|
76
|
+
* "TriggeredBy": "USER"
|
|
77
|
+
* }
|
|
78
|
+
* ],
|
|
79
|
+
* "FinalBakeTimeInMinutes": 0,
|
|
80
|
+
* "GrowthFactor": 25,
|
|
81
|
+
* "GrowthType": "LINEAR",
|
|
82
|
+
* "PercentageComplete": 1,
|
|
83
|
+
* "StartedAt": "2021-09-17T21:43:54.205000+00:00",
|
|
84
|
+
* "State": "DEPLOYING"
|
|
85
|
+
* }
|
|
86
|
+
* *\/
|
|
87
|
+
* // example id: to-start-a-configuration-deployment-1632328956790
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
32
90
|
*/
|
|
33
91
|
export declare class StartDeploymentCommand extends $Command<StartDeploymentCommandInput, StartDeploymentCommandOutput, AppConfigClientResolvedConfig> {
|
|
34
92
|
readonly input: StartDeploymentCommandInput;
|
|
@@ -31,6 +31,38 @@ export interface StopDeploymentCommandOutput extends Deployment, __MetadataBeare
|
|
|
31
31
|
* @see {@link StopDeploymentCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link BadRequestException} (client fault)
|
|
35
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InternalServerException} (server fault)
|
|
38
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
41
|
+
* <p>The requested resource could not be found.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
44
|
+
* @example To stop configuration deployment
|
|
45
|
+
* ```javascript
|
|
46
|
+
* // The following stop-deployment example stops the deployment of an application configuration to the specified environment.
|
|
47
|
+
* const input = {
|
|
48
|
+
* "ApplicationId": "339ohji",
|
|
49
|
+
* "DeploymentNumber": 2,
|
|
50
|
+
* "EnvironmentId": "54j1r29"
|
|
51
|
+
* };
|
|
52
|
+
* const command = new StopDeploymentCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* /* response ==
|
|
55
|
+
* {
|
|
56
|
+
* "DeploymentDurationInMinutes": 15,
|
|
57
|
+
* "DeploymentNumber": 2,
|
|
58
|
+
* "FinalBakeTimeInMinutes": 0,
|
|
59
|
+
* "GrowthFactor": 25,
|
|
60
|
+
* "PercentageComplete": 1
|
|
61
|
+
* }
|
|
62
|
+
* *\/
|
|
63
|
+
* // example id: to-stop-configuration-deployment-1632329139126
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
34
66
|
*/
|
|
35
67
|
export declare class StopDeploymentCommand extends $Command<StopDeploymentCommandInput, StopDeploymentCommandOutput, AppConfigClientResolvedConfig> {
|
|
36
68
|
readonly input: StopDeploymentCommandInput;
|
|
@@ -31,6 +31,30 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link BadRequestException} (client fault)
|
|
35
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link InternalServerException} (server fault)
|
|
38
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
41
|
+
* <p>The requested resource could not be found.</p>
|
|
42
|
+
*
|
|
43
|
+
*
|
|
44
|
+
* @example To tag an application
|
|
45
|
+
* ```javascript
|
|
46
|
+
* // The following tag-resource example tags an application resource.
|
|
47
|
+
* const input = {
|
|
48
|
+
* "ResourceArn": "arn:aws:appconfig:us-east-1:111122223333:application/339ohji",
|
|
49
|
+
* "Tags": {
|
|
50
|
+
* "group1": "1"
|
|
51
|
+
* }
|
|
52
|
+
* };
|
|
53
|
+
* const command = new TagResourceCommand(input);
|
|
54
|
+
* await client.send(command);
|
|
55
|
+
* // example id: to-tag-an-application-1632330350645
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
34
58
|
*/
|
|
35
59
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, AppConfigClientResolvedConfig> {
|
|
36
60
|
readonly input: TagResourceCommandInput;
|
|
@@ -29,6 +29,30 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
29
29
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link AppConfigClientResolvedConfig | config} for AppConfigClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link BadRequestException} (client fault)
|
|
33
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link InternalServerException} (server fault)
|
|
36
|
+
* <p>There was an internal failure in the AppConfig service.</p>
|
|
37
|
+
*
|
|
38
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
39
|
+
* <p>The requested resource could not be found.</p>
|
|
40
|
+
*
|
|
41
|
+
*
|
|
42
|
+
* @example To remove a tag from an application
|
|
43
|
+
* ```javascript
|
|
44
|
+
* // The following untag-resource example removes the group1 tag from the specified application.
|
|
45
|
+
* const input = {
|
|
46
|
+
* "ResourceArn": "arn:aws:appconfig:us-east-1:111122223333:application/339ohji",
|
|
47
|
+
* "TagKeys": [
|
|
48
|
+
* "group1"
|
|
49
|
+
* ]
|
|
50
|
+
* };
|
|
51
|
+
* const command = new UntagResourceCommand(input);
|
|
52
|
+
* await client.send(command);
|
|
53
|
+
* // example id: to-remove-a-tag-from-an-application-1632330429881
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
32
56
|
*/
|
|
33
57
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, AppConfigClientResolvedConfig> {
|
|
34
58
|
readonly input: UntagResourceCommandInput;
|