@aws-sdk/client-license-manager-linux-subscriptions 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.
@@ -2,29 +2,25 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.Status = exports.OrganizationIntegration = exports.LinuxSubscriptionsDiscovery = exports.Operator = void 0;
4
4
  const LicenseManagerLinuxSubscriptionsServiceException_1 = require("./LicenseManagerLinuxSubscriptionsServiceException");
5
- var Operator;
6
- (function (Operator) {
7
- Operator["CONTAINS"] = "Contains";
8
- Operator["EQUAL"] = "Equal";
9
- Operator["NOT_EQUAL"] = "NotEqual";
10
- })(Operator = exports.Operator || (exports.Operator = {}));
11
- var LinuxSubscriptionsDiscovery;
12
- (function (LinuxSubscriptionsDiscovery) {
13
- LinuxSubscriptionsDiscovery["Disabled"] = "Disabled";
14
- LinuxSubscriptionsDiscovery["Enabled"] = "Enabled";
15
- })(LinuxSubscriptionsDiscovery = exports.LinuxSubscriptionsDiscovery || (exports.LinuxSubscriptionsDiscovery = {}));
16
- var OrganizationIntegration;
17
- (function (OrganizationIntegration) {
18
- OrganizationIntegration["Disabled"] = "Disabled";
19
- OrganizationIntegration["Enabled"] = "Enabled";
20
- })(OrganizationIntegration = exports.OrganizationIntegration || (exports.OrganizationIntegration = {}));
21
- var Status;
22
- (function (Status) {
23
- Status["Completed"] = "Completed";
24
- Status["Failed"] = "Failed";
25
- Status["InProgress"] = "InProgress";
26
- Status["Successful"] = "Successful";
27
- })(Status = exports.Status || (exports.Status = {}));
5
+ exports.Operator = {
6
+ CONTAINS: "Contains",
7
+ EQUAL: "Equal",
8
+ NOT_EQUAL: "NotEqual",
9
+ };
10
+ exports.LinuxSubscriptionsDiscovery = {
11
+ Disabled: "Disabled",
12
+ Enabled: "Enabled",
13
+ };
14
+ exports.OrganizationIntegration = {
15
+ Disabled: "Disabled",
16
+ Enabled: "Enabled",
17
+ };
18
+ exports.Status = {
19
+ Completed: "Completed",
20
+ Failed: "Failed",
21
+ InProgress: "InProgress",
22
+ Successful: "Successful",
23
+ };
28
24
  class InternalServerException extends LicenseManagerLinuxSubscriptionsServiceException_1.LicenseManagerLinuxSubscriptionsServiceException {
29
25
  constructor(opts) {
30
26
  super({
@@ -1,27 +1,23 @@
1
1
  import { LicenseManagerLinuxSubscriptionsServiceException as __BaseException } from "./LicenseManagerLinuxSubscriptionsServiceException";
2
- export var Operator;
3
- (function (Operator) {
4
- Operator["CONTAINS"] = "Contains";
5
- Operator["EQUAL"] = "Equal";
6
- Operator["NOT_EQUAL"] = "NotEqual";
7
- })(Operator || (Operator = {}));
8
- export var LinuxSubscriptionsDiscovery;
9
- (function (LinuxSubscriptionsDiscovery) {
10
- LinuxSubscriptionsDiscovery["Disabled"] = "Disabled";
11
- LinuxSubscriptionsDiscovery["Enabled"] = "Enabled";
12
- })(LinuxSubscriptionsDiscovery || (LinuxSubscriptionsDiscovery = {}));
13
- export var OrganizationIntegration;
14
- (function (OrganizationIntegration) {
15
- OrganizationIntegration["Disabled"] = "Disabled";
16
- OrganizationIntegration["Enabled"] = "Enabled";
17
- })(OrganizationIntegration || (OrganizationIntegration = {}));
18
- export var Status;
19
- (function (Status) {
20
- Status["Completed"] = "Completed";
21
- Status["Failed"] = "Failed";
22
- Status["InProgress"] = "InProgress";
23
- Status["Successful"] = "Successful";
24
- })(Status || (Status = {}));
2
+ export const Operator = {
3
+ CONTAINS: "Contains",
4
+ EQUAL: "Equal",
5
+ NOT_EQUAL: "NotEqual",
6
+ };
7
+ export const LinuxSubscriptionsDiscovery = {
8
+ Disabled: "Disabled",
9
+ Enabled: "Enabled",
10
+ };
11
+ export const OrganizationIntegration = {
12
+ Disabled: "Disabled",
13
+ Enabled: "Enabled",
14
+ };
15
+ export const Status = {
16
+ Completed: "Completed",
17
+ Failed: "Failed",
18
+ InProgress: "InProgress",
19
+ Successful: "Successful",
20
+ };
25
21
  export class InternalServerException extends __BaseException {
26
22
  constructor(opts) {
27
23
  super({
@@ -27,11 +27,11 @@ export interface ListLinuxSubscriptionInstancesCommandOutput extends ListLinuxSu
27
27
  * import { LicenseManagerLinuxSubscriptionsClient, ListLinuxSubscriptionInstancesCommand } from "@aws-sdk/client-license-manager-linux-subscriptions"; // ES Modules import
28
28
  * // const { LicenseManagerLinuxSubscriptionsClient, ListLinuxSubscriptionInstancesCommand } = require("@aws-sdk/client-license-manager-linux-subscriptions"); // CommonJS import
29
29
  * const client = new LicenseManagerLinuxSubscriptionsClient(config);
30
- * const input = {
31
- * Filters: [
32
- * {
30
+ * const input = { // ListLinuxSubscriptionInstancesRequest
31
+ * Filters: [ // FilterList
32
+ * { // Filter
33
33
  * Name: "STRING_VALUE",
34
- * Values: [
34
+ * Values: [ // StringList
35
35
  * "STRING_VALUE",
36
36
  * ],
37
37
  * Operator: "STRING_VALUE",
@@ -28,11 +28,11 @@ export interface ListLinuxSubscriptionsCommandOutput extends ListLinuxSubscripti
28
28
  * import { LicenseManagerLinuxSubscriptionsClient, ListLinuxSubscriptionsCommand } from "@aws-sdk/client-license-manager-linux-subscriptions"; // ES Modules import
29
29
  * // const { LicenseManagerLinuxSubscriptionsClient, ListLinuxSubscriptionsCommand } = require("@aws-sdk/client-license-manager-linux-subscriptions"); // CommonJS import
30
30
  * const client = new LicenseManagerLinuxSubscriptionsClient(config);
31
- * const input = {
32
- * Filters: [
33
- * {
31
+ * const input = { // ListLinuxSubscriptionsRequest
32
+ * Filters: [ // FilterList
33
+ * { // Filter
34
34
  * Name: "STRING_VALUE",
35
- * Values: [
35
+ * Values: [ // StringList
36
36
  * "STRING_VALUE",
37
37
  * ],
38
38
  * Operator: "STRING_VALUE",
@@ -26,10 +26,10 @@ export interface UpdateServiceSettingsCommandOutput extends UpdateServiceSetting
26
26
  * import { LicenseManagerLinuxSubscriptionsClient, UpdateServiceSettingsCommand } from "@aws-sdk/client-license-manager-linux-subscriptions"; // ES Modules import
27
27
  * // const { LicenseManagerLinuxSubscriptionsClient, UpdateServiceSettingsCommand } = require("@aws-sdk/client-license-manager-linux-subscriptions"); // CommonJS import
28
28
  * const client = new LicenseManagerLinuxSubscriptionsClient(config);
29
- * const input = {
29
+ * const input = { // UpdateServiceSettingsRequest
30
30
  * LinuxSubscriptionsDiscovery: "STRING_VALUE", // required
31
- * LinuxSubscriptionsDiscoverySettings: {
32
- * SourceRegions: [ // required
31
+ * LinuxSubscriptionsDiscoverySettings: { // LinuxSubscriptionsDiscoverySettings
32
+ * SourceRegions: [ // StringList // required
33
33
  * "STRING_VALUE",
34
34
  * ],
35
35
  * OrganizationIntegration: "STRING_VALUE", // required
@@ -2,21 +2,26 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-cl
2
2
  import { LicenseManagerLinuxSubscriptionsServiceException as __BaseException } from "./LicenseManagerLinuxSubscriptionsServiceException";
3
3
  /**
4
4
  * @public
5
+ * @enum
5
6
  */
6
- export declare enum Operator {
7
+ export declare const Operator: {
7
8
  /**
8
9
  * Contains operator
9
10
  */
10
- CONTAINS = "Contains",
11
+ readonly CONTAINS: "Contains";
11
12
  /**
12
13
  * Equal operator
13
14
  */
14
- EQUAL = "Equal",
15
+ readonly EQUAL: "Equal";
15
16
  /**
16
17
  * Not equal operator
17
18
  */
18
- NOT_EQUAL = "NotEqual"
19
- }
19
+ readonly NOT_EQUAL: "NotEqual";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type Operator = (typeof Operator)[keyof typeof Operator];
20
25
  /**
21
26
  * @public
22
27
  * <p>A filter object that is used to return more specific results from a describe operation.
@@ -43,30 +48,40 @@ export interface GetServiceSettingsRequest {
43
48
  }
44
49
  /**
45
50
  * @public
51
+ * @enum
46
52
  */
47
- export declare enum LinuxSubscriptionsDiscovery {
53
+ export declare const LinuxSubscriptionsDiscovery: {
48
54
  /**
49
55
  * Disabled LinuxSubscriptionsDiscovery
50
56
  */
51
- Disabled = "Disabled",
57
+ readonly Disabled: "Disabled";
52
58
  /**
53
59
  * Enabled LinuxSubscriptionsDiscovery
54
60
  */
55
- Enabled = "Enabled"
56
- }
61
+ readonly Enabled: "Enabled";
62
+ };
63
+ /**
64
+ * @public
65
+ */
66
+ export type LinuxSubscriptionsDiscovery = (typeof LinuxSubscriptionsDiscovery)[keyof typeof LinuxSubscriptionsDiscovery];
57
67
  /**
58
68
  * @public
69
+ * @enum
59
70
  */
60
- export declare enum OrganizationIntegration {
71
+ export declare const OrganizationIntegration: {
61
72
  /**
62
73
  * Disabled OrganizationIntegration
63
74
  */
64
- Disabled = "Disabled",
75
+ readonly Disabled: "Disabled";
65
76
  /**
66
77
  * Enabled OrganizationIntegration
67
78
  */
68
- Enabled = "Enabled"
69
- }
79
+ readonly Enabled: "Enabled";
80
+ };
81
+ /**
82
+ * @public
83
+ */
84
+ export type OrganizationIntegration = (typeof OrganizationIntegration)[keyof typeof OrganizationIntegration];
70
85
  /**
71
86
  * @public
72
87
  * <p>Lists the settings defined for discovering Linux subscriptions.</p>
@@ -83,25 +98,30 @@ export interface LinuxSubscriptionsDiscoverySettings {
83
98
  }
84
99
  /**
85
100
  * @public
101
+ * @enum
86
102
  */
87
- export declare enum Status {
103
+ export declare const Status: {
88
104
  /**
89
105
  * Completed status
90
106
  */
91
- Completed = "Completed",
107
+ readonly Completed: "Completed";
92
108
  /**
93
109
  * Failed status
94
110
  */
95
- Failed = "Failed",
111
+ readonly Failed: "Failed";
96
112
  /**
97
113
  * InProgress status
98
114
  */
99
- InProgress = "InProgress",
115
+ readonly InProgress: "InProgress";
100
116
  /**
101
117
  * Successful status
102
118
  */
103
- Successful = "Successful"
104
- }
119
+ readonly Successful: "Successful";
120
+ };
121
+ /**
122
+ * @public
123
+ */
124
+ export type Status = (typeof Status)[keyof typeof Status];
105
125
  /**
106
126
  * @public
107
127
  */
@@ -1,34 +1,40 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { LicenseManagerLinuxSubscriptionsServiceException as __BaseException } from "./LicenseManagerLinuxSubscriptionsServiceException";
3
- export declare enum Operator {
4
- CONTAINS = "Contains",
5
- EQUAL = "Equal",
6
- NOT_EQUAL = "NotEqual",
7
- }
3
+ export declare const Operator: {
4
+ readonly CONTAINS: "Contains";
5
+ readonly EQUAL: "Equal";
6
+ readonly NOT_EQUAL: "NotEqual";
7
+ };
8
+ export type Operator = (typeof Operator)[keyof typeof Operator];
8
9
  export interface Filter {
9
10
  Name?: string;
10
11
  Values?: string[];
11
12
  Operator?: Operator | string;
12
13
  }
13
14
  export interface GetServiceSettingsRequest {}
14
- export declare enum LinuxSubscriptionsDiscovery {
15
- Disabled = "Disabled",
16
- Enabled = "Enabled",
17
- }
18
- export declare enum OrganizationIntegration {
19
- Disabled = "Disabled",
20
- Enabled = "Enabled",
21
- }
15
+ export declare const LinuxSubscriptionsDiscovery: {
16
+ readonly Disabled: "Disabled";
17
+ readonly Enabled: "Enabled";
18
+ };
19
+ export type LinuxSubscriptionsDiscovery =
20
+ (typeof LinuxSubscriptionsDiscovery)[keyof typeof LinuxSubscriptionsDiscovery];
21
+ export declare const OrganizationIntegration: {
22
+ readonly Disabled: "Disabled";
23
+ readonly Enabled: "Enabled";
24
+ };
25
+ export type OrganizationIntegration =
26
+ (typeof OrganizationIntegration)[keyof typeof OrganizationIntegration];
22
27
  export interface LinuxSubscriptionsDiscoverySettings {
23
28
  SourceRegions: string[] | undefined;
24
29
  OrganizationIntegration: OrganizationIntegration | string | undefined;
25
30
  }
26
- export declare enum Status {
27
- Completed = "Completed",
28
- Failed = "Failed",
29
- InProgress = "InProgress",
30
- Successful = "Successful",
31
- }
31
+ export declare const Status: {
32
+ readonly Completed: "Completed";
33
+ readonly Failed: "Failed";
34
+ readonly InProgress: "InProgress";
35
+ readonly Successful: "Successful";
36
+ };
37
+ export type Status = (typeof Status)[keyof typeof Status];
32
38
  export interface GetServiceSettingsResponse {
33
39
  LinuxSubscriptionsDiscovery?: LinuxSubscriptionsDiscovery | string;
34
40
  LinuxSubscriptionsDiscoverySettings?: LinuxSubscriptionsDiscoverySettings;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-license-manager-linux-subscriptions",
3
3
  "description": "AWS SDK for JavaScript License Manager Linux Subscriptions 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",