@aws-sdk/client-license-manager-linux-subscriptions 3.613.0 → 3.614.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 (46) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +484 -56
  3. package/dist-es/LicenseManagerLinuxSubscriptions.js +14 -0
  4. package/dist-es/commands/DeregisterSubscriptionProviderCommand.js +24 -0
  5. package/dist-es/commands/GetRegisteredSubscriptionProviderCommand.js +24 -0
  6. package/dist-es/commands/ListRegisteredSubscriptionProvidersCommand.js +24 -0
  7. package/dist-es/commands/ListTagsForResourceCommand.js +25 -0
  8. package/dist-es/commands/RegisterSubscriptionProviderCommand.js +25 -0
  9. package/dist-es/commands/TagResourceCommand.js +25 -0
  10. package/dist-es/commands/UntagResourceCommand.js +25 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/models_0.js +56 -19
  13. package/dist-es/pagination/ListRegisteredSubscriptionProvidersPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/protocols/Aws_restJson1.js +206 -1
  16. package/dist-types/LicenseManagerLinuxSubscriptions.d.ts +50 -0
  17. package/dist-types/LicenseManagerLinuxSubscriptionsClient.d.ts +9 -2
  18. package/dist-types/commands/DeregisterSubscriptionProviderCommand.d.ts +71 -0
  19. package/dist-types/commands/GetRegisteredSubscriptionProviderCommand.d.ts +77 -0
  20. package/dist-types/commands/GetServiceSettingsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListLinuxSubscriptionInstancesCommand.d.ts +5 -0
  22. package/dist-types/commands/ListRegisteredSubscriptionProvidersCommand.d.ts +83 -0
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +72 -0
  24. package/dist-types/commands/RegisterSubscriptionProviderCommand.d.ts +75 -0
  25. package/dist-types/commands/TagResourceCommand.d.ts +70 -0
  26. package/dist-types/commands/UntagResourceCommand.d.ts +67 -0
  27. package/dist-types/commands/index.d.ts +7 -0
  28. package/dist-types/models/models_0.d.ts +420 -56
  29. package/dist-types/pagination/ListRegisteredSubscriptionProvidersPaginator.d.ts +7 -0
  30. package/dist-types/pagination/index.d.ts +1 -0
  31. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  32. package/dist-types/ts3.4/LicenseManagerLinuxSubscriptions.d.ts +132 -0
  33. package/dist-types/ts3.4/LicenseManagerLinuxSubscriptionsClient.d.ts +42 -0
  34. package/dist-types/ts3.4/commands/DeregisterSubscriptionProviderCommand.d.ts +40 -0
  35. package/dist-types/ts3.4/commands/GetRegisteredSubscriptionProviderCommand.d.ts +40 -0
  36. package/dist-types/ts3.4/commands/ListRegisteredSubscriptionProvidersCommand.d.ts +40 -0
  37. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
  38. package/dist-types/ts3.4/commands/RegisterSubscriptionProviderCommand.d.ts +40 -0
  39. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +36 -0
  40. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +39 -0
  41. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  42. package/dist-types/ts3.4/models/models_0.d.ts +115 -21
  43. package/dist-types/ts3.4/pagination/ListRegisteredSubscriptionProvidersPaginator.d.ts +11 -0
  44. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  45. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  46. package/package.json +20 -20
@@ -1,5 +1,37 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { LicenseManagerLinuxSubscriptionsServiceException as __BaseException } from "./LicenseManagerLinuxSubscriptionsServiceException";
3
+ export interface DeregisterSubscriptionProviderRequest {
4
+ SubscriptionProviderArn: string | undefined;
5
+ }
6
+ export interface DeregisterSubscriptionProviderResponse {}
7
+ export declare class InternalServerException extends __BaseException {
8
+ readonly name: "InternalServerException";
9
+ readonly $fault: "server";
10
+ constructor(
11
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
12
+ );
13
+ }
14
+ export declare class ResourceNotFoundException extends __BaseException {
15
+ readonly name: "ResourceNotFoundException";
16
+ readonly $fault: "client";
17
+ constructor(
18
+ opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
19
+ );
20
+ }
21
+ export declare class ThrottlingException extends __BaseException {
22
+ readonly name: "ThrottlingException";
23
+ readonly $fault: "client";
24
+ constructor(
25
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
26
+ );
27
+ }
28
+ export declare class ValidationException extends __BaseException {
29
+ readonly name: "ValidationException";
30
+ readonly $fault: "client";
31
+ constructor(
32
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
33
+ );
34
+ }
3
35
  export declare const Operator: {
4
36
  readonly CONTAINS: "Contains";
5
37
  readonly EQUAL: "Equal";
@@ -11,6 +43,29 @@ export interface Filter {
11
43
  Values?: string[];
12
44
  Operator?: Operator;
13
45
  }
46
+ export interface GetRegisteredSubscriptionProviderRequest {
47
+ SubscriptionProviderArn: string | undefined;
48
+ }
49
+ export declare const SubscriptionProviderSource: {
50
+ readonly RedHat: "RedHat";
51
+ };
52
+ export type SubscriptionProviderSource =
53
+ (typeof SubscriptionProviderSource)[keyof typeof SubscriptionProviderSource];
54
+ export declare const SubscriptionProviderStatus: {
55
+ readonly ACTIVE: "ACTIVE";
56
+ readonly INVALID: "INVALID";
57
+ readonly PENDING: "PENDING";
58
+ };
59
+ export type SubscriptionProviderStatus =
60
+ (typeof SubscriptionProviderStatus)[keyof typeof SubscriptionProviderStatus];
61
+ export interface GetRegisteredSubscriptionProviderResponse {
62
+ SubscriptionProviderArn?: string;
63
+ SubscriptionProviderSource?: SubscriptionProviderSource;
64
+ SecretArn?: string;
65
+ SubscriptionProviderStatus?: SubscriptionProviderStatus;
66
+ SubscriptionProviderStatusMessage?: string;
67
+ LastSuccessfulDataRetrievalTime?: string;
68
+ }
14
69
  export interface GetServiceSettingsRequest {}
15
70
  export declare const LinuxSubscriptionsDiscovery: {
16
71
  readonly Disabled: "Disabled";
@@ -42,27 +97,6 @@ export interface GetServiceSettingsResponse {
42
97
  StatusMessage?: Record<string, string>;
43
98
  HomeRegions?: string[];
44
99
  }
45
- export declare class InternalServerException extends __BaseException {
46
- readonly name: "InternalServerException";
47
- readonly $fault: "server";
48
- constructor(
49
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
50
- );
51
- }
52
- export declare class ThrottlingException extends __BaseException {
53
- readonly name: "ThrottlingException";
54
- readonly $fault: "client";
55
- constructor(
56
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
57
- );
58
- }
59
- export declare class ValidationException extends __BaseException {
60
- readonly name: "ValidationException";
61
- readonly $fault: "client";
62
- constructor(
63
- opts: __ExceptionOptionType<ValidationException, __BaseException>
64
- );
65
- }
66
100
  export interface Instance {
67
101
  AmiId?: string;
68
102
  InstanceID?: string;
@@ -74,6 +108,11 @@ export interface Instance {
74
108
  ProductCode?: string[];
75
109
  LastUpdatedTime?: string;
76
110
  SubscriptionName?: string;
111
+ OsVersion?: string;
112
+ SubscriptionProviderCreateTime?: string;
113
+ SubscriptionProviderUpdateTime?: string;
114
+ DualSubscription?: string;
115
+ RegisteredWithSubscriptionProvider?: string;
77
116
  }
78
117
  export interface ListLinuxSubscriptionInstancesRequest {
79
118
  Filters?: Filter[];
@@ -98,6 +137,49 @@ export interface ListLinuxSubscriptionsResponse {
98
137
  Subscriptions?: Subscription[];
99
138
  NextToken?: string;
100
139
  }
140
+ export interface ListRegisteredSubscriptionProvidersRequest {
141
+ SubscriptionProviderSources?: SubscriptionProviderSource[];
142
+ MaxResults?: number;
143
+ NextToken?: string;
144
+ }
145
+ export interface RegisteredSubscriptionProvider {
146
+ SubscriptionProviderArn?: string;
147
+ SubscriptionProviderSource?: SubscriptionProviderSource;
148
+ SecretArn?: string;
149
+ SubscriptionProviderStatus?: SubscriptionProviderStatus;
150
+ SubscriptionProviderStatusMessage?: string;
151
+ LastSuccessfulDataRetrievalTime?: string;
152
+ }
153
+ export interface ListRegisteredSubscriptionProvidersResponse {
154
+ RegisteredSubscriptionProviders?: RegisteredSubscriptionProvider[];
155
+ NextToken?: string;
156
+ }
157
+ export interface ListTagsForResourceRequest {
158
+ resourceArn: string | undefined;
159
+ }
160
+ export interface ListTagsForResourceResponse {
161
+ tags?: Record<string, string>;
162
+ }
163
+ export interface RegisterSubscriptionProviderRequest {
164
+ SubscriptionProviderSource: SubscriptionProviderSource | undefined;
165
+ SecretArn: string | undefined;
166
+ Tags?: Record<string, string>;
167
+ }
168
+ export interface RegisterSubscriptionProviderResponse {
169
+ SubscriptionProviderSource?: SubscriptionProviderSource;
170
+ SubscriptionProviderArn?: string;
171
+ SubscriptionProviderStatus?: SubscriptionProviderStatus;
172
+ }
173
+ export interface TagResourceRequest {
174
+ resourceArn: string | undefined;
175
+ tags: Record<string, string> | undefined;
176
+ }
177
+ export interface TagResourceResponse {}
178
+ export interface UntagResourceRequest {
179
+ resourceArn: string | undefined;
180
+ tagKeys: string[] | undefined;
181
+ }
182
+ export interface UntagResourceResponse {}
101
183
  export interface UpdateServiceSettingsRequest {
102
184
  LinuxSubscriptionsDiscovery: LinuxSubscriptionsDiscovery | undefined;
103
185
  LinuxSubscriptionsDiscoverySettings:
@@ -112,3 +194,15 @@ export interface UpdateServiceSettingsResponse {
112
194
  StatusMessage?: Record<string, string>;
113
195
  HomeRegions?: string[];
114
196
  }
197
+ export declare const ListTagsForResourceResponseFilterSensitiveLog: (
198
+ obj: ListTagsForResourceResponse
199
+ ) => any;
200
+ export declare const RegisterSubscriptionProviderRequestFilterSensitiveLog: (
201
+ obj: RegisterSubscriptionProviderRequest
202
+ ) => any;
203
+ export declare const TagResourceRequestFilterSensitiveLog: (
204
+ obj: TagResourceRequest
205
+ ) => any;
206
+ export declare const UntagResourceRequestFilterSensitiveLog: (
207
+ obj: UntagResourceRequest
208
+ ) => any;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListRegisteredSubscriptionProvidersCommandInput,
4
+ ListRegisteredSubscriptionProvidersCommandOutput,
5
+ } from "../commands/ListRegisteredSubscriptionProvidersCommand";
6
+ import { LicenseManagerLinuxSubscriptionsPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListRegisteredSubscriptionProviders: (
8
+ config: LicenseManagerLinuxSubscriptionsPaginationConfiguration,
9
+ input: ListRegisteredSubscriptionProvidersCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListRegisteredSubscriptionProvidersCommandOutput>;
@@ -1,3 +1,4 @@
1
1
  export * from "./Interfaces";
2
2
  export * from "./ListLinuxSubscriptionInstancesPaginator";
3
3
  export * from "./ListLinuxSubscriptionsPaginator";
4
+ export * from "./ListRegisteredSubscriptionProvidersPaginator";
@@ -3,6 +3,14 @@ import {
3
3
  HttpResponse as __HttpResponse,
4
4
  } from "@smithy/protocol-http";
5
5
  import { SerdeContext as __SerdeContext } from "@smithy/types";
6
+ import {
7
+ DeregisterSubscriptionProviderCommandInput,
8
+ DeregisterSubscriptionProviderCommandOutput,
9
+ } from "../commands/DeregisterSubscriptionProviderCommand";
10
+ import {
11
+ GetRegisteredSubscriptionProviderCommandInput,
12
+ GetRegisteredSubscriptionProviderCommandOutput,
13
+ } from "../commands/GetRegisteredSubscriptionProviderCommand";
6
14
  import {
7
15
  GetServiceSettingsCommandInput,
8
16
  GetServiceSettingsCommandOutput,
@@ -15,10 +23,38 @@ import {
15
23
  ListLinuxSubscriptionsCommandInput,
16
24
  ListLinuxSubscriptionsCommandOutput,
17
25
  } from "../commands/ListLinuxSubscriptionsCommand";
26
+ import {
27
+ ListRegisteredSubscriptionProvidersCommandInput,
28
+ ListRegisteredSubscriptionProvidersCommandOutput,
29
+ } from "../commands/ListRegisteredSubscriptionProvidersCommand";
30
+ import {
31
+ ListTagsForResourceCommandInput,
32
+ ListTagsForResourceCommandOutput,
33
+ } from "../commands/ListTagsForResourceCommand";
34
+ import {
35
+ RegisterSubscriptionProviderCommandInput,
36
+ RegisterSubscriptionProviderCommandOutput,
37
+ } from "../commands/RegisterSubscriptionProviderCommand";
38
+ import {
39
+ TagResourceCommandInput,
40
+ TagResourceCommandOutput,
41
+ } from "../commands/TagResourceCommand";
42
+ import {
43
+ UntagResourceCommandInput,
44
+ UntagResourceCommandOutput,
45
+ } from "../commands/UntagResourceCommand";
18
46
  import {
19
47
  UpdateServiceSettingsCommandInput,
20
48
  UpdateServiceSettingsCommandOutput,
21
49
  } from "../commands/UpdateServiceSettingsCommand";
50
+ export declare const se_DeregisterSubscriptionProviderCommand: (
51
+ input: DeregisterSubscriptionProviderCommandInput,
52
+ context: __SerdeContext
53
+ ) => Promise<__HttpRequest>;
54
+ export declare const se_GetRegisteredSubscriptionProviderCommand: (
55
+ input: GetRegisteredSubscriptionProviderCommandInput,
56
+ context: __SerdeContext
57
+ ) => Promise<__HttpRequest>;
22
58
  export declare const se_GetServiceSettingsCommand: (
23
59
  input: GetServiceSettingsCommandInput,
24
60
  context: __SerdeContext
@@ -31,10 +67,38 @@ export declare const se_ListLinuxSubscriptionsCommand: (
31
67
  input: ListLinuxSubscriptionsCommandInput,
32
68
  context: __SerdeContext
33
69
  ) => Promise<__HttpRequest>;
70
+ export declare const se_ListRegisteredSubscriptionProvidersCommand: (
71
+ input: ListRegisteredSubscriptionProvidersCommandInput,
72
+ context: __SerdeContext
73
+ ) => Promise<__HttpRequest>;
74
+ export declare const se_ListTagsForResourceCommand: (
75
+ input: ListTagsForResourceCommandInput,
76
+ context: __SerdeContext
77
+ ) => Promise<__HttpRequest>;
78
+ export declare const se_RegisterSubscriptionProviderCommand: (
79
+ input: RegisterSubscriptionProviderCommandInput,
80
+ context: __SerdeContext
81
+ ) => Promise<__HttpRequest>;
82
+ export declare const se_TagResourceCommand: (
83
+ input: TagResourceCommandInput,
84
+ context: __SerdeContext
85
+ ) => Promise<__HttpRequest>;
86
+ export declare const se_UntagResourceCommand: (
87
+ input: UntagResourceCommandInput,
88
+ context: __SerdeContext
89
+ ) => Promise<__HttpRequest>;
34
90
  export declare const se_UpdateServiceSettingsCommand: (
35
91
  input: UpdateServiceSettingsCommandInput,
36
92
  context: __SerdeContext
37
93
  ) => Promise<__HttpRequest>;
94
+ export declare const de_DeregisterSubscriptionProviderCommand: (
95
+ output: __HttpResponse,
96
+ context: __SerdeContext
97
+ ) => Promise<DeregisterSubscriptionProviderCommandOutput>;
98
+ export declare const de_GetRegisteredSubscriptionProviderCommand: (
99
+ output: __HttpResponse,
100
+ context: __SerdeContext
101
+ ) => Promise<GetRegisteredSubscriptionProviderCommandOutput>;
38
102
  export declare const de_GetServiceSettingsCommand: (
39
103
  output: __HttpResponse,
40
104
  context: __SerdeContext
@@ -47,6 +111,26 @@ export declare const de_ListLinuxSubscriptionsCommand: (
47
111
  output: __HttpResponse,
48
112
  context: __SerdeContext
49
113
  ) => Promise<ListLinuxSubscriptionsCommandOutput>;
114
+ export declare const de_ListRegisteredSubscriptionProvidersCommand: (
115
+ output: __HttpResponse,
116
+ context: __SerdeContext
117
+ ) => Promise<ListRegisteredSubscriptionProvidersCommandOutput>;
118
+ export declare const de_ListTagsForResourceCommand: (
119
+ output: __HttpResponse,
120
+ context: __SerdeContext
121
+ ) => Promise<ListTagsForResourceCommandOutput>;
122
+ export declare const de_RegisterSubscriptionProviderCommand: (
123
+ output: __HttpResponse,
124
+ context: __SerdeContext
125
+ ) => Promise<RegisterSubscriptionProviderCommandOutput>;
126
+ export declare const de_TagResourceCommand: (
127
+ output: __HttpResponse,
128
+ context: __SerdeContext
129
+ ) => Promise<TagResourceCommandOutput>;
130
+ export declare const de_UntagResourceCommand: (
131
+ output: __HttpResponse,
132
+ context: __SerdeContext
133
+ ) => Promise<UntagResourceCommandOutput>;
50
134
  export declare const de_UpdateServiceSettingsCommand: (
51
135
  output: __HttpResponse,
52
136
  context: __SerdeContext
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.613.0",
4
+ "version": "3.614.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-license-manager-linux-subscriptions",
@@ -20,41 +20,41 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.613.0",
24
- "@aws-sdk/client-sts": "3.613.0",
25
- "@aws-sdk/core": "3.609.0",
26
- "@aws-sdk/credential-provider-node": "3.613.0",
23
+ "@aws-sdk/client-sso-oidc": "3.614.0",
24
+ "@aws-sdk/client-sts": "3.614.0",
25
+ "@aws-sdk/core": "3.614.0",
26
+ "@aws-sdk/credential-provider-node": "3.614.0",
27
27
  "@aws-sdk/middleware-host-header": "3.609.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.609.0",
30
- "@aws-sdk/middleware-user-agent": "3.609.0",
31
- "@aws-sdk/region-config-resolver": "3.609.0",
30
+ "@aws-sdk/middleware-user-agent": "3.614.0",
31
+ "@aws-sdk/region-config-resolver": "3.614.0",
32
32
  "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.609.0",
33
+ "@aws-sdk/util-endpoints": "3.614.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.609.0",
35
- "@aws-sdk/util-user-agent-node": "3.609.0",
36
- "@smithy/config-resolver": "^3.0.4",
37
- "@smithy/core": "^2.2.4",
38
- "@smithy/fetch-http-handler": "^3.2.0",
35
+ "@aws-sdk/util-user-agent-node": "3.614.0",
36
+ "@smithy/config-resolver": "^3.0.5",
37
+ "@smithy/core": "^2.2.6",
38
+ "@smithy/fetch-http-handler": "^3.2.1",
39
39
  "@smithy/hash-node": "^3.0.3",
40
40
  "@smithy/invalid-dependency": "^3.0.3",
41
41
  "@smithy/middleware-content-length": "^3.0.3",
42
- "@smithy/middleware-endpoint": "^3.0.4",
43
- "@smithy/middleware-retry": "^3.0.7",
42
+ "@smithy/middleware-endpoint": "^3.0.5",
43
+ "@smithy/middleware-retry": "^3.0.9",
44
44
  "@smithy/middleware-serde": "^3.0.3",
45
45
  "@smithy/middleware-stack": "^3.0.3",
46
- "@smithy/node-config-provider": "^3.1.3",
47
- "@smithy/node-http-handler": "^3.1.1",
46
+ "@smithy/node-config-provider": "^3.1.4",
47
+ "@smithy/node-http-handler": "^3.1.2",
48
48
  "@smithy/protocol-http": "^4.0.3",
49
- "@smithy/smithy-client": "^3.1.5",
49
+ "@smithy/smithy-client": "^3.1.7",
50
50
  "@smithy/types": "^3.3.0",
51
51
  "@smithy/url-parser": "^3.0.3",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.7",
56
- "@smithy/util-defaults-mode-node": "^3.0.7",
57
- "@smithy/util-endpoints": "^2.0.4",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.9",
56
+ "@smithy/util-defaults-mode-node": "^3.0.9",
57
+ "@smithy/util-endpoints": "^2.0.5",
58
58
  "@smithy/util-middleware": "^3.0.3",
59
59
  "@smithy/util-retry": "^3.0.3",
60
60
  "@smithy/util-utf8": "^3.0.0",