@aws-sdk/client-appconfig 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/AppConfig.js +0 -52
- package/dist-cjs/AppConfigClient.js +0 -57
- package/dist-cjs/commands/CreateApplicationCommand.js +0 -28
- package/dist-cjs/commands/CreateConfigurationProfileCommand.js +0 -42
- package/dist-cjs/commands/CreateDeploymentStrategyCommand.js +0 -28
- package/dist-cjs/commands/CreateEnvironmentCommand.js +0 -31
- package/dist-cjs/commands/CreateHostedConfigurationVersionCommand.js +0 -25
- package/dist-cjs/commands/DeleteApplicationCommand.js +0 -26
- package/dist-cjs/commands/DeleteConfigurationProfileCommand.js +0 -26
- package/dist-cjs/commands/DeleteDeploymentStrategyCommand.js +0 -26
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +0 -26
- package/dist-cjs/commands/DeleteHostedConfigurationVersionCommand.js +0 -25
- package/dist-cjs/commands/GetApplicationCommand.js +0 -25
- package/dist-cjs/commands/GetConfigurationCommand.js +0 -37
- package/dist-cjs/commands/GetConfigurationProfileCommand.js +0 -25
- package/dist-cjs/commands/GetDeploymentCommand.js +0 -25
- package/dist-cjs/commands/GetDeploymentStrategyCommand.js +0 -29
- package/dist-cjs/commands/GetEnvironmentCommand.js +0 -29
- package/dist-cjs/commands/GetHostedConfigurationVersionCommand.js +0 -25
- package/dist-cjs/commands/ListApplicationsCommand.js +0 -25
- package/dist-cjs/commands/ListConfigurationProfilesCommand.js +0 -25
- package/dist-cjs/commands/ListDeploymentStrategiesCommand.js +0 -25
- package/dist-cjs/commands/ListDeploymentsCommand.js +0 -25
- package/dist-cjs/commands/ListEnvironmentsCommand.js +0 -25
- package/dist-cjs/commands/ListHostedConfigurationVersionsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/StartDeploymentCommand.js +0 -25
- package/dist-cjs/commands/StopDeploymentCommand.js +0 -27
- package/dist-cjs/commands/TagResourceCommand.js +0 -27
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateApplicationCommand.js +0 -25
- package/dist-cjs/commands/UpdateConfigurationProfileCommand.js +0 -25
- package/dist-cjs/commands/UpdateDeploymentStrategyCommand.js +0 -25
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +0 -25
- package/dist-cjs/commands/ValidateConfigurationCommand.js +0 -25
- package/dist-cjs/commands/index.js +36 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -43
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -178
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListApplicationsPaginator.js +0 -11
- package/dist-cjs/pagination/ListConfigurationProfilesPaginator.js +0 -11
- package/dist-cjs/pagination/ListDeploymentStrategiesPaginator.js +0 -11
- package/dist-cjs/pagination/ListDeploymentsPaginator.js +0 -11
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js +0 -11
- package/dist-cjs/pagination/ListHostedConfigurationVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +10 -0
- package/dist-cjs/protocols/Aws_restJson1.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/AppConfig.js +0 -1
- package/dist-es/AppConfigClient.js +0 -1
- package/dist-es/commands/CreateApplicationCommand.js +0 -1
- package/dist-es/commands/CreateConfigurationProfileCommand.js +0 -1
- package/dist-es/commands/CreateDeploymentStrategyCommand.js +0 -1
- package/dist-es/commands/CreateEnvironmentCommand.js +0 -1
- package/dist-es/commands/CreateHostedConfigurationVersionCommand.js +0 -1
- package/dist-es/commands/DeleteApplicationCommand.js +0 -1
- package/dist-es/commands/DeleteConfigurationProfileCommand.js +0 -1
- package/dist-es/commands/DeleteDeploymentStrategyCommand.js +0 -1
- package/dist-es/commands/DeleteEnvironmentCommand.js +0 -1
- package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js +0 -1
- package/dist-es/commands/GetApplicationCommand.js +0 -1
- package/dist-es/commands/GetConfigurationCommand.js +0 -1
- package/dist-es/commands/GetConfigurationProfileCommand.js +0 -1
- package/dist-es/commands/GetDeploymentCommand.js +0 -1
- package/dist-es/commands/GetDeploymentStrategyCommand.js +0 -1
- package/dist-es/commands/GetEnvironmentCommand.js +0 -1
- package/dist-es/commands/GetHostedConfigurationVersionCommand.js +0 -1
- package/dist-es/commands/ListApplicationsCommand.js +0 -1
- package/dist-es/commands/ListConfigurationProfilesCommand.js +0 -1
- package/dist-es/commands/ListDeploymentStrategiesCommand.js +0 -1
- package/dist-es/commands/ListDeploymentsCommand.js +0 -1
- package/dist-es/commands/ListEnvironmentsCommand.js +0 -1
- package/dist-es/commands/ListHostedConfigurationVersionsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/StartDeploymentCommand.js +0 -1
- package/dist-es/commands/StopDeploymentCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateApplicationCommand.js +0 -1
- package/dist-es/commands/UpdateConfigurationProfileCommand.js +0 -1
- package/dist-es/commands/UpdateDeploymentStrategyCommand.js +0 -1
- package/dist-es/commands/UpdateEnvironmentCommand.js +0 -1
- package/dist-es/commands/ValidateConfigurationCommand.js +0 -1
- package/dist-es/commands/index.js +33 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -43
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListApplicationsPaginator.js +0 -1
- package/dist-es/pagination/ListConfigurationProfilesPaginator.js +0 -1
- package/dist-es/pagination/ListDeploymentStrategiesPaginator.js +0 -1
- package/dist-es/pagination/ListDeploymentsPaginator.js +0 -1
- package/dist-es/pagination/ListEnvironmentsPaginator.js +0 -1
- package/dist-es/pagination/ListHostedConfigurationVersionsPaginator.js +0 -1
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +33 -0
- package/dist-types/index.d.ts +4 -42
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/AppConfig.d.ts +34 -208
- package/dist-types/ts3.4/AppConfigClient.d.ts +24 -137
- package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateConfigurationProfileCommand.d.ts +2 -37
- package/dist-types/ts3.4/commands/CreateDeploymentStrategyCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateEnvironmentCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreateHostedConfigurationVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteConfigurationProfileCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteDeploymentStrategyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteEnvironmentCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteHostedConfigurationVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/GetConfigurationProfileCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetDeploymentStrategyCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetEnvironmentCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetHostedConfigurationVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListConfigurationProfilesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDeploymentStrategiesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListEnvironmentsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListHostedConfigurationVersionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StartDeploymentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateConfigurationProfileCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateDeploymentStrategyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateEnvironmentCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ValidateConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +33 -0
- package/dist-types/ts3.4/index.d.ts +4 -42
- package/dist-types/ts3.4/models/models_0.d.ts +275 -973
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/AppConfig.js.map +0 -1
- package/dist-cjs/AppConfigClient.js.map +0 -1
- package/dist-cjs/commands/CreateApplicationCommand.js.map +0 -1
- package/dist-cjs/commands/CreateConfigurationProfileCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDeploymentStrategyCommand.js.map +0 -1
- package/dist-cjs/commands/CreateEnvironmentCommand.js.map +0 -1
- package/dist-cjs/commands/CreateHostedConfigurationVersionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteConfigurationProfileCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDeploymentStrategyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteEnvironmentCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteHostedConfigurationVersionCommand.js.map +0 -1
- package/dist-cjs/commands/GetApplicationCommand.js.map +0 -1
- package/dist-cjs/commands/GetConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/GetConfigurationProfileCommand.js.map +0 -1
- package/dist-cjs/commands/GetDeploymentCommand.js.map +0 -1
- package/dist-cjs/commands/GetDeploymentStrategyCommand.js.map +0 -1
- package/dist-cjs/commands/GetEnvironmentCommand.js.map +0 -1
- package/dist-cjs/commands/GetHostedConfigurationVersionCommand.js.map +0 -1
- package/dist-cjs/commands/ListApplicationsCommand.js.map +0 -1
- package/dist-cjs/commands/ListConfigurationProfilesCommand.js.map +0 -1
- package/dist-cjs/commands/ListDeploymentStrategiesCommand.js.map +0 -1
- package/dist-cjs/commands/ListDeploymentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListEnvironmentsCommand.js.map +0 -1
- package/dist-cjs/commands/ListHostedConfigurationVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/StartDeploymentCommand.js.map +0 -1
- package/dist-cjs/commands/StopDeploymentCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateApplicationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateConfigurationProfileCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDeploymentStrategyCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateEnvironmentCommand.js.map +0 -1
- package/dist-cjs/commands/ValidateConfigurationCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListApplicationsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListConfigurationProfilesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDeploymentStrategiesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListDeploymentsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListEnvironmentsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListHostedConfigurationVersionsPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/AppConfig.js.map +0 -1
- package/dist-es/AppConfigClient.js.map +0 -1
- package/dist-es/commands/CreateApplicationCommand.js.map +0 -1
- package/dist-es/commands/CreateConfigurationProfileCommand.js.map +0 -1
- package/dist-es/commands/CreateDeploymentStrategyCommand.js.map +0 -1
- package/dist-es/commands/CreateEnvironmentCommand.js.map +0 -1
- package/dist-es/commands/CreateHostedConfigurationVersionCommand.js.map +0 -1
- package/dist-es/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist-es/commands/DeleteConfigurationProfileCommand.js.map +0 -1
- package/dist-es/commands/DeleteDeploymentStrategyCommand.js.map +0 -1
- package/dist-es/commands/DeleteEnvironmentCommand.js.map +0 -1
- package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js.map +0 -1
- package/dist-es/commands/GetApplicationCommand.js.map +0 -1
- package/dist-es/commands/GetConfigurationCommand.js.map +0 -1
- package/dist-es/commands/GetConfigurationProfileCommand.js.map +0 -1
- package/dist-es/commands/GetDeploymentCommand.js.map +0 -1
- package/dist-es/commands/GetDeploymentStrategyCommand.js.map +0 -1
- package/dist-es/commands/GetEnvironmentCommand.js.map +0 -1
- package/dist-es/commands/GetHostedConfigurationVersionCommand.js.map +0 -1
- package/dist-es/commands/ListApplicationsCommand.js.map +0 -1
- package/dist-es/commands/ListConfigurationProfilesCommand.js.map +0 -1
- package/dist-es/commands/ListDeploymentStrategiesCommand.js.map +0 -1
- package/dist-es/commands/ListDeploymentsCommand.js.map +0 -1
- package/dist-es/commands/ListEnvironmentsCommand.js.map +0 -1
- package/dist-es/commands/ListHostedConfigurationVersionsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/StartDeploymentCommand.js.map +0 -1
- package/dist-es/commands/StopDeploymentCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateApplicationCommand.js.map +0 -1
- package/dist-es/commands/UpdateConfigurationProfileCommand.js.map +0 -1
- package/dist-es/commands/UpdateDeploymentStrategyCommand.js.map +0 -1
- package/dist-es/commands/UpdateEnvironmentCommand.js.map +0 -1
- package/dist-es/commands/ValidateConfigurationCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListApplicationsPaginator.js.map +0 -1
- package/dist-es/pagination/ListConfigurationProfilesPaginator.js.map +0 -1
- package/dist-es/pagination/ListDeploymentStrategiesPaginator.js.map +0 -1
- package/dist-es/pagination/ListDeploymentsPaginator.js.map +0 -1
- package/dist-es/pagination/ListEnvironmentsPaginator.js.map +0 -1
- package/dist-es/pagination/ListHostedConfigurationVersionsPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/AppConfig.ts +0 -1325
- package/src/AppConfigClient.ts +0 -431
- package/src/commands/CreateApplicationCommand.ts +0 -98
- package/src/commands/CreateConfigurationProfileCommand.ts +0 -115
- package/src/commands/CreateDeploymentStrategyCommand.ts +0 -98
- package/src/commands/CreateEnvironmentCommand.ts +0 -101
- package/src/commands/CreateHostedConfigurationVersionCommand.ts +0 -101
- package/src/commands/DeleteApplicationCommand.ts +0 -96
- package/src/commands/DeleteConfigurationProfileCommand.ts +0 -99
- package/src/commands/DeleteDeploymentStrategyCommand.ts +0 -96
- package/src/commands/DeleteEnvironmentCommand.ts +0 -96
- package/src/commands/DeleteHostedConfigurationVersionCommand.ts +0 -101
- package/src/commands/GetApplicationCommand.ts +0 -95
- package/src/commands/GetConfigurationCommand.ts +0 -107
- package/src/commands/GetConfigurationProfileCommand.ts +0 -95
- package/src/commands/GetDeploymentCommand.ts +0 -95
- package/src/commands/GetDeploymentStrategyCommand.ts +0 -99
- package/src/commands/GetEnvironmentCommand.ts +0 -99
- package/src/commands/GetHostedConfigurationVersionCommand.ts +0 -98
- package/src/commands/ListApplicationsCommand.ts +0 -95
- package/src/commands/ListConfigurationProfilesCommand.ts +0 -98
- package/src/commands/ListDeploymentStrategiesCommand.ts +0 -95
- package/src/commands/ListDeploymentsCommand.ts +0 -95
- package/src/commands/ListEnvironmentsCommand.ts +0 -95
- package/src/commands/ListHostedConfigurationVersionsCommand.ts +0 -102
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/StartDeploymentCommand.ts +0 -95
- package/src/commands/StopDeploymentCommand.ts +0 -97
- package/src/commands/TagResourceCommand.ts +0 -97
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateApplicationCommand.ts +0 -95
- package/src/commands/UpdateConfigurationProfileCommand.ts +0 -98
- package/src/commands/UpdateDeploymentStrategyCommand.ts +0 -95
- package/src/commands/UpdateEnvironmentCommand.ts +0 -95
- package/src/commands/ValidateConfigurationCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -43
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1941
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListApplicationsPaginator.ts +0 -59
- package/src/pagination/ListConfigurationProfilesPaginator.ts +0 -59
- package/src/pagination/ListDeploymentStrategiesPaginator.ts +0 -59
- package/src/pagination/ListDeploymentsPaginator.ts +0 -59
- package/src/pagination/ListEnvironmentsPaginator.ts +0 -59
- package/src/pagination/ListHostedConfigurationVersionsPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -4709
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/AppConfig.ts
DELETED
|
@@ -1,1325 +0,0 @@
|
|
|
1
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { AppConfigClient } from "./AppConfigClient";
|
|
4
|
-
import {
|
|
5
|
-
CreateApplicationCommand,
|
|
6
|
-
CreateApplicationCommandInput,
|
|
7
|
-
CreateApplicationCommandOutput,
|
|
8
|
-
} from "./commands/CreateApplicationCommand";
|
|
9
|
-
import {
|
|
10
|
-
CreateConfigurationProfileCommand,
|
|
11
|
-
CreateConfigurationProfileCommandInput,
|
|
12
|
-
CreateConfigurationProfileCommandOutput,
|
|
13
|
-
} from "./commands/CreateConfigurationProfileCommand";
|
|
14
|
-
import {
|
|
15
|
-
CreateDeploymentStrategyCommand,
|
|
16
|
-
CreateDeploymentStrategyCommandInput,
|
|
17
|
-
CreateDeploymentStrategyCommandOutput,
|
|
18
|
-
} from "./commands/CreateDeploymentStrategyCommand";
|
|
19
|
-
import {
|
|
20
|
-
CreateEnvironmentCommand,
|
|
21
|
-
CreateEnvironmentCommandInput,
|
|
22
|
-
CreateEnvironmentCommandOutput,
|
|
23
|
-
} from "./commands/CreateEnvironmentCommand";
|
|
24
|
-
import {
|
|
25
|
-
CreateHostedConfigurationVersionCommand,
|
|
26
|
-
CreateHostedConfigurationVersionCommandInput,
|
|
27
|
-
CreateHostedConfigurationVersionCommandOutput,
|
|
28
|
-
} from "./commands/CreateHostedConfigurationVersionCommand";
|
|
29
|
-
import {
|
|
30
|
-
DeleteApplicationCommand,
|
|
31
|
-
DeleteApplicationCommandInput,
|
|
32
|
-
DeleteApplicationCommandOutput,
|
|
33
|
-
} from "./commands/DeleteApplicationCommand";
|
|
34
|
-
import {
|
|
35
|
-
DeleteConfigurationProfileCommand,
|
|
36
|
-
DeleteConfigurationProfileCommandInput,
|
|
37
|
-
DeleteConfigurationProfileCommandOutput,
|
|
38
|
-
} from "./commands/DeleteConfigurationProfileCommand";
|
|
39
|
-
import {
|
|
40
|
-
DeleteDeploymentStrategyCommand,
|
|
41
|
-
DeleteDeploymentStrategyCommandInput,
|
|
42
|
-
DeleteDeploymentStrategyCommandOutput,
|
|
43
|
-
} from "./commands/DeleteDeploymentStrategyCommand";
|
|
44
|
-
import {
|
|
45
|
-
DeleteEnvironmentCommand,
|
|
46
|
-
DeleteEnvironmentCommandInput,
|
|
47
|
-
DeleteEnvironmentCommandOutput,
|
|
48
|
-
} from "./commands/DeleteEnvironmentCommand";
|
|
49
|
-
import {
|
|
50
|
-
DeleteHostedConfigurationVersionCommand,
|
|
51
|
-
DeleteHostedConfigurationVersionCommandInput,
|
|
52
|
-
DeleteHostedConfigurationVersionCommandOutput,
|
|
53
|
-
} from "./commands/DeleteHostedConfigurationVersionCommand";
|
|
54
|
-
import {
|
|
55
|
-
GetApplicationCommand,
|
|
56
|
-
GetApplicationCommandInput,
|
|
57
|
-
GetApplicationCommandOutput,
|
|
58
|
-
} from "./commands/GetApplicationCommand";
|
|
59
|
-
import {
|
|
60
|
-
GetConfigurationCommand,
|
|
61
|
-
GetConfigurationCommandInput,
|
|
62
|
-
GetConfigurationCommandOutput,
|
|
63
|
-
} from "./commands/GetConfigurationCommand";
|
|
64
|
-
import {
|
|
65
|
-
GetConfigurationProfileCommand,
|
|
66
|
-
GetConfigurationProfileCommandInput,
|
|
67
|
-
GetConfigurationProfileCommandOutput,
|
|
68
|
-
} from "./commands/GetConfigurationProfileCommand";
|
|
69
|
-
import {
|
|
70
|
-
GetDeploymentCommand,
|
|
71
|
-
GetDeploymentCommandInput,
|
|
72
|
-
GetDeploymentCommandOutput,
|
|
73
|
-
} from "./commands/GetDeploymentCommand";
|
|
74
|
-
import {
|
|
75
|
-
GetDeploymentStrategyCommand,
|
|
76
|
-
GetDeploymentStrategyCommandInput,
|
|
77
|
-
GetDeploymentStrategyCommandOutput,
|
|
78
|
-
} from "./commands/GetDeploymentStrategyCommand";
|
|
79
|
-
import {
|
|
80
|
-
GetEnvironmentCommand,
|
|
81
|
-
GetEnvironmentCommandInput,
|
|
82
|
-
GetEnvironmentCommandOutput,
|
|
83
|
-
} from "./commands/GetEnvironmentCommand";
|
|
84
|
-
import {
|
|
85
|
-
GetHostedConfigurationVersionCommand,
|
|
86
|
-
GetHostedConfigurationVersionCommandInput,
|
|
87
|
-
GetHostedConfigurationVersionCommandOutput,
|
|
88
|
-
} from "./commands/GetHostedConfigurationVersionCommand";
|
|
89
|
-
import {
|
|
90
|
-
ListApplicationsCommand,
|
|
91
|
-
ListApplicationsCommandInput,
|
|
92
|
-
ListApplicationsCommandOutput,
|
|
93
|
-
} from "./commands/ListApplicationsCommand";
|
|
94
|
-
import {
|
|
95
|
-
ListConfigurationProfilesCommand,
|
|
96
|
-
ListConfigurationProfilesCommandInput,
|
|
97
|
-
ListConfigurationProfilesCommandOutput,
|
|
98
|
-
} from "./commands/ListConfigurationProfilesCommand";
|
|
99
|
-
import {
|
|
100
|
-
ListDeploymentsCommand,
|
|
101
|
-
ListDeploymentsCommandInput,
|
|
102
|
-
ListDeploymentsCommandOutput,
|
|
103
|
-
} from "./commands/ListDeploymentsCommand";
|
|
104
|
-
import {
|
|
105
|
-
ListDeploymentStrategiesCommand,
|
|
106
|
-
ListDeploymentStrategiesCommandInput,
|
|
107
|
-
ListDeploymentStrategiesCommandOutput,
|
|
108
|
-
} from "./commands/ListDeploymentStrategiesCommand";
|
|
109
|
-
import {
|
|
110
|
-
ListEnvironmentsCommand,
|
|
111
|
-
ListEnvironmentsCommandInput,
|
|
112
|
-
ListEnvironmentsCommandOutput,
|
|
113
|
-
} from "./commands/ListEnvironmentsCommand";
|
|
114
|
-
import {
|
|
115
|
-
ListHostedConfigurationVersionsCommand,
|
|
116
|
-
ListHostedConfigurationVersionsCommandInput,
|
|
117
|
-
ListHostedConfigurationVersionsCommandOutput,
|
|
118
|
-
} from "./commands/ListHostedConfigurationVersionsCommand";
|
|
119
|
-
import {
|
|
120
|
-
ListTagsForResourceCommand,
|
|
121
|
-
ListTagsForResourceCommandInput,
|
|
122
|
-
ListTagsForResourceCommandOutput,
|
|
123
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
124
|
-
import {
|
|
125
|
-
StartDeploymentCommand,
|
|
126
|
-
StartDeploymentCommandInput,
|
|
127
|
-
StartDeploymentCommandOutput,
|
|
128
|
-
} from "./commands/StartDeploymentCommand";
|
|
129
|
-
import {
|
|
130
|
-
StopDeploymentCommand,
|
|
131
|
-
StopDeploymentCommandInput,
|
|
132
|
-
StopDeploymentCommandOutput,
|
|
133
|
-
} from "./commands/StopDeploymentCommand";
|
|
134
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
135
|
-
import {
|
|
136
|
-
UntagResourceCommand,
|
|
137
|
-
UntagResourceCommandInput,
|
|
138
|
-
UntagResourceCommandOutput,
|
|
139
|
-
} from "./commands/UntagResourceCommand";
|
|
140
|
-
import {
|
|
141
|
-
UpdateApplicationCommand,
|
|
142
|
-
UpdateApplicationCommandInput,
|
|
143
|
-
UpdateApplicationCommandOutput,
|
|
144
|
-
} from "./commands/UpdateApplicationCommand";
|
|
145
|
-
import {
|
|
146
|
-
UpdateConfigurationProfileCommand,
|
|
147
|
-
UpdateConfigurationProfileCommandInput,
|
|
148
|
-
UpdateConfigurationProfileCommandOutput,
|
|
149
|
-
} from "./commands/UpdateConfigurationProfileCommand";
|
|
150
|
-
import {
|
|
151
|
-
UpdateDeploymentStrategyCommand,
|
|
152
|
-
UpdateDeploymentStrategyCommandInput,
|
|
153
|
-
UpdateDeploymentStrategyCommandOutput,
|
|
154
|
-
} from "./commands/UpdateDeploymentStrategyCommand";
|
|
155
|
-
import {
|
|
156
|
-
UpdateEnvironmentCommand,
|
|
157
|
-
UpdateEnvironmentCommandInput,
|
|
158
|
-
UpdateEnvironmentCommandOutput,
|
|
159
|
-
} from "./commands/UpdateEnvironmentCommand";
|
|
160
|
-
import {
|
|
161
|
-
ValidateConfigurationCommand,
|
|
162
|
-
ValidateConfigurationCommandInput,
|
|
163
|
-
ValidateConfigurationCommandOutput,
|
|
164
|
-
} from "./commands/ValidateConfigurationCommand";
|
|
165
|
-
|
|
166
|
-
/**
|
|
167
|
-
* <fullname>AWS AppConfig</fullname>
|
|
168
|
-
* <p>Use AWS AppConfig, a capability of AWS Systems Manager, to create, manage, and quickly deploy
|
|
169
|
-
* application configurations. AppConfig supports controlled deployments to applications of any
|
|
170
|
-
* size and includes built-in validation checks and monitoring. You can use AppConfig with
|
|
171
|
-
* applications hosted on Amazon EC2 instances, AWS Lambda, containers, mobile applications, or IoT
|
|
172
|
-
* devices.</p>
|
|
173
|
-
*
|
|
174
|
-
* <p>To prevent errors when deploying application configurations, especially for production
|
|
175
|
-
* systems where a simple typo could cause an unexpected outage, AppConfig includes validators.
|
|
176
|
-
* A validator provides a syntactic or semantic check to ensure that the configuration you
|
|
177
|
-
* want to deploy works as intended. To validate your application configuration data, you
|
|
178
|
-
* provide a schema or a Lambda function that runs against the configuration. The
|
|
179
|
-
* configuration deployment or update can only proceed when the configuration data is
|
|
180
|
-
* valid.</p>
|
|
181
|
-
*
|
|
182
|
-
* <p>During a configuration deployment, AppConfig monitors the application to ensure that the
|
|
183
|
-
* deployment is successful. If the system encounters an error, AppConfig rolls back the change
|
|
184
|
-
* to minimize impact for your application users. You can configure a deployment strategy for
|
|
185
|
-
* each application or environment that includes deployment criteria, including velocity, bake
|
|
186
|
-
* time, and alarms to monitor. Similar to error monitoring, if a deployment triggers an
|
|
187
|
-
* alarm, AppConfig automatically rolls back to the previous version. </p>
|
|
188
|
-
*
|
|
189
|
-
* <p>AppConfig supports multiple use cases. Here are some examples.</p>
|
|
190
|
-
* <ul>
|
|
191
|
-
* <li>
|
|
192
|
-
* <p>
|
|
193
|
-
* <b>Application tuning</b>: Use AppConfig to carefully
|
|
194
|
-
* introduce changes to your application that can only be tested with production
|
|
195
|
-
* traffic.</p>
|
|
196
|
-
* </li>
|
|
197
|
-
* <li>
|
|
198
|
-
* <p>
|
|
199
|
-
* <b>Feature toggle</b>: Use AppConfig to turn on new
|
|
200
|
-
* features that require a timely deployment, such as a product launch or announcement.
|
|
201
|
-
* </p>
|
|
202
|
-
* </li>
|
|
203
|
-
* <li>
|
|
204
|
-
* <p>
|
|
205
|
-
* <b>Allow list</b>: Use AppConfig to allow premium
|
|
206
|
-
* subscribers to access paid content. </p>
|
|
207
|
-
* </li>
|
|
208
|
-
* <li>
|
|
209
|
-
* <p>
|
|
210
|
-
* <b>Operational issues</b>: Use AppConfig to reduce stress
|
|
211
|
-
* on your application when a dependency or other external factor impacts the
|
|
212
|
-
* system.</p>
|
|
213
|
-
* </li>
|
|
214
|
-
* </ul>
|
|
215
|
-
* <p>This reference is intended to be used with the <a href="http://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig.html">AWS AppConfig User Guide</a>.</p>
|
|
216
|
-
*/
|
|
217
|
-
export class AppConfig extends AppConfigClient {
|
|
218
|
-
/**
|
|
219
|
-
* <p>An application in AppConfig is a logical unit of code that provides capabilities for your
|
|
220
|
-
* customers. For example, an application can be a microservice that runs on Amazon EC2 instances,
|
|
221
|
-
* a mobile application installed by your users, a serverless application using Amazon API
|
|
222
|
-
* Gateway and AWS Lambda, or any system you run on behalf of others.</p>
|
|
223
|
-
*/
|
|
224
|
-
public createApplication(
|
|
225
|
-
args: CreateApplicationCommandInput,
|
|
226
|
-
options?: __HttpHandlerOptions
|
|
227
|
-
): Promise<CreateApplicationCommandOutput>;
|
|
228
|
-
public createApplication(
|
|
229
|
-
args: CreateApplicationCommandInput,
|
|
230
|
-
cb: (err: any, data?: CreateApplicationCommandOutput) => void
|
|
231
|
-
): void;
|
|
232
|
-
public createApplication(
|
|
233
|
-
args: CreateApplicationCommandInput,
|
|
234
|
-
options: __HttpHandlerOptions,
|
|
235
|
-
cb: (err: any, data?: CreateApplicationCommandOutput) => void
|
|
236
|
-
): void;
|
|
237
|
-
public createApplication(
|
|
238
|
-
args: CreateApplicationCommandInput,
|
|
239
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateApplicationCommandOutput) => void),
|
|
240
|
-
cb?: (err: any, data?: CreateApplicationCommandOutput) => void
|
|
241
|
-
): Promise<CreateApplicationCommandOutput> | void {
|
|
242
|
-
const command = new CreateApplicationCommand(args);
|
|
243
|
-
if (typeof optionsOrCb === "function") {
|
|
244
|
-
this.send(command, optionsOrCb);
|
|
245
|
-
} else if (typeof cb === "function") {
|
|
246
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
247
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
248
|
-
} else {
|
|
249
|
-
return this.send(command, optionsOrCb);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* <p>Information that enables AppConfig to access the configuration source. Valid
|
|
255
|
-
* configuration sources include Systems Manager (SSM) documents, SSM Parameter Store parameters, and
|
|
256
|
-
* Amazon S3 objects. A configuration profile includes the following information.</p>
|
|
257
|
-
* <ul>
|
|
258
|
-
* <li>
|
|
259
|
-
* <p>The Uri location of the configuration data.</p>
|
|
260
|
-
* </li>
|
|
261
|
-
* <li>
|
|
262
|
-
* <p>The AWS Identity and Access Management (IAM) role that provides access to the configuration data.</p>
|
|
263
|
-
* </li>
|
|
264
|
-
* <li>
|
|
265
|
-
* <p>A validator for the configuration data. Available validators include either a JSON
|
|
266
|
-
* Schema or an AWS Lambda function.</p>
|
|
267
|
-
* </li>
|
|
268
|
-
* </ul>
|
|
269
|
-
* <p>For more information, see <a href="http://docs.aws.amazon.com/systems-manager/latest/userguide/appconfig-creating-configuration-and-profile.html">Create a
|
|
270
|
-
* Configuration and a Configuration Profile</a> in the
|
|
271
|
-
* <i>AWS AppConfig User Guide</i>.</p>
|
|
272
|
-
*/
|
|
273
|
-
public createConfigurationProfile(
|
|
274
|
-
args: CreateConfigurationProfileCommandInput,
|
|
275
|
-
options?: __HttpHandlerOptions
|
|
276
|
-
): Promise<CreateConfigurationProfileCommandOutput>;
|
|
277
|
-
public createConfigurationProfile(
|
|
278
|
-
args: CreateConfigurationProfileCommandInput,
|
|
279
|
-
cb: (err: any, data?: CreateConfigurationProfileCommandOutput) => void
|
|
280
|
-
): void;
|
|
281
|
-
public createConfigurationProfile(
|
|
282
|
-
args: CreateConfigurationProfileCommandInput,
|
|
283
|
-
options: __HttpHandlerOptions,
|
|
284
|
-
cb: (err: any, data?: CreateConfigurationProfileCommandOutput) => void
|
|
285
|
-
): void;
|
|
286
|
-
public createConfigurationProfile(
|
|
287
|
-
args: CreateConfigurationProfileCommandInput,
|
|
288
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateConfigurationProfileCommandOutput) => void),
|
|
289
|
-
cb?: (err: any, data?: CreateConfigurationProfileCommandOutput) => void
|
|
290
|
-
): Promise<CreateConfigurationProfileCommandOutput> | void {
|
|
291
|
-
const command = new CreateConfigurationProfileCommand(args);
|
|
292
|
-
if (typeof optionsOrCb === "function") {
|
|
293
|
-
this.send(command, optionsOrCb);
|
|
294
|
-
} else if (typeof cb === "function") {
|
|
295
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
296
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
297
|
-
} else {
|
|
298
|
-
return this.send(command, optionsOrCb);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
/**
|
|
303
|
-
* <p>A deployment strategy defines important criteria for rolling out your configuration to
|
|
304
|
-
* the designated targets. A deployment strategy includes: the overall duration required, a
|
|
305
|
-
* percentage of targets to receive the deployment during each interval, an algorithm that
|
|
306
|
-
* defines how percentage grows, and bake time.</p>
|
|
307
|
-
*/
|
|
308
|
-
public createDeploymentStrategy(
|
|
309
|
-
args: CreateDeploymentStrategyCommandInput,
|
|
310
|
-
options?: __HttpHandlerOptions
|
|
311
|
-
): Promise<CreateDeploymentStrategyCommandOutput>;
|
|
312
|
-
public createDeploymentStrategy(
|
|
313
|
-
args: CreateDeploymentStrategyCommandInput,
|
|
314
|
-
cb: (err: any, data?: CreateDeploymentStrategyCommandOutput) => void
|
|
315
|
-
): void;
|
|
316
|
-
public createDeploymentStrategy(
|
|
317
|
-
args: CreateDeploymentStrategyCommandInput,
|
|
318
|
-
options: __HttpHandlerOptions,
|
|
319
|
-
cb: (err: any, data?: CreateDeploymentStrategyCommandOutput) => void
|
|
320
|
-
): void;
|
|
321
|
-
public createDeploymentStrategy(
|
|
322
|
-
args: CreateDeploymentStrategyCommandInput,
|
|
323
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDeploymentStrategyCommandOutput) => void),
|
|
324
|
-
cb?: (err: any, data?: CreateDeploymentStrategyCommandOutput) => void
|
|
325
|
-
): Promise<CreateDeploymentStrategyCommandOutput> | void {
|
|
326
|
-
const command = new CreateDeploymentStrategyCommand(args);
|
|
327
|
-
if (typeof optionsOrCb === "function") {
|
|
328
|
-
this.send(command, optionsOrCb);
|
|
329
|
-
} else if (typeof cb === "function") {
|
|
330
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
331
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
332
|
-
} else {
|
|
333
|
-
return this.send(command, optionsOrCb);
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
/**
|
|
338
|
-
* <p>For each application, you define one or more environments. An environment is a logical
|
|
339
|
-
* deployment group of AppConfig targets, such as applications in a <code>Beta</code> or
|
|
340
|
-
* <code>Production</code> environment. You can also define environments for application
|
|
341
|
-
* subcomponents such as the <code>Web</code>, <code>Mobile</code> and <code>Back-end</code>
|
|
342
|
-
* components for your application. You can configure Amazon CloudWatch alarms for each environment.
|
|
343
|
-
* The system monitors alarms during a configuration deployment. If an alarm is triggered, the
|
|
344
|
-
* system rolls back the configuration.</p>
|
|
345
|
-
*/
|
|
346
|
-
public createEnvironment(
|
|
347
|
-
args: CreateEnvironmentCommandInput,
|
|
348
|
-
options?: __HttpHandlerOptions
|
|
349
|
-
): Promise<CreateEnvironmentCommandOutput>;
|
|
350
|
-
public createEnvironment(
|
|
351
|
-
args: CreateEnvironmentCommandInput,
|
|
352
|
-
cb: (err: any, data?: CreateEnvironmentCommandOutput) => void
|
|
353
|
-
): void;
|
|
354
|
-
public createEnvironment(
|
|
355
|
-
args: CreateEnvironmentCommandInput,
|
|
356
|
-
options: __HttpHandlerOptions,
|
|
357
|
-
cb: (err: any, data?: CreateEnvironmentCommandOutput) => void
|
|
358
|
-
): void;
|
|
359
|
-
public createEnvironment(
|
|
360
|
-
args: CreateEnvironmentCommandInput,
|
|
361
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateEnvironmentCommandOutput) => void),
|
|
362
|
-
cb?: (err: any, data?: CreateEnvironmentCommandOutput) => void
|
|
363
|
-
): Promise<CreateEnvironmentCommandOutput> | void {
|
|
364
|
-
const command = new CreateEnvironmentCommand(args);
|
|
365
|
-
if (typeof optionsOrCb === "function") {
|
|
366
|
-
this.send(command, optionsOrCb);
|
|
367
|
-
} else if (typeof cb === "function") {
|
|
368
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
369
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
370
|
-
} else {
|
|
371
|
-
return this.send(command, optionsOrCb);
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* <p>Create a new configuration in the AppConfig configuration store.</p>
|
|
377
|
-
*/
|
|
378
|
-
public createHostedConfigurationVersion(
|
|
379
|
-
args: CreateHostedConfigurationVersionCommandInput,
|
|
380
|
-
options?: __HttpHandlerOptions
|
|
381
|
-
): Promise<CreateHostedConfigurationVersionCommandOutput>;
|
|
382
|
-
public createHostedConfigurationVersion(
|
|
383
|
-
args: CreateHostedConfigurationVersionCommandInput,
|
|
384
|
-
cb: (err: any, data?: CreateHostedConfigurationVersionCommandOutput) => void
|
|
385
|
-
): void;
|
|
386
|
-
public createHostedConfigurationVersion(
|
|
387
|
-
args: CreateHostedConfigurationVersionCommandInput,
|
|
388
|
-
options: __HttpHandlerOptions,
|
|
389
|
-
cb: (err: any, data?: CreateHostedConfigurationVersionCommandOutput) => void
|
|
390
|
-
): void;
|
|
391
|
-
public createHostedConfigurationVersion(
|
|
392
|
-
args: CreateHostedConfigurationVersionCommandInput,
|
|
393
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateHostedConfigurationVersionCommandOutput) => void),
|
|
394
|
-
cb?: (err: any, data?: CreateHostedConfigurationVersionCommandOutput) => void
|
|
395
|
-
): Promise<CreateHostedConfigurationVersionCommandOutput> | void {
|
|
396
|
-
const command = new CreateHostedConfigurationVersionCommand(args);
|
|
397
|
-
if (typeof optionsOrCb === "function") {
|
|
398
|
-
this.send(command, optionsOrCb);
|
|
399
|
-
} else if (typeof cb === "function") {
|
|
400
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
401
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
402
|
-
} else {
|
|
403
|
-
return this.send(command, optionsOrCb);
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
/**
|
|
408
|
-
* <p>Delete an application. Deleting an application does not delete a configuration from a
|
|
409
|
-
* host.</p>
|
|
410
|
-
*/
|
|
411
|
-
public deleteApplication(
|
|
412
|
-
args: DeleteApplicationCommandInput,
|
|
413
|
-
options?: __HttpHandlerOptions
|
|
414
|
-
): Promise<DeleteApplicationCommandOutput>;
|
|
415
|
-
public deleteApplication(
|
|
416
|
-
args: DeleteApplicationCommandInput,
|
|
417
|
-
cb: (err: any, data?: DeleteApplicationCommandOutput) => void
|
|
418
|
-
): void;
|
|
419
|
-
public deleteApplication(
|
|
420
|
-
args: DeleteApplicationCommandInput,
|
|
421
|
-
options: __HttpHandlerOptions,
|
|
422
|
-
cb: (err: any, data?: DeleteApplicationCommandOutput) => void
|
|
423
|
-
): void;
|
|
424
|
-
public deleteApplication(
|
|
425
|
-
args: DeleteApplicationCommandInput,
|
|
426
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteApplicationCommandOutput) => void),
|
|
427
|
-
cb?: (err: any, data?: DeleteApplicationCommandOutput) => void
|
|
428
|
-
): Promise<DeleteApplicationCommandOutput> | void {
|
|
429
|
-
const command = new DeleteApplicationCommand(args);
|
|
430
|
-
if (typeof optionsOrCb === "function") {
|
|
431
|
-
this.send(command, optionsOrCb);
|
|
432
|
-
} else if (typeof cb === "function") {
|
|
433
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
434
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
435
|
-
} else {
|
|
436
|
-
return this.send(command, optionsOrCb);
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
/**
|
|
441
|
-
* <p>Delete a configuration profile. Deleting a configuration profile does not delete a
|
|
442
|
-
* configuration from a host.</p>
|
|
443
|
-
*/
|
|
444
|
-
public deleteConfigurationProfile(
|
|
445
|
-
args: DeleteConfigurationProfileCommandInput,
|
|
446
|
-
options?: __HttpHandlerOptions
|
|
447
|
-
): Promise<DeleteConfigurationProfileCommandOutput>;
|
|
448
|
-
public deleteConfigurationProfile(
|
|
449
|
-
args: DeleteConfigurationProfileCommandInput,
|
|
450
|
-
cb: (err: any, data?: DeleteConfigurationProfileCommandOutput) => void
|
|
451
|
-
): void;
|
|
452
|
-
public deleteConfigurationProfile(
|
|
453
|
-
args: DeleteConfigurationProfileCommandInput,
|
|
454
|
-
options: __HttpHandlerOptions,
|
|
455
|
-
cb: (err: any, data?: DeleteConfigurationProfileCommandOutput) => void
|
|
456
|
-
): void;
|
|
457
|
-
public deleteConfigurationProfile(
|
|
458
|
-
args: DeleteConfigurationProfileCommandInput,
|
|
459
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteConfigurationProfileCommandOutput) => void),
|
|
460
|
-
cb?: (err: any, data?: DeleteConfigurationProfileCommandOutput) => void
|
|
461
|
-
): Promise<DeleteConfigurationProfileCommandOutput> | void {
|
|
462
|
-
const command = new DeleteConfigurationProfileCommand(args);
|
|
463
|
-
if (typeof optionsOrCb === "function") {
|
|
464
|
-
this.send(command, optionsOrCb);
|
|
465
|
-
} else if (typeof cb === "function") {
|
|
466
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
467
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
468
|
-
} else {
|
|
469
|
-
return this.send(command, optionsOrCb);
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* <p>Delete a deployment strategy. Deleting a deployment strategy does not delete a
|
|
475
|
-
* configuration from a host.</p>
|
|
476
|
-
*/
|
|
477
|
-
public deleteDeploymentStrategy(
|
|
478
|
-
args: DeleteDeploymentStrategyCommandInput,
|
|
479
|
-
options?: __HttpHandlerOptions
|
|
480
|
-
): Promise<DeleteDeploymentStrategyCommandOutput>;
|
|
481
|
-
public deleteDeploymentStrategy(
|
|
482
|
-
args: DeleteDeploymentStrategyCommandInput,
|
|
483
|
-
cb: (err: any, data?: DeleteDeploymentStrategyCommandOutput) => void
|
|
484
|
-
): void;
|
|
485
|
-
public deleteDeploymentStrategy(
|
|
486
|
-
args: DeleteDeploymentStrategyCommandInput,
|
|
487
|
-
options: __HttpHandlerOptions,
|
|
488
|
-
cb: (err: any, data?: DeleteDeploymentStrategyCommandOutput) => void
|
|
489
|
-
): void;
|
|
490
|
-
public deleteDeploymentStrategy(
|
|
491
|
-
args: DeleteDeploymentStrategyCommandInput,
|
|
492
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDeploymentStrategyCommandOutput) => void),
|
|
493
|
-
cb?: (err: any, data?: DeleteDeploymentStrategyCommandOutput) => void
|
|
494
|
-
): Promise<DeleteDeploymentStrategyCommandOutput> | void {
|
|
495
|
-
const command = new DeleteDeploymentStrategyCommand(args);
|
|
496
|
-
if (typeof optionsOrCb === "function") {
|
|
497
|
-
this.send(command, optionsOrCb);
|
|
498
|
-
} else if (typeof cb === "function") {
|
|
499
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
500
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
501
|
-
} else {
|
|
502
|
-
return this.send(command, optionsOrCb);
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* <p>Delete an environment. Deleting an environment does not delete a configuration from a
|
|
508
|
-
* host.</p>
|
|
509
|
-
*/
|
|
510
|
-
public deleteEnvironment(
|
|
511
|
-
args: DeleteEnvironmentCommandInput,
|
|
512
|
-
options?: __HttpHandlerOptions
|
|
513
|
-
): Promise<DeleteEnvironmentCommandOutput>;
|
|
514
|
-
public deleteEnvironment(
|
|
515
|
-
args: DeleteEnvironmentCommandInput,
|
|
516
|
-
cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void
|
|
517
|
-
): void;
|
|
518
|
-
public deleteEnvironment(
|
|
519
|
-
args: DeleteEnvironmentCommandInput,
|
|
520
|
-
options: __HttpHandlerOptions,
|
|
521
|
-
cb: (err: any, data?: DeleteEnvironmentCommandOutput) => void
|
|
522
|
-
): void;
|
|
523
|
-
public deleteEnvironment(
|
|
524
|
-
args: DeleteEnvironmentCommandInput,
|
|
525
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteEnvironmentCommandOutput) => void),
|
|
526
|
-
cb?: (err: any, data?: DeleteEnvironmentCommandOutput) => void
|
|
527
|
-
): Promise<DeleteEnvironmentCommandOutput> | void {
|
|
528
|
-
const command = new DeleteEnvironmentCommand(args);
|
|
529
|
-
if (typeof optionsOrCb === "function") {
|
|
530
|
-
this.send(command, optionsOrCb);
|
|
531
|
-
} else if (typeof cb === "function") {
|
|
532
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
533
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
534
|
-
} else {
|
|
535
|
-
return this.send(command, optionsOrCb);
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
/**
|
|
540
|
-
* <p>Delete a version of a configuration from the AppConfig configuration store.</p>
|
|
541
|
-
*/
|
|
542
|
-
public deleteHostedConfigurationVersion(
|
|
543
|
-
args: DeleteHostedConfigurationVersionCommandInput,
|
|
544
|
-
options?: __HttpHandlerOptions
|
|
545
|
-
): Promise<DeleteHostedConfigurationVersionCommandOutput>;
|
|
546
|
-
public deleteHostedConfigurationVersion(
|
|
547
|
-
args: DeleteHostedConfigurationVersionCommandInput,
|
|
548
|
-
cb: (err: any, data?: DeleteHostedConfigurationVersionCommandOutput) => void
|
|
549
|
-
): void;
|
|
550
|
-
public deleteHostedConfigurationVersion(
|
|
551
|
-
args: DeleteHostedConfigurationVersionCommandInput,
|
|
552
|
-
options: __HttpHandlerOptions,
|
|
553
|
-
cb: (err: any, data?: DeleteHostedConfigurationVersionCommandOutput) => void
|
|
554
|
-
): void;
|
|
555
|
-
public deleteHostedConfigurationVersion(
|
|
556
|
-
args: DeleteHostedConfigurationVersionCommandInput,
|
|
557
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteHostedConfigurationVersionCommandOutput) => void),
|
|
558
|
-
cb?: (err: any, data?: DeleteHostedConfigurationVersionCommandOutput) => void
|
|
559
|
-
): Promise<DeleteHostedConfigurationVersionCommandOutput> | void {
|
|
560
|
-
const command = new DeleteHostedConfigurationVersionCommand(args);
|
|
561
|
-
if (typeof optionsOrCb === "function") {
|
|
562
|
-
this.send(command, optionsOrCb);
|
|
563
|
-
} else if (typeof cb === "function") {
|
|
564
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
565
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
566
|
-
} else {
|
|
567
|
-
return this.send(command, optionsOrCb);
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/**
|
|
572
|
-
* <p>Retrieve information about an application.</p>
|
|
573
|
-
*/
|
|
574
|
-
public getApplication(
|
|
575
|
-
args: GetApplicationCommandInput,
|
|
576
|
-
options?: __HttpHandlerOptions
|
|
577
|
-
): Promise<GetApplicationCommandOutput>;
|
|
578
|
-
public getApplication(
|
|
579
|
-
args: GetApplicationCommandInput,
|
|
580
|
-
cb: (err: any, data?: GetApplicationCommandOutput) => void
|
|
581
|
-
): void;
|
|
582
|
-
public getApplication(
|
|
583
|
-
args: GetApplicationCommandInput,
|
|
584
|
-
options: __HttpHandlerOptions,
|
|
585
|
-
cb: (err: any, data?: GetApplicationCommandOutput) => void
|
|
586
|
-
): void;
|
|
587
|
-
public getApplication(
|
|
588
|
-
args: GetApplicationCommandInput,
|
|
589
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetApplicationCommandOutput) => void),
|
|
590
|
-
cb?: (err: any, data?: GetApplicationCommandOutput) => void
|
|
591
|
-
): Promise<GetApplicationCommandOutput> | void {
|
|
592
|
-
const command = new GetApplicationCommand(args);
|
|
593
|
-
if (typeof optionsOrCb === "function") {
|
|
594
|
-
this.send(command, optionsOrCb);
|
|
595
|
-
} else if (typeof cb === "function") {
|
|
596
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
597
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
598
|
-
} else {
|
|
599
|
-
return this.send(command, optionsOrCb);
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
/**
|
|
604
|
-
* <p>Receive information about a configuration.</p>
|
|
605
|
-
* <important>
|
|
606
|
-
* <p>AWS AppConfig uses the value of the <code>ClientConfigurationVersion</code> parameter
|
|
607
|
-
* to identify the configuration version on your clients. If you don’t send
|
|
608
|
-
* <code>ClientConfigurationVersion</code> with each call to
|
|
609
|
-
* <code>GetConfiguration</code>, your clients receive the current configuration. You
|
|
610
|
-
* are charged each time your clients receive a configuration.</p>
|
|
611
|
-
* <p>To avoid excess charges, we recommend that you include the
|
|
612
|
-
* <code>ClientConfigurationVersion</code> value with every call to
|
|
613
|
-
* <code>GetConfiguration</code>. This value must be saved on your client. Subsequent
|
|
614
|
-
* calls to <code>GetConfiguration</code> must pass this value by using the
|
|
615
|
-
* <code>ClientConfigurationVersion</code> parameter. </p>
|
|
616
|
-
* </important>
|
|
617
|
-
*/
|
|
618
|
-
public getConfiguration(
|
|
619
|
-
args: GetConfigurationCommandInput,
|
|
620
|
-
options?: __HttpHandlerOptions
|
|
621
|
-
): Promise<GetConfigurationCommandOutput>;
|
|
622
|
-
public getConfiguration(
|
|
623
|
-
args: GetConfigurationCommandInput,
|
|
624
|
-
cb: (err: any, data?: GetConfigurationCommandOutput) => void
|
|
625
|
-
): void;
|
|
626
|
-
public getConfiguration(
|
|
627
|
-
args: GetConfigurationCommandInput,
|
|
628
|
-
options: __HttpHandlerOptions,
|
|
629
|
-
cb: (err: any, data?: GetConfigurationCommandOutput) => void
|
|
630
|
-
): void;
|
|
631
|
-
public getConfiguration(
|
|
632
|
-
args: GetConfigurationCommandInput,
|
|
633
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetConfigurationCommandOutput) => void),
|
|
634
|
-
cb?: (err: any, data?: GetConfigurationCommandOutput) => void
|
|
635
|
-
): Promise<GetConfigurationCommandOutput> | void {
|
|
636
|
-
const command = new GetConfigurationCommand(args);
|
|
637
|
-
if (typeof optionsOrCb === "function") {
|
|
638
|
-
this.send(command, optionsOrCb);
|
|
639
|
-
} else if (typeof cb === "function") {
|
|
640
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
641
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
642
|
-
} else {
|
|
643
|
-
return this.send(command, optionsOrCb);
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
/**
|
|
648
|
-
* <p>Retrieve information about a configuration profile.</p>
|
|
649
|
-
*/
|
|
650
|
-
public getConfigurationProfile(
|
|
651
|
-
args: GetConfigurationProfileCommandInput,
|
|
652
|
-
options?: __HttpHandlerOptions
|
|
653
|
-
): Promise<GetConfigurationProfileCommandOutput>;
|
|
654
|
-
public getConfigurationProfile(
|
|
655
|
-
args: GetConfigurationProfileCommandInput,
|
|
656
|
-
cb: (err: any, data?: GetConfigurationProfileCommandOutput) => void
|
|
657
|
-
): void;
|
|
658
|
-
public getConfigurationProfile(
|
|
659
|
-
args: GetConfigurationProfileCommandInput,
|
|
660
|
-
options: __HttpHandlerOptions,
|
|
661
|
-
cb: (err: any, data?: GetConfigurationProfileCommandOutput) => void
|
|
662
|
-
): void;
|
|
663
|
-
public getConfigurationProfile(
|
|
664
|
-
args: GetConfigurationProfileCommandInput,
|
|
665
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetConfigurationProfileCommandOutput) => void),
|
|
666
|
-
cb?: (err: any, data?: GetConfigurationProfileCommandOutput) => void
|
|
667
|
-
): Promise<GetConfigurationProfileCommandOutput> | void {
|
|
668
|
-
const command = new GetConfigurationProfileCommand(args);
|
|
669
|
-
if (typeof optionsOrCb === "function") {
|
|
670
|
-
this.send(command, optionsOrCb);
|
|
671
|
-
} else if (typeof cb === "function") {
|
|
672
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
673
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
674
|
-
} else {
|
|
675
|
-
return this.send(command, optionsOrCb);
|
|
676
|
-
}
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* <p>Retrieve information about a configuration deployment.</p>
|
|
681
|
-
*/
|
|
682
|
-
public getDeployment(
|
|
683
|
-
args: GetDeploymentCommandInput,
|
|
684
|
-
options?: __HttpHandlerOptions
|
|
685
|
-
): Promise<GetDeploymentCommandOutput>;
|
|
686
|
-
public getDeployment(
|
|
687
|
-
args: GetDeploymentCommandInput,
|
|
688
|
-
cb: (err: any, data?: GetDeploymentCommandOutput) => void
|
|
689
|
-
): void;
|
|
690
|
-
public getDeployment(
|
|
691
|
-
args: GetDeploymentCommandInput,
|
|
692
|
-
options: __HttpHandlerOptions,
|
|
693
|
-
cb: (err: any, data?: GetDeploymentCommandOutput) => void
|
|
694
|
-
): void;
|
|
695
|
-
public getDeployment(
|
|
696
|
-
args: GetDeploymentCommandInput,
|
|
697
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeploymentCommandOutput) => void),
|
|
698
|
-
cb?: (err: any, data?: GetDeploymentCommandOutput) => void
|
|
699
|
-
): Promise<GetDeploymentCommandOutput> | void {
|
|
700
|
-
const command = new GetDeploymentCommand(args);
|
|
701
|
-
if (typeof optionsOrCb === "function") {
|
|
702
|
-
this.send(command, optionsOrCb);
|
|
703
|
-
} else if (typeof cb === "function") {
|
|
704
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
705
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
706
|
-
} else {
|
|
707
|
-
return this.send(command, optionsOrCb);
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
/**
|
|
712
|
-
* <p>Retrieve information about a deployment strategy. A deployment strategy defines
|
|
713
|
-
* important criteria for rolling out your configuration to the designated targets. A
|
|
714
|
-
* deployment strategy includes: the overall duration required, a percentage of targets to
|
|
715
|
-
* receive the deployment during each interval, an algorithm that defines how percentage
|
|
716
|
-
* grows, and bake time.</p>
|
|
717
|
-
*/
|
|
718
|
-
public getDeploymentStrategy(
|
|
719
|
-
args: GetDeploymentStrategyCommandInput,
|
|
720
|
-
options?: __HttpHandlerOptions
|
|
721
|
-
): Promise<GetDeploymentStrategyCommandOutput>;
|
|
722
|
-
public getDeploymentStrategy(
|
|
723
|
-
args: GetDeploymentStrategyCommandInput,
|
|
724
|
-
cb: (err: any, data?: GetDeploymentStrategyCommandOutput) => void
|
|
725
|
-
): void;
|
|
726
|
-
public getDeploymentStrategy(
|
|
727
|
-
args: GetDeploymentStrategyCommandInput,
|
|
728
|
-
options: __HttpHandlerOptions,
|
|
729
|
-
cb: (err: any, data?: GetDeploymentStrategyCommandOutput) => void
|
|
730
|
-
): void;
|
|
731
|
-
public getDeploymentStrategy(
|
|
732
|
-
args: GetDeploymentStrategyCommandInput,
|
|
733
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeploymentStrategyCommandOutput) => void),
|
|
734
|
-
cb?: (err: any, data?: GetDeploymentStrategyCommandOutput) => void
|
|
735
|
-
): Promise<GetDeploymentStrategyCommandOutput> | void {
|
|
736
|
-
const command = new GetDeploymentStrategyCommand(args);
|
|
737
|
-
if (typeof optionsOrCb === "function") {
|
|
738
|
-
this.send(command, optionsOrCb);
|
|
739
|
-
} else if (typeof cb === "function") {
|
|
740
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
741
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
742
|
-
} else {
|
|
743
|
-
return this.send(command, optionsOrCb);
|
|
744
|
-
}
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* <p>Retrieve information about an environment. An environment is a logical deployment group
|
|
749
|
-
* of AppConfig applications, such as applications in a <code>Production</code> environment or
|
|
750
|
-
* in an <code>EU_Region</code> environment. Each configuration deployment targets an
|
|
751
|
-
* environment. You can enable one or more Amazon CloudWatch alarms for an environment. If an alarm is
|
|
752
|
-
* triggered during a deployment, AppConfig roles back the configuration.</p>
|
|
753
|
-
*/
|
|
754
|
-
public getEnvironment(
|
|
755
|
-
args: GetEnvironmentCommandInput,
|
|
756
|
-
options?: __HttpHandlerOptions
|
|
757
|
-
): Promise<GetEnvironmentCommandOutput>;
|
|
758
|
-
public getEnvironment(
|
|
759
|
-
args: GetEnvironmentCommandInput,
|
|
760
|
-
cb: (err: any, data?: GetEnvironmentCommandOutput) => void
|
|
761
|
-
): void;
|
|
762
|
-
public getEnvironment(
|
|
763
|
-
args: GetEnvironmentCommandInput,
|
|
764
|
-
options: __HttpHandlerOptions,
|
|
765
|
-
cb: (err: any, data?: GetEnvironmentCommandOutput) => void
|
|
766
|
-
): void;
|
|
767
|
-
public getEnvironment(
|
|
768
|
-
args: GetEnvironmentCommandInput,
|
|
769
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetEnvironmentCommandOutput) => void),
|
|
770
|
-
cb?: (err: any, data?: GetEnvironmentCommandOutput) => void
|
|
771
|
-
): Promise<GetEnvironmentCommandOutput> | void {
|
|
772
|
-
const command = new GetEnvironmentCommand(args);
|
|
773
|
-
if (typeof optionsOrCb === "function") {
|
|
774
|
-
this.send(command, optionsOrCb);
|
|
775
|
-
} else if (typeof cb === "function") {
|
|
776
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
777
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
778
|
-
} else {
|
|
779
|
-
return this.send(command, optionsOrCb);
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
* <p>Get information about a specific configuration version.</p>
|
|
785
|
-
*/
|
|
786
|
-
public getHostedConfigurationVersion(
|
|
787
|
-
args: GetHostedConfigurationVersionCommandInput,
|
|
788
|
-
options?: __HttpHandlerOptions
|
|
789
|
-
): Promise<GetHostedConfigurationVersionCommandOutput>;
|
|
790
|
-
public getHostedConfigurationVersion(
|
|
791
|
-
args: GetHostedConfigurationVersionCommandInput,
|
|
792
|
-
cb: (err: any, data?: GetHostedConfigurationVersionCommandOutput) => void
|
|
793
|
-
): void;
|
|
794
|
-
public getHostedConfigurationVersion(
|
|
795
|
-
args: GetHostedConfigurationVersionCommandInput,
|
|
796
|
-
options: __HttpHandlerOptions,
|
|
797
|
-
cb: (err: any, data?: GetHostedConfigurationVersionCommandOutput) => void
|
|
798
|
-
): void;
|
|
799
|
-
public getHostedConfigurationVersion(
|
|
800
|
-
args: GetHostedConfigurationVersionCommandInput,
|
|
801
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetHostedConfigurationVersionCommandOutput) => void),
|
|
802
|
-
cb?: (err: any, data?: GetHostedConfigurationVersionCommandOutput) => void
|
|
803
|
-
): Promise<GetHostedConfigurationVersionCommandOutput> | void {
|
|
804
|
-
const command = new GetHostedConfigurationVersionCommand(args);
|
|
805
|
-
if (typeof optionsOrCb === "function") {
|
|
806
|
-
this.send(command, optionsOrCb);
|
|
807
|
-
} else if (typeof cb === "function") {
|
|
808
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
809
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
810
|
-
} else {
|
|
811
|
-
return this.send(command, optionsOrCb);
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
/**
|
|
816
|
-
* <p>List all applications in your AWS account.</p>
|
|
817
|
-
*/
|
|
818
|
-
public listApplications(
|
|
819
|
-
args: ListApplicationsCommandInput,
|
|
820
|
-
options?: __HttpHandlerOptions
|
|
821
|
-
): Promise<ListApplicationsCommandOutput>;
|
|
822
|
-
public listApplications(
|
|
823
|
-
args: ListApplicationsCommandInput,
|
|
824
|
-
cb: (err: any, data?: ListApplicationsCommandOutput) => void
|
|
825
|
-
): void;
|
|
826
|
-
public listApplications(
|
|
827
|
-
args: ListApplicationsCommandInput,
|
|
828
|
-
options: __HttpHandlerOptions,
|
|
829
|
-
cb: (err: any, data?: ListApplicationsCommandOutput) => void
|
|
830
|
-
): void;
|
|
831
|
-
public listApplications(
|
|
832
|
-
args: ListApplicationsCommandInput,
|
|
833
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApplicationsCommandOutput) => void),
|
|
834
|
-
cb?: (err: any, data?: ListApplicationsCommandOutput) => void
|
|
835
|
-
): Promise<ListApplicationsCommandOutput> | void {
|
|
836
|
-
const command = new ListApplicationsCommand(args);
|
|
837
|
-
if (typeof optionsOrCb === "function") {
|
|
838
|
-
this.send(command, optionsOrCb);
|
|
839
|
-
} else if (typeof cb === "function") {
|
|
840
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
841
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
842
|
-
} else {
|
|
843
|
-
return this.send(command, optionsOrCb);
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
/**
|
|
848
|
-
* <p>Lists the configuration profiles for an application.</p>
|
|
849
|
-
*/
|
|
850
|
-
public listConfigurationProfiles(
|
|
851
|
-
args: ListConfigurationProfilesCommandInput,
|
|
852
|
-
options?: __HttpHandlerOptions
|
|
853
|
-
): Promise<ListConfigurationProfilesCommandOutput>;
|
|
854
|
-
public listConfigurationProfiles(
|
|
855
|
-
args: ListConfigurationProfilesCommandInput,
|
|
856
|
-
cb: (err: any, data?: ListConfigurationProfilesCommandOutput) => void
|
|
857
|
-
): void;
|
|
858
|
-
public listConfigurationProfiles(
|
|
859
|
-
args: ListConfigurationProfilesCommandInput,
|
|
860
|
-
options: __HttpHandlerOptions,
|
|
861
|
-
cb: (err: any, data?: ListConfigurationProfilesCommandOutput) => void
|
|
862
|
-
): void;
|
|
863
|
-
public listConfigurationProfiles(
|
|
864
|
-
args: ListConfigurationProfilesCommandInput,
|
|
865
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListConfigurationProfilesCommandOutput) => void),
|
|
866
|
-
cb?: (err: any, data?: ListConfigurationProfilesCommandOutput) => void
|
|
867
|
-
): Promise<ListConfigurationProfilesCommandOutput> | void {
|
|
868
|
-
const command = new ListConfigurationProfilesCommand(args);
|
|
869
|
-
if (typeof optionsOrCb === "function") {
|
|
870
|
-
this.send(command, optionsOrCb);
|
|
871
|
-
} else if (typeof cb === "function") {
|
|
872
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
873
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
874
|
-
} else {
|
|
875
|
-
return this.send(command, optionsOrCb);
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
|
|
879
|
-
/**
|
|
880
|
-
* <p>Lists the deployments for an environment.</p>
|
|
881
|
-
*/
|
|
882
|
-
public listDeployments(
|
|
883
|
-
args: ListDeploymentsCommandInput,
|
|
884
|
-
options?: __HttpHandlerOptions
|
|
885
|
-
): Promise<ListDeploymentsCommandOutput>;
|
|
886
|
-
public listDeployments(
|
|
887
|
-
args: ListDeploymentsCommandInput,
|
|
888
|
-
cb: (err: any, data?: ListDeploymentsCommandOutput) => void
|
|
889
|
-
): void;
|
|
890
|
-
public listDeployments(
|
|
891
|
-
args: ListDeploymentsCommandInput,
|
|
892
|
-
options: __HttpHandlerOptions,
|
|
893
|
-
cb: (err: any, data?: ListDeploymentsCommandOutput) => void
|
|
894
|
-
): void;
|
|
895
|
-
public listDeployments(
|
|
896
|
-
args: ListDeploymentsCommandInput,
|
|
897
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDeploymentsCommandOutput) => void),
|
|
898
|
-
cb?: (err: any, data?: ListDeploymentsCommandOutput) => void
|
|
899
|
-
): Promise<ListDeploymentsCommandOutput> | void {
|
|
900
|
-
const command = new ListDeploymentsCommand(args);
|
|
901
|
-
if (typeof optionsOrCb === "function") {
|
|
902
|
-
this.send(command, optionsOrCb);
|
|
903
|
-
} else if (typeof cb === "function") {
|
|
904
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
905
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
906
|
-
} else {
|
|
907
|
-
return this.send(command, optionsOrCb);
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
/**
|
|
912
|
-
* <p>List deployment strategies.</p>
|
|
913
|
-
*/
|
|
914
|
-
public listDeploymentStrategies(
|
|
915
|
-
args: ListDeploymentStrategiesCommandInput,
|
|
916
|
-
options?: __HttpHandlerOptions
|
|
917
|
-
): Promise<ListDeploymentStrategiesCommandOutput>;
|
|
918
|
-
public listDeploymentStrategies(
|
|
919
|
-
args: ListDeploymentStrategiesCommandInput,
|
|
920
|
-
cb: (err: any, data?: ListDeploymentStrategiesCommandOutput) => void
|
|
921
|
-
): void;
|
|
922
|
-
public listDeploymentStrategies(
|
|
923
|
-
args: ListDeploymentStrategiesCommandInput,
|
|
924
|
-
options: __HttpHandlerOptions,
|
|
925
|
-
cb: (err: any, data?: ListDeploymentStrategiesCommandOutput) => void
|
|
926
|
-
): void;
|
|
927
|
-
public listDeploymentStrategies(
|
|
928
|
-
args: ListDeploymentStrategiesCommandInput,
|
|
929
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDeploymentStrategiesCommandOutput) => void),
|
|
930
|
-
cb?: (err: any, data?: ListDeploymentStrategiesCommandOutput) => void
|
|
931
|
-
): Promise<ListDeploymentStrategiesCommandOutput> | void {
|
|
932
|
-
const command = new ListDeploymentStrategiesCommand(args);
|
|
933
|
-
if (typeof optionsOrCb === "function") {
|
|
934
|
-
this.send(command, optionsOrCb);
|
|
935
|
-
} else if (typeof cb === "function") {
|
|
936
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
937
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
938
|
-
} else {
|
|
939
|
-
return this.send(command, optionsOrCb);
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
|
|
943
|
-
/**
|
|
944
|
-
* <p>List the environments for an application.</p>
|
|
945
|
-
*/
|
|
946
|
-
public listEnvironments(
|
|
947
|
-
args: ListEnvironmentsCommandInput,
|
|
948
|
-
options?: __HttpHandlerOptions
|
|
949
|
-
): Promise<ListEnvironmentsCommandOutput>;
|
|
950
|
-
public listEnvironments(
|
|
951
|
-
args: ListEnvironmentsCommandInput,
|
|
952
|
-
cb: (err: any, data?: ListEnvironmentsCommandOutput) => void
|
|
953
|
-
): void;
|
|
954
|
-
public listEnvironments(
|
|
955
|
-
args: ListEnvironmentsCommandInput,
|
|
956
|
-
options: __HttpHandlerOptions,
|
|
957
|
-
cb: (err: any, data?: ListEnvironmentsCommandOutput) => void
|
|
958
|
-
): void;
|
|
959
|
-
public listEnvironments(
|
|
960
|
-
args: ListEnvironmentsCommandInput,
|
|
961
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListEnvironmentsCommandOutput) => void),
|
|
962
|
-
cb?: (err: any, data?: ListEnvironmentsCommandOutput) => void
|
|
963
|
-
): Promise<ListEnvironmentsCommandOutput> | void {
|
|
964
|
-
const command = new ListEnvironmentsCommand(args);
|
|
965
|
-
if (typeof optionsOrCb === "function") {
|
|
966
|
-
this.send(command, optionsOrCb);
|
|
967
|
-
} else if (typeof cb === "function") {
|
|
968
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
969
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
970
|
-
} else {
|
|
971
|
-
return this.send(command, optionsOrCb);
|
|
972
|
-
}
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
/**
|
|
976
|
-
* <p>View a list of configurations stored in the AppConfig configuration store by
|
|
977
|
-
* version.</p>
|
|
978
|
-
*/
|
|
979
|
-
public listHostedConfigurationVersions(
|
|
980
|
-
args: ListHostedConfigurationVersionsCommandInput,
|
|
981
|
-
options?: __HttpHandlerOptions
|
|
982
|
-
): Promise<ListHostedConfigurationVersionsCommandOutput>;
|
|
983
|
-
public listHostedConfigurationVersions(
|
|
984
|
-
args: ListHostedConfigurationVersionsCommandInput,
|
|
985
|
-
cb: (err: any, data?: ListHostedConfigurationVersionsCommandOutput) => void
|
|
986
|
-
): void;
|
|
987
|
-
public listHostedConfigurationVersions(
|
|
988
|
-
args: ListHostedConfigurationVersionsCommandInput,
|
|
989
|
-
options: __HttpHandlerOptions,
|
|
990
|
-
cb: (err: any, data?: ListHostedConfigurationVersionsCommandOutput) => void
|
|
991
|
-
): void;
|
|
992
|
-
public listHostedConfigurationVersions(
|
|
993
|
-
args: ListHostedConfigurationVersionsCommandInput,
|
|
994
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListHostedConfigurationVersionsCommandOutput) => void),
|
|
995
|
-
cb?: (err: any, data?: ListHostedConfigurationVersionsCommandOutput) => void
|
|
996
|
-
): Promise<ListHostedConfigurationVersionsCommandOutput> | void {
|
|
997
|
-
const command = new ListHostedConfigurationVersionsCommand(args);
|
|
998
|
-
if (typeof optionsOrCb === "function") {
|
|
999
|
-
this.send(command, optionsOrCb);
|
|
1000
|
-
} else if (typeof cb === "function") {
|
|
1001
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1002
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1003
|
-
} else {
|
|
1004
|
-
return this.send(command, optionsOrCb);
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
/**
|
|
1009
|
-
* <p>Retrieves the list of key-value tags assigned to the resource.</p>
|
|
1010
|
-
*/
|
|
1011
|
-
public listTagsForResource(
|
|
1012
|
-
args: ListTagsForResourceCommandInput,
|
|
1013
|
-
options?: __HttpHandlerOptions
|
|
1014
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
1015
|
-
public listTagsForResource(
|
|
1016
|
-
args: ListTagsForResourceCommandInput,
|
|
1017
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1018
|
-
): void;
|
|
1019
|
-
public listTagsForResource(
|
|
1020
|
-
args: ListTagsForResourceCommandInput,
|
|
1021
|
-
options: __HttpHandlerOptions,
|
|
1022
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1023
|
-
): void;
|
|
1024
|
-
public listTagsForResource(
|
|
1025
|
-
args: ListTagsForResourceCommandInput,
|
|
1026
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
1027
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1028
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
1029
|
-
const command = new ListTagsForResourceCommand(args);
|
|
1030
|
-
if (typeof optionsOrCb === "function") {
|
|
1031
|
-
this.send(command, optionsOrCb);
|
|
1032
|
-
} else if (typeof cb === "function") {
|
|
1033
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1034
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1035
|
-
} else {
|
|
1036
|
-
return this.send(command, optionsOrCb);
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
/**
|
|
1041
|
-
* <p>Starts a deployment.</p>
|
|
1042
|
-
*/
|
|
1043
|
-
public startDeployment(
|
|
1044
|
-
args: StartDeploymentCommandInput,
|
|
1045
|
-
options?: __HttpHandlerOptions
|
|
1046
|
-
): Promise<StartDeploymentCommandOutput>;
|
|
1047
|
-
public startDeployment(
|
|
1048
|
-
args: StartDeploymentCommandInput,
|
|
1049
|
-
cb: (err: any, data?: StartDeploymentCommandOutput) => void
|
|
1050
|
-
): void;
|
|
1051
|
-
public startDeployment(
|
|
1052
|
-
args: StartDeploymentCommandInput,
|
|
1053
|
-
options: __HttpHandlerOptions,
|
|
1054
|
-
cb: (err: any, data?: StartDeploymentCommandOutput) => void
|
|
1055
|
-
): void;
|
|
1056
|
-
public startDeployment(
|
|
1057
|
-
args: StartDeploymentCommandInput,
|
|
1058
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartDeploymentCommandOutput) => void),
|
|
1059
|
-
cb?: (err: any, data?: StartDeploymentCommandOutput) => void
|
|
1060
|
-
): Promise<StartDeploymentCommandOutput> | void {
|
|
1061
|
-
const command = new StartDeploymentCommand(args);
|
|
1062
|
-
if (typeof optionsOrCb === "function") {
|
|
1063
|
-
this.send(command, optionsOrCb);
|
|
1064
|
-
} else if (typeof cb === "function") {
|
|
1065
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1066
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1067
|
-
} else {
|
|
1068
|
-
return this.send(command, optionsOrCb);
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
/**
|
|
1073
|
-
* <p>Stops a deployment. This API action works only on deployments that have a status of
|
|
1074
|
-
* <code>DEPLOYING</code>. This action moves the deployment to a status of
|
|
1075
|
-
* <code>ROLLED_BACK</code>.</p>
|
|
1076
|
-
*/
|
|
1077
|
-
public stopDeployment(
|
|
1078
|
-
args: StopDeploymentCommandInput,
|
|
1079
|
-
options?: __HttpHandlerOptions
|
|
1080
|
-
): Promise<StopDeploymentCommandOutput>;
|
|
1081
|
-
public stopDeployment(
|
|
1082
|
-
args: StopDeploymentCommandInput,
|
|
1083
|
-
cb: (err: any, data?: StopDeploymentCommandOutput) => void
|
|
1084
|
-
): void;
|
|
1085
|
-
public stopDeployment(
|
|
1086
|
-
args: StopDeploymentCommandInput,
|
|
1087
|
-
options: __HttpHandlerOptions,
|
|
1088
|
-
cb: (err: any, data?: StopDeploymentCommandOutput) => void
|
|
1089
|
-
): void;
|
|
1090
|
-
public stopDeployment(
|
|
1091
|
-
args: StopDeploymentCommandInput,
|
|
1092
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopDeploymentCommandOutput) => void),
|
|
1093
|
-
cb?: (err: any, data?: StopDeploymentCommandOutput) => void
|
|
1094
|
-
): Promise<StopDeploymentCommandOutput> | void {
|
|
1095
|
-
const command = new StopDeploymentCommand(args);
|
|
1096
|
-
if (typeof optionsOrCb === "function") {
|
|
1097
|
-
this.send(command, optionsOrCb);
|
|
1098
|
-
} else if (typeof cb === "function") {
|
|
1099
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1100
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1101
|
-
} else {
|
|
1102
|
-
return this.send(command, optionsOrCb);
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
/**
|
|
1107
|
-
* <p>Metadata to assign to an AppConfig resource. Tags help organize and categorize your
|
|
1108
|
-
* AppConfig resources. Each tag consists of a key and an optional value, both of which you
|
|
1109
|
-
* define. You can specify a maximum of 50 tags for a resource.</p>
|
|
1110
|
-
*/
|
|
1111
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1112
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1113
|
-
public tagResource(
|
|
1114
|
-
args: TagResourceCommandInput,
|
|
1115
|
-
options: __HttpHandlerOptions,
|
|
1116
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1117
|
-
): void;
|
|
1118
|
-
public tagResource(
|
|
1119
|
-
args: TagResourceCommandInput,
|
|
1120
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1121
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1122
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
1123
|
-
const command = new TagResourceCommand(args);
|
|
1124
|
-
if (typeof optionsOrCb === "function") {
|
|
1125
|
-
this.send(command, optionsOrCb);
|
|
1126
|
-
} else if (typeof cb === "function") {
|
|
1127
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1128
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1129
|
-
} else {
|
|
1130
|
-
return this.send(command, optionsOrCb);
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
/**
|
|
1135
|
-
* <p>Deletes a tag key and value from an AppConfig resource.</p>
|
|
1136
|
-
*/
|
|
1137
|
-
public untagResource(
|
|
1138
|
-
args: UntagResourceCommandInput,
|
|
1139
|
-
options?: __HttpHandlerOptions
|
|
1140
|
-
): Promise<UntagResourceCommandOutput>;
|
|
1141
|
-
public untagResource(
|
|
1142
|
-
args: UntagResourceCommandInput,
|
|
1143
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1144
|
-
): void;
|
|
1145
|
-
public untagResource(
|
|
1146
|
-
args: UntagResourceCommandInput,
|
|
1147
|
-
options: __HttpHandlerOptions,
|
|
1148
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1149
|
-
): void;
|
|
1150
|
-
public untagResource(
|
|
1151
|
-
args: UntagResourceCommandInput,
|
|
1152
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1153
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1154
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
1155
|
-
const command = new UntagResourceCommand(args);
|
|
1156
|
-
if (typeof optionsOrCb === "function") {
|
|
1157
|
-
this.send(command, optionsOrCb);
|
|
1158
|
-
} else if (typeof cb === "function") {
|
|
1159
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1160
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1161
|
-
} else {
|
|
1162
|
-
return this.send(command, optionsOrCb);
|
|
1163
|
-
}
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
/**
|
|
1167
|
-
* <p>Updates an application.</p>
|
|
1168
|
-
*/
|
|
1169
|
-
public updateApplication(
|
|
1170
|
-
args: UpdateApplicationCommandInput,
|
|
1171
|
-
options?: __HttpHandlerOptions
|
|
1172
|
-
): Promise<UpdateApplicationCommandOutput>;
|
|
1173
|
-
public updateApplication(
|
|
1174
|
-
args: UpdateApplicationCommandInput,
|
|
1175
|
-
cb: (err: any, data?: UpdateApplicationCommandOutput) => void
|
|
1176
|
-
): void;
|
|
1177
|
-
public updateApplication(
|
|
1178
|
-
args: UpdateApplicationCommandInput,
|
|
1179
|
-
options: __HttpHandlerOptions,
|
|
1180
|
-
cb: (err: any, data?: UpdateApplicationCommandOutput) => void
|
|
1181
|
-
): void;
|
|
1182
|
-
public updateApplication(
|
|
1183
|
-
args: UpdateApplicationCommandInput,
|
|
1184
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateApplicationCommandOutput) => void),
|
|
1185
|
-
cb?: (err: any, data?: UpdateApplicationCommandOutput) => void
|
|
1186
|
-
): Promise<UpdateApplicationCommandOutput> | void {
|
|
1187
|
-
const command = new UpdateApplicationCommand(args);
|
|
1188
|
-
if (typeof optionsOrCb === "function") {
|
|
1189
|
-
this.send(command, optionsOrCb);
|
|
1190
|
-
} else if (typeof cb === "function") {
|
|
1191
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1192
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1193
|
-
} else {
|
|
1194
|
-
return this.send(command, optionsOrCb);
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
/**
|
|
1199
|
-
* <p>Updates a configuration profile.</p>
|
|
1200
|
-
*/
|
|
1201
|
-
public updateConfigurationProfile(
|
|
1202
|
-
args: UpdateConfigurationProfileCommandInput,
|
|
1203
|
-
options?: __HttpHandlerOptions
|
|
1204
|
-
): Promise<UpdateConfigurationProfileCommandOutput>;
|
|
1205
|
-
public updateConfigurationProfile(
|
|
1206
|
-
args: UpdateConfigurationProfileCommandInput,
|
|
1207
|
-
cb: (err: any, data?: UpdateConfigurationProfileCommandOutput) => void
|
|
1208
|
-
): void;
|
|
1209
|
-
public updateConfigurationProfile(
|
|
1210
|
-
args: UpdateConfigurationProfileCommandInput,
|
|
1211
|
-
options: __HttpHandlerOptions,
|
|
1212
|
-
cb: (err: any, data?: UpdateConfigurationProfileCommandOutput) => void
|
|
1213
|
-
): void;
|
|
1214
|
-
public updateConfigurationProfile(
|
|
1215
|
-
args: UpdateConfigurationProfileCommandInput,
|
|
1216
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateConfigurationProfileCommandOutput) => void),
|
|
1217
|
-
cb?: (err: any, data?: UpdateConfigurationProfileCommandOutput) => void
|
|
1218
|
-
): Promise<UpdateConfigurationProfileCommandOutput> | void {
|
|
1219
|
-
const command = new UpdateConfigurationProfileCommand(args);
|
|
1220
|
-
if (typeof optionsOrCb === "function") {
|
|
1221
|
-
this.send(command, optionsOrCb);
|
|
1222
|
-
} else if (typeof cb === "function") {
|
|
1223
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1224
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1225
|
-
} else {
|
|
1226
|
-
return this.send(command, optionsOrCb);
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
/**
|
|
1231
|
-
* <p>Updates a deployment strategy.</p>
|
|
1232
|
-
*/
|
|
1233
|
-
public updateDeploymentStrategy(
|
|
1234
|
-
args: UpdateDeploymentStrategyCommandInput,
|
|
1235
|
-
options?: __HttpHandlerOptions
|
|
1236
|
-
): Promise<UpdateDeploymentStrategyCommandOutput>;
|
|
1237
|
-
public updateDeploymentStrategy(
|
|
1238
|
-
args: UpdateDeploymentStrategyCommandInput,
|
|
1239
|
-
cb: (err: any, data?: UpdateDeploymentStrategyCommandOutput) => void
|
|
1240
|
-
): void;
|
|
1241
|
-
public updateDeploymentStrategy(
|
|
1242
|
-
args: UpdateDeploymentStrategyCommandInput,
|
|
1243
|
-
options: __HttpHandlerOptions,
|
|
1244
|
-
cb: (err: any, data?: UpdateDeploymentStrategyCommandOutput) => void
|
|
1245
|
-
): void;
|
|
1246
|
-
public updateDeploymentStrategy(
|
|
1247
|
-
args: UpdateDeploymentStrategyCommandInput,
|
|
1248
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDeploymentStrategyCommandOutput) => void),
|
|
1249
|
-
cb?: (err: any, data?: UpdateDeploymentStrategyCommandOutput) => void
|
|
1250
|
-
): Promise<UpdateDeploymentStrategyCommandOutput> | void {
|
|
1251
|
-
const command = new UpdateDeploymentStrategyCommand(args);
|
|
1252
|
-
if (typeof optionsOrCb === "function") {
|
|
1253
|
-
this.send(command, optionsOrCb);
|
|
1254
|
-
} else if (typeof cb === "function") {
|
|
1255
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1256
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1257
|
-
} else {
|
|
1258
|
-
return this.send(command, optionsOrCb);
|
|
1259
|
-
}
|
|
1260
|
-
}
|
|
1261
|
-
|
|
1262
|
-
/**
|
|
1263
|
-
* <p>Updates an environment.</p>
|
|
1264
|
-
*/
|
|
1265
|
-
public updateEnvironment(
|
|
1266
|
-
args: UpdateEnvironmentCommandInput,
|
|
1267
|
-
options?: __HttpHandlerOptions
|
|
1268
|
-
): Promise<UpdateEnvironmentCommandOutput>;
|
|
1269
|
-
public updateEnvironment(
|
|
1270
|
-
args: UpdateEnvironmentCommandInput,
|
|
1271
|
-
cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void
|
|
1272
|
-
): void;
|
|
1273
|
-
public updateEnvironment(
|
|
1274
|
-
args: UpdateEnvironmentCommandInput,
|
|
1275
|
-
options: __HttpHandlerOptions,
|
|
1276
|
-
cb: (err: any, data?: UpdateEnvironmentCommandOutput) => void
|
|
1277
|
-
): void;
|
|
1278
|
-
public updateEnvironment(
|
|
1279
|
-
args: UpdateEnvironmentCommandInput,
|
|
1280
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateEnvironmentCommandOutput) => void),
|
|
1281
|
-
cb?: (err: any, data?: UpdateEnvironmentCommandOutput) => void
|
|
1282
|
-
): Promise<UpdateEnvironmentCommandOutput> | void {
|
|
1283
|
-
const command = new UpdateEnvironmentCommand(args);
|
|
1284
|
-
if (typeof optionsOrCb === "function") {
|
|
1285
|
-
this.send(command, optionsOrCb);
|
|
1286
|
-
} else if (typeof cb === "function") {
|
|
1287
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1288
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1289
|
-
} else {
|
|
1290
|
-
return this.send(command, optionsOrCb);
|
|
1291
|
-
}
|
|
1292
|
-
}
|
|
1293
|
-
|
|
1294
|
-
/**
|
|
1295
|
-
* <p>Uses the validators in a configuration profile to validate a configuration.</p>
|
|
1296
|
-
*/
|
|
1297
|
-
public validateConfiguration(
|
|
1298
|
-
args: ValidateConfigurationCommandInput,
|
|
1299
|
-
options?: __HttpHandlerOptions
|
|
1300
|
-
): Promise<ValidateConfigurationCommandOutput>;
|
|
1301
|
-
public validateConfiguration(
|
|
1302
|
-
args: ValidateConfigurationCommandInput,
|
|
1303
|
-
cb: (err: any, data?: ValidateConfigurationCommandOutput) => void
|
|
1304
|
-
): void;
|
|
1305
|
-
public validateConfiguration(
|
|
1306
|
-
args: ValidateConfigurationCommandInput,
|
|
1307
|
-
options: __HttpHandlerOptions,
|
|
1308
|
-
cb: (err: any, data?: ValidateConfigurationCommandOutput) => void
|
|
1309
|
-
): void;
|
|
1310
|
-
public validateConfiguration(
|
|
1311
|
-
args: ValidateConfigurationCommandInput,
|
|
1312
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ValidateConfigurationCommandOutput) => void),
|
|
1313
|
-
cb?: (err: any, data?: ValidateConfigurationCommandOutput) => void
|
|
1314
|
-
): Promise<ValidateConfigurationCommandOutput> | void {
|
|
1315
|
-
const command = new ValidateConfigurationCommand(args);
|
|
1316
|
-
if (typeof optionsOrCb === "function") {
|
|
1317
|
-
this.send(command, optionsOrCb);
|
|
1318
|
-
} else if (typeof cb === "function") {
|
|
1319
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1320
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1321
|
-
} else {
|
|
1322
|
-
return this.send(command, optionsOrCb);
|
|
1323
|
-
}
|
|
1324
|
-
}
|
|
1325
|
-
}
|