@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.
Files changed (44) hide show
  1. package/dist-types/commands/CreateApplicationCommand.d.ts +26 -0
  2. package/dist-types/commands/CreateConfigurationProfileCommand.d.ts +33 -0
  3. package/dist-types/commands/CreateDeploymentStrategyCommand.d.ts +32 -0
  4. package/dist-types/commands/CreateEnvironmentCommand.d.ts +30 -0
  5. package/dist-types/commands/CreateExtensionAssociationCommand.d.ts +13 -0
  6. package/dist-types/commands/CreateExtensionCommand.d.ts +14 -0
  7. package/dist-types/commands/CreateHostedConfigurationVersionCommand.d.ts +43 -0
  8. package/dist-types/commands/DeleteApplicationCommand.d.ts +22 -0
  9. package/dist-types/commands/DeleteConfigurationProfileCommand.d.ts +26 -0
  10. package/dist-types/commands/DeleteDeploymentStrategyCommand.d.ts +21 -0
  11. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +26 -0
  12. package/dist-types/commands/DeleteExtensionAssociationCommand.d.ts +10 -0
  13. package/dist-types/commands/DeleteExtensionCommand.d.ts +10 -0
  14. package/dist-types/commands/DeleteHostedConfigurationVersionCommand.d.ts +23 -0
  15. package/dist-types/commands/GetApplicationCommand.d.ts +27 -0
  16. package/dist-types/commands/GetConfigurationCommand.d.ts +30 -0
  17. package/dist-types/commands/GetConfigurationProfileCommand.d.ts +31 -0
  18. package/dist-types/commands/GetDeploymentCommand.d.ts +87 -0
  19. package/dist-types/commands/GetDeploymentStrategyCommand.d.ts +32 -0
  20. package/dist-types/commands/GetEnvironmentCommand.d.ts +30 -0
  21. package/dist-types/commands/GetExtensionAssociationCommand.d.ts +10 -0
  22. package/dist-types/commands/GetExtensionCommand.d.ts +10 -0
  23. package/dist-types/commands/GetHostedConfigurationVersionCommand.d.ts +31 -0
  24. package/dist-types/commands/ListApplicationsCommand.d.ts +31 -0
  25. package/dist-types/commands/ListConfigurationProfilesCommand.d.ts +33 -0
  26. package/dist-types/commands/ListDeploymentStrategiesCommand.d.ts +31 -0
  27. package/dist-types/commands/ListDeploymentsCommand.d.ts +41 -0
  28. package/dist-types/commands/ListEnvironmentsCommand.d.ts +33 -0
  29. package/dist-types/commands/ListExtensionAssociationsCommand.d.ts +7 -0
  30. package/dist-types/commands/ListExtensionsCommand.d.ts +7 -0
  31. package/dist-types/commands/ListHostedConfigurationVersionsCommand.d.ts +34 -0
  32. package/dist-types/commands/ListTagsForResourceCommand.d.ts +28 -0
  33. package/dist-types/commands/StartDeploymentCommand.d.ts +58 -0
  34. package/dist-types/commands/StopDeploymentCommand.d.ts +32 -0
  35. package/dist-types/commands/TagResourceCommand.d.ts +24 -0
  36. package/dist-types/commands/UntagResourceCommand.d.ts +24 -0
  37. package/dist-types/commands/UpdateApplicationCommand.d.ts +30 -0
  38. package/dist-types/commands/UpdateConfigurationProfileCommand.d.ts +33 -0
  39. package/dist-types/commands/UpdateDeploymentStrategyCommand.d.ts +34 -0
  40. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +32 -0
  41. package/dist-types/commands/UpdateExtensionAssociationCommand.d.ts +10 -0
  42. package/dist-types/commands/UpdateExtensionCommand.d.ts +14 -0
  43. package/dist-types/commands/ValidateConfigurationCommand.d.ts +23 -0
  44. package/package.json +29 -29
@@ -29,6 +29,36 @@ export interface UpdateApplicationCommandOutput extends Application, __MetadataB
29
29
  * @see {@link UpdateApplicationCommandOutput} 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 update an application
43
+ * ```javascript
44
+ * // The following update-application example updates the name of the specified application.
45
+ * const input = {
46
+ * "ApplicationId": "339ohji",
47
+ * "Description": "",
48
+ * "Name": "Example-Application"
49
+ * };
50
+ * const command = new UpdateApplicationCommand(input);
51
+ * const response = await client.send(command);
52
+ * /* response ==
53
+ * {
54
+ * "Description": "An application used for creating an example.",
55
+ * "Id": "339ohji",
56
+ * "Name": "Example-Application"
57
+ * }
58
+ * *\/
59
+ * // example id: to-update-an-application-1632330585893
60
+ * ```
61
+ *
32
62
  */
33
63
  export declare class UpdateApplicationCommand extends $Command<UpdateApplicationCommandInput, UpdateApplicationCommandOutput, AppConfigClientResolvedConfig> {
34
64
  readonly input: UpdateApplicationCommandInput;
@@ -29,6 +29,39 @@ export interface UpdateConfigurationProfileCommandOutput extends ConfigurationPr
29
29
  * @see {@link UpdateConfigurationProfileCommandOutput} 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 update a configuration profile
43
+ * ```javascript
44
+ * // The following update-configuration-profile example updates the description of the specified configuration profile.
45
+ * const input = {
46
+ * "ApplicationId": "339ohji",
47
+ * "ConfigurationProfileId": "ur8hx2f",
48
+ * "Description": "Configuration profile used for examples."
49
+ * };
50
+ * const command = new UpdateConfigurationProfileCommand(input);
51
+ * const response = await client.send(command);
52
+ * /* response ==
53
+ * {
54
+ * "ApplicationId": "339ohji",
55
+ * "Description": "Configuration profile used for examples.",
56
+ * "Id": "ur8hx2f",
57
+ * "LocationUri": "ssm-parameter://Example-Parameter",
58
+ * "Name": "Example-Configuration-Profile",
59
+ * "RetrievalRoleArn": "arn:aws:iam::111122223333:role/Example-App-Config-Role"
60
+ * }
61
+ * *\/
62
+ * // example id: to-update-a-configuration-profile-1632330721974
63
+ * ```
64
+ *
32
65
  */
33
66
  export declare class UpdateConfigurationProfileCommand extends $Command<UpdateConfigurationProfileCommandInput, UpdateConfigurationProfileCommandOutput, AppConfigClientResolvedConfig> {
34
67
  readonly input: UpdateConfigurationProfileCommandInput;
@@ -29,6 +29,40 @@ export interface UpdateDeploymentStrategyCommandOutput extends DeploymentStrateg
29
29
  * @see {@link UpdateDeploymentStrategyCommandOutput} 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 update a deployment strategy
43
+ * ```javascript
44
+ * // The following update-deployment-strategy example updates final bake time to 20 minutes in the specified deployment strategy. ::
45
+ * //
46
+ * const input = {
47
+ * "DeploymentStrategyId": "1225qzk",
48
+ * "FinalBakeTimeInMinutes": 20
49
+ * };
50
+ * const command = new UpdateDeploymentStrategyCommand(input);
51
+ * const response = await client.send(command);
52
+ * /* response ==
53
+ * {
54
+ * "DeploymentDurationInMinutes": 15,
55
+ * "FinalBakeTimeInMinutes": 20,
56
+ * "GrowthFactor": 25,
57
+ * "GrowthType": "LINEAR",
58
+ * "Id": "1225qzk",
59
+ * "Name": "Example-Deployment",
60
+ * "ReplicateTo": "SSM_DOCUMENT"
61
+ * }
62
+ * *\/
63
+ * // example id: to-update-a-deployment-strategy-1632330896602
64
+ * ```
65
+ *
32
66
  */
33
67
  export declare class UpdateDeploymentStrategyCommand extends $Command<UpdateDeploymentStrategyCommandInput, UpdateDeploymentStrategyCommandOutput, AppConfigClientResolvedConfig> {
34
68
  readonly input: UpdateDeploymentStrategyCommandInput;
@@ -29,6 +29,38 @@ export interface UpdateEnvironmentCommandOutput extends Environment, __MetadataB
29
29
  * @see {@link UpdateEnvironmentCommandOutput} 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 update an environment
43
+ * ```javascript
44
+ * // The following update-environment example updates an environment's description.
45
+ * const input = {
46
+ * "ApplicationId": "339ohji",
47
+ * "Description": "An environment for examples.",
48
+ * "EnvironmentId": "54j1r29"
49
+ * };
50
+ * const command = new UpdateEnvironmentCommand(input);
51
+ * const response = await client.send(command);
52
+ * /* response ==
53
+ * {
54
+ * "ApplicationId": "339ohji",
55
+ * "Description": "An environment for examples.",
56
+ * "Id": "54j1r29",
57
+ * "Name": "Example-Environment",
58
+ * "State": "ROLLED_BACK"
59
+ * }
60
+ * *\/
61
+ * // example id: to-update-an-environment-1632331382428
62
+ * ```
63
+ *
32
64
  */
33
65
  export declare class UpdateEnvironmentCommand extends $Command<UpdateEnvironmentCommandInput, UpdateEnvironmentCommandOutput, AppConfigClientResolvedConfig> {
34
66
  readonly input: UpdateEnvironmentCommandInput;
@@ -32,6 +32,16 @@ export interface UpdateExtensionAssociationCommandOutput extends ExtensionAssoci
32
32
  * @see {@link UpdateExtensionAssociationCommandOutput} 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 UpdateExtensionAssociationCommand extends $Command<UpdateExtensionAssociationCommandInput, UpdateExtensionAssociationCommandOutput, AppConfigClientResolvedConfig> {
37
47
  readonly input: UpdateExtensionAssociationCommandInput;
@@ -32,6 +32,20 @@ export interface UpdateExtensionCommandOutput extends Extension, __MetadataBeare
32
32
  * @see {@link UpdateExtensionCommandOutput} 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 ConflictException} (client fault)
39
+ * <p>The request could not be processed because of conflict in the current state of the
40
+ * resource.</p>
41
+ *
42
+ * @throws {@link InternalServerException} (server fault)
43
+ * <p>There was an internal failure in the AppConfig service.</p>
44
+ *
45
+ * @throws {@link ResourceNotFoundException} (client fault)
46
+ * <p>The requested resource could not be found.</p>
47
+ *
48
+ *
35
49
  */
36
50
  export declare class UpdateExtensionCommand extends $Command<UpdateExtensionCommandInput, UpdateExtensionCommandOutput, AppConfigClientResolvedConfig> {
37
51
  readonly input: UpdateExtensionCommandInput;
@@ -29,6 +29,29 @@ export interface ValidateConfigurationCommandOutput extends __MetadataBearer {
29
29
  * @see {@link ValidateConfigurationCommandOutput} 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 validate a configuration
43
+ * ```javascript
44
+ * // The following validate-configuration example uses the validators in a configuration profile to validate a configuration.
45
+ * const input = {
46
+ * "ApplicationId": "abc1234",
47
+ * "ConfigurationProfileId": "ur8hx2f",
48
+ * "ConfigurationVersion": "1"
49
+ * };
50
+ * const command = new ValidateConfigurationCommand(input);
51
+ * await client.send(command);
52
+ * // example id: to-validate-a-configuration-1632331491365
53
+ * ```
54
+ *
32
55
  */
33
56
  export declare class ValidateConfigurationCommand extends $Command<ValidateConfigurationCommandInput, ValidateConfigurationCommandOutput, AppConfigClientResolvedConfig> {
34
57
  readonly input: ValidateConfigurationCommandInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-appconfig",
3
3
  "description": "AWS SDK for JavaScript Appconfig Client for Node.js, Browser and React Native",
4
- "version": "3.288.0",
4
+ "version": "3.290.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.288.0",
24
- "@aws-sdk/config-resolver": "3.287.0",
25
- "@aws-sdk/credential-provider-node": "3.288.0",
26
- "@aws-sdk/fetch-http-handler": "3.282.0",
27
- "@aws-sdk/hash-node": "3.272.0",
28
- "@aws-sdk/invalid-dependency": "3.272.0",
29
- "@aws-sdk/middleware-content-length": "3.282.0",
30
- "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-host-header": "3.282.0",
32
- "@aws-sdk/middleware-logger": "3.288.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.282.0",
34
- "@aws-sdk/middleware-retry": "3.287.0",
35
- "@aws-sdk/middleware-serde": "3.272.0",
36
- "@aws-sdk/middleware-signing": "3.282.0",
37
- "@aws-sdk/middleware-stack": "3.272.0",
38
- "@aws-sdk/middleware-user-agent": "3.282.0",
39
- "@aws-sdk/node-config-provider": "3.287.0",
40
- "@aws-sdk/node-http-handler": "3.282.0",
41
- "@aws-sdk/protocol-http": "3.282.0",
42
- "@aws-sdk/smithy-client": "3.279.0",
43
- "@aws-sdk/types": "3.272.0",
44
- "@aws-sdk/url-parser": "3.272.0",
23
+ "@aws-sdk/client-sts": "3.290.0",
24
+ "@aws-sdk/config-resolver": "3.290.0",
25
+ "@aws-sdk/credential-provider-node": "3.290.0",
26
+ "@aws-sdk/fetch-http-handler": "3.290.0",
27
+ "@aws-sdk/hash-node": "3.290.0",
28
+ "@aws-sdk/invalid-dependency": "3.290.0",
29
+ "@aws-sdk/middleware-content-length": "3.290.0",
30
+ "@aws-sdk/middleware-endpoint": "3.290.0",
31
+ "@aws-sdk/middleware-host-header": "3.290.0",
32
+ "@aws-sdk/middleware-logger": "3.290.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.290.0",
34
+ "@aws-sdk/middleware-retry": "3.290.0",
35
+ "@aws-sdk/middleware-serde": "3.290.0",
36
+ "@aws-sdk/middleware-signing": "3.290.0",
37
+ "@aws-sdk/middleware-stack": "3.290.0",
38
+ "@aws-sdk/middleware-user-agent": "3.290.0",
39
+ "@aws-sdk/node-config-provider": "3.290.0",
40
+ "@aws-sdk/node-http-handler": "3.290.0",
41
+ "@aws-sdk/protocol-http": "3.290.0",
42
+ "@aws-sdk/smithy-client": "3.290.0",
43
+ "@aws-sdk/types": "3.290.0",
44
+ "@aws-sdk/url-parser": "3.290.0",
45
45
  "@aws-sdk/util-base64": "3.208.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.279.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.287.0",
50
- "@aws-sdk/util-endpoints": "3.272.0",
51
- "@aws-sdk/util-retry": "3.272.0",
52
- "@aws-sdk/util-user-agent-browser": "3.282.0",
53
- "@aws-sdk/util-user-agent-node": "3.287.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.290.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.290.0",
50
+ "@aws-sdk/util-endpoints": "3.290.0",
51
+ "@aws-sdk/util-retry": "3.290.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.290.0",
53
+ "@aws-sdk/util-user-agent-node": "3.290.0",
54
54
  "@aws-sdk/util-utf8": "3.254.0",
55
55
  "tslib": "^2.3.1"
56
56
  },