@aws-sdk/client-migrationhub-config 3.300.0 → 3.303.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.
@@ -16,10 +16,9 @@ class AccessDeniedException extends MigrationHubConfigServiceException_1.Migrati
16
16
  }
17
17
  }
18
18
  exports.AccessDeniedException = AccessDeniedException;
19
- var TargetType;
20
- (function (TargetType) {
21
- TargetType["ACCOUNT"] = "ACCOUNT";
22
- })(TargetType = exports.TargetType || (exports.TargetType = {}));
19
+ exports.TargetType = {
20
+ ACCOUNT: "ACCOUNT",
21
+ };
23
22
  class DryRunOperation extends MigrationHubConfigServiceException_1.MigrationHubConfigServiceException {
24
23
  constructor(opts) {
25
24
  super({
@@ -12,10 +12,9 @@ export class AccessDeniedException extends __BaseException {
12
12
  this.Message = opts.Message;
13
13
  }
14
14
  }
15
- export var TargetType;
16
- (function (TargetType) {
17
- TargetType["ACCOUNT"] = "ACCOUNT";
18
- })(TargetType || (TargetType = {}));
15
+ export const TargetType = {
16
+ ACCOUNT: "ACCOUNT",
17
+ };
19
18
  export class DryRunOperation extends __BaseException {
20
19
  constructor(opts) {
21
20
  super({
@@ -26,9 +26,9 @@ export interface CreateHomeRegionControlCommandOutput extends CreateHomeRegionCo
26
26
  * import { MigrationHubConfigClient, CreateHomeRegionControlCommand } from "@aws-sdk/client-migrationhub-config"; // ES Modules import
27
27
  * // const { MigrationHubConfigClient, CreateHomeRegionControlCommand } = require("@aws-sdk/client-migrationhub-config"); // CommonJS import
28
28
  * const client = new MigrationHubConfigClient(config);
29
- * const input = {
29
+ * const input = { // CreateHomeRegionControlRequest
30
30
  * HomeRegion: "STRING_VALUE", // required
31
- * Target: {
31
+ * Target: { // Target
32
32
  * Type: "STRING_VALUE", // required
33
33
  * Id: "STRING_VALUE",
34
34
  * },
@@ -27,10 +27,10 @@ export interface DescribeHomeRegionControlsCommandOutput extends DescribeHomeReg
27
27
  * import { MigrationHubConfigClient, DescribeHomeRegionControlsCommand } from "@aws-sdk/client-migrationhub-config"; // ES Modules import
28
28
  * // const { MigrationHubConfigClient, DescribeHomeRegionControlsCommand } = require("@aws-sdk/client-migrationhub-config"); // CommonJS import
29
29
  * const client = new MigrationHubConfigClient(config);
30
- * const input = {
30
+ * const input = { // DescribeHomeRegionControlsRequest
31
31
  * ControlId: "STRING_VALUE",
32
32
  * HomeRegion: "STRING_VALUE",
33
- * Target: {
33
+ * Target: { // Target
34
34
  * Type: "STRING_VALUE", // required
35
35
  * Id: "STRING_VALUE",
36
36
  * },
@@ -15,10 +15,15 @@ export declare class AccessDeniedException extends __BaseException {
15
15
  }
16
16
  /**
17
17
  * @public
18
+ * @enum
18
19
  */
19
- export declare enum TargetType {
20
- ACCOUNT = "ACCOUNT"
21
- }
20
+ export declare const TargetType: {
21
+ readonly ACCOUNT: "ACCOUNT";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type TargetType = (typeof TargetType)[keyof typeof TargetType];
22
27
  /**
23
28
  * @public
24
29
  * <p>The target parameter specifies the identifier to which the home region is applied, which
@@ -8,9 +8,10 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
- export declare enum TargetType {
12
- ACCOUNT = "ACCOUNT",
13
- }
11
+ export declare const TargetType: {
12
+ readonly ACCOUNT: "ACCOUNT";
13
+ };
14
+ export type TargetType = (typeof TargetType)[keyof typeof TargetType];
14
15
  export interface Target {
15
16
  Type: TargetType | string | undefined;
16
17
  Id?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-migrationhub-config",
3
3
  "description": "AWS SDK for JavaScript Migrationhub Config Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.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",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",