@aws-sdk/client-appconfig 3.975.0 → 3.980.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1638,57 +1638,6 @@ class ValidateConfigurationCommand extends smithyClient.Command
1638
1638
  .build() {
1639
1639
  }
1640
1640
 
1641
- const commands = {
1642
- CreateApplicationCommand,
1643
- CreateConfigurationProfileCommand,
1644
- CreateDeploymentStrategyCommand,
1645
- CreateEnvironmentCommand,
1646
- CreateExtensionCommand,
1647
- CreateExtensionAssociationCommand,
1648
- CreateHostedConfigurationVersionCommand,
1649
- DeleteApplicationCommand,
1650
- DeleteConfigurationProfileCommand,
1651
- DeleteDeploymentStrategyCommand,
1652
- DeleteEnvironmentCommand,
1653
- DeleteExtensionCommand,
1654
- DeleteExtensionAssociationCommand,
1655
- DeleteHostedConfigurationVersionCommand,
1656
- GetAccountSettingsCommand,
1657
- GetApplicationCommand,
1658
- GetConfigurationCommand,
1659
- GetConfigurationProfileCommand,
1660
- GetDeploymentCommand,
1661
- GetDeploymentStrategyCommand,
1662
- GetEnvironmentCommand,
1663
- GetExtensionCommand,
1664
- GetExtensionAssociationCommand,
1665
- GetHostedConfigurationVersionCommand,
1666
- ListApplicationsCommand,
1667
- ListConfigurationProfilesCommand,
1668
- ListDeploymentsCommand,
1669
- ListDeploymentStrategiesCommand,
1670
- ListEnvironmentsCommand,
1671
- ListExtensionAssociationsCommand,
1672
- ListExtensionsCommand,
1673
- ListHostedConfigurationVersionsCommand,
1674
- ListTagsForResourceCommand,
1675
- StartDeploymentCommand,
1676
- StopDeploymentCommand,
1677
- TagResourceCommand,
1678
- UntagResourceCommand,
1679
- UpdateAccountSettingsCommand,
1680
- UpdateApplicationCommand,
1681
- UpdateConfigurationProfileCommand,
1682
- UpdateDeploymentStrategyCommand,
1683
- UpdateEnvironmentCommand,
1684
- UpdateExtensionCommand,
1685
- UpdateExtensionAssociationCommand,
1686
- ValidateConfigurationCommand,
1687
- };
1688
- class AppConfig extends AppConfigClient {
1689
- }
1690
- smithyClient.createAggregatedClient(commands, AppConfig);
1691
-
1692
1641
  const paginateListApplications = core.createPaginator(AppConfigClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
1693
1642
 
1694
1643
  const paginateListConfigurationProfiles = core.createPaginator(AppConfigClient, ListConfigurationProfilesCommand, "NextToken", "NextToken", "MaxResults");
@@ -1801,6 +1750,71 @@ const waitUntilEnvironmentReadyForDeployment = async (params, input) => {
1801
1750
  return utilWaiter.checkExceptions(result);
1802
1751
  };
1803
1752
 
1753
+ const commands = {
1754
+ CreateApplicationCommand,
1755
+ CreateConfigurationProfileCommand,
1756
+ CreateDeploymentStrategyCommand,
1757
+ CreateEnvironmentCommand,
1758
+ CreateExtensionCommand,
1759
+ CreateExtensionAssociationCommand,
1760
+ CreateHostedConfigurationVersionCommand,
1761
+ DeleteApplicationCommand,
1762
+ DeleteConfigurationProfileCommand,
1763
+ DeleteDeploymentStrategyCommand,
1764
+ DeleteEnvironmentCommand,
1765
+ DeleteExtensionCommand,
1766
+ DeleteExtensionAssociationCommand,
1767
+ DeleteHostedConfigurationVersionCommand,
1768
+ GetAccountSettingsCommand,
1769
+ GetApplicationCommand,
1770
+ GetConfigurationCommand,
1771
+ GetConfigurationProfileCommand,
1772
+ GetDeploymentCommand,
1773
+ GetDeploymentStrategyCommand,
1774
+ GetEnvironmentCommand,
1775
+ GetExtensionCommand,
1776
+ GetExtensionAssociationCommand,
1777
+ GetHostedConfigurationVersionCommand,
1778
+ ListApplicationsCommand,
1779
+ ListConfigurationProfilesCommand,
1780
+ ListDeploymentsCommand,
1781
+ ListDeploymentStrategiesCommand,
1782
+ ListEnvironmentsCommand,
1783
+ ListExtensionAssociationsCommand,
1784
+ ListExtensionsCommand,
1785
+ ListHostedConfigurationVersionsCommand,
1786
+ ListTagsForResourceCommand,
1787
+ StartDeploymentCommand,
1788
+ StopDeploymentCommand,
1789
+ TagResourceCommand,
1790
+ UntagResourceCommand,
1791
+ UpdateAccountSettingsCommand,
1792
+ UpdateApplicationCommand,
1793
+ UpdateConfigurationProfileCommand,
1794
+ UpdateDeploymentStrategyCommand,
1795
+ UpdateEnvironmentCommand,
1796
+ UpdateExtensionCommand,
1797
+ UpdateExtensionAssociationCommand,
1798
+ ValidateConfigurationCommand,
1799
+ };
1800
+ const paginators = {
1801
+ paginateListApplications,
1802
+ paginateListConfigurationProfiles,
1803
+ paginateListDeployments,
1804
+ paginateListDeploymentStrategies,
1805
+ paginateListEnvironments,
1806
+ paginateListExtensionAssociations,
1807
+ paginateListExtensions,
1808
+ paginateListHostedConfigurationVersions,
1809
+ };
1810
+ const waiters = {
1811
+ waitUntilDeploymentComplete,
1812
+ waitUntilEnvironmentReadyForDeployment,
1813
+ };
1814
+ class AppConfig extends AppConfigClient {
1815
+ }
1816
+ smithyClient.createAggregatedClient(commands, AppConfig, { paginators, waiters });
1817
+
1804
1818
  const ActionPoint = {
1805
1819
  AT_DEPLOYMENT_TICK: "AT_DEPLOYMENT_TICK",
1806
1820
  ON_DEPLOYMENT_BAKING: "ON_DEPLOYMENT_BAKING",
@@ -45,6 +45,16 @@ import { UpdateEnvironmentCommand, } from "./commands/UpdateEnvironmentCommand";
45
45
  import { UpdateExtensionAssociationCommand, } from "./commands/UpdateExtensionAssociationCommand";
46
46
  import { UpdateExtensionCommand, } from "./commands/UpdateExtensionCommand";
47
47
  import { ValidateConfigurationCommand, } from "./commands/ValidateConfigurationCommand";
48
+ import { paginateListApplications } from "./pagination/ListApplicationsPaginator";
49
+ import { paginateListConfigurationProfiles } from "./pagination/ListConfigurationProfilesPaginator";
50
+ import { paginateListDeployments } from "./pagination/ListDeploymentsPaginator";
51
+ import { paginateListDeploymentStrategies } from "./pagination/ListDeploymentStrategiesPaginator";
52
+ import { paginateListEnvironments } from "./pagination/ListEnvironmentsPaginator";
53
+ import { paginateListExtensionAssociations } from "./pagination/ListExtensionAssociationsPaginator";
54
+ import { paginateListExtensions } from "./pagination/ListExtensionsPaginator";
55
+ import { paginateListHostedConfigurationVersions } from "./pagination/ListHostedConfigurationVersionsPaginator";
56
+ import { waitUntilDeploymentComplete } from "./waiters/waitForDeploymentComplete";
57
+ import { waitUntilEnvironmentReadyForDeployment } from "./waiters/waitForEnvironmentReadyForDeployment";
48
58
  const commands = {
49
59
  CreateApplicationCommand,
50
60
  CreateConfigurationProfileCommand,
@@ -92,6 +102,20 @@ const commands = {
92
102
  UpdateExtensionAssociationCommand,
93
103
  ValidateConfigurationCommand,
94
104
  };
105
+ const paginators = {
106
+ paginateListApplications,
107
+ paginateListConfigurationProfiles,
108
+ paginateListDeployments,
109
+ paginateListDeploymentStrategies,
110
+ paginateListEnvironments,
111
+ paginateListExtensionAssociations,
112
+ paginateListExtensions,
113
+ paginateListHostedConfigurationVersions,
114
+ };
115
+ const waiters = {
116
+ waitUntilDeploymentComplete,
117
+ waitUntilEnvironmentReadyForDeployment,
118
+ };
95
119
  export class AppConfig extends AppConfigClient {
96
120
  }
97
- createAggregatedClient(commands, AppConfig);
121
+ createAggregatedClient(commands, AppConfig, { paginators, waiters });
@@ -1,4 +1,5 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
+ import type { WaiterResult } from "@smithy/util-waiter";
2
3
  import { AppConfigClient } from "./AppConfigClient";
3
4
  import { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
4
5
  import { CreateConfigurationProfileCommandInput, CreateConfigurationProfileCommandOutput } from "./commands/CreateConfigurationProfileCommand";
@@ -322,6 +323,74 @@ export interface AppConfig {
322
323
  validateConfiguration(args: ValidateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<ValidateConfigurationCommandOutput>;
323
324
  validateConfiguration(args: ValidateConfigurationCommandInput, cb: (err: any, data?: ValidateConfigurationCommandOutput) => void): void;
324
325
  validateConfiguration(args: ValidateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ValidateConfigurationCommandOutput) => void): void;
326
+ /**
327
+ * @see {@link ListApplicationsCommand}
328
+ * @param args - command input.
329
+ * @param paginationConfig - optional pagination config.
330
+ * @returns AsyncIterable of {@link ListApplicationsCommandOutput}.
331
+ */
332
+ paginateListApplications(args?: ListApplicationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListApplicationsCommandOutput>;
333
+ /**
334
+ * @see {@link ListConfigurationProfilesCommand}
335
+ * @param args - command input.
336
+ * @param paginationConfig - optional pagination config.
337
+ * @returns AsyncIterable of {@link ListConfigurationProfilesCommandOutput}.
338
+ */
339
+ paginateListConfigurationProfiles(args: ListConfigurationProfilesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListConfigurationProfilesCommandOutput>;
340
+ /**
341
+ * @see {@link ListDeploymentsCommand}
342
+ * @param args - command input.
343
+ * @param paginationConfig - optional pagination config.
344
+ * @returns AsyncIterable of {@link ListDeploymentsCommandOutput}.
345
+ */
346
+ paginateListDeployments(args: ListDeploymentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeploymentsCommandOutput>;
347
+ /**
348
+ * @see {@link ListDeploymentStrategiesCommand}
349
+ * @param args - command input.
350
+ * @param paginationConfig - optional pagination config.
351
+ * @returns AsyncIterable of {@link ListDeploymentStrategiesCommandOutput}.
352
+ */
353
+ paginateListDeploymentStrategies(args?: ListDeploymentStrategiesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeploymentStrategiesCommandOutput>;
354
+ /**
355
+ * @see {@link ListEnvironmentsCommand}
356
+ * @param args - command input.
357
+ * @param paginationConfig - optional pagination config.
358
+ * @returns AsyncIterable of {@link ListEnvironmentsCommandOutput}.
359
+ */
360
+ paginateListEnvironments(args: ListEnvironmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEnvironmentsCommandOutput>;
361
+ /**
362
+ * @see {@link ListExtensionAssociationsCommand}
363
+ * @param args - command input.
364
+ * @param paginationConfig - optional pagination config.
365
+ * @returns AsyncIterable of {@link ListExtensionAssociationsCommandOutput}.
366
+ */
367
+ paginateListExtensionAssociations(args?: ListExtensionAssociationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExtensionAssociationsCommandOutput>;
368
+ /**
369
+ * @see {@link ListExtensionsCommand}
370
+ * @param args - command input.
371
+ * @param paginationConfig - optional pagination config.
372
+ * @returns AsyncIterable of {@link ListExtensionsCommandOutput}.
373
+ */
374
+ paginateListExtensions(args?: ListExtensionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListExtensionsCommandOutput>;
375
+ /**
376
+ * @see {@link ListHostedConfigurationVersionsCommand}
377
+ * @param args - command input.
378
+ * @param paginationConfig - optional pagination config.
379
+ * @returns AsyncIterable of {@link ListHostedConfigurationVersionsCommandOutput}.
380
+ */
381
+ paginateListHostedConfigurationVersions(args: ListHostedConfigurationVersionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListHostedConfigurationVersionsCommandOutput>;
382
+ /**
383
+ * @see {@link GetDeploymentCommand}
384
+ * @param args - command input.
385
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
386
+ */
387
+ waitUntilDeploymentComplete(args: GetDeploymentCommandInput, waiterConfig: number | Omit<WaiterConfiguration<AppConfig>, "client">): Promise<WaiterResult>;
388
+ /**
389
+ * @see {@link GetEnvironmentCommand}
390
+ * @param args - command input.
391
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
392
+ */
393
+ waitUntilEnvironmentReadyForDeployment(args: GetEnvironmentCommandInput, waiterConfig: number | Omit<WaiterConfiguration<AppConfig>, "client">): Promise<WaiterResult>;
325
394
  }
326
395
  /**
327
396
  * <p>AppConfig feature flags and dynamic configurations help software builders
@@ -1,4 +1,10 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ WaiterConfiguration,
6
+ } from "@smithy/types";
7
+ import { WaiterResult } from "@smithy/util-waiter";
2
8
  import { AppConfigClient } from "./AppConfigClient";
3
9
  import {
4
10
  CreateApplicationCommandInput,
@@ -772,5 +778,79 @@ export interface AppConfig {
772
778
  options: __HttpHandlerOptions,
773
779
  cb: (err: any, data?: ValidateConfigurationCommandOutput) => void
774
780
  ): void;
781
+ paginateListApplications(
782
+ args?: ListApplicationsCommandInput,
783
+ paginationConfig?: Pick<
784
+ PaginationConfiguration,
785
+ Exclude<keyof PaginationConfiguration, "client">
786
+ >
787
+ ): Paginator<ListApplicationsCommandOutput>;
788
+ paginateListConfigurationProfiles(
789
+ args: ListConfigurationProfilesCommandInput,
790
+ paginationConfig?: Pick<
791
+ PaginationConfiguration,
792
+ Exclude<keyof PaginationConfiguration, "client">
793
+ >
794
+ ): Paginator<ListConfigurationProfilesCommandOutput>;
795
+ paginateListDeployments(
796
+ args: ListDeploymentsCommandInput,
797
+ paginationConfig?: Pick<
798
+ PaginationConfiguration,
799
+ Exclude<keyof PaginationConfiguration, "client">
800
+ >
801
+ ): Paginator<ListDeploymentsCommandOutput>;
802
+ paginateListDeploymentStrategies(
803
+ args?: ListDeploymentStrategiesCommandInput,
804
+ paginationConfig?: Pick<
805
+ PaginationConfiguration,
806
+ Exclude<keyof PaginationConfiguration, "client">
807
+ >
808
+ ): Paginator<ListDeploymentStrategiesCommandOutput>;
809
+ paginateListEnvironments(
810
+ args: ListEnvironmentsCommandInput,
811
+ paginationConfig?: Pick<
812
+ PaginationConfiguration,
813
+ Exclude<keyof PaginationConfiguration, "client">
814
+ >
815
+ ): Paginator<ListEnvironmentsCommandOutput>;
816
+ paginateListExtensionAssociations(
817
+ args?: ListExtensionAssociationsCommandInput,
818
+ paginationConfig?: Pick<
819
+ PaginationConfiguration,
820
+ Exclude<keyof PaginationConfiguration, "client">
821
+ >
822
+ ): Paginator<ListExtensionAssociationsCommandOutput>;
823
+ paginateListExtensions(
824
+ args?: ListExtensionsCommandInput,
825
+ paginationConfig?: Pick<
826
+ PaginationConfiguration,
827
+ Exclude<keyof PaginationConfiguration, "client">
828
+ >
829
+ ): Paginator<ListExtensionsCommandOutput>;
830
+ paginateListHostedConfigurationVersions(
831
+ args: ListHostedConfigurationVersionsCommandInput,
832
+ paginationConfig?: Pick<
833
+ PaginationConfiguration,
834
+ Exclude<keyof PaginationConfiguration, "client">
835
+ >
836
+ ): Paginator<ListHostedConfigurationVersionsCommandOutput>;
837
+ waitUntilDeploymentComplete(
838
+ args: GetDeploymentCommandInput,
839
+ waiterConfig:
840
+ | number
841
+ | Pick<
842
+ WaiterConfiguration<AppConfig>,
843
+ Exclude<keyof WaiterConfiguration<AppConfig>, "client">
844
+ >
845
+ ): Promise<WaiterResult>;
846
+ waitUntilEnvironmentReadyForDeployment(
847
+ args: GetEnvironmentCommandInput,
848
+ waiterConfig:
849
+ | number
850
+ | Pick<
851
+ WaiterConfiguration<AppConfig>,
852
+ Exclude<keyof WaiterConfiguration<AppConfig>, "client">
853
+ >
854
+ ): Promise<WaiterResult>;
775
855
  }
776
856
  export declare class AppConfig extends AppConfigClient implements AppConfig {}
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.975.0",
4
+ "version": "3.980.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-appconfig",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.1",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.2",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
32
- "@aws-sdk/util-endpoints": "3.972.0",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
24
+ "@aws-sdk/core": "^3.973.5",
25
+ "@aws-sdk/credential-provider-node": "^3.972.4",
26
+ "@aws-sdk/middleware-host-header": "^3.972.3",
27
+ "@aws-sdk/middleware-logger": "^3.972.3",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.5",
30
+ "@aws-sdk/region-config-resolver": "^3.972.3",
31
+ "@aws-sdk/types": "^3.973.1",
32
+ "@aws-sdk/util-endpoints": "3.980.0",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.3",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.1",
36
+ "@smithy/core": "^3.22.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.11",
42
- "@smithy/middleware-retry": "^4.4.27",
41
+ "@smithy/middleware-endpoint": "^4.4.12",
42
+ "@smithy/middleware-retry": "^4.4.29",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
46
  "@smithy/node-http-handler": "^4.4.8",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.10.12",
48
+ "@smithy/smithy-client": "^4.11.1",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.26",
55
- "@smithy/util-defaults-mode-node": "^4.2.29",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.28",
55
+ "@smithy/util-defaults-mode-node": "^4.2.31",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",