@aws-sdk/client-outposts 3.1026.0 → 3.1028.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/README.md +14 -0
- package/dist-cjs/index.js +38 -0
- package/dist-cjs/schemas/schemas_0.js +59 -7
- package/dist-es/Outposts.js +4 -0
- package/dist-es/commands/CreateRenewalCommand.js +16 -0
- package/dist-es/commands/GetRenewalPricingCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +8 -0
- package/dist-es/schemas/schemas_0.js +56 -4
- package/dist-types/Outposts.d.ts +14 -0
- package/dist-types/OutpostsClient.d.ts +4 -2
- package/dist-types/commands/CreateRenewalCommand.d.ts +93 -0
- package/dist-types/commands/GetOutpostBillingInformationCommand.d.ts +3 -1
- package/dist-types/commands/GetRenewalPricingCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +24 -0
- package/dist-types/models/models_0.d.ts +143 -5
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/dist-types/ts3.4/Outposts.d.ts +34 -0
- package/dist-types/ts3.4/OutpostsClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateRenewalCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetRenewalPricingCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +34 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
GetRenewalPricingInput,
|
|
5
|
+
GetRenewalPricingOutput,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
OutpostsClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../OutpostsClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetRenewalPricingCommandInput extends GetRenewalPricingInput {}
|
|
15
|
+
export interface GetRenewalPricingCommandOutput
|
|
16
|
+
extends GetRenewalPricingOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const GetRenewalPricingCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetRenewalPricingCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetRenewalPricingCommandInput,
|
|
23
|
+
GetRenewalPricingCommandOutput,
|
|
24
|
+
OutpostsClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: GetRenewalPricingCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetRenewalPricingCommandInput,
|
|
32
|
+
GetRenewalPricingCommandOutput,
|
|
33
|
+
OutpostsClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class GetRenewalPricingCommand extends GetRenewalPricingCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: GetRenewalPricingInput;
|
|
43
|
+
output: GetRenewalPricingOutput;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: GetRenewalPricingCommandInput;
|
|
47
|
+
output: GetRenewalPricingCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./CancelCapacityTaskCommand";
|
|
|
2
2
|
export * from "./CancelOrderCommand";
|
|
3
3
|
export * from "./CreateOrderCommand";
|
|
4
4
|
export * from "./CreateOutpostCommand";
|
|
5
|
+
export * from "./CreateRenewalCommand";
|
|
5
6
|
export * from "./CreateSiteCommand";
|
|
6
7
|
export * from "./DeleteOutpostCommand";
|
|
7
8
|
export * from "./DeleteSiteCommand";
|
|
@@ -13,6 +14,7 @@ export * from "./GetOutpostBillingInformationCommand";
|
|
|
13
14
|
export * from "./GetOutpostCommand";
|
|
14
15
|
export * from "./GetOutpostInstanceTypesCommand";
|
|
15
16
|
export * from "./GetOutpostSupportedInstanceTypesCommand";
|
|
17
|
+
export * from "./GetRenewalPricingCommand";
|
|
16
18
|
export * from "./GetSiteAddressCommand";
|
|
17
19
|
export * from "./GetSiteCommand";
|
|
18
20
|
export * from "./ListAssetInstancesCommand";
|
|
@@ -244,6 +244,7 @@ export declare const SubscriptionStatus: {
|
|
|
244
244
|
readonly ACTIVE: "ACTIVE";
|
|
245
245
|
readonly CANCELLED: "CANCELLED";
|
|
246
246
|
readonly INACTIVE: "INACTIVE";
|
|
247
|
+
readonly PENDING: "PENDING";
|
|
247
248
|
};
|
|
248
249
|
export type SubscriptionStatus =
|
|
249
250
|
(typeof SubscriptionStatus)[keyof typeof SubscriptionStatus];
|
|
@@ -254,3 +255,13 @@ export declare const SubscriptionType: {
|
|
|
254
255
|
};
|
|
255
256
|
export type SubscriptionType =
|
|
256
257
|
(typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
258
|
+
export declare const QuotePricingType: {
|
|
259
|
+
readonly SUBSCRIPTION: "SUBSCRIPTION";
|
|
260
|
+
};
|
|
261
|
+
export type QuotePricingType =
|
|
262
|
+
(typeof QuotePricingType)[keyof typeof QuotePricingType];
|
|
263
|
+
export declare const PricingResult: {
|
|
264
|
+
readonly PRICED: "PRICED";
|
|
265
|
+
readonly UNABLE_TO_PRICE: "UNABLE_TO_PRICE";
|
|
266
|
+
};
|
|
267
|
+
export type PricingResult = (typeof PricingResult)[keyof typeof PricingResult];
|
|
@@ -22,6 +22,8 @@ import {
|
|
|
22
22
|
PowerDrawKva,
|
|
23
23
|
PowerFeedDrop,
|
|
24
24
|
PowerPhase,
|
|
25
|
+
PricingResult,
|
|
26
|
+
QuotePricingType,
|
|
25
27
|
ShipmentCarrier,
|
|
26
28
|
SubscriptionStatus,
|
|
27
29
|
SubscriptionType,
|
|
@@ -190,6 +192,19 @@ export interface Outpost {
|
|
|
190
192
|
export interface CreateOutpostOutput {
|
|
191
193
|
Outpost?: Outpost | undefined;
|
|
192
194
|
}
|
|
195
|
+
export interface CreateRenewalInput {
|
|
196
|
+
PaymentOption: PaymentOption | undefined;
|
|
197
|
+
PaymentTerm: PaymentTerm | undefined;
|
|
198
|
+
OutpostIdentifier: string | undefined;
|
|
199
|
+
ClientToken?: string | undefined;
|
|
200
|
+
}
|
|
201
|
+
export interface CreateRenewalOutput {
|
|
202
|
+
PaymentOption?: PaymentOption | undefined;
|
|
203
|
+
PaymentTerm?: PaymentTerm | undefined;
|
|
204
|
+
OutpostId?: string | undefined;
|
|
205
|
+
UpfrontPrice?: number | undefined;
|
|
206
|
+
MonthlyRecurringPrice?: number | undefined;
|
|
207
|
+
}
|
|
193
208
|
export interface RackPhysicalProperties {
|
|
194
209
|
PowerDrawKva?: PowerDrawKva | undefined;
|
|
195
210
|
PowerPhase?: PowerPhase | undefined;
|
|
@@ -306,6 +321,8 @@ export interface GetOutpostBillingInformationOutput {
|
|
|
306
321
|
NextToken?: string | undefined;
|
|
307
322
|
Subscriptions?: Subscription[] | undefined;
|
|
308
323
|
ContractEndDate?: string | undefined;
|
|
324
|
+
PaymentTerm?: PaymentTerm | undefined;
|
|
325
|
+
PaymentOption?: PaymentOption | undefined;
|
|
309
326
|
}
|
|
310
327
|
export interface GetOutpostInstanceTypesInput {
|
|
311
328
|
OutpostId: string | undefined;
|
|
@@ -333,6 +350,23 @@ export interface GetOutpostSupportedInstanceTypesOutput {
|
|
|
333
350
|
InstanceTypes?: InstanceTypeItem[] | undefined;
|
|
334
351
|
NextToken?: string | undefined;
|
|
335
352
|
}
|
|
353
|
+
export interface GetRenewalPricingInput {
|
|
354
|
+
OutpostIdentifier: string | undefined;
|
|
355
|
+
}
|
|
356
|
+
export interface SubscriptionPricingDetails {
|
|
357
|
+
PaymentOption?: PaymentOption | undefined;
|
|
358
|
+
PaymentTerm?: PaymentTerm | undefined;
|
|
359
|
+
UpfrontPrice?: number | undefined;
|
|
360
|
+
MonthlyRecurringPrice?: number | undefined;
|
|
361
|
+
}
|
|
362
|
+
export interface PricingOption {
|
|
363
|
+
PricingType?: QuotePricingType | undefined;
|
|
364
|
+
SubscriptionPricingDetails?: SubscriptionPricingDetails | undefined;
|
|
365
|
+
}
|
|
366
|
+
export interface GetRenewalPricingOutput {
|
|
367
|
+
PricingResult?: PricingResult | undefined;
|
|
368
|
+
PricingOptions?: PricingOption[] | undefined;
|
|
369
|
+
}
|
|
336
370
|
export interface GetSiteInput {
|
|
337
371
|
SiteId: string | undefined;
|
|
338
372
|
}
|
|
@@ -31,6 +31,8 @@ export declare var CreateOrderInput$: StaticStructureSchema;
|
|
|
31
31
|
export declare var CreateOrderOutput$: StaticStructureSchema;
|
|
32
32
|
export declare var CreateOutpostInput$: StaticStructureSchema;
|
|
33
33
|
export declare var CreateOutpostOutput$: StaticStructureSchema;
|
|
34
|
+
export declare var CreateRenewalInput$: StaticStructureSchema;
|
|
35
|
+
export declare var CreateRenewalOutput$: StaticStructureSchema;
|
|
34
36
|
export declare var CreateSiteInput$: StaticStructureSchema;
|
|
35
37
|
export declare var CreateSiteOutput$: StaticStructureSchema;
|
|
36
38
|
export declare var DeleteOutpostInput$: StaticStructureSchema;
|
|
@@ -54,6 +56,8 @@ export declare var GetOutpostInstanceTypesOutput$: StaticStructureSchema;
|
|
|
54
56
|
export declare var GetOutpostOutput$: StaticStructureSchema;
|
|
55
57
|
export declare var GetOutpostSupportedInstanceTypesInput$: StaticStructureSchema;
|
|
56
58
|
export declare var GetOutpostSupportedInstanceTypesOutput$: StaticStructureSchema;
|
|
59
|
+
export declare var GetRenewalPricingInput$: StaticStructureSchema;
|
|
60
|
+
export declare var GetRenewalPricingOutput$: StaticStructureSchema;
|
|
57
61
|
export declare var GetSiteAddressInput$: StaticStructureSchema;
|
|
58
62
|
export declare var GetSiteAddressOutput$: StaticStructureSchema;
|
|
59
63
|
export declare var GetSiteInput$: StaticStructureSchema;
|
|
@@ -85,6 +89,7 @@ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
|
85
89
|
export declare var Order$: StaticStructureSchema;
|
|
86
90
|
export declare var OrderSummary$: StaticStructureSchema;
|
|
87
91
|
export declare var Outpost$: StaticStructureSchema;
|
|
92
|
+
export declare var PricingOption$: StaticStructureSchema;
|
|
88
93
|
export declare var RackPhysicalProperties$: StaticStructureSchema;
|
|
89
94
|
export declare var ShipmentInformation$: StaticStructureSchema;
|
|
90
95
|
export declare var Site$: StaticStructureSchema;
|
|
@@ -95,6 +100,7 @@ export declare var StartConnectionResponse$: StaticStructureSchema;
|
|
|
95
100
|
export declare var StartOutpostDecommissionInput$: StaticStructureSchema;
|
|
96
101
|
export declare var StartOutpostDecommissionOutput$: StaticStructureSchema;
|
|
97
102
|
export declare var Subscription$: StaticStructureSchema;
|
|
103
|
+
export declare var SubscriptionPricingDetails$: StaticStructureSchema;
|
|
98
104
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
99
105
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
100
106
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
@@ -111,6 +117,7 @@ export declare var CancelCapacityTask$: StaticOperationSchema;
|
|
|
111
117
|
export declare var CancelOrder$: StaticOperationSchema;
|
|
112
118
|
export declare var CreateOrder$: StaticOperationSchema;
|
|
113
119
|
export declare var CreateOutpost$: StaticOperationSchema;
|
|
120
|
+
export declare var CreateRenewal$: StaticOperationSchema;
|
|
114
121
|
export declare var CreateSite$: StaticOperationSchema;
|
|
115
122
|
export declare var DeleteOutpost$: StaticOperationSchema;
|
|
116
123
|
export declare var DeleteSite$: StaticOperationSchema;
|
|
@@ -122,6 +129,7 @@ export declare var GetOutpost$: StaticOperationSchema;
|
|
|
122
129
|
export declare var GetOutpostBillingInformation$: StaticOperationSchema;
|
|
123
130
|
export declare var GetOutpostInstanceTypes$: StaticOperationSchema;
|
|
124
131
|
export declare var GetOutpostSupportedInstanceTypes$: StaticOperationSchema;
|
|
132
|
+
export declare var GetRenewalPricing$: StaticOperationSchema;
|
|
125
133
|
export declare var GetSite$: StaticOperationSchema;
|
|
126
134
|
export declare var GetSiteAddress$: StaticOperationSchema;
|
|
127
135
|
export declare var ListAssetInstances$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-outposts",
|
|
3
3
|
"description": "AWS SDK for JavaScript Outposts Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1028.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-outposts",
|