@aws-sdk/client-license-manager-linux-subscriptions 3.613.0 → 3.616.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 (53) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/index.js +489 -61
  3. package/dist-es/LicenseManagerLinuxSubscriptions.js +14 -0
  4. package/dist-es/LicenseManagerLinuxSubscriptionsClient.js +5 -5
  5. package/dist-es/commands/DeregisterSubscriptionProviderCommand.js +24 -0
  6. package/dist-es/commands/GetRegisteredSubscriptionProviderCommand.js +24 -0
  7. package/dist-es/commands/ListRegisteredSubscriptionProvidersCommand.js +24 -0
  8. package/dist-es/commands/ListTagsForResourceCommand.js +25 -0
  9. package/dist-es/commands/RegisterSubscriptionProviderCommand.js +25 -0
  10. package/dist-es/commands/TagResourceCommand.js +25 -0
  11. package/dist-es/commands/UntagResourceCommand.js +25 -0
  12. package/dist-es/commands/index.js +7 -0
  13. package/dist-es/models/models_0.js +56 -19
  14. package/dist-es/pagination/ListRegisteredSubscriptionProvidersPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +1 -0
  16. package/dist-es/protocols/Aws_restJson1.js +206 -1
  17. package/dist-types/LicenseManagerLinuxSubscriptions.d.ts +50 -0
  18. package/dist-types/LicenseManagerLinuxSubscriptionsClient.d.ts +11 -4
  19. package/dist-types/commands/DeregisterSubscriptionProviderCommand.d.ts +71 -0
  20. package/dist-types/commands/GetRegisteredSubscriptionProviderCommand.d.ts +77 -0
  21. package/dist-types/commands/GetServiceSettingsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListLinuxSubscriptionInstancesCommand.d.ts +5 -0
  23. package/dist-types/commands/ListRegisteredSubscriptionProvidersCommand.d.ts +83 -0
  24. package/dist-types/commands/ListTagsForResourceCommand.d.ts +72 -0
  25. package/dist-types/commands/RegisterSubscriptionProviderCommand.d.ts +75 -0
  26. package/dist-types/commands/TagResourceCommand.d.ts +70 -0
  27. package/dist-types/commands/UntagResourceCommand.d.ts +67 -0
  28. package/dist-types/commands/index.d.ts +7 -0
  29. package/dist-types/models/models_0.d.ts +420 -56
  30. package/dist-types/pagination/ListRegisteredSubscriptionProvidersPaginator.d.ts +7 -0
  31. package/dist-types/pagination/index.d.ts +1 -0
  32. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  33. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  34. package/dist-types/runtimeConfig.d.ts +1 -1
  35. package/dist-types/runtimeConfig.native.d.ts +1 -1
  36. package/dist-types/ts3.4/LicenseManagerLinuxSubscriptions.d.ts +132 -0
  37. package/dist-types/ts3.4/LicenseManagerLinuxSubscriptionsClient.d.ts +44 -2
  38. package/dist-types/ts3.4/commands/DeregisterSubscriptionProviderCommand.d.ts +40 -0
  39. package/dist-types/ts3.4/commands/GetRegisteredSubscriptionProviderCommand.d.ts +40 -0
  40. package/dist-types/ts3.4/commands/ListRegisteredSubscriptionProvidersCommand.d.ts +40 -0
  41. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
  42. package/dist-types/ts3.4/commands/RegisterSubscriptionProviderCommand.d.ts +40 -0
  43. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +36 -0
  44. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +39 -0
  45. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +115 -21
  47. package/dist-types/ts3.4/pagination/ListRegisteredSubscriptionProvidersPaginator.d.ts +11 -0
  48. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  49. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  50. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  51. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  52. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  53. package/package.json +24 -24
@@ -1,10 +1,29 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { DeregisterSubscriptionProviderCommandInput, DeregisterSubscriptionProviderCommandOutput } from "./commands/DeregisterSubscriptionProviderCommand";
3
+ import { GetRegisteredSubscriptionProviderCommandInput, GetRegisteredSubscriptionProviderCommandOutput } from "./commands/GetRegisteredSubscriptionProviderCommand";
2
4
  import { GetServiceSettingsCommandInput, GetServiceSettingsCommandOutput } from "./commands/GetServiceSettingsCommand";
3
5
  import { ListLinuxSubscriptionInstancesCommandInput, ListLinuxSubscriptionInstancesCommandOutput } from "./commands/ListLinuxSubscriptionInstancesCommand";
4
6
  import { ListLinuxSubscriptionsCommandInput, ListLinuxSubscriptionsCommandOutput } from "./commands/ListLinuxSubscriptionsCommand";
7
+ import { ListRegisteredSubscriptionProvidersCommandInput, ListRegisteredSubscriptionProvidersCommandOutput } from "./commands/ListRegisteredSubscriptionProvidersCommand";
8
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
9
+ import { RegisterSubscriptionProviderCommandInput, RegisterSubscriptionProviderCommandOutput } from "./commands/RegisterSubscriptionProviderCommand";
10
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
11
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
5
12
  import { UpdateServiceSettingsCommandInput, UpdateServiceSettingsCommandOutput } from "./commands/UpdateServiceSettingsCommand";
6
13
  import { LicenseManagerLinuxSubscriptionsClient } from "./LicenseManagerLinuxSubscriptionsClient";
7
14
  export interface LicenseManagerLinuxSubscriptions {
15
+ /**
16
+ * @see {@link DeregisterSubscriptionProviderCommand}
17
+ */
18
+ deregisterSubscriptionProvider(args: DeregisterSubscriptionProviderCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterSubscriptionProviderCommandOutput>;
19
+ deregisterSubscriptionProvider(args: DeregisterSubscriptionProviderCommandInput, cb: (err: any, data?: DeregisterSubscriptionProviderCommandOutput) => void): void;
20
+ deregisterSubscriptionProvider(args: DeregisterSubscriptionProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterSubscriptionProviderCommandOutput) => void): void;
21
+ /**
22
+ * @see {@link GetRegisteredSubscriptionProviderCommand}
23
+ */
24
+ getRegisteredSubscriptionProvider(args: GetRegisteredSubscriptionProviderCommandInput, options?: __HttpHandlerOptions): Promise<GetRegisteredSubscriptionProviderCommandOutput>;
25
+ getRegisteredSubscriptionProvider(args: GetRegisteredSubscriptionProviderCommandInput, cb: (err: any, data?: GetRegisteredSubscriptionProviderCommandOutput) => void): void;
26
+ getRegisteredSubscriptionProvider(args: GetRegisteredSubscriptionProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRegisteredSubscriptionProviderCommandOutput) => void): void;
8
27
  /**
9
28
  * @see {@link GetServiceSettingsCommand}
10
29
  */
@@ -26,6 +45,37 @@ export interface LicenseManagerLinuxSubscriptions {
26
45
  listLinuxSubscriptions(args: ListLinuxSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListLinuxSubscriptionsCommandOutput>;
27
46
  listLinuxSubscriptions(args: ListLinuxSubscriptionsCommandInput, cb: (err: any, data?: ListLinuxSubscriptionsCommandOutput) => void): void;
28
47
  listLinuxSubscriptions(args: ListLinuxSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLinuxSubscriptionsCommandOutput) => void): void;
48
+ /**
49
+ * @see {@link ListRegisteredSubscriptionProvidersCommand}
50
+ */
51
+ listRegisteredSubscriptionProviders(): Promise<ListRegisteredSubscriptionProvidersCommandOutput>;
52
+ listRegisteredSubscriptionProviders(args: ListRegisteredSubscriptionProvidersCommandInput, options?: __HttpHandlerOptions): Promise<ListRegisteredSubscriptionProvidersCommandOutput>;
53
+ listRegisteredSubscriptionProviders(args: ListRegisteredSubscriptionProvidersCommandInput, cb: (err: any, data?: ListRegisteredSubscriptionProvidersCommandOutput) => void): void;
54
+ listRegisteredSubscriptionProviders(args: ListRegisteredSubscriptionProvidersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRegisteredSubscriptionProvidersCommandOutput) => void): void;
55
+ /**
56
+ * @see {@link ListTagsForResourceCommand}
57
+ */
58
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
59
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
60
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
61
+ /**
62
+ * @see {@link RegisterSubscriptionProviderCommand}
63
+ */
64
+ registerSubscriptionProvider(args: RegisterSubscriptionProviderCommandInput, options?: __HttpHandlerOptions): Promise<RegisterSubscriptionProviderCommandOutput>;
65
+ registerSubscriptionProvider(args: RegisterSubscriptionProviderCommandInput, cb: (err: any, data?: RegisterSubscriptionProviderCommandOutput) => void): void;
66
+ registerSubscriptionProvider(args: RegisterSubscriptionProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterSubscriptionProviderCommandOutput) => void): void;
67
+ /**
68
+ * @see {@link TagResourceCommand}
69
+ */
70
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
71
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
72
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
73
+ /**
74
+ * @see {@link UntagResourceCommand}
75
+ */
76
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
77
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
78
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
29
79
  /**
30
80
  * @see {@link UpdateServiceSettingsCommand}
31
81
  */
@@ -7,9 +7,16 @@ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
+ import { DeregisterSubscriptionProviderCommandInput, DeregisterSubscriptionProviderCommandOutput } from "./commands/DeregisterSubscriptionProviderCommand";
11
+ import { GetRegisteredSubscriptionProviderCommandInput, GetRegisteredSubscriptionProviderCommandOutput } from "./commands/GetRegisteredSubscriptionProviderCommand";
10
12
  import { GetServiceSettingsCommandInput, GetServiceSettingsCommandOutput } from "./commands/GetServiceSettingsCommand";
11
13
  import { ListLinuxSubscriptionInstancesCommandInput, ListLinuxSubscriptionInstancesCommandOutput } from "./commands/ListLinuxSubscriptionInstancesCommand";
12
14
  import { ListLinuxSubscriptionsCommandInput, ListLinuxSubscriptionsCommandOutput } from "./commands/ListLinuxSubscriptionsCommand";
15
+ import { ListRegisteredSubscriptionProvidersCommandInput, ListRegisteredSubscriptionProvidersCommandOutput } from "./commands/ListRegisteredSubscriptionProvidersCommand";
16
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
17
+ import { RegisterSubscriptionProviderCommandInput, RegisterSubscriptionProviderCommandOutput } from "./commands/RegisterSubscriptionProviderCommand";
18
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
19
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
13
20
  import { UpdateServiceSettingsCommandInput, UpdateServiceSettingsCommandOutput } from "./commands/UpdateServiceSettingsCommand";
14
21
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
15
22
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
@@ -17,11 +24,11 @@ export { __Client };
17
24
  /**
18
25
  * @public
19
26
  */
20
- export type ServiceInputTypes = GetServiceSettingsCommandInput | ListLinuxSubscriptionInstancesCommandInput | ListLinuxSubscriptionsCommandInput | UpdateServiceSettingsCommandInput;
27
+ export type ServiceInputTypes = DeregisterSubscriptionProviderCommandInput | GetRegisteredSubscriptionProviderCommandInput | GetServiceSettingsCommandInput | ListLinuxSubscriptionInstancesCommandInput | ListLinuxSubscriptionsCommandInput | ListRegisteredSubscriptionProvidersCommandInput | ListTagsForResourceCommandInput | RegisterSubscriptionProviderCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateServiceSettingsCommandInput;
21
28
  /**
22
29
  * @public
23
30
  */
24
- export type ServiceOutputTypes = GetServiceSettingsCommandOutput | ListLinuxSubscriptionInstancesCommandOutput | ListLinuxSubscriptionsCommandOutput | UpdateServiceSettingsCommandOutput;
31
+ export type ServiceOutputTypes = DeregisterSubscriptionProviderCommandOutput | GetRegisteredSubscriptionProviderCommandOutput | GetServiceSettingsCommandOutput | ListLinuxSubscriptionInstancesCommandOutput | ListLinuxSubscriptionsCommandOutput | ListRegisteredSubscriptionProvidersCommandOutput | ListTagsForResourceCommandOutput | RegisterSubscriptionProviderCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateServiceSettingsCommandOutput;
25
32
  /**
26
33
  * @public
27
34
  */
@@ -135,7 +142,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
135
142
  /**
136
143
  * @public
137
144
  */
138
- export type LicenseManagerLinuxSubscriptionsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & UserAgentInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
145
+ export type LicenseManagerLinuxSubscriptionsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
139
146
  /**
140
147
  * @public
141
148
  *
@@ -146,7 +153,7 @@ export interface LicenseManagerLinuxSubscriptionsClientConfig extends LicenseMan
146
153
  /**
147
154
  * @public
148
155
  */
149
- export type LicenseManagerLinuxSubscriptionsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & UserAgentResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
156
+ export type LicenseManagerLinuxSubscriptionsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
150
157
  /**
151
158
  * @public
152
159
  *
@@ -0,0 +1,71 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerLinuxSubscriptionsClient";
4
+ import { DeregisterSubscriptionProviderRequest, DeregisterSubscriptionProviderResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeregisterSubscriptionProviderCommand}.
14
+ */
15
+ export interface DeregisterSubscriptionProviderCommandInput extends DeregisterSubscriptionProviderRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeregisterSubscriptionProviderCommand}.
21
+ */
22
+ export interface DeregisterSubscriptionProviderCommandOutput extends DeregisterSubscriptionProviderResponse, __MetadataBearer {
23
+ }
24
+ declare const DeregisterSubscriptionProviderCommand_base: {
25
+ new (input: DeregisterSubscriptionProviderCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterSubscriptionProviderCommandInput, DeregisterSubscriptionProviderCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeregisterSubscriptionProviderCommandInput): import("@smithy/smithy-client").CommandImpl<DeregisterSubscriptionProviderCommandInput, DeregisterSubscriptionProviderCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Remove a third-party subscription provider from the Bring Your Own License (BYOL) subscriptions
31
+ * registered to your account.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { LicenseManagerLinuxSubscriptionsClient, DeregisterSubscriptionProviderCommand } from "@aws-sdk/client-license-manager-linux-subscriptions"; // ES Modules import
36
+ * // const { LicenseManagerLinuxSubscriptionsClient, DeregisterSubscriptionProviderCommand } = require("@aws-sdk/client-license-manager-linux-subscriptions"); // CommonJS import
37
+ * const client = new LicenseManagerLinuxSubscriptionsClient(config);
38
+ * const input = { // DeregisterSubscriptionProviderRequest
39
+ * SubscriptionProviderArn: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new DeregisterSubscriptionProviderCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param DeregisterSubscriptionProviderCommandInput - {@link DeregisterSubscriptionProviderCommandInput}
48
+ * @returns {@link DeregisterSubscriptionProviderCommandOutput}
49
+ * @see {@link DeregisterSubscriptionProviderCommandInput} for command's `input` shape.
50
+ * @see {@link DeregisterSubscriptionProviderCommandOutput} for command's `response` shape.
51
+ * @see {@link LicenseManagerLinuxSubscriptionsClientResolvedConfig | config} for LicenseManagerLinuxSubscriptionsClient's `config` shape.
52
+ *
53
+ * @throws {@link InternalServerException} (server fault)
54
+ * <p>An exception occurred with the service.</p>
55
+ *
56
+ * @throws {@link ResourceNotFoundException} (client fault)
57
+ * <p>Unable to find the requested Amazon Web Services resource.</p>
58
+ *
59
+ * @throws {@link ThrottlingException} (client fault)
60
+ * <p>The request was denied due to request throttling.</p>
61
+ *
62
+ * @throws {@link ValidationException} (client fault)
63
+ * <p>The provided input is not valid. Try your request again.</p>
64
+ *
65
+ * @throws {@link LicenseManagerLinuxSubscriptionsServiceException}
66
+ * <p>Base exception class for all service exceptions from LicenseManagerLinuxSubscriptions service.</p>
67
+ *
68
+ * @public
69
+ */
70
+ export declare class DeregisterSubscriptionProviderCommand extends DeregisterSubscriptionProviderCommand_base {
71
+ }
@@ -0,0 +1,77 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerLinuxSubscriptionsClient";
4
+ import { GetRegisteredSubscriptionProviderRequest, GetRegisteredSubscriptionProviderResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetRegisteredSubscriptionProviderCommand}.
14
+ */
15
+ export interface GetRegisteredSubscriptionProviderCommandInput extends GetRegisteredSubscriptionProviderRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetRegisteredSubscriptionProviderCommand}.
21
+ */
22
+ export interface GetRegisteredSubscriptionProviderCommandOutput extends GetRegisteredSubscriptionProviderResponse, __MetadataBearer {
23
+ }
24
+ declare const GetRegisteredSubscriptionProviderCommand_base: {
25
+ new (input: GetRegisteredSubscriptionProviderCommandInput): import("@smithy/smithy-client").CommandImpl<GetRegisteredSubscriptionProviderCommandInput, GetRegisteredSubscriptionProviderCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetRegisteredSubscriptionProviderCommandInput): import("@smithy/smithy-client").CommandImpl<GetRegisteredSubscriptionProviderCommandInput, GetRegisteredSubscriptionProviderCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Get details for a Bring Your Own License (BYOL) subscription that's registered to your account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LicenseManagerLinuxSubscriptionsClient, GetRegisteredSubscriptionProviderCommand } from "@aws-sdk/client-license-manager-linux-subscriptions"; // ES Modules import
35
+ * // const { LicenseManagerLinuxSubscriptionsClient, GetRegisteredSubscriptionProviderCommand } = require("@aws-sdk/client-license-manager-linux-subscriptions"); // CommonJS import
36
+ * const client = new LicenseManagerLinuxSubscriptionsClient(config);
37
+ * const input = { // GetRegisteredSubscriptionProviderRequest
38
+ * SubscriptionProviderArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetRegisteredSubscriptionProviderCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetRegisteredSubscriptionProviderResponse
43
+ * // SubscriptionProviderArn: "STRING_VALUE",
44
+ * // SubscriptionProviderSource: "STRING_VALUE",
45
+ * // SecretArn: "STRING_VALUE",
46
+ * // SubscriptionProviderStatus: "STRING_VALUE",
47
+ * // SubscriptionProviderStatusMessage: "STRING_VALUE",
48
+ * // LastSuccessfulDataRetrievalTime: "STRING_VALUE",
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param GetRegisteredSubscriptionProviderCommandInput - {@link GetRegisteredSubscriptionProviderCommandInput}
54
+ * @returns {@link GetRegisteredSubscriptionProviderCommandOutput}
55
+ * @see {@link GetRegisteredSubscriptionProviderCommandInput} for command's `input` shape.
56
+ * @see {@link GetRegisteredSubscriptionProviderCommandOutput} for command's `response` shape.
57
+ * @see {@link LicenseManagerLinuxSubscriptionsClientResolvedConfig | config} for LicenseManagerLinuxSubscriptionsClient's `config` shape.
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>An exception occurred with the service.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>Unable to find the requested Amazon Web Services resource.</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>The request was denied due to request throttling.</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>The provided input is not valid. Try your request again.</p>
70
+ *
71
+ * @throws {@link LicenseManagerLinuxSubscriptionsServiceException}
72
+ * <p>Base exception class for all service exceptions from LicenseManagerLinuxSubscriptions service.</p>
73
+ *
74
+ * @public
75
+ */
76
+ export declare class GetRegisteredSubscriptionProviderCommand extends GetRegisteredSubscriptionProviderCommand_base {
77
+ }
@@ -27,7 +27,7 @@ declare const GetServiceSettingsCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists the Linux subscriptions service settings.</p>
30
+ * <p>Lists the Linux subscriptions service settings for your account.</p>
31
31
  * @example
32
32
  * Use a bare-bones client and the command you need to make an API call.
33
33
  * ```javascript
@@ -65,6 +65,11 @@ declare const ListLinuxSubscriptionInstancesCommand_base: {
65
65
  * // ],
66
66
  * // LastUpdatedTime: "STRING_VALUE",
67
67
  * // SubscriptionName: "STRING_VALUE",
68
+ * // OsVersion: "STRING_VALUE",
69
+ * // SubscriptionProviderCreateTime: "STRING_VALUE",
70
+ * // SubscriptionProviderUpdateTime: "STRING_VALUE",
71
+ * // DualSubscription: "STRING_VALUE",
72
+ * // RegisteredWithSubscriptionProvider: "STRING_VALUE",
68
73
  * // },
69
74
  * // ],
70
75
  * // NextToken: "STRING_VALUE",
@@ -0,0 +1,83 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerLinuxSubscriptionsClient";
4
+ import { ListRegisteredSubscriptionProvidersRequest, ListRegisteredSubscriptionProvidersResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListRegisteredSubscriptionProvidersCommand}.
14
+ */
15
+ export interface ListRegisteredSubscriptionProvidersCommandInput extends ListRegisteredSubscriptionProvidersRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListRegisteredSubscriptionProvidersCommand}.
21
+ */
22
+ export interface ListRegisteredSubscriptionProvidersCommandOutput extends ListRegisteredSubscriptionProvidersResponse, __MetadataBearer {
23
+ }
24
+ declare const ListRegisteredSubscriptionProvidersCommand_base: {
25
+ new (input: ListRegisteredSubscriptionProvidersCommandInput): import("@smithy/smithy-client").CommandImpl<ListRegisteredSubscriptionProvidersCommandInput, ListRegisteredSubscriptionProvidersCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListRegisteredSubscriptionProvidersCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRegisteredSubscriptionProvidersCommandInput, ListRegisteredSubscriptionProvidersCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List Bring Your Own License (BYOL) subscription registration resources for your account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LicenseManagerLinuxSubscriptionsClient, ListRegisteredSubscriptionProvidersCommand } from "@aws-sdk/client-license-manager-linux-subscriptions"; // ES Modules import
35
+ * // const { LicenseManagerLinuxSubscriptionsClient, ListRegisteredSubscriptionProvidersCommand } = require("@aws-sdk/client-license-manager-linux-subscriptions"); // CommonJS import
36
+ * const client = new LicenseManagerLinuxSubscriptionsClient(config);
37
+ * const input = { // ListRegisteredSubscriptionProvidersRequest
38
+ * SubscriptionProviderSources: [ // SubscriptionProviderSourceList
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * MaxResults: Number("int"),
42
+ * NextToken: "STRING_VALUE",
43
+ * };
44
+ * const command = new ListRegisteredSubscriptionProvidersCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListRegisteredSubscriptionProvidersResponse
47
+ * // RegisteredSubscriptionProviders: [ // RegisteredSubscriptionProviderList
48
+ * // { // RegisteredSubscriptionProvider
49
+ * // SubscriptionProviderArn: "STRING_VALUE",
50
+ * // SubscriptionProviderSource: "STRING_VALUE",
51
+ * // SecretArn: "STRING_VALUE",
52
+ * // SubscriptionProviderStatus: "STRING_VALUE",
53
+ * // SubscriptionProviderStatusMessage: "STRING_VALUE",
54
+ * // LastSuccessfulDataRetrievalTime: "STRING_VALUE",
55
+ * // },
56
+ * // ],
57
+ * // NextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListRegisteredSubscriptionProvidersCommandInput - {@link ListRegisteredSubscriptionProvidersCommandInput}
63
+ * @returns {@link ListRegisteredSubscriptionProvidersCommandOutput}
64
+ * @see {@link ListRegisteredSubscriptionProvidersCommandInput} for command's `input` shape.
65
+ * @see {@link ListRegisteredSubscriptionProvidersCommandOutput} for command's `response` shape.
66
+ * @see {@link LicenseManagerLinuxSubscriptionsClientResolvedConfig | config} for LicenseManagerLinuxSubscriptionsClient's `config` shape.
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>An exception occurred with the service.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>The request was denied due to request throttling.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The provided input is not valid. Try your request again.</p>
76
+ *
77
+ * @throws {@link LicenseManagerLinuxSubscriptionsServiceException}
78
+ * <p>Base exception class for all service exceptions from LicenseManagerLinuxSubscriptions service.</p>
79
+ *
80
+ * @public
81
+ */
82
+ export declare class ListRegisteredSubscriptionProvidersCommand extends ListRegisteredSubscriptionProvidersCommand_base {
83
+ }
@@ -0,0 +1,72 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerLinuxSubscriptionsClient";
4
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTagsForResourceCommand}.
14
+ */
15
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTagsForResourceCommand}.
21
+ */
22
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTagsForResourceCommand_base: {
25
+ new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List the metadata tags that are assigned to the
31
+ * specified Amazon Web Services resource.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { LicenseManagerLinuxSubscriptionsClient, ListTagsForResourceCommand } from "@aws-sdk/client-license-manager-linux-subscriptions"; // ES Modules import
36
+ * // const { LicenseManagerLinuxSubscriptionsClient, ListTagsForResourceCommand } = require("@aws-sdk/client-license-manager-linux-subscriptions"); // CommonJS import
37
+ * const client = new LicenseManagerLinuxSubscriptionsClient(config);
38
+ * const input = { // ListTagsForResourceRequest
39
+ * resourceArn: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new ListTagsForResourceCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListTagsForResourceResponse
44
+ * // tags: { // Tags
45
+ * // "<keys>": "STRING_VALUE",
46
+ * // },
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
52
+ * @returns {@link ListTagsForResourceCommandOutput}
53
+ * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
54
+ * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
55
+ * @see {@link LicenseManagerLinuxSubscriptionsClientResolvedConfig | config} for LicenseManagerLinuxSubscriptionsClient's `config` shape.
56
+ *
57
+ * @throws {@link InternalServerException} (server fault)
58
+ * <p>An exception occurred with the service.</p>
59
+ *
60
+ * @throws {@link ResourceNotFoundException} (client fault)
61
+ * <p>Unable to find the requested Amazon Web Services resource.</p>
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ * <p>The provided input is not valid. Try your request again.</p>
65
+ *
66
+ * @throws {@link LicenseManagerLinuxSubscriptionsServiceException}
67
+ * <p>Base exception class for all service exceptions from LicenseManagerLinuxSubscriptions service.</p>
68
+ *
69
+ * @public
70
+ */
71
+ export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
72
+ }
@@ -0,0 +1,75 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerLinuxSubscriptionsClient";
4
+ import { RegisterSubscriptionProviderRequest, RegisterSubscriptionProviderResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link RegisterSubscriptionProviderCommand}.
14
+ */
15
+ export interface RegisterSubscriptionProviderCommandInput extends RegisterSubscriptionProviderRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link RegisterSubscriptionProviderCommand}.
21
+ */
22
+ export interface RegisterSubscriptionProviderCommandOutput extends RegisterSubscriptionProviderResponse, __MetadataBearer {
23
+ }
24
+ declare const RegisterSubscriptionProviderCommand_base: {
25
+ new (input: RegisterSubscriptionProviderCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterSubscriptionProviderCommandInput, RegisterSubscriptionProviderCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: RegisterSubscriptionProviderCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterSubscriptionProviderCommandInput, RegisterSubscriptionProviderCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Register the supported third-party subscription provider for your Bring Your Own License (BYOL) subscription.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LicenseManagerLinuxSubscriptionsClient, RegisterSubscriptionProviderCommand } from "@aws-sdk/client-license-manager-linux-subscriptions"; // ES Modules import
35
+ * // const { LicenseManagerLinuxSubscriptionsClient, RegisterSubscriptionProviderCommand } = require("@aws-sdk/client-license-manager-linux-subscriptions"); // CommonJS import
36
+ * const client = new LicenseManagerLinuxSubscriptionsClient(config);
37
+ * const input = { // RegisterSubscriptionProviderRequest
38
+ * SubscriptionProviderSource: "STRING_VALUE", // required
39
+ * SecretArn: "STRING_VALUE", // required
40
+ * Tags: { // Tags
41
+ * "<keys>": "STRING_VALUE",
42
+ * },
43
+ * };
44
+ * const command = new RegisterSubscriptionProviderCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // RegisterSubscriptionProviderResponse
47
+ * // SubscriptionProviderSource: "STRING_VALUE",
48
+ * // SubscriptionProviderArn: "STRING_VALUE",
49
+ * // SubscriptionProviderStatus: "STRING_VALUE",
50
+ * // };
51
+ *
52
+ * ```
53
+ *
54
+ * @param RegisterSubscriptionProviderCommandInput - {@link RegisterSubscriptionProviderCommandInput}
55
+ * @returns {@link RegisterSubscriptionProviderCommandOutput}
56
+ * @see {@link RegisterSubscriptionProviderCommandInput} for command's `input` shape.
57
+ * @see {@link RegisterSubscriptionProviderCommandOutput} for command's `response` shape.
58
+ * @see {@link LicenseManagerLinuxSubscriptionsClientResolvedConfig | config} for LicenseManagerLinuxSubscriptionsClient's `config` shape.
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>An exception occurred with the service.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The request was denied due to request throttling.</p>
65
+ *
66
+ * @throws {@link ValidationException} (client fault)
67
+ * <p>The provided input is not valid. Try your request again.</p>
68
+ *
69
+ * @throws {@link LicenseManagerLinuxSubscriptionsServiceException}
70
+ * <p>Base exception class for all service exceptions from LicenseManagerLinuxSubscriptions service.</p>
71
+ *
72
+ * @public
73
+ */
74
+ export declare class RegisterSubscriptionProviderCommand extends RegisterSubscriptionProviderCommand_base {
75
+ }
@@ -0,0 +1,70 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerLinuxSubscriptionsClient";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Add metadata tags to the specified Amazon Web Services resource.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { LicenseManagerLinuxSubscriptionsClient, TagResourceCommand } from "@aws-sdk/client-license-manager-linux-subscriptions"; // ES Modules import
35
+ * // const { LicenseManagerLinuxSubscriptionsClient, TagResourceCommand } = require("@aws-sdk/client-license-manager-linux-subscriptions"); // CommonJS import
36
+ * const client = new LicenseManagerLinuxSubscriptionsClient(config);
37
+ * const input = { // TagResourceRequest
38
+ * resourceArn: "STRING_VALUE", // required
39
+ * tags: { // Tags // required
40
+ * "<keys>": "STRING_VALUE",
41
+ * },
42
+ * };
43
+ * const command = new TagResourceCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
50
+ * @returns {@link TagResourceCommandOutput}
51
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
52
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
53
+ * @see {@link LicenseManagerLinuxSubscriptionsClientResolvedConfig | config} for LicenseManagerLinuxSubscriptionsClient's `config` shape.
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>An exception occurred with the service.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>Unable to find the requested Amazon Web Services resource.</p>
60
+ *
61
+ * @throws {@link ValidationException} (client fault)
62
+ * <p>The provided input is not valid. Try your request again.</p>
63
+ *
64
+ * @throws {@link LicenseManagerLinuxSubscriptionsServiceException}
65
+ * <p>Base exception class for all service exceptions from LicenseManagerLinuxSubscriptions service.</p>
66
+ *
67
+ * @public
68
+ */
69
+ export declare class TagResourceCommand extends TagResourceCommand_base {
70
+ }