@aws-sdk/client-cloudcontrol 3.936.0 → 3.939.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
@@ -1085,6 +1085,38 @@ const waitUntilResourceRequestSuccess = async (params, input) => {
1085
1085
  return utilWaiter.checkExceptions(result);
1086
1086
  };
1087
1087
 
1088
+ const HandlerErrorCode = {
1089
+ ACCESS_DENIED: "AccessDenied",
1090
+ ALREADY_EXISTS: "AlreadyExists",
1091
+ GENERAL_SERVICE_EXCEPTION: "GeneralServiceException",
1092
+ INTERNAL_FAILURE: "InternalFailure",
1093
+ INVALID_CREDENTIALS: "InvalidCredentials",
1094
+ INVALID_REQUEST: "InvalidRequest",
1095
+ NETWORK_FAILURE: "NetworkFailure",
1096
+ NOT_FOUND: "NotFound",
1097
+ NOT_STABILIZED: "NotStabilized",
1098
+ NOT_UPDATABLE: "NotUpdatable",
1099
+ RESOURCE_CONFLICT: "ResourceConflict",
1100
+ SERVICE_INTERNAL_ERROR: "ServiceInternalError",
1101
+ SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded",
1102
+ SERVICE_TIMEOUT: "ServiceTimeout",
1103
+ THROTTLING: "Throttling",
1104
+ UNAUTHORIZED_TAGGING_OPERATION: "UnauthorizedTaggingOperation",
1105
+ };
1106
+ const Operation = {
1107
+ CREATE: "CREATE",
1108
+ DELETE: "DELETE",
1109
+ UPDATE: "UPDATE",
1110
+ };
1111
+ const OperationStatus = {
1112
+ CANCEL_COMPLETE: "CANCEL_COMPLETE",
1113
+ CANCEL_IN_PROGRESS: "CANCEL_IN_PROGRESS",
1114
+ FAILED: "FAILED",
1115
+ IN_PROGRESS: "IN_PROGRESS",
1116
+ PENDING: "PENDING",
1117
+ SUCCESS: "SUCCESS",
1118
+ };
1119
+
1088
1120
  Object.defineProperty(exports, "$Command", {
1089
1121
  enumerable: true,
1090
1122
  get: function () { return smithyClient.Command; }
@@ -1106,6 +1138,7 @@ exports.DeleteResourceCommand = DeleteResourceCommand;
1106
1138
  exports.GeneralServiceException = GeneralServiceException$1;
1107
1139
  exports.GetResourceCommand = GetResourceCommand;
1108
1140
  exports.GetResourceRequestStatusCommand = GetResourceRequestStatusCommand;
1141
+ exports.HandlerErrorCode = HandlerErrorCode;
1109
1142
  exports.HandlerFailureException = HandlerFailureException$1;
1110
1143
  exports.HandlerInternalFailureException = HandlerInternalFailureException$1;
1111
1144
  exports.InvalidCredentialsException = InvalidCredentialsException$1;
@@ -1115,6 +1148,8 @@ exports.ListResourcesCommand = ListResourcesCommand;
1115
1148
  exports.NetworkFailureException = NetworkFailureException$1;
1116
1149
  exports.NotStabilizedException = NotStabilizedException$1;
1117
1150
  exports.NotUpdatableException = NotUpdatableException$1;
1151
+ exports.Operation = Operation;
1152
+ exports.OperationStatus = OperationStatus;
1118
1153
  exports.PrivateTypeException = PrivateTypeException$1;
1119
1154
  exports.RequestTokenNotFoundException = RequestTokenNotFoundException$1;
1120
1155
  exports.ResourceConflictException = ResourceConflictException$1;
package/dist-es/index.js CHANGED
@@ -3,5 +3,6 @@ export * from "./CloudControl";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
+ export * from "./models/enums";
6
7
  export * from "./models/errors";
7
8
  export { CloudControlServiceException } from "./models/CloudControlServiceException";
@@ -0,0 +1,31 @@
1
+ export const HandlerErrorCode = {
2
+ ACCESS_DENIED: "AccessDenied",
3
+ ALREADY_EXISTS: "AlreadyExists",
4
+ GENERAL_SERVICE_EXCEPTION: "GeneralServiceException",
5
+ INTERNAL_FAILURE: "InternalFailure",
6
+ INVALID_CREDENTIALS: "InvalidCredentials",
7
+ INVALID_REQUEST: "InvalidRequest",
8
+ NETWORK_FAILURE: "NetworkFailure",
9
+ NOT_FOUND: "NotFound",
10
+ NOT_STABILIZED: "NotStabilized",
11
+ NOT_UPDATABLE: "NotUpdatable",
12
+ RESOURCE_CONFLICT: "ResourceConflict",
13
+ SERVICE_INTERNAL_ERROR: "ServiceInternalError",
14
+ SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded",
15
+ SERVICE_TIMEOUT: "ServiceTimeout",
16
+ THROTTLING: "Throttling",
17
+ UNAUTHORIZED_TAGGING_OPERATION: "UnauthorizedTaggingOperation",
18
+ };
19
+ export const Operation = {
20
+ CREATE: "CREATE",
21
+ DELETE: "DELETE",
22
+ UPDATE: "UPDATE",
23
+ };
24
+ export const OperationStatus = {
25
+ CANCEL_COMPLETE: "CANCEL_COMPLETE",
26
+ CANCEL_IN_PROGRESS: "CANCEL_IN_PROGRESS",
27
+ FAILED: "FAILED",
28
+ IN_PROGRESS: "IN_PROGRESS",
29
+ PENDING: "PENDING",
30
+ SUCCESS: "SUCCESS",
31
+ };
@@ -1,31 +1 @@
1
- export const HandlerErrorCode = {
2
- ACCESS_DENIED: "AccessDenied",
3
- ALREADY_EXISTS: "AlreadyExists",
4
- GENERAL_SERVICE_EXCEPTION: "GeneralServiceException",
5
- INTERNAL_FAILURE: "InternalFailure",
6
- INVALID_CREDENTIALS: "InvalidCredentials",
7
- INVALID_REQUEST: "InvalidRequest",
8
- NETWORK_FAILURE: "NetworkFailure",
9
- NOT_FOUND: "NotFound",
10
- NOT_STABILIZED: "NotStabilized",
11
- NOT_UPDATABLE: "NotUpdatable",
12
- RESOURCE_CONFLICT: "ResourceConflict",
13
- SERVICE_INTERNAL_ERROR: "ServiceInternalError",
14
- SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded",
15
- SERVICE_TIMEOUT: "ServiceTimeout",
16
- THROTTLING: "Throttling",
17
- UNAUTHORIZED_TAGGING_OPERATION: "UnauthorizedTaggingOperation",
18
- };
19
- export const Operation = {
20
- CREATE: "CREATE",
21
- DELETE: "DELETE",
22
- UPDATE: "UPDATE",
23
- };
24
- export const OperationStatus = {
25
- CANCEL_COMPLETE: "CANCEL_COMPLETE",
26
- CANCEL_IN_PROGRESS: "CANCEL_IN_PROGRESS",
27
- FAILED: "FAILED",
28
- IN_PROGRESS: "IN_PROGRESS",
29
- PENDING: "PENDING",
30
- SUCCESS: "SUCCESS",
31
- };
1
+ export {};
@@ -12,6 +12,7 @@ export type { CloudControlExtensionConfiguration } from "./extensionConfiguratio
12
12
  export * from "./commands";
13
13
  export * from "./pagination";
14
14
  export * from "./waiters";
15
+ export * from "./models/enums";
15
16
  export * from "./models/errors";
16
17
  export type * from "./models/models_0";
17
18
  export { CloudControlServiceException } from "./models/CloudControlServiceException";
@@ -0,0 +1,55 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const HandlerErrorCode: {
6
+ readonly ACCESS_DENIED: "AccessDenied";
7
+ readonly ALREADY_EXISTS: "AlreadyExists";
8
+ readonly GENERAL_SERVICE_EXCEPTION: "GeneralServiceException";
9
+ readonly INTERNAL_FAILURE: "InternalFailure";
10
+ readonly INVALID_CREDENTIALS: "InvalidCredentials";
11
+ readonly INVALID_REQUEST: "InvalidRequest";
12
+ readonly NETWORK_FAILURE: "NetworkFailure";
13
+ readonly NOT_FOUND: "NotFound";
14
+ readonly NOT_STABILIZED: "NotStabilized";
15
+ readonly NOT_UPDATABLE: "NotUpdatable";
16
+ readonly RESOURCE_CONFLICT: "ResourceConflict";
17
+ readonly SERVICE_INTERNAL_ERROR: "ServiceInternalError";
18
+ readonly SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded";
19
+ readonly SERVICE_TIMEOUT: "ServiceTimeout";
20
+ readonly THROTTLING: "Throttling";
21
+ readonly UNAUTHORIZED_TAGGING_OPERATION: "UnauthorizedTaggingOperation";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type HandlerErrorCode = (typeof HandlerErrorCode)[keyof typeof HandlerErrorCode];
27
+ /**
28
+ * @public
29
+ * @enum
30
+ */
31
+ export declare const Operation: {
32
+ readonly CREATE: "CREATE";
33
+ readonly DELETE: "DELETE";
34
+ readonly UPDATE: "UPDATE";
35
+ };
36
+ /**
37
+ * @public
38
+ */
39
+ export type Operation = (typeof Operation)[keyof typeof Operation];
40
+ /**
41
+ * @public
42
+ * @enum
43
+ */
44
+ export declare const OperationStatus: {
45
+ readonly CANCEL_COMPLETE: "CANCEL_COMPLETE";
46
+ readonly CANCEL_IN_PROGRESS: "CANCEL_IN_PROGRESS";
47
+ readonly FAILED: "FAILED";
48
+ readonly IN_PROGRESS: "IN_PROGRESS";
49
+ readonly PENDING: "PENDING";
50
+ readonly SUCCESS: "SUCCESS";
51
+ };
52
+ /**
53
+ * @public
54
+ */
55
+ export type OperationStatus = (typeof OperationStatus)[keyof typeof OperationStatus];
@@ -1,3 +1,4 @@
1
+ import { HandlerErrorCode, Operation, OperationStatus } from "./enums";
1
2
  /**
2
3
  * @public
3
4
  */
@@ -9,61 +10,6 @@ export interface CancelResourceRequestInput {
9
10
  */
10
11
  RequestToken: string | undefined;
11
12
  }
12
- /**
13
- * @public
14
- * @enum
15
- */
16
- export declare const HandlerErrorCode: {
17
- readonly ACCESS_DENIED: "AccessDenied";
18
- readonly ALREADY_EXISTS: "AlreadyExists";
19
- readonly GENERAL_SERVICE_EXCEPTION: "GeneralServiceException";
20
- readonly INTERNAL_FAILURE: "InternalFailure";
21
- readonly INVALID_CREDENTIALS: "InvalidCredentials";
22
- readonly INVALID_REQUEST: "InvalidRequest";
23
- readonly NETWORK_FAILURE: "NetworkFailure";
24
- readonly NOT_FOUND: "NotFound";
25
- readonly NOT_STABILIZED: "NotStabilized";
26
- readonly NOT_UPDATABLE: "NotUpdatable";
27
- readonly RESOURCE_CONFLICT: "ResourceConflict";
28
- readonly SERVICE_INTERNAL_ERROR: "ServiceInternalError";
29
- readonly SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded";
30
- readonly SERVICE_TIMEOUT: "ServiceTimeout";
31
- readonly THROTTLING: "Throttling";
32
- readonly UNAUTHORIZED_TAGGING_OPERATION: "UnauthorizedTaggingOperation";
33
- };
34
- /**
35
- * @public
36
- */
37
- export type HandlerErrorCode = (typeof HandlerErrorCode)[keyof typeof HandlerErrorCode];
38
- /**
39
- * @public
40
- * @enum
41
- */
42
- export declare const Operation: {
43
- readonly CREATE: "CREATE";
44
- readonly DELETE: "DELETE";
45
- readonly UPDATE: "UPDATE";
46
- };
47
- /**
48
- * @public
49
- */
50
- export type Operation = (typeof Operation)[keyof typeof Operation];
51
- /**
52
- * @public
53
- * @enum
54
- */
55
- export declare const OperationStatus: {
56
- readonly CANCEL_COMPLETE: "CANCEL_COMPLETE";
57
- readonly CANCEL_IN_PROGRESS: "CANCEL_IN_PROGRESS";
58
- readonly FAILED: "FAILED";
59
- readonly IN_PROGRESS: "IN_PROGRESS";
60
- readonly PENDING: "PENDING";
61
- readonly SUCCESS: "SUCCESS";
62
- };
63
- /**
64
- * @public
65
- */
66
- export type OperationStatus = (typeof OperationStatus)[keyof typeof OperationStatus];
67
13
  /**
68
14
  * <p>Represents the current status of a resource operation request. For more information, see
69
15
  * <a href="https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html">Managing resource operation requests</a> in the
@@ -6,6 +6,7 @@ export { CloudControlExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
7
  export * from "./pagination";
8
8
  export * from "./waiters";
9
+ export * from "./models/enums";
9
10
  export * from "./models/errors";
10
11
  export * from "./models/models_0";
11
12
  export { CloudControlServiceException } from "./models/CloudControlServiceException";
@@ -0,0 +1,36 @@
1
+ export declare const HandlerErrorCode: {
2
+ readonly ACCESS_DENIED: "AccessDenied";
3
+ readonly ALREADY_EXISTS: "AlreadyExists";
4
+ readonly GENERAL_SERVICE_EXCEPTION: "GeneralServiceException";
5
+ readonly INTERNAL_FAILURE: "InternalFailure";
6
+ readonly INVALID_CREDENTIALS: "InvalidCredentials";
7
+ readonly INVALID_REQUEST: "InvalidRequest";
8
+ readonly NETWORK_FAILURE: "NetworkFailure";
9
+ readonly NOT_FOUND: "NotFound";
10
+ readonly NOT_STABILIZED: "NotStabilized";
11
+ readonly NOT_UPDATABLE: "NotUpdatable";
12
+ readonly RESOURCE_CONFLICT: "ResourceConflict";
13
+ readonly SERVICE_INTERNAL_ERROR: "ServiceInternalError";
14
+ readonly SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded";
15
+ readonly SERVICE_TIMEOUT: "ServiceTimeout";
16
+ readonly THROTTLING: "Throttling";
17
+ readonly UNAUTHORIZED_TAGGING_OPERATION: "UnauthorizedTaggingOperation";
18
+ };
19
+ export type HandlerErrorCode =
20
+ (typeof HandlerErrorCode)[keyof typeof HandlerErrorCode];
21
+ export declare const Operation: {
22
+ readonly CREATE: "CREATE";
23
+ readonly DELETE: "DELETE";
24
+ readonly UPDATE: "UPDATE";
25
+ };
26
+ export type Operation = (typeof Operation)[keyof typeof Operation];
27
+ export declare const OperationStatus: {
28
+ readonly CANCEL_COMPLETE: "CANCEL_COMPLETE";
29
+ readonly CANCEL_IN_PROGRESS: "CANCEL_IN_PROGRESS";
30
+ readonly FAILED: "FAILED";
31
+ readonly IN_PROGRESS: "IN_PROGRESS";
32
+ readonly PENDING: "PENDING";
33
+ readonly SUCCESS: "SUCCESS";
34
+ };
35
+ export type OperationStatus =
36
+ (typeof OperationStatus)[keyof typeof OperationStatus];
@@ -1,42 +1,7 @@
1
+ import { HandlerErrorCode, Operation, OperationStatus } from "./enums";
1
2
  export interface CancelResourceRequestInput {
2
3
  RequestToken: string | undefined;
3
4
  }
4
- export declare const HandlerErrorCode: {
5
- readonly ACCESS_DENIED: "AccessDenied";
6
- readonly ALREADY_EXISTS: "AlreadyExists";
7
- readonly GENERAL_SERVICE_EXCEPTION: "GeneralServiceException";
8
- readonly INTERNAL_FAILURE: "InternalFailure";
9
- readonly INVALID_CREDENTIALS: "InvalidCredentials";
10
- readonly INVALID_REQUEST: "InvalidRequest";
11
- readonly NETWORK_FAILURE: "NetworkFailure";
12
- readonly NOT_FOUND: "NotFound";
13
- readonly NOT_STABILIZED: "NotStabilized";
14
- readonly NOT_UPDATABLE: "NotUpdatable";
15
- readonly RESOURCE_CONFLICT: "ResourceConflict";
16
- readonly SERVICE_INTERNAL_ERROR: "ServiceInternalError";
17
- readonly SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded";
18
- readonly SERVICE_TIMEOUT: "ServiceTimeout";
19
- readonly THROTTLING: "Throttling";
20
- readonly UNAUTHORIZED_TAGGING_OPERATION: "UnauthorizedTaggingOperation";
21
- };
22
- export type HandlerErrorCode =
23
- (typeof HandlerErrorCode)[keyof typeof HandlerErrorCode];
24
- export declare const Operation: {
25
- readonly CREATE: "CREATE";
26
- readonly DELETE: "DELETE";
27
- readonly UPDATE: "UPDATE";
28
- };
29
- export type Operation = (typeof Operation)[keyof typeof Operation];
30
- export declare const OperationStatus: {
31
- readonly CANCEL_COMPLETE: "CANCEL_COMPLETE";
32
- readonly CANCEL_IN_PROGRESS: "CANCEL_IN_PROGRESS";
33
- readonly FAILED: "FAILED";
34
- readonly IN_PROGRESS: "IN_PROGRESS";
35
- readonly PENDING: "PENDING";
36
- readonly SUCCESS: "SUCCESS";
37
- };
38
- export type OperationStatus =
39
- (typeof OperationStatus)[keyof typeof OperationStatus];
40
5
  export interface ProgressEvent {
41
6
  TypeName?: string | undefined;
42
7
  Identifier?: string | undefined;
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.936.0",
4
+ "version": "3.939.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudcontrol",
@@ -21,7 +21,7 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.936.0",
24
- "@aws-sdk/credential-provider-node": "3.936.0",
24
+ "@aws-sdk/credential-provider-node": "3.939.0",
25
25
  "@aws-sdk/middleware-host-header": "3.936.0",
26
26
  "@aws-sdk/middleware-logger": "3.936.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.936.0",