@aws-sdk/client-license-manager-linux-subscriptions 3.236.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/LICENSE +201 -0
- package/README.md +212 -0
- package/dist-cjs/LicenseManagerLinuxSubscriptions.js +67 -0
- package/dist-cjs/LicenseManagerLinuxSubscriptionsClient.js +40 -0
- package/dist-cjs/commands/GetServiceSettingsCommand.js +46 -0
- package/dist-cjs/commands/ListLinuxSubscriptionInstancesCommand.js +46 -0
- package/dist-cjs/commands/ListLinuxSubscriptionsCommand.js +46 -0
- package/dist-cjs/commands/UpdateServiceSettingsCommand.js +46 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/LicenseManagerLinuxSubscriptionsServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +114 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListLinuxSubscriptionInstancesPaginator.js +36 -0
- package/dist-cjs/pagination/ListLinuxSubscriptionsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +494 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +51 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/LicenseManagerLinuxSubscriptions.js +63 -0
- package/dist-es/LicenseManagerLinuxSubscriptionsClient.js +36 -0
- package/dist-es/commands/GetServiceSettingsCommand.js +42 -0
- package/dist-es/commands/ListLinuxSubscriptionInstancesCommand.js +42 -0
- package/dist-es/commands/ListLinuxSubscriptionsCommand.js +42 -0
- package/dist-es/commands/UpdateServiceSettingsCommand.js +42 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/LicenseManagerLinuxSubscriptionsServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +96 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListLinuxSubscriptionInstancesPaginator.js +32 -0
- package/dist-es/pagination/ListLinuxSubscriptionsPaginator.js +32 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +483 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +46 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/LicenseManagerLinuxSubscriptions.d.ts +39 -0
- package/dist-types/LicenseManagerLinuxSubscriptionsClient.d.ts +146 -0
- package/dist-types/commands/GetServiceSettingsCommand.d.ts +37 -0
- package/dist-types/commands/ListLinuxSubscriptionInstancesCommand.d.ts +38 -0
- package/dist-types/commands/ListLinuxSubscriptionsCommand.d.ts +39 -0
- package/dist-types/commands/UpdateServiceSettingsCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/LicenseManagerLinuxSubscriptionsServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +448 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListLinuxSubscriptionInstancesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListLinuxSubscriptionsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +14 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/LicenseManagerLinuxSubscriptions.d.ts +72 -0
- package/dist-types/ts3.4/LicenseManagerLinuxSubscriptionsClient.d.ts +136 -0
- package/dist-types/ts3.4/commands/GetServiceSettingsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListLinuxSubscriptionInstancesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListLinuxSubscriptionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateServiceSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/LicenseManagerLinuxSubscriptionsServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +138 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +9 -0
- package/dist-types/ts3.4/pagination/ListLinuxSubscriptionInstancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLinuxSubscriptionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +53 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +82 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
- package/package.json +102 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
4
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, 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 "@aws-sdk/types";
|
|
10
|
+
import { GetServiceSettingsCommandInput, GetServiceSettingsCommandOutput } from "./commands/GetServiceSettingsCommand";
|
|
11
|
+
import { ListLinuxSubscriptionInstancesCommandInput, ListLinuxSubscriptionInstancesCommandOutput } from "./commands/ListLinuxSubscriptionInstancesCommand";
|
|
12
|
+
import { ListLinuxSubscriptionsCommandInput, ListLinuxSubscriptionsCommandOutput } from "./commands/ListLinuxSubscriptionsCommand";
|
|
13
|
+
import { UpdateServiceSettingsCommandInput, UpdateServiceSettingsCommandOutput } from "./commands/UpdateServiceSettingsCommand";
|
|
14
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
15
|
+
export declare type ServiceInputTypes = GetServiceSettingsCommandInput | ListLinuxSubscriptionInstancesCommandInput | ListLinuxSubscriptionsCommandInput | UpdateServiceSettingsCommandInput;
|
|
16
|
+
export declare type ServiceOutputTypes = GetServiceSettingsCommandOutput | ListLinuxSubscriptionInstancesCommandOutput | ListLinuxSubscriptionsCommandOutput | UpdateServiceSettingsCommandOutput;
|
|
17
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
18
|
+
/**
|
|
19
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
20
|
+
*/
|
|
21
|
+
requestHandler?: __HttpHandler;
|
|
22
|
+
/**
|
|
23
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
24
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
sha256?: __HashConstructor;
|
|
28
|
+
/**
|
|
29
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
urlParser?: __UrlParser;
|
|
33
|
+
/**
|
|
34
|
+
* A function that can calculate the length of a request body.
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
38
|
+
/**
|
|
39
|
+
* A function that converts a stream into an array of bytes.
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
streamCollector?: __StreamCollector;
|
|
43
|
+
/**
|
|
44
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
base64Decoder?: __Decoder;
|
|
48
|
+
/**
|
|
49
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
base64Encoder?: __Encoder;
|
|
53
|
+
/**
|
|
54
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
utf8Decoder?: __Decoder;
|
|
58
|
+
/**
|
|
59
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
utf8Encoder?: __Encoder;
|
|
63
|
+
/**
|
|
64
|
+
* The runtime environment.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
runtime?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
70
|
+
* trait of an operation.
|
|
71
|
+
*/
|
|
72
|
+
disableHostPrefix?: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
75
|
+
*/
|
|
76
|
+
maxAttempts?: number | __Provider<number>;
|
|
77
|
+
/**
|
|
78
|
+
* Specifies which retry algorithm to use.
|
|
79
|
+
*/
|
|
80
|
+
retryMode?: string | __Provider<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Optional logger for logging debug/info/warn/error.
|
|
83
|
+
*/
|
|
84
|
+
logger?: __Logger;
|
|
85
|
+
/**
|
|
86
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
87
|
+
*/
|
|
88
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
89
|
+
/**
|
|
90
|
+
* Enables FIPS compatible endpoints.
|
|
91
|
+
*/
|
|
92
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
93
|
+
/**
|
|
94
|
+
* Unique service identifier.
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
serviceId?: string;
|
|
98
|
+
/**
|
|
99
|
+
* The AWS region to which this client will send requests
|
|
100
|
+
*/
|
|
101
|
+
region?: string | __Provider<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Default credentials provider; Not available in browser runtime.
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
107
|
+
/**
|
|
108
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
112
|
+
/**
|
|
113
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
114
|
+
*/
|
|
115
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
116
|
+
}
|
|
117
|
+
declare type LicenseManagerLinuxSubscriptionsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
118
|
+
/**
|
|
119
|
+
* The configuration interface of LicenseManagerLinuxSubscriptionsClient class constructor that set the region, credentials and other options.
|
|
120
|
+
*/
|
|
121
|
+
export interface LicenseManagerLinuxSubscriptionsClientConfig extends LicenseManagerLinuxSubscriptionsClientConfigType {
|
|
122
|
+
}
|
|
123
|
+
declare type LicenseManagerLinuxSubscriptionsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
124
|
+
/**
|
|
125
|
+
* The resolved configuration interface of LicenseManagerLinuxSubscriptionsClient class. This is resolved and normalized from the {@link LicenseManagerLinuxSubscriptionsClientConfig | constructor configuration interface}.
|
|
126
|
+
*/
|
|
127
|
+
export interface LicenseManagerLinuxSubscriptionsClientResolvedConfig extends LicenseManagerLinuxSubscriptionsClientResolvedConfigType {
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* <p>With License Manager, you can discover and track your commercial Linux subscriptions on running
|
|
131
|
+
* Amazon EC2 instances.</p>
|
|
132
|
+
*/
|
|
133
|
+
export declare class LicenseManagerLinuxSubscriptionsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LicenseManagerLinuxSubscriptionsClientResolvedConfig> {
|
|
134
|
+
/**
|
|
135
|
+
* The resolved configuration of LicenseManagerLinuxSubscriptionsClient class. This is resolved and normalized from the {@link LicenseManagerLinuxSubscriptionsClientConfig | constructor configuration interface}.
|
|
136
|
+
*/
|
|
137
|
+
readonly config: LicenseManagerLinuxSubscriptionsClientResolvedConfig;
|
|
138
|
+
constructor(configuration: LicenseManagerLinuxSubscriptionsClientConfig);
|
|
139
|
+
/**
|
|
140
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
141
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
142
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
143
|
+
*/
|
|
144
|
+
destroy(): void;
|
|
145
|
+
}
|
|
146
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerLinuxSubscriptionsClient";
|
|
5
|
+
import { GetServiceSettingsRequest, GetServiceSettingsResponse } from "../models/models_0";
|
|
6
|
+
export interface GetServiceSettingsCommandInput extends GetServiceSettingsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface GetServiceSettingsCommandOutput extends GetServiceSettingsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists the Linux subscriptions service settings.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { LicenseManagerLinuxSubscriptionsClient, GetServiceSettingsCommand } from "@aws-sdk/client-license-manager-linux-subscriptions"; // ES Modules import
|
|
16
|
+
* // const { LicenseManagerLinuxSubscriptionsClient, GetServiceSettingsCommand } = require("@aws-sdk/client-license-manager-linux-subscriptions"); // CommonJS import
|
|
17
|
+
* const client = new LicenseManagerLinuxSubscriptionsClient(config);
|
|
18
|
+
* const command = new GetServiceSettingsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link GetServiceSettingsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link GetServiceSettingsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link LicenseManagerLinuxSubscriptionsClientResolvedConfig | config} for LicenseManagerLinuxSubscriptionsClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class GetServiceSettingsCommand extends $Command<GetServiceSettingsCommandInput, GetServiceSettingsCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig> {
|
|
28
|
+
readonly input: GetServiceSettingsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetServiceSettingsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerLinuxSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetServiceSettingsCommandInput, GetServiceSettingsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerLinuxSubscriptionsClient";
|
|
5
|
+
import { ListLinuxSubscriptionInstancesRequest, ListLinuxSubscriptionInstancesResponse } from "../models/models_0";
|
|
6
|
+
export interface ListLinuxSubscriptionInstancesCommandInput extends ListLinuxSubscriptionInstancesRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListLinuxSubscriptionInstancesCommandOutput extends ListLinuxSubscriptionInstancesResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists the running Amazon EC2 instances that were discovered with commercial Linux
|
|
12
|
+
* subscriptions.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { LicenseManagerLinuxSubscriptionsClient, ListLinuxSubscriptionInstancesCommand } from "@aws-sdk/client-license-manager-linux-subscriptions"; // ES Modules import
|
|
17
|
+
* // const { LicenseManagerLinuxSubscriptionsClient, ListLinuxSubscriptionInstancesCommand } = require("@aws-sdk/client-license-manager-linux-subscriptions"); // CommonJS import
|
|
18
|
+
* const client = new LicenseManagerLinuxSubscriptionsClient(config);
|
|
19
|
+
* const command = new ListLinuxSubscriptionInstancesCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link ListLinuxSubscriptionInstancesCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link ListLinuxSubscriptionInstancesCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link LicenseManagerLinuxSubscriptionsClientResolvedConfig | config} for LicenseManagerLinuxSubscriptionsClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class ListLinuxSubscriptionInstancesCommand extends $Command<ListLinuxSubscriptionInstancesCommandInput, ListLinuxSubscriptionInstancesCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig> {
|
|
29
|
+
readonly input: ListLinuxSubscriptionInstancesCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListLinuxSubscriptionInstancesCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerLinuxSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLinuxSubscriptionInstancesCommandInput, ListLinuxSubscriptionInstancesCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerLinuxSubscriptionsClient";
|
|
5
|
+
import { ListLinuxSubscriptionsRequest, ListLinuxSubscriptionsResponse } from "../models/models_0";
|
|
6
|
+
export interface ListLinuxSubscriptionsCommandInput extends ListLinuxSubscriptionsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListLinuxSubscriptionsCommandOutput extends ListLinuxSubscriptionsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists the Linux subscriptions that have been discovered. If you have linked your
|
|
12
|
+
* organization, the returned results will include data aggregated across your accounts in
|
|
13
|
+
* Organizations.</p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { LicenseManagerLinuxSubscriptionsClient, ListLinuxSubscriptionsCommand } from "@aws-sdk/client-license-manager-linux-subscriptions"; // ES Modules import
|
|
18
|
+
* // const { LicenseManagerLinuxSubscriptionsClient, ListLinuxSubscriptionsCommand } = require("@aws-sdk/client-license-manager-linux-subscriptions"); // CommonJS import
|
|
19
|
+
* const client = new LicenseManagerLinuxSubscriptionsClient(config);
|
|
20
|
+
* const command = new ListLinuxSubscriptionsCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link ListLinuxSubscriptionsCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link ListLinuxSubscriptionsCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link LicenseManagerLinuxSubscriptionsClientResolvedConfig | config} for LicenseManagerLinuxSubscriptionsClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class ListLinuxSubscriptionsCommand extends $Command<ListLinuxSubscriptionsCommandInput, ListLinuxSubscriptionsCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig> {
|
|
30
|
+
readonly input: ListLinuxSubscriptionsCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
|
+
constructor(input: ListLinuxSubscriptionsCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerLinuxSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListLinuxSubscriptionsCommandInput, ListLinuxSubscriptionsCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LicenseManagerLinuxSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerLinuxSubscriptionsClient";
|
|
5
|
+
import { UpdateServiceSettingsRequest, UpdateServiceSettingsResponse } from "../models/models_0";
|
|
6
|
+
export interface UpdateServiceSettingsCommandInput extends UpdateServiceSettingsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateServiceSettingsCommandOutput extends UpdateServiceSettingsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Updates the service settings for Linux subscriptions.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { LicenseManagerLinuxSubscriptionsClient, UpdateServiceSettingsCommand } from "@aws-sdk/client-license-manager-linux-subscriptions"; // ES Modules import
|
|
16
|
+
* // const { LicenseManagerLinuxSubscriptionsClient, UpdateServiceSettingsCommand } = require("@aws-sdk/client-license-manager-linux-subscriptions"); // CommonJS import
|
|
17
|
+
* const client = new LicenseManagerLinuxSubscriptionsClient(config);
|
|
18
|
+
* const command = new UpdateServiceSettingsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link UpdateServiceSettingsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link UpdateServiceSettingsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link LicenseManagerLinuxSubscriptionsClientResolvedConfig | config} for LicenseManagerLinuxSubscriptionsClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class UpdateServiceSettingsCommand extends $Command<UpdateServiceSettingsCommandInput, UpdateServiceSettingsCommandOutput, LicenseManagerLinuxSubscriptionsClientResolvedConfig> {
|
|
28
|
+
readonly input: UpdateServiceSettingsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateServiceSettingsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerLinuxSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateServiceSettingsCommandInput, UpdateServiceSettingsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@aws-sdk/types";
|
|
2
|
+
export interface ClientInputEndpointParameters {
|
|
3
|
+
region?: string | Provider<string>;
|
|
4
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
5
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
7
|
+
}
|
|
8
|
+
export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
|
+
defaultSigningName: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
+
Region: string;
|
|
16
|
+
UseDualStack?: boolean;
|
|
17
|
+
UseFIPS?: boolean;
|
|
18
|
+
Endpoint?: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./LicenseManagerLinuxSubscriptions";
|
|
2
|
+
export * from "./LicenseManagerLinuxSubscriptionsClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
6
|
+
export { LicenseManagerLinuxSubscriptionsServiceException } from "./models/LicenseManagerLinuxSubscriptionsServiceException";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from LicenseManagerLinuxSubscriptions service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class LicenseManagerLinuxSubscriptionsServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|