@aws-sdk/client-cloudcontrol 3.533.0 → 3.540.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 (27) hide show
  1. package/dist-cjs/endpoint/endpointResolver.js +4 -2
  2. package/dist-cjs/index.js +0 -3
  3. package/dist-es/endpoint/endpointResolver.js +3 -1
  4. package/dist-es/index.js +0 -1
  5. package/dist-types/CloudControl.d.ts +2 -1
  6. package/dist-types/CloudControlClient.d.ts +1 -1
  7. package/dist-types/commands/CancelResourceRequestCommand.d.ts +2 -1
  8. package/dist-types/commands/CreateResourceCommand.d.ts +2 -1
  9. package/dist-types/commands/DeleteResourceCommand.d.ts +2 -1
  10. package/dist-types/commands/GetResourceCommand.d.ts +2 -1
  11. package/dist-types/commands/GetResourceRequestStatusCommand.d.ts +2 -1
  12. package/dist-types/commands/ListResourceRequestsCommand.d.ts +2 -1
  13. package/dist-types/commands/ListResourcesCommand.d.ts +2 -1
  14. package/dist-types/commands/UpdateResourceCommand.d.ts +2 -1
  15. package/dist-types/index.d.ts +0 -1
  16. package/dist-types/models/models_0.d.ts +81 -81
  17. package/dist-types/ts3.4/CloudControl.d.ts +1 -0
  18. package/dist-types/ts3.4/commands/CancelResourceRequestCommand.d.ts +9 -0
  19. package/dist-types/ts3.4/commands/CreateResourceCommand.d.ts +9 -0
  20. package/dist-types/ts3.4/commands/DeleteResourceCommand.d.ts +9 -0
  21. package/dist-types/ts3.4/commands/GetResourceCommand.d.ts +9 -0
  22. package/dist-types/ts3.4/commands/GetResourceRequestStatusCommand.d.ts +9 -0
  23. package/dist-types/ts3.4/commands/ListResourceRequestsCommand.d.ts +9 -0
  24. package/dist-types/ts3.4/commands/ListResourcesCommand.d.ts +9 -0
  25. package/dist-types/ts3.4/commands/UpdateResourceCommand.d.ts +9 -0
  26. package/dist-types/ts3.4/index.d.ts +0 -1
  27. package/package.json +41 -41
@@ -1,12 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
+ const util_endpoints_2 = require("@smithy/util-endpoints");
5
6
  const ruleset_1 = require("./ruleset");
6
7
  const defaultEndpointResolver = (endpointParams, context = {}) => {
7
- return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
8
+ return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {
8
9
  endpointParams: endpointParams,
9
10
  logger: context.logger,
10
11
  });
11
12
  };
12
13
  exports.defaultEndpointResolver = defaultEndpointResolver;
14
+ util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -1458,9 +1458,6 @@ var waitUntilResourceRequestSuccess = /* @__PURE__ */ __name(async (params, inpu
1458
1458
  const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
1459
1459
  return (0, import_util_waiter.checkExceptions)(result);
1460
1460
  }, "waitUntilResourceRequestSuccess");
1461
-
1462
- // src/index.ts
1463
- var import_util_endpoints = require("@aws-sdk/util-endpoints");
1464
1461
  // Annotate the CommonJS export names for ESM import in node:
1465
1462
 
1466
1463
  0 && (module.exports = {
@@ -1,4 +1,5 @@
1
- import { resolveEndpoint } from "@smithy/util-endpoints";
1
+ import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
2
+ import { customEndpointFunctions, resolveEndpoint } from "@smithy/util-endpoints";
2
3
  import { ruleSet } from "./ruleset";
3
4
  export const defaultEndpointResolver = (endpointParams, context = {}) => {
4
5
  return resolveEndpoint(ruleSet, {
@@ -6,3 +7,4 @@ export const defaultEndpointResolver = (endpointParams, context = {}) => {
6
7
  logger: context.logger,
7
8
  });
8
9
  };
10
+ customEndpointFunctions.aws = awsEndpointFunctions;
package/dist-es/index.js CHANGED
@@ -4,5 +4,4 @@ export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
6
  export * from "./models";
7
- import "@aws-sdk/util-endpoints";
8
7
  export { CloudControlServiceException } from "./models/CloudControlServiceException";
@@ -42,6 +42,7 @@ export interface CloudControl {
42
42
  /**
43
43
  * @see {@link ListResourceRequestsCommand}
44
44
  */
45
+ listResourceRequests(): Promise<ListResourceRequestsCommandOutput>;
45
46
  listResourceRequests(args: ListResourceRequestsCommandInput, options?: __HttpHandlerOptions): Promise<ListResourceRequestsCommandOutput>;
46
47
  listResourceRequests(args: ListResourceRequestsCommandInput, cb: (err: any, data?: ListResourceRequestsCommandOutput) => void): void;
47
48
  listResourceRequests(args: ListResourceRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceRequestsCommandOutput) => void): void;
@@ -59,9 +60,9 @@ export interface CloudControl {
59
60
  updateResource(args: UpdateResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResourceCommandOutput) => void): void;
60
61
  }
61
62
  /**
62
- * @public
63
63
  * <p>For more information about Amazon Web Services Cloud Control API, see the <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/what-is-cloudcontrolapi.html">Amazon Web Services Cloud Control API User
64
64
  * Guide</a>.</p>
65
+ * @public
65
66
  */
66
67
  export declare class CloudControl extends CloudControlClient implements CloudControl {
67
68
  }
@@ -159,9 +159,9 @@ export type CloudControlClientResolvedConfigType = __SmithyResolvedConfiguration
159
159
  export interface CloudControlClientResolvedConfig extends CloudControlClientResolvedConfigType {
160
160
  }
161
161
  /**
162
- * @public
163
162
  * <p>For more information about Amazon Web Services Cloud Control API, see the <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/what-is-cloudcontrolapi.html">Amazon Web Services Cloud Control API User
164
163
  * Guide</a>.</p>
164
+ * @public
165
165
  */
166
166
  export declare class CloudControlClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudControlClientResolvedConfig> {
167
167
  /**
@@ -22,10 +22,10 @@ export interface CancelResourceRequestCommandOutput extends CancelResourceReques
22
22
  }
23
23
  declare const CancelResourceRequestCommand_base: {
24
24
  new (input: CancelResourceRequestCommandInput): import("@smithy/smithy-client").CommandImpl<CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CancelResourceRequestCommandInput): import("@smithy/smithy-client").CommandImpl<CancelResourceRequestCommandInput, CancelResourceRequestCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Cancels the specified resource operation request. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-cancel">Canceling resource operation requests</a> in the
30
30
  * <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
31
31
  * <p>Only resource operations requests with a status of <code>PENDING</code> or
@@ -73,6 +73,7 @@ declare const CancelResourceRequestCommand_base: {
73
73
  * @throws {@link CloudControlServiceException}
74
74
  * <p>Base exception class for all service exceptions from CloudControl service.</p>
75
75
  *
76
+ * @public
76
77
  */
77
78
  export declare class CancelResourceRequestCommand extends CancelResourceRequestCommand_base {
78
79
  }
@@ -22,10 +22,10 @@ export interface CreateResourceCommandOutput extends CreateResourceOutput, __Met
22
22
  }
23
23
  declare const CreateResourceCommand_base: {
24
24
  new (input: CreateResourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateResourceCommandInput, CreateResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateResourceCommandInput): import("@smithy/smithy-client").CommandImpl<CreateResourceCommandInput, CreateResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Creates the specified resource. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html">Creating a
30
30
  * resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
31
31
  * <p>After you have initiated a resource creation request, you can monitor the progress of your
@@ -145,6 +145,7 @@ declare const CreateResourceCommand_base: {
145
145
  * @throws {@link CloudControlServiceException}
146
146
  * <p>Base exception class for all service exceptions from CloudControl service.</p>
147
147
  *
148
+ * @public
148
149
  */
149
150
  export declare class CreateResourceCommand extends CreateResourceCommand_base {
150
151
  }
@@ -22,10 +22,10 @@ export interface DeleteResourceCommandOutput extends DeleteResourceOutput, __Met
22
22
  }
23
23
  declare const DeleteResourceCommand_base: {
24
24
  new (input: DeleteResourceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourceCommandInput, DeleteResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteResourceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourceCommandInput, DeleteResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Deletes the specified resource. For details, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-delete.html">Deleting a
30
30
  * resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
31
31
  * <p>After you have initiated a resource deletion request, you can monitor the progress of your
@@ -145,6 +145,7 @@ declare const DeleteResourceCommand_base: {
145
145
  * @throws {@link CloudControlServiceException}
146
146
  * <p>Base exception class for all service exceptions from CloudControl service.</p>
147
147
  *
148
+ * @public
148
149
  */
149
150
  export declare class DeleteResourceCommand extends DeleteResourceCommand_base {
150
151
  }
@@ -22,10 +22,10 @@ export interface GetResourceCommandOutput extends GetResourceOutput, __MetadataB
22
22
  }
23
23
  declare const GetResourceCommand_base: {
24
24
  new (input: GetResourceCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourceCommandInput, GetResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetResourceCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourceCommandInput, GetResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Returns information about the current state of the specified resource. For details, see
30
30
  * <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-read.html">Reading a resource's current state</a>.</p>
31
31
  * <p>You can use this action to return information about an existing resource in your account
@@ -128,6 +128,7 @@ declare const GetResourceCommand_base: {
128
128
  * @throws {@link CloudControlServiceException}
129
129
  * <p>Base exception class for all service exceptions from CloudControl service.</p>
130
130
  *
131
+ * @public
131
132
  */
132
133
  export declare class GetResourceCommand extends GetResourceCommand_base {
133
134
  }
@@ -22,10 +22,10 @@ export interface GetResourceRequestStatusCommandOutput extends GetResourceReques
22
22
  }
23
23
  declare const GetResourceRequestStatusCommand_base: {
24
24
  new (input: GetResourceRequestStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourceRequestStatusCommandInput, GetResourceRequestStatusCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetResourceRequestStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetResourceRequestStatusCommandInput, GetResourceRequestStatusCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Returns the current status of a resource operation request. For more information, see
30
30
  * <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-track">Tracking the progress of resource operation requests</a> in the
31
31
  * <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
@@ -69,6 +69,7 @@ declare const GetResourceRequestStatusCommand_base: {
69
69
  * @throws {@link CloudControlServiceException}
70
70
  * <p>Base exception class for all service exceptions from CloudControl service.</p>
71
71
  *
72
+ * @public
72
73
  */
73
74
  export declare class GetResourceRequestStatusCommand extends GetResourceRequestStatusCommand_base {
74
75
  }
@@ -22,10 +22,10 @@ export interface ListResourceRequestsCommandOutput extends ListResourceRequestsO
22
22
  }
23
23
  declare const ListResourceRequestsCommand_base: {
24
24
  new (input: ListResourceRequestsCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourceRequestsCommandInput, ListResourceRequestsCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [ListResourceRequestsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListResourceRequestsCommandInput, ListResourceRequestsCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Returns existing resource operation requests. This includes requests of all status types.
30
30
  * For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-list">Listing active resource operation requests</a> in the
31
31
  * <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
@@ -81,6 +81,7 @@ declare const ListResourceRequestsCommand_base: {
81
81
  * @throws {@link CloudControlServiceException}
82
82
  * <p>Base exception class for all service exceptions from CloudControl service.</p>
83
83
  *
84
+ * @public
84
85
  */
85
86
  export declare class ListResourceRequestsCommand extends ListResourceRequestsCommand_base {
86
87
  }
@@ -22,10 +22,10 @@ export interface ListResourcesCommandOutput extends ListResourcesOutput, __Metad
22
22
  }
23
23
  declare const ListResourcesCommand_base: {
24
24
  new (input: ListResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourcesCommandInput, ListResourcesCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ListResourcesCommandInput): import("@smithy/smithy-client").CommandImpl<ListResourcesCommandInput, ListResourcesCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Returns information about the specified resources. For more information, see <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-list.html">Discovering resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>
30
30
  * <p>You can use this action to return information about existing resources in your account and
31
31
  * Amazon Web Services Region, whether those resources were provisioned using Cloud Control API.</p>
@@ -132,6 +132,7 @@ declare const ListResourcesCommand_base: {
132
132
  * @throws {@link CloudControlServiceException}
133
133
  * <p>Base exception class for all service exceptions from CloudControl service.</p>
134
134
  *
135
+ * @public
135
136
  */
136
137
  export declare class ListResourcesCommand extends ListResourcesCommand_base {
137
138
  }
@@ -22,10 +22,10 @@ export interface UpdateResourceCommandOutput extends UpdateResourceOutput, __Met
22
22
  }
23
23
  declare const UpdateResourceCommand_base: {
24
24
  new (input: UpdateResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateResourceCommandInput, UpdateResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UpdateResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateResourceCommandInput, UpdateResourceCommandOutput, CloudControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Updates the specified property values in the resource.</p>
30
30
  * <p>You specify your resource property updates as a list of patch operations contained in a
31
31
  * JSON patch document that adheres to the <a href="https://datatracker.ietf.org/doc/html/rfc6902">
@@ -153,6 +153,7 @@ declare const UpdateResourceCommand_base: {
153
153
  * @throws {@link CloudControlServiceException}
154
154
  * <p>Base exception class for all service exceptions from CloudControl service.</p>
155
155
  *
156
+ * @public
156
157
  */
157
158
  export declare class UpdateResourceCommand extends UpdateResourceCommand_base {
158
159
  }
@@ -13,5 +13,4 @@ export * from "./commands";
13
13
  export * from "./pagination";
14
14
  export * from "./waiters";
15
15
  export * from "./models";
16
- import "@aws-sdk/util-endpoints";
17
16
  export { CloudControlServiceException } from "./models/CloudControlServiceException";