@aws-sdk/client-outposts 3.1026.0 → 3.1027.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,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { CreateRenewalInput, CreateRenewalOutput } from "../models/models_0";
|
|
4
|
+
import type { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateRenewalCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateRenewalCommandInput extends CreateRenewalInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateRenewalCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateRenewalCommandOutput extends CreateRenewalOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateRenewalCommand_base: {
|
|
25
|
+
new (input: CreateRenewalCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRenewalCommandInput, CreateRenewalCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateRenewalCommandInput): import("@smithy/smithy-client").CommandImpl<CreateRenewalCommandInput, CreateRenewalCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a renewal contract for the specified Outpost.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OutpostsClient, CreateRenewalCommand } from "@aws-sdk/client-outposts"; // ES Modules import
|
|
35
|
+
* // const { OutpostsClient, CreateRenewalCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
|
|
36
|
+
* // import type { OutpostsClientConfig } from "@aws-sdk/client-outposts";
|
|
37
|
+
* const config = {}; // type is OutpostsClientConfig
|
|
38
|
+
* const client = new OutpostsClient(config);
|
|
39
|
+
* const input = { // CreateRenewalInput
|
|
40
|
+
* PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT", // required
|
|
41
|
+
* PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS", // required
|
|
42
|
+
* OutpostIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* ClientToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new CreateRenewalCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // CreateRenewalOutput
|
|
48
|
+
* // PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT",
|
|
49
|
+
* // PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS",
|
|
50
|
+
* // OutpostId: "STRING_VALUE",
|
|
51
|
+
* // UpfrontPrice: Number("float"),
|
|
52
|
+
* // MonthlyRecurringPrice: Number("float"),
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param CreateRenewalCommandInput - {@link CreateRenewalCommandInput}
|
|
58
|
+
* @returns {@link CreateRenewalCommandOutput}
|
|
59
|
+
* @see {@link CreateRenewalCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link CreateRenewalCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>You do not have permission to perform this operation.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>An internal error has occurred.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link NotFoundException} (client fault)
|
|
70
|
+
* <p>The specified request is not valid.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>A parameter is not valid.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link OutpostsServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class CreateRenewalCommand extends CreateRenewalCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: CreateRenewalInput;
|
|
86
|
+
output: CreateRenewalOutput;
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: CreateRenewalCommandInput;
|
|
90
|
+
output: CreateRenewalCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -49,7 +49,7 @@ declare const GetOutpostBillingInformationCommand_base: {
|
|
|
49
49
|
* // { // Subscription
|
|
50
50
|
* // SubscriptionId: "STRING_VALUE",
|
|
51
51
|
* // SubscriptionType: "ORIGINAL" || "RENEWAL" || "CAPACITY_INCREASE",
|
|
52
|
-
* // SubscriptionStatus: "ACTIVE" || "INACTIVE" || "CANCELLED",
|
|
52
|
+
* // SubscriptionStatus: "ACTIVE" || "PENDING" || "INACTIVE" || "CANCELLED",
|
|
53
53
|
* // OrderIds: [ // OrderIdList
|
|
54
54
|
* // "STRING_VALUE",
|
|
55
55
|
* // ],
|
|
@@ -60,6 +60,8 @@ declare const GetOutpostBillingInformationCommand_base: {
|
|
|
60
60
|
* // },
|
|
61
61
|
* // ],
|
|
62
62
|
* // ContractEndDate: "STRING_VALUE",
|
|
63
|
+
* // PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS",
|
|
64
|
+
* // PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT",
|
|
63
65
|
* // };
|
|
64
66
|
*
|
|
65
67
|
* ```
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetRenewalPricingInput, GetRenewalPricingOutput } from "../models/models_0";
|
|
4
|
+
import type { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetRenewalPricingCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetRenewalPricingCommandInput extends GetRenewalPricingInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetRenewalPricingCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetRenewalPricingCommandOutput extends GetRenewalPricingOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetRenewalPricingCommand_base: {
|
|
25
|
+
new (input: GetRenewalPricingCommandInput): import("@smithy/smithy-client").CommandImpl<GetRenewalPricingCommandInput, GetRenewalPricingCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetRenewalPricingCommandInput): import("@smithy/smithy-client").CommandImpl<GetRenewalPricingCommandInput, GetRenewalPricingCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Gets all available renewal pricing options for the specified Outpost.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { OutpostsClient, GetRenewalPricingCommand } from "@aws-sdk/client-outposts"; // ES Modules import
|
|
35
|
+
* // const { OutpostsClient, GetRenewalPricingCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
|
|
36
|
+
* // import type { OutpostsClientConfig } from "@aws-sdk/client-outposts";
|
|
37
|
+
* const config = {}; // type is OutpostsClientConfig
|
|
38
|
+
* const client = new OutpostsClient(config);
|
|
39
|
+
* const input = { // GetRenewalPricingInput
|
|
40
|
+
* OutpostIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetRenewalPricingCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetRenewalPricingOutput
|
|
45
|
+
* // PricingResult: "PRICED" || "UNABLE_TO_PRICE",
|
|
46
|
+
* // PricingOptions: [ // PricingOptionList
|
|
47
|
+
* // { // PricingOption
|
|
48
|
+
* // PricingType: "SUBSCRIPTION",
|
|
49
|
+
* // SubscriptionPricingDetails: { // SubscriptionPricingDetails
|
|
50
|
+
* // PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT",
|
|
51
|
+
* // PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS",
|
|
52
|
+
* // UpfrontPrice: Number("float"),
|
|
53
|
+
* // MonthlyRecurringPrice: Number("float"),
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param GetRenewalPricingCommandInput - {@link GetRenewalPricingCommandInput}
|
|
62
|
+
* @returns {@link GetRenewalPricingCommandOutput}
|
|
63
|
+
* @see {@link GetRenewalPricingCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link GetRenewalPricingCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You do not have permission to perform this operation.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>An internal error has occurred.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link NotFoundException} (client fault)
|
|
74
|
+
* <p>The specified request is not valid.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>A parameter is not valid.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link OutpostsServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
export declare class GetRenewalPricingCommand extends GetRenewalPricingCommand_base {
|
|
86
|
+
/** @internal type navigation helper, not in runtime. */
|
|
87
|
+
protected static __types: {
|
|
88
|
+
api: {
|
|
89
|
+
input: GetRenewalPricingInput;
|
|
90
|
+
output: GetRenewalPricingOutput;
|
|
91
|
+
};
|
|
92
|
+
sdk: {
|
|
93
|
+
input: GetRenewalPricingCommandInput;
|
|
94
|
+
output: GetRenewalPricingCommandOutput;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -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";
|
|
@@ -441,6 +441,7 @@ export declare const SubscriptionStatus: {
|
|
|
441
441
|
readonly ACTIVE: "ACTIVE";
|
|
442
442
|
readonly CANCELLED: "CANCELLED";
|
|
443
443
|
readonly INACTIVE: "INACTIVE";
|
|
444
|
+
readonly PENDING: "PENDING";
|
|
444
445
|
};
|
|
445
446
|
/**
|
|
446
447
|
* @public
|
|
@@ -459,3 +460,26 @@ export declare const SubscriptionType: {
|
|
|
459
460
|
* @public
|
|
460
461
|
*/
|
|
461
462
|
export type SubscriptionType = (typeof SubscriptionType)[keyof typeof SubscriptionType];
|
|
463
|
+
/**
|
|
464
|
+
* @public
|
|
465
|
+
* @enum
|
|
466
|
+
*/
|
|
467
|
+
export declare const QuotePricingType: {
|
|
468
|
+
readonly SUBSCRIPTION: "SUBSCRIPTION";
|
|
469
|
+
};
|
|
470
|
+
/**
|
|
471
|
+
* @public
|
|
472
|
+
*/
|
|
473
|
+
export type QuotePricingType = (typeof QuotePricingType)[keyof typeof QuotePricingType];
|
|
474
|
+
/**
|
|
475
|
+
* @public
|
|
476
|
+
* @enum
|
|
477
|
+
*/
|
|
478
|
+
export declare const PricingResult: {
|
|
479
|
+
readonly PRICED: "PRICED";
|
|
480
|
+
readonly UNABLE_TO_PRICE: "UNABLE_TO_PRICE";
|
|
481
|
+
};
|
|
482
|
+
/**
|
|
483
|
+
* @public
|
|
484
|
+
*/
|
|
485
|
+
export type PricingResult = (typeof PricingResult)[keyof typeof PricingResult];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AddressType, AssetState, AssetType, AWSServiceName, BlockingResourceType, CapacityTaskFailureType, CapacityTaskStatus, CatalogItemClass, CatalogItemStatus, ComputeAssetState, DecommissionRequestStatus, FiberOpticCableType, LineItemStatus, MaximumSupportedWeightLbs, OpticalStandard, OrderStatus, OrderType, PaymentOption, PaymentTerm, PowerConnector, PowerDrawKva, PowerFeedDrop, PowerPhase, ShipmentCarrier, SubscriptionStatus, SubscriptionType, SupportedHardwareType, SupportedStorageEnum, TaskActionOnBlockingInstances, UplinkCount, UplinkGbps } from "./enums";
|
|
1
|
+
import type { AddressType, AssetState, AssetType, AWSServiceName, BlockingResourceType, CapacityTaskFailureType, CapacityTaskStatus, CatalogItemClass, CatalogItemStatus, ComputeAssetState, DecommissionRequestStatus, FiberOpticCableType, LineItemStatus, MaximumSupportedWeightLbs, OpticalStandard, OrderStatus, OrderType, PaymentOption, PaymentTerm, PowerConnector, PowerDrawKva, PowerFeedDrop, PowerPhase, PricingResult, QuotePricingType, ShipmentCarrier, SubscriptionStatus, SubscriptionType, SupportedHardwareType, SupportedStorageEnum, TaskActionOnBlockingInstances, UplinkCount, UplinkGbps } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p> Information about an address. </p>
|
|
4
4
|
* @public
|
|
@@ -749,6 +749,62 @@ export interface CreateOutpostOutput {
|
|
|
749
749
|
*/
|
|
750
750
|
Outpost?: Outpost | undefined;
|
|
751
751
|
}
|
|
752
|
+
/**
|
|
753
|
+
* @public
|
|
754
|
+
*/
|
|
755
|
+
export interface CreateRenewalInput {
|
|
756
|
+
/**
|
|
757
|
+
* <p>The payment option.</p>
|
|
758
|
+
* @public
|
|
759
|
+
*/
|
|
760
|
+
PaymentOption: PaymentOption | undefined;
|
|
761
|
+
/**
|
|
762
|
+
* <p>The payment term.</p>
|
|
763
|
+
* @public
|
|
764
|
+
*/
|
|
765
|
+
PaymentTerm: PaymentTerm | undefined;
|
|
766
|
+
/**
|
|
767
|
+
* <p>The ID or ARN of the Outpost.</p>
|
|
768
|
+
* @public
|
|
769
|
+
*/
|
|
770
|
+
OutpostIdentifier: string | undefined;
|
|
771
|
+
/**
|
|
772
|
+
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
773
|
+
* request.</p>
|
|
774
|
+
* @public
|
|
775
|
+
*/
|
|
776
|
+
ClientToken?: string | undefined;
|
|
777
|
+
}
|
|
778
|
+
/**
|
|
779
|
+
* @public
|
|
780
|
+
*/
|
|
781
|
+
export interface CreateRenewalOutput {
|
|
782
|
+
/**
|
|
783
|
+
* <p>The payment option.</p>
|
|
784
|
+
* @public
|
|
785
|
+
*/
|
|
786
|
+
PaymentOption?: PaymentOption | undefined;
|
|
787
|
+
/**
|
|
788
|
+
* <p>The payment term.</p>
|
|
789
|
+
* @public
|
|
790
|
+
*/
|
|
791
|
+
PaymentTerm?: PaymentTerm | undefined;
|
|
792
|
+
/**
|
|
793
|
+
* <p>The ID of the Outpost.</p>
|
|
794
|
+
* @public
|
|
795
|
+
*/
|
|
796
|
+
OutpostId?: string | undefined;
|
|
797
|
+
/**
|
|
798
|
+
* <p>The upfront price of the renewal.</p>
|
|
799
|
+
* @public
|
|
800
|
+
*/
|
|
801
|
+
UpfrontPrice?: number | undefined;
|
|
802
|
+
/**
|
|
803
|
+
* <p>The monthly recurring price of the renewal.</p>
|
|
804
|
+
* @public
|
|
805
|
+
*/
|
|
806
|
+
MonthlyRecurringPrice?: number | undefined;
|
|
807
|
+
}
|
|
752
808
|
/**
|
|
753
809
|
* <p> Information about the physical and logistical details for racks at sites.
|
|
754
810
|
* For more information
|
|
@@ -1285,6 +1341,11 @@ export interface Subscription {
|
|
|
1285
1341
|
* </li>
|
|
1286
1342
|
* <li>
|
|
1287
1343
|
* <p>
|
|
1344
|
+
* <b>PENDING</b> - Subscription has been created but billing
|
|
1345
|
+
* has not yet commenced because the subscription begin date has not been reached.</p>
|
|
1346
|
+
* </li>
|
|
1347
|
+
* <li>
|
|
1348
|
+
* <p>
|
|
1288
1349
|
* <b>CANCELLED</b> - Subscription requests that are
|
|
1289
1350
|
* cancelled.</p>
|
|
1290
1351
|
* </li>
|
|
@@ -1333,13 +1394,23 @@ export interface GetOutpostBillingInformationOutput {
|
|
|
1333
1394
|
*/
|
|
1334
1395
|
Subscriptions?: Subscription[] | undefined;
|
|
1335
1396
|
/**
|
|
1336
|
-
* <p>The date the current contract term ends for the specified Outpost. You must start the
|
|
1337
|
-
* decommission process at least 5 business days before the current term for your
|
|
1338
|
-
* Amazon Web Services Outposts ends. Failing to complete these steps at least 5 business days before the
|
|
1339
|
-
*
|
|
1397
|
+
* <p>The date the current contract term ends for the specified Outpost. You must start the
|
|
1398
|
+
* renewal or decommission process at least 5 business days before the current term for your
|
|
1399
|
+
* Amazon Web Services Outposts ends. Failing to complete these steps at least 5 business days before the current term
|
|
1400
|
+
* ends might result in unanticipated charges.</p>
|
|
1340
1401
|
* @public
|
|
1341
1402
|
*/
|
|
1342
1403
|
ContractEndDate?: string | undefined;
|
|
1404
|
+
/**
|
|
1405
|
+
* <p>The payment term.</p>
|
|
1406
|
+
* @public
|
|
1407
|
+
*/
|
|
1408
|
+
PaymentTerm?: PaymentTerm | undefined;
|
|
1409
|
+
/**
|
|
1410
|
+
* <p>The payment option.</p>
|
|
1411
|
+
* @public
|
|
1412
|
+
*/
|
|
1413
|
+
PaymentOption?: PaymentOption | undefined;
|
|
1343
1414
|
}
|
|
1344
1415
|
/**
|
|
1345
1416
|
* @public
|
|
@@ -1448,6 +1519,73 @@ export interface GetOutpostSupportedInstanceTypesOutput {
|
|
|
1448
1519
|
*/
|
|
1449
1520
|
NextToken?: string | undefined;
|
|
1450
1521
|
}
|
|
1522
|
+
/**
|
|
1523
|
+
* @public
|
|
1524
|
+
*/
|
|
1525
|
+
export interface GetRenewalPricingInput {
|
|
1526
|
+
/**
|
|
1527
|
+
* <p>The ID or ARN of the Outpost.</p>
|
|
1528
|
+
* @public
|
|
1529
|
+
*/
|
|
1530
|
+
OutpostIdentifier: string | undefined;
|
|
1531
|
+
}
|
|
1532
|
+
/**
|
|
1533
|
+
* <p>The pricing details for a subscription.</p>
|
|
1534
|
+
* @public
|
|
1535
|
+
*/
|
|
1536
|
+
export interface SubscriptionPricingDetails {
|
|
1537
|
+
/**
|
|
1538
|
+
* <p>The payment option.</p>
|
|
1539
|
+
* @public
|
|
1540
|
+
*/
|
|
1541
|
+
PaymentOption?: PaymentOption | undefined;
|
|
1542
|
+
/**
|
|
1543
|
+
* <p>The payment term.</p>
|
|
1544
|
+
* @public
|
|
1545
|
+
*/
|
|
1546
|
+
PaymentTerm?: PaymentTerm | undefined;
|
|
1547
|
+
/**
|
|
1548
|
+
* <p>The upfront price.</p>
|
|
1549
|
+
* @public
|
|
1550
|
+
*/
|
|
1551
|
+
UpfrontPrice?: number | undefined;
|
|
1552
|
+
/**
|
|
1553
|
+
* <p>The monthly recurring price.</p>
|
|
1554
|
+
* @public
|
|
1555
|
+
*/
|
|
1556
|
+
MonthlyRecurringPrice?: number | undefined;
|
|
1557
|
+
}
|
|
1558
|
+
/**
|
|
1559
|
+
* <p>A pricing option for the specified Outpost.</p>
|
|
1560
|
+
* @public
|
|
1561
|
+
*/
|
|
1562
|
+
export interface PricingOption {
|
|
1563
|
+
/**
|
|
1564
|
+
* <p>The type of pricing model.</p>
|
|
1565
|
+
* @public
|
|
1566
|
+
*/
|
|
1567
|
+
PricingType?: QuotePricingType | undefined;
|
|
1568
|
+
/**
|
|
1569
|
+
* <p>The subscription pricing details for this pricing option.</p>
|
|
1570
|
+
* @public
|
|
1571
|
+
*/
|
|
1572
|
+
SubscriptionPricingDetails?: SubscriptionPricingDetails | undefined;
|
|
1573
|
+
}
|
|
1574
|
+
/**
|
|
1575
|
+
* @public
|
|
1576
|
+
*/
|
|
1577
|
+
export interface GetRenewalPricingOutput {
|
|
1578
|
+
/**
|
|
1579
|
+
* <p>The result of the pricing request.</p>
|
|
1580
|
+
* @public
|
|
1581
|
+
*/
|
|
1582
|
+
PricingResult?: PricingResult | undefined;
|
|
1583
|
+
/**
|
|
1584
|
+
* <p>The pricing options for the specified Outpost.</p>
|
|
1585
|
+
* @public
|
|
1586
|
+
*/
|
|
1587
|
+
PricingOptions?: PricingOption[] | undefined;
|
|
1588
|
+
}
|
|
1451
1589
|
/**
|
|
1452
1590
|
* @public
|
|
1453
1591
|
*/
|
|
@@ -32,6 +32,8 @@ export declare var CreateOrderInput$: StaticStructureSchema;
|
|
|
32
32
|
export declare var CreateOrderOutput$: StaticStructureSchema;
|
|
33
33
|
export declare var CreateOutpostInput$: StaticStructureSchema;
|
|
34
34
|
export declare var CreateOutpostOutput$: StaticStructureSchema;
|
|
35
|
+
export declare var CreateRenewalInput$: StaticStructureSchema;
|
|
36
|
+
export declare var CreateRenewalOutput$: StaticStructureSchema;
|
|
35
37
|
export declare var CreateSiteInput$: StaticStructureSchema;
|
|
36
38
|
export declare var CreateSiteOutput$: StaticStructureSchema;
|
|
37
39
|
export declare var DeleteOutpostInput$: StaticStructureSchema;
|
|
@@ -55,6 +57,8 @@ export declare var GetOutpostInstanceTypesOutput$: StaticStructureSchema;
|
|
|
55
57
|
export declare var GetOutpostOutput$: StaticStructureSchema;
|
|
56
58
|
export declare var GetOutpostSupportedInstanceTypesInput$: StaticStructureSchema;
|
|
57
59
|
export declare var GetOutpostSupportedInstanceTypesOutput$: StaticStructureSchema;
|
|
60
|
+
export declare var GetRenewalPricingInput$: StaticStructureSchema;
|
|
61
|
+
export declare var GetRenewalPricingOutput$: StaticStructureSchema;
|
|
58
62
|
export declare var GetSiteAddressInput$: StaticStructureSchema;
|
|
59
63
|
export declare var GetSiteAddressOutput$: StaticStructureSchema;
|
|
60
64
|
export declare var GetSiteInput$: StaticStructureSchema;
|
|
@@ -86,6 +90,7 @@ export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
|
86
90
|
export declare var Order$: StaticStructureSchema;
|
|
87
91
|
export declare var OrderSummary$: StaticStructureSchema;
|
|
88
92
|
export declare var Outpost$: StaticStructureSchema;
|
|
93
|
+
export declare var PricingOption$: StaticStructureSchema;
|
|
89
94
|
export declare var RackPhysicalProperties$: StaticStructureSchema;
|
|
90
95
|
export declare var ShipmentInformation$: StaticStructureSchema;
|
|
91
96
|
export declare var Site$: StaticStructureSchema;
|
|
@@ -96,6 +101,7 @@ export declare var StartConnectionResponse$: StaticStructureSchema;
|
|
|
96
101
|
export declare var StartOutpostDecommissionInput$: StaticStructureSchema;
|
|
97
102
|
export declare var StartOutpostDecommissionOutput$: StaticStructureSchema;
|
|
98
103
|
export declare var Subscription$: StaticStructureSchema;
|
|
104
|
+
export declare var SubscriptionPricingDetails$: StaticStructureSchema;
|
|
99
105
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
100
106
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
101
107
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
@@ -112,6 +118,7 @@ export declare var CancelCapacityTask$: StaticOperationSchema;
|
|
|
112
118
|
export declare var CancelOrder$: StaticOperationSchema;
|
|
113
119
|
export declare var CreateOrder$: StaticOperationSchema;
|
|
114
120
|
export declare var CreateOutpost$: StaticOperationSchema;
|
|
121
|
+
export declare var CreateRenewal$: StaticOperationSchema;
|
|
115
122
|
export declare var CreateSite$: StaticOperationSchema;
|
|
116
123
|
export declare var DeleteOutpost$: StaticOperationSchema;
|
|
117
124
|
export declare var DeleteSite$: StaticOperationSchema;
|
|
@@ -123,6 +130,7 @@ export declare var GetOutpost$: StaticOperationSchema;
|
|
|
123
130
|
export declare var GetOutpostBillingInformation$: StaticOperationSchema;
|
|
124
131
|
export declare var GetOutpostInstanceTypes$: StaticOperationSchema;
|
|
125
132
|
export declare var GetOutpostSupportedInstanceTypes$: StaticOperationSchema;
|
|
133
|
+
export declare var GetRenewalPricing$: StaticOperationSchema;
|
|
126
134
|
export declare var GetSite$: StaticOperationSchema;
|
|
127
135
|
export declare var GetSiteAddress$: StaticOperationSchema;
|
|
128
136
|
export declare var ListAssetInstances$: StaticOperationSchema;
|
|
@@ -19,6 +19,10 @@ import {
|
|
|
19
19
|
CreateOutpostCommandInput,
|
|
20
20
|
CreateOutpostCommandOutput,
|
|
21
21
|
} from "./commands/CreateOutpostCommand";
|
|
22
|
+
import {
|
|
23
|
+
CreateRenewalCommandInput,
|
|
24
|
+
CreateRenewalCommandOutput,
|
|
25
|
+
} from "./commands/CreateRenewalCommand";
|
|
22
26
|
import {
|
|
23
27
|
CreateSiteCommandInput,
|
|
24
28
|
CreateSiteCommandOutput,
|
|
@@ -63,6 +67,10 @@ import {
|
|
|
63
67
|
GetOutpostSupportedInstanceTypesCommandInput,
|
|
64
68
|
GetOutpostSupportedInstanceTypesCommandOutput,
|
|
65
69
|
} from "./commands/GetOutpostSupportedInstanceTypesCommand";
|
|
70
|
+
import {
|
|
71
|
+
GetRenewalPricingCommandInput,
|
|
72
|
+
GetRenewalPricingCommandOutput,
|
|
73
|
+
} from "./commands/GetRenewalPricingCommand";
|
|
66
74
|
import {
|
|
67
75
|
GetSiteAddressCommandInput,
|
|
68
76
|
GetSiteAddressCommandOutput,
|
|
@@ -197,6 +205,19 @@ export interface Outposts {
|
|
|
197
205
|
options: __HttpHandlerOptions,
|
|
198
206
|
cb: (err: any, data?: CreateOutpostCommandOutput) => void
|
|
199
207
|
): void;
|
|
208
|
+
createRenewal(
|
|
209
|
+
args: CreateRenewalCommandInput,
|
|
210
|
+
options?: __HttpHandlerOptions
|
|
211
|
+
): Promise<CreateRenewalCommandOutput>;
|
|
212
|
+
createRenewal(
|
|
213
|
+
args: CreateRenewalCommandInput,
|
|
214
|
+
cb: (err: any, data?: CreateRenewalCommandOutput) => void
|
|
215
|
+
): void;
|
|
216
|
+
createRenewal(
|
|
217
|
+
args: CreateRenewalCommandInput,
|
|
218
|
+
options: __HttpHandlerOptions,
|
|
219
|
+
cb: (err: any, data?: CreateRenewalCommandOutput) => void
|
|
220
|
+
): void;
|
|
200
221
|
createSite(
|
|
201
222
|
args: CreateSiteCommandInput,
|
|
202
223
|
options?: __HttpHandlerOptions
|
|
@@ -340,6 +361,19 @@ export interface Outposts {
|
|
|
340
361
|
options: __HttpHandlerOptions,
|
|
341
362
|
cb: (err: any, data?: GetOutpostSupportedInstanceTypesCommandOutput) => void
|
|
342
363
|
): void;
|
|
364
|
+
getRenewalPricing(
|
|
365
|
+
args: GetRenewalPricingCommandInput,
|
|
366
|
+
options?: __HttpHandlerOptions
|
|
367
|
+
): Promise<GetRenewalPricingCommandOutput>;
|
|
368
|
+
getRenewalPricing(
|
|
369
|
+
args: GetRenewalPricingCommandInput,
|
|
370
|
+
cb: (err: any, data?: GetRenewalPricingCommandOutput) => void
|
|
371
|
+
): void;
|
|
372
|
+
getRenewalPricing(
|
|
373
|
+
args: GetRenewalPricingCommandInput,
|
|
374
|
+
options: __HttpHandlerOptions,
|
|
375
|
+
cb: (err: any, data?: GetRenewalPricingCommandOutput) => void
|
|
376
|
+
): void;
|
|
343
377
|
getSite(
|
|
344
378
|
args: GetSiteCommandInput,
|
|
345
379
|
options?: __HttpHandlerOptions
|
|
@@ -60,6 +60,10 @@ import {
|
|
|
60
60
|
CreateOutpostCommandInput,
|
|
61
61
|
CreateOutpostCommandOutput,
|
|
62
62
|
} from "./commands/CreateOutpostCommand";
|
|
63
|
+
import {
|
|
64
|
+
CreateRenewalCommandInput,
|
|
65
|
+
CreateRenewalCommandOutput,
|
|
66
|
+
} from "./commands/CreateRenewalCommand";
|
|
63
67
|
import {
|
|
64
68
|
CreateSiteCommandInput,
|
|
65
69
|
CreateSiteCommandOutput,
|
|
@@ -104,6 +108,10 @@ import {
|
|
|
104
108
|
GetOutpostSupportedInstanceTypesCommandInput,
|
|
105
109
|
GetOutpostSupportedInstanceTypesCommandOutput,
|
|
106
110
|
} from "./commands/GetOutpostSupportedInstanceTypesCommand";
|
|
111
|
+
import {
|
|
112
|
+
GetRenewalPricingCommandInput,
|
|
113
|
+
GetRenewalPricingCommandOutput,
|
|
114
|
+
} from "./commands/GetRenewalPricingCommand";
|
|
107
115
|
import {
|
|
108
116
|
GetSiteAddressCommandInput,
|
|
109
117
|
GetSiteAddressCommandOutput,
|
|
@@ -196,6 +204,7 @@ export type ServiceInputTypes =
|
|
|
196
204
|
| CancelOrderCommandInput
|
|
197
205
|
| CreateOrderCommandInput
|
|
198
206
|
| CreateOutpostCommandInput
|
|
207
|
+
| CreateRenewalCommandInput
|
|
199
208
|
| CreateSiteCommandInput
|
|
200
209
|
| DeleteOutpostCommandInput
|
|
201
210
|
| DeleteSiteCommandInput
|
|
@@ -207,6 +216,7 @@ export type ServiceInputTypes =
|
|
|
207
216
|
| GetOutpostCommandInput
|
|
208
217
|
| GetOutpostInstanceTypesCommandInput
|
|
209
218
|
| GetOutpostSupportedInstanceTypesCommandInput
|
|
219
|
+
| GetRenewalPricingCommandInput
|
|
210
220
|
| GetSiteAddressCommandInput
|
|
211
221
|
| GetSiteCommandInput
|
|
212
222
|
| ListAssetInstancesCommandInput
|
|
@@ -232,6 +242,7 @@ export type ServiceOutputTypes =
|
|
|
232
242
|
| CancelOrderCommandOutput
|
|
233
243
|
| CreateOrderCommandOutput
|
|
234
244
|
| CreateOutpostCommandOutput
|
|
245
|
+
| CreateRenewalCommandOutput
|
|
235
246
|
| CreateSiteCommandOutput
|
|
236
247
|
| DeleteOutpostCommandOutput
|
|
237
248
|
| DeleteSiteCommandOutput
|
|
@@ -243,6 +254,7 @@ export type ServiceOutputTypes =
|
|
|
243
254
|
| GetOutpostCommandOutput
|
|
244
255
|
| GetOutpostInstanceTypesCommandOutput
|
|
245
256
|
| GetOutpostSupportedInstanceTypesCommandOutput
|
|
257
|
+
| GetRenewalPricingCommandOutput
|
|
246
258
|
| GetSiteAddressCommandOutput
|
|
247
259
|
| GetSiteCommandOutput
|
|
248
260
|
| ListAssetInstancesCommandOutput
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CreateRenewalInput, CreateRenewalOutput } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
OutpostsClientResolvedConfig,
|
|
6
|
+
ServiceInputTypes,
|
|
7
|
+
ServiceOutputTypes,
|
|
8
|
+
} from "../OutpostsClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface CreateRenewalCommandInput extends CreateRenewalInput {}
|
|
12
|
+
export interface CreateRenewalCommandOutput
|
|
13
|
+
extends CreateRenewalOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const CreateRenewalCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: CreateRenewalCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
CreateRenewalCommandInput,
|
|
20
|
+
CreateRenewalCommandOutput,
|
|
21
|
+
OutpostsClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: CreateRenewalCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
CreateRenewalCommandInput,
|
|
29
|
+
CreateRenewalCommandOutput,
|
|
30
|
+
OutpostsClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class CreateRenewalCommand extends CreateRenewalCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: CreateRenewalInput;
|
|
40
|
+
output: CreateRenewalOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: CreateRenewalCommandInput;
|
|
44
|
+
output: CreateRenewalCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|