@aws-sdk/client-cloudcontrol 3.477.0 → 3.481.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist-cjs/commands/CancelResourceRequestCommand.js +18 -41
  2. package/dist-cjs/commands/CreateResourceCommand.js +18 -41
  3. package/dist-cjs/commands/DeleteResourceCommand.js +18 -41
  4. package/dist-cjs/commands/GetResourceCommand.js +18 -41
  5. package/dist-cjs/commands/GetResourceRequestStatusCommand.js +18 -41
  6. package/dist-cjs/commands/ListResourceRequestsCommand.js +18 -41
  7. package/dist-cjs/commands/ListResourcesCommand.js +18 -41
  8. package/dist-cjs/commands/UpdateResourceCommand.js +18 -41
  9. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  10. package/dist-cjs/pagination/ListResourceRequestsPaginator.js +2 -24
  11. package/dist-cjs/pagination/ListResourcesPaginator.js +2 -24
  12. package/dist-es/commands/CancelResourceRequestCommand.js +18 -41
  13. package/dist-es/commands/CreateResourceCommand.js +18 -41
  14. package/dist-es/commands/DeleteResourceCommand.js +18 -41
  15. package/dist-es/commands/GetResourceCommand.js +18 -41
  16. package/dist-es/commands/GetResourceRequestStatusCommand.js +18 -41
  17. package/dist-es/commands/ListResourceRequestsCommand.js +18 -41
  18. package/dist-es/commands/ListResourcesCommand.js +18 -41
  19. package/dist-es/commands/UpdateResourceCommand.js +18 -41
  20. package/dist-es/endpoint/EndpointParameters.js +6 -0
  21. package/dist-es/pagination/ListResourceRequestsPaginator.js +2 -23
  22. package/dist-es/pagination/ListResourcesPaginator.js +2 -23
  23. package/dist-types/commands/CancelResourceRequestCommand.d.ts +6 -21
  24. package/dist-types/commands/CreateResourceCommand.d.ts +6 -21
  25. package/dist-types/commands/DeleteResourceCommand.d.ts +6 -21
  26. package/dist-types/commands/GetResourceCommand.d.ts +6 -21
  27. package/dist-types/commands/GetResourceRequestStatusCommand.d.ts +6 -21
  28. package/dist-types/commands/ListResourceRequestsCommand.d.ts +6 -21
  29. package/dist-types/commands/ListResourcesCommand.d.ts +6 -21
  30. package/dist-types/commands/UpdateResourceCommand.d.ts +6 -21
  31. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  32. package/dist-types/pagination/ListResourceRequestsPaginator.d.ts +1 -1
  33. package/dist-types/pagination/ListResourcesPaginator.d.ts +1 -1
  34. package/dist-types/ts3.4/commands/CancelResourceRequestCommand.d.ts +12 -24
  35. package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +14 -23
  36. package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +14 -23
  37. package/dist-types/ts3.4/commands/GetResourceCommand.d.ts +14 -23
  38. package/dist-types/ts3.4/commands/GetResourceRequestStatusCommand.d.ts +12 -24
  39. package/dist-types/ts3.4/commands/ListResourceRequestsCommand.d.ts +12 -24
  40. package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +14 -23
  41. package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +14 -23
  42. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  43. package/dist-types/ts3.4/pagination/ListResourceRequestsPaginator.d.ts +3 -3
  44. package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +3 -3
  45. package/package.json +11 -10
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudControlClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -21,22 +15,16 @@ export interface ListResourceRequestsCommandInput
21
15
  export interface ListResourceRequestsCommandOutput
22
16
  extends ListResourceRequestsOutput,
23
17
  __MetadataBearer {}
24
- export declare class ListResourceRequestsCommand extends $Command<
25
- ListResourceRequestsCommandInput,
26
- ListResourceRequestsCommandOutput,
27
- CloudControlClientResolvedConfig
28
- > {
29
- readonly input: ListResourceRequestsCommandInput;
30
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
- constructor(input: ListResourceRequestsCommandInput);
32
- resolveMiddleware(
33
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
- configuration: CloudControlClientResolvedConfig,
35
- options?: __HttpHandlerOptions
36
- ): Handler<
18
+ declare const ListResourceRequestsCommand_base: {
19
+ new (
20
+ input: ListResourceRequestsCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
37
22
  ListResourceRequestsCommandInput,
38
- ListResourceRequestsCommandOutput
23
+ ListResourceRequestsCommandOutput,
24
+ CloudControlClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
39
27
  >;
40
- private serialize;
41
- private deserialize;
42
- }
28
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
+ };
30
+ export declare class ListResourceRequestsCommand extends ListResourceRequestsCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudControlClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface ListResourcesCommandInput extends ListResourcesInput {}
17
11
  export interface ListResourcesCommandOutput
18
12
  extends ListResourcesOutput,
19
13
  __MetadataBearer {}
20
- export declare class ListResourcesCommand extends $Command<
21
- ListResourcesCommandInput,
22
- ListResourcesCommandOutput,
23
- CloudControlClientResolvedConfig
24
- > {
25
- readonly input: ListResourcesCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: ListResourcesCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: CloudControlClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<ListResourcesCommandInput, ListResourcesCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const ListResourcesCommand_base: {
15
+ new (
16
+ input: ListResourcesCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ ListResourcesCommandInput,
19
+ ListResourcesCommandOutput,
20
+ CloudControlClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class ListResourcesCommand extends ListResourcesCommand_base {}
@@ -1,11 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import {
4
- Handler,
5
- HttpHandlerOptions as __HttpHandlerOptions,
6
- MetadataBearer as __MetadataBearer,
7
- MiddlewareStack,
8
- } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
9
3
  import {
10
4
  CloudControlClientResolvedConfig,
11
5
  ServiceInputTypes,
@@ -17,19 +11,16 @@ export interface UpdateResourceCommandInput extends UpdateResourceInput {}
17
11
  export interface UpdateResourceCommandOutput
18
12
  extends UpdateResourceOutput,
19
13
  __MetadataBearer {}
20
- export declare class UpdateResourceCommand extends $Command<
21
- UpdateResourceCommandInput,
22
- UpdateResourceCommandOutput,
23
- CloudControlClientResolvedConfig
24
- > {
25
- readonly input: UpdateResourceCommandInput;
26
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
- constructor(input: UpdateResourceCommandInput);
28
- resolveMiddleware(
29
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
30
- configuration: CloudControlClientResolvedConfig,
31
- options?: __HttpHandlerOptions
32
- ): Handler<UpdateResourceCommandInput, UpdateResourceCommandOutput>;
33
- private serialize;
34
- private deserialize;
35
- }
14
+ declare const UpdateResourceCommand_base: {
15
+ new (
16
+ input: UpdateResourceCommandInput
17
+ ): import("@smithy/smithy-client").CommandImpl<
18
+ UpdateResourceCommandInput,
19
+ UpdateResourceCommandOutput,
20
+ CloudControlClientResolvedConfig,
21
+ ServiceInputTypes,
22
+ ServiceOutputTypes
23
+ >;
24
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
+ };
26
+ export declare class UpdateResourceCommand extends UpdateResourceCommand_base {}
@@ -25,6 +25,24 @@ export declare const resolveClientEndpointParameters: <T>(
25
25
  ClientInputEndpointParameters & {
26
26
  defaultSigningName: string;
27
27
  };
28
+ export declare const commonParams: {
29
+ readonly UseFIPS: {
30
+ readonly type: "builtInParams";
31
+ readonly name: "useFipsEndpoint";
32
+ };
33
+ readonly Endpoint: {
34
+ readonly type: "builtInParams";
35
+ readonly name: "endpoint";
36
+ };
37
+ readonly Region: {
38
+ readonly type: "builtInParams";
39
+ readonly name: "region";
40
+ };
41
+ readonly UseDualStack: {
42
+ readonly type: "builtInParams";
43
+ readonly name: "useDualstackEndpoint";
44
+ };
45
+ };
28
46
  export interface EndpointParameters extends __EndpointParameters {
29
47
  Region?: string;
30
48
  UseDualStack?: boolean;
@@ -4,8 +4,8 @@ import {
4
4
  ListResourceRequestsCommandOutput,
5
5
  } from "../commands/ListResourceRequestsCommand";
6
6
  import { CloudControlPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListResourceRequests(
7
+ export declare const paginateListResourceRequests: (
8
8
  config: CloudControlPaginationConfiguration,
9
9
  input: ListResourceRequestsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListResourceRequestsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListResourceRequestsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListResourcesCommandOutput,
5
5
  } from "../commands/ListResourcesCommand";
6
6
  import { CloudControlPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListResources(
7
+ export declare const paginateListResources: (
8
8
  config: CloudControlPaginationConfiguration,
9
9
  input: ListResourcesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListResourcesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListResourcesCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudcontrol",
3
3
  "description": "AWS SDK for JavaScript Cloudcontrol Client for Node.js, Browser and React Native",
4
- "version": "3.477.0",
4
+ "version": "3.481.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,39 +20,40 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.477.0",
24
- "@aws-sdk/core": "3.477.0",
25
- "@aws-sdk/credential-provider-node": "3.477.0",
23
+ "@aws-sdk/client-sts": "3.481.0",
24
+ "@aws-sdk/core": "3.481.0",
25
+ "@aws-sdk/credential-provider-node": "3.481.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
29
  "@aws-sdk/middleware-signing": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.470.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
31
31
  "@aws-sdk/region-config-resolver": "3.470.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.470.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
+ "@smithy/core": "^1.2.1",
37
38
  "@smithy/fetch-http-handler": "^2.3.1",
38
39
  "@smithy/hash-node": "^2.0.17",
39
40
  "@smithy/invalid-dependency": "^2.0.15",
40
41
  "@smithy/middleware-content-length": "^2.0.17",
41
42
  "@smithy/middleware-endpoint": "^2.2.3",
42
- "@smithy/middleware-retry": "^2.0.24",
43
+ "@smithy/middleware-retry": "^2.0.25",
43
44
  "@smithy/middleware-serde": "^2.0.15",
44
45
  "@smithy/middleware-stack": "^2.0.9",
45
46
  "@smithy/node-config-provider": "^2.1.8",
46
47
  "@smithy/node-http-handler": "^2.2.1",
47
48
  "@smithy/protocol-http": "^3.0.11",
48
- "@smithy/smithy-client": "^2.1.18",
49
+ "@smithy/smithy-client": "^2.2.0",
49
50
  "@smithy/types": "^2.7.0",
50
51
  "@smithy/url-parser": "^2.0.15",
51
52
  "@smithy/util-base64": "^2.0.1",
52
53
  "@smithy/util-body-length-browser": "^2.0.1",
53
54
  "@smithy/util-body-length-node": "^2.1.0",
54
- "@smithy/util-defaults-mode-browser": "^2.0.22",
55
- "@smithy/util-defaults-mode-node": "^2.0.29",
55
+ "@smithy/util-defaults-mode-browser": "^2.0.23",
56
+ "@smithy/util-defaults-mode-node": "^2.0.30",
56
57
  "@smithy/util-endpoints": "^1.0.7",
57
58
  "@smithy/util-retry": "^2.0.8",
58
59
  "@smithy/util-utf8": "^2.0.2",