@aws-sdk/client-outposts 3.1063.0 → 3.1065.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 +42 -0
- package/dist-cjs/index.js +171 -3
- package/dist-cjs/schemas/schemas_0.js +269 -16
- package/dist-es/Outposts.js +16 -0
- package/dist-es/commands/CreateQuoteCommand.js +16 -0
- package/dist-es/commands/DeleteQuoteCommand.js +16 -0
- package/dist-es/commands/GetQuoteCommand.js +16 -0
- package/dist-es/commands/ListOrderableInstanceTypesCommand.js +16 -0
- package/dist-es/commands/ListQuotesCommand.js +16 -0
- package/dist-es/commands/UpdateQuoteCommand.js +16 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/enums.js +68 -3
- package/dist-es/pagination/ListOrderableInstanceTypesPaginator.js +4 -0
- package/dist-es/pagination/ListQuotesPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +265 -13
- package/dist-types/Outposts.d.ts +58 -0
- package/dist-types/OutpostsClient.d.ts +8 -2
- package/dist-types/commands/CreateQuoteCommand.d.ts +231 -0
- package/dist-types/commands/CreateRenewalCommand.d.ts +1 -0
- package/dist-types/commands/DeleteQuoteCommand.d.ts +86 -0
- package/dist-types/commands/GetOutpostBillingInformationCommand.d.ts +1 -0
- package/dist-types/commands/GetQuoteCommand.d.ts +208 -0
- package/dist-types/commands/GetRenewalPricingCommand.d.ts +1 -0
- package/dist-types/commands/ListOrderableInstanceTypesCommand.d.ts +105 -0
- package/dist-types/commands/ListQuotesCommand.d.ts +199 -0
- package/dist-types/commands/UpdateQuoteCommand.d.ts +231 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/enums.d.ts +164 -11
- package/dist-types/models/models_0.d.ts +881 -59
- package/dist-types/pagination/ListOrderableInstanceTypesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListQuotesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +30 -0
- package/dist-types/ts3.4/Outposts.d.ts +118 -0
- package/dist-types/ts3.4/OutpostsClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateQuoteCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/DeleteQuoteCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetQuoteCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/ListOrderableInstanceTypesCommand.d.ts +53 -0
- package/dist-types/ts3.4/commands/ListQuotesCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/UpdateQuoteCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/enums.d.ts +89 -5
- package/dist-types/ts3.4/models/models_0.d.ts +174 -10
- package/dist-types/ts3.4/pagination/ListOrderableInstanceTypesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListQuotesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +30 -0
- package/package.json +5 -5
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { GetQuoteInput, GetQuoteOutput } 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 GetQuoteCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetQuoteCommandInput extends GetQuoteInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetQuoteCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetQuoteCommandOutput extends GetQuoteOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetQuoteCommand_base: {
|
|
25
|
+
new (input: GetQuoteCommandInput): import("@smithy/core/client").CommandImpl<GetQuoteCommandInput, GetQuoteCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetQuoteCommandInput): import("@smithy/core/client").CommandImpl<GetQuoteCommandInput, GetQuoteCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Gets information about the specified quote.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { OutpostsClient, GetQuoteCommand } from "@aws-sdk/client-outposts"; // ES Modules import
|
|
37
|
+
* // const { OutpostsClient, GetQuoteCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
|
|
38
|
+
* // import type { OutpostsClientConfig } from "@aws-sdk/client-outposts";
|
|
39
|
+
* const config = {}; // type is OutpostsClientConfig
|
|
40
|
+
* const client = new OutpostsClient(config);
|
|
41
|
+
* const input = { // GetQuoteInput
|
|
42
|
+
* QuoteIdentifier: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new GetQuoteCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // GetQuoteOutput
|
|
47
|
+
* // Quote: { // Quote
|
|
48
|
+
* // QuoteId: "STRING_VALUE",
|
|
49
|
+
* // AccountId: "STRING_VALUE",
|
|
50
|
+
* // QuoteStatus: "CREATED" || "ORDER_SUBMITTED" || "EXPIRED",
|
|
51
|
+
* // StatusMessage: "STRING_VALUE",
|
|
52
|
+
* // OutpostArn: "STRING_VALUE",
|
|
53
|
+
* // CountryCode: "STRING_VALUE",
|
|
54
|
+
* // RequestedCapacities: [ // QuoteCapacityList
|
|
55
|
+
* // { // QuoteCapacity
|
|
56
|
+
* // QuoteCapacityType: "EC2" || "EBS" || "S3",
|
|
57
|
+
* // Unit: "STRING_VALUE",
|
|
58
|
+
* // Quantity: Number("float"),
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // RequestedConstraints: [ // QuoteConstraintList
|
|
62
|
+
* // { // QuoteConstraint
|
|
63
|
+
* // QuoteConstraintType: "RACK_MAXIMUM" || "RACK_MAX_POWER_KVA" || "RACK_MAX_WEIGHT_LBS",
|
|
64
|
+
* // Value: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // ],
|
|
67
|
+
* // RequestedPaymentOptions: [ // PaymentOptionList
|
|
68
|
+
* // "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT",
|
|
69
|
+
* // ],
|
|
70
|
+
* // RequestedPaymentTerms: [ // PaymentTermList
|
|
71
|
+
* // "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS",
|
|
72
|
+
* // ],
|
|
73
|
+
* // QuoteOptions: [ // QuoteOptionList
|
|
74
|
+
* // { // QuoteOption
|
|
75
|
+
* // QuoteOptionIdentifier: "STRING_VALUE",
|
|
76
|
+
* // Capacities: [
|
|
77
|
+
* // {
|
|
78
|
+
* // QuoteCapacityType: "EC2" || "EBS" || "S3",
|
|
79
|
+
* // Unit: "STRING_VALUE",
|
|
80
|
+
* // Quantity: Number("float"),
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // CapacitySummary: { // CapacitySummary
|
|
84
|
+
* // ExistingCapacities: "<QuoteCapacityList>",
|
|
85
|
+
* // FinalCapacities: "<QuoteCapacityList>",
|
|
86
|
+
* // CapacityChange: "<QuoteCapacityList>",
|
|
87
|
+
* // },
|
|
88
|
+
* // Specifications: [ // QuoteSpecificationList
|
|
89
|
+
* // { // QuoteSpecification
|
|
90
|
+
* // QuoteSpecificationType: "UPDATED_RACK" || "NEW_RACK" || "EXISTING_RACK" || "SERVER",
|
|
91
|
+
* // ExistingRackSpecificationDetails: { // RackSpecificationDetails
|
|
92
|
+
* // RackId: "STRING_VALUE",
|
|
93
|
+
* // RackUse: "NETWORKING" || "COMPUTE",
|
|
94
|
+
* // RackPowerDrawKva: Number("float"),
|
|
95
|
+
* // RackWeightLbs: Number("float"),
|
|
96
|
+
* // RackHeightInches: Number("float"),
|
|
97
|
+
* // RackWidthInches: Number("float"),
|
|
98
|
+
* // RackDepthInches: Number("float"),
|
|
99
|
+
* // RackUnitHeight: "HEIGHT_42U" || "HEIGHT_2U" || "HEIGHT_1U",
|
|
100
|
+
* // EC2Capacities: [ // EC2CapacityListDefinition
|
|
101
|
+
* // { // EC2Capacity
|
|
102
|
+
* // Family: "STRING_VALUE",
|
|
103
|
+
* // MaxSize: "STRING_VALUE",
|
|
104
|
+
* // Quantity: "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // },
|
|
108
|
+
* // FinalRackSpecificationDetails: {
|
|
109
|
+
* // RackId: "STRING_VALUE",
|
|
110
|
+
* // RackUse: "NETWORKING" || "COMPUTE",
|
|
111
|
+
* // RackPowerDrawKva: Number("float"),
|
|
112
|
+
* // RackWeightLbs: Number("float"),
|
|
113
|
+
* // RackHeightInches: Number("float"),
|
|
114
|
+
* // RackWidthInches: Number("float"),
|
|
115
|
+
* // RackDepthInches: Number("float"),
|
|
116
|
+
* // RackUnitHeight: "HEIGHT_42U" || "HEIGHT_2U" || "HEIGHT_1U",
|
|
117
|
+
* // EC2Capacities: [
|
|
118
|
+
* // {
|
|
119
|
+
* // Family: "STRING_VALUE",
|
|
120
|
+
* // MaxSize: "STRING_VALUE",
|
|
121
|
+
* // Quantity: "STRING_VALUE",
|
|
122
|
+
* // },
|
|
123
|
+
* // ],
|
|
124
|
+
* // },
|
|
125
|
+
* // ServerSpecificationDetails: { // ServerSpecificationDetails
|
|
126
|
+
* // ServerPowerDrawKva: Number("float"),
|
|
127
|
+
* // ServerWeightLbs: Number("float"),
|
|
128
|
+
* // ServerHeightInches: Number("float"),
|
|
129
|
+
* // ServerWidthInches: Number("float"),
|
|
130
|
+
* // ServerDepthInches: Number("float"),
|
|
131
|
+
* // RackUnitHeight: "HEIGHT_42U" || "HEIGHT_2U" || "HEIGHT_1U",
|
|
132
|
+
* // EC2Capacities: [
|
|
133
|
+
* // {
|
|
134
|
+
* // Family: "STRING_VALUE",
|
|
135
|
+
* // MaxSize: "STRING_VALUE",
|
|
136
|
+
* // Quantity: "STRING_VALUE",
|
|
137
|
+
* // },
|
|
138
|
+
* // ],
|
|
139
|
+
* // },
|
|
140
|
+
* // },
|
|
141
|
+
* // ],
|
|
142
|
+
* // PricingOptions: [ // PricingOptionList
|
|
143
|
+
* // { // PricingOption
|
|
144
|
+
* // PricingType: "SUBSCRIPTION",
|
|
145
|
+
* // SubscriptionPricingDetails: { // SubscriptionPricingDetails
|
|
146
|
+
* // PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT",
|
|
147
|
+
* // PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS",
|
|
148
|
+
* // UpfrontPrice: Number("float"),
|
|
149
|
+
* // MonthlyRecurringPrice: Number("float"),
|
|
150
|
+
* // Currency: "USD",
|
|
151
|
+
* // },
|
|
152
|
+
* // },
|
|
153
|
+
* // ],
|
|
154
|
+
* // },
|
|
155
|
+
* // ],
|
|
156
|
+
* // OrderingRequirements: [ // OrderingRequirementList
|
|
157
|
+
* // { // OrderingRequirement
|
|
158
|
+
* // StatusMessage: "STRING_VALUE",
|
|
159
|
+
* // OrderingRequirementType: "OUTPOST_ACTIVE_CHECK_ERROR" || "MAXIMUM_ALLOWED_ORDERS_CHECK_ERROR" || "VALID_ZIP_CODE_CHECK_ERROR" || "RACK_PHYSICAL_PROPERTIES_CHECK_ERROR" || "OPERATING_ADDRESS_EXISTENCE_CHECK_ERROR" || "SHIPPING_ADDRESS_EXISTENCE_CHECK_ERROR" || "COUNTRY_CODE_MISMATCH_CHECK_ERROR" || "OUTPOST_GENERATION_MISMATCH_ERROR" || "UNSUPPORTED" || "OUTPOST_ID_MISSING_ON_QUOTE_ERROR" || "ENTERPRISE_SUPPORT_ERROR" || "SHIPPING_ADDRESS_MISSING_CONTACT_NAME_ERROR" || "SHIPPING_ADDRESS_MISSING_CONTACT_NUMBER_ERROR" || "SHIPPING_ADDRESS_MISSING_CONTACT_INFO_ERROR" || "OUTPOST_STATE_CHANGED_ERROR" || "OUTPOST_NOT_FOUND_ERROR" || "OUTPOST_RENEWAL_REQUIRED_ERROR",
|
|
160
|
+
* // Status: "PASS" || "FAIL" || "EXEMPT",
|
|
161
|
+
* // },
|
|
162
|
+
* // ],
|
|
163
|
+
* // SubmittedOrderId: "STRING_VALUE",
|
|
164
|
+
* // CreatedDate: new Date("TIMESTAMP"),
|
|
165
|
+
* // ExpirationDate: new Date("TIMESTAMP"),
|
|
166
|
+
* // Description: "STRING_VALUE",
|
|
167
|
+
* // },
|
|
168
|
+
* // };
|
|
169
|
+
*
|
|
170
|
+
* ```
|
|
171
|
+
*
|
|
172
|
+
* @param GetQuoteCommandInput - {@link GetQuoteCommandInput}
|
|
173
|
+
* @returns {@link GetQuoteCommandOutput}
|
|
174
|
+
* @see {@link GetQuoteCommandInput} for command's `input` shape.
|
|
175
|
+
* @see {@link GetQuoteCommandOutput} for command's `response` shape.
|
|
176
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
179
|
+
* <p>You do not have permission to perform this operation.</p>
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link InternalServerException} (server fault)
|
|
182
|
+
* <p>An internal error has occurred.</p>
|
|
183
|
+
*
|
|
184
|
+
* @throws {@link NotFoundException} (client fault)
|
|
185
|
+
* <p>The specified request is not valid.</p>
|
|
186
|
+
*
|
|
187
|
+
* @throws {@link ValidationException} (client fault)
|
|
188
|
+
* <p>A parameter is not valid.</p>
|
|
189
|
+
*
|
|
190
|
+
* @throws {@link OutpostsServiceException}
|
|
191
|
+
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
192
|
+
*
|
|
193
|
+
*
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
196
|
+
export declare class GetQuoteCommand extends GetQuoteCommand_base {
|
|
197
|
+
/** @internal type navigation helper, not in runtime. */
|
|
198
|
+
protected static __types: {
|
|
199
|
+
api: {
|
|
200
|
+
input: GetQuoteInput;
|
|
201
|
+
output: GetQuoteOutput;
|
|
202
|
+
};
|
|
203
|
+
sdk: {
|
|
204
|
+
input: GetQuoteCommandInput;
|
|
205
|
+
output: GetQuoteCommandOutput;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListOrderableInstanceTypesInput, ListOrderableInstanceTypesOutput } 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 ListOrderableInstanceTypesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListOrderableInstanceTypesCommandInput extends ListOrderableInstanceTypesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListOrderableInstanceTypesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListOrderableInstanceTypesCommandOutput extends ListOrderableInstanceTypesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListOrderableInstanceTypesCommand_base: {
|
|
25
|
+
new (input: ListOrderableInstanceTypesCommandInput): import("@smithy/core/client").CommandImpl<ListOrderableInstanceTypesCommandInput, ListOrderableInstanceTypesCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListOrderableInstanceTypesCommandInput]): import("@smithy/core/client").CommandImpl<ListOrderableInstanceTypesCommandInput, ListOrderableInstanceTypesCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists the instance types that can be ordered for an Outpost. You can filter the results
|
|
33
|
+
* by Outpost generation.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { OutpostsClient, ListOrderableInstanceTypesCommand } from "@aws-sdk/client-outposts"; // ES Modules import
|
|
38
|
+
* // const { OutpostsClient, ListOrderableInstanceTypesCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
|
|
39
|
+
* // import type { OutpostsClientConfig } from "@aws-sdk/client-outposts";
|
|
40
|
+
* const config = {}; // type is OutpostsClientConfig
|
|
41
|
+
* const client = new OutpostsClient(config);
|
|
42
|
+
* const input = { // ListOrderableInstanceTypesInput
|
|
43
|
+
* OutpostGenerationFilter: "GENERATION_2" || "GENERATION_1",
|
|
44
|
+
* MaxResults: Number("int"),
|
|
45
|
+
* NextToken: "STRING_VALUE",
|
|
46
|
+
* };
|
|
47
|
+
* const command = new ListOrderableInstanceTypesCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // ListOrderableInstanceTypesOutput
|
|
50
|
+
* // InstanceTypes: [ // DetailedInstanceTypeListDefinition
|
|
51
|
+
* // { // DetailedInstanceTypeItem
|
|
52
|
+
* // InstanceType: "STRING_VALUE",
|
|
53
|
+
* // VCPUs: Number("int"),
|
|
54
|
+
* // MemoryInMib: Number("int"),
|
|
55
|
+
* // NetworkPerformance: "STRING_VALUE",
|
|
56
|
+
* // FormFactorConfigs: [ // FormFactorConfigList
|
|
57
|
+
* // { // FormFactorConfig
|
|
58
|
+
* // FormFactor: "RACK" || "SERVER",
|
|
59
|
+
* // OutpostGeneration: "GENERATION_2" || "GENERATION_1",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // NextToken: "STRING_VALUE",
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param ListOrderableInstanceTypesCommandInput - {@link ListOrderableInstanceTypesCommandInput}
|
|
70
|
+
* @returns {@link ListOrderableInstanceTypesCommandOutput}
|
|
71
|
+
* @see {@link ListOrderableInstanceTypesCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link ListOrderableInstanceTypesCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>You do not have permission to perform this operation.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerException} (server fault)
|
|
79
|
+
* <p>An internal error has occurred.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link NotFoundException} (client fault)
|
|
82
|
+
* <p>The specified request is not valid.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>A parameter is not valid.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link OutpostsServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class ListOrderableInstanceTypesCommand extends ListOrderableInstanceTypesCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: ListOrderableInstanceTypesInput;
|
|
98
|
+
output: ListOrderableInstanceTypesOutput;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: ListOrderableInstanceTypesCommandInput;
|
|
102
|
+
output: ListOrderableInstanceTypesCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { ListQuotesInput, ListQuotesOutput } 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 ListQuotesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListQuotesCommandInput extends ListQuotesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListQuotesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListQuotesCommandOutput extends ListQuotesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListQuotesCommand_base: {
|
|
25
|
+
new (input: ListQuotesCommandInput): import("@smithy/core/client").CommandImpl<ListQuotesCommandInput, ListQuotesCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListQuotesCommandInput]): import("@smithy/core/client").CommandImpl<ListQuotesCommandInput, ListQuotesCommandOutput, OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): {
|
|
28
|
+
[x: string]: unknown;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* <p>Lists the quotes for your Amazon Web Services account.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { OutpostsClient, ListQuotesCommand } from "@aws-sdk/client-outposts"; // ES Modules import
|
|
37
|
+
* // const { OutpostsClient, ListQuotesCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
|
|
38
|
+
* // import type { OutpostsClientConfig } from "@aws-sdk/client-outposts";
|
|
39
|
+
* const config = {}; // type is OutpostsClientConfig
|
|
40
|
+
* const client = new OutpostsClient(config);
|
|
41
|
+
* const input = { // ListQuotesInput
|
|
42
|
+
* NextToken: "STRING_VALUE",
|
|
43
|
+
* MaxResults: Number("int"),
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListQuotesCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListQuotesOutput
|
|
48
|
+
* // Quotes: [ // QuoteSummaryListDefinition
|
|
49
|
+
* // { // QuoteSummary
|
|
50
|
+
* // QuoteId: "STRING_VALUE",
|
|
51
|
+
* // AccountId: "STRING_VALUE",
|
|
52
|
+
* // QuoteStatus: "CREATED" || "ORDER_SUBMITTED" || "EXPIRED",
|
|
53
|
+
* // StatusMessage: "STRING_VALUE",
|
|
54
|
+
* // OutpostArn: "STRING_VALUE",
|
|
55
|
+
* // CountryCode: "STRING_VALUE",
|
|
56
|
+
* // RequestedCapacities: [ // QuoteCapacityList
|
|
57
|
+
* // { // QuoteCapacity
|
|
58
|
+
* // QuoteCapacityType: "EC2" || "EBS" || "S3",
|
|
59
|
+
* // Unit: "STRING_VALUE",
|
|
60
|
+
* // Quantity: Number("float"),
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // RequestedConstraints: [ // QuoteConstraintList
|
|
64
|
+
* // { // QuoteConstraint
|
|
65
|
+
* // QuoteConstraintType: "RACK_MAXIMUM" || "RACK_MAX_POWER_KVA" || "RACK_MAX_WEIGHT_LBS",
|
|
66
|
+
* // Value: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // RequestedPaymentOptions: [ // PaymentOptionList
|
|
70
|
+
* // "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT",
|
|
71
|
+
* // ],
|
|
72
|
+
* // RequestedPaymentTerms: [ // PaymentTermList
|
|
73
|
+
* // "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS",
|
|
74
|
+
* // ],
|
|
75
|
+
* // QuoteOptions: [ // QuoteOptionList
|
|
76
|
+
* // { // QuoteOption
|
|
77
|
+
* // QuoteOptionIdentifier: "STRING_VALUE",
|
|
78
|
+
* // Capacities: [
|
|
79
|
+
* // {
|
|
80
|
+
* // QuoteCapacityType: "EC2" || "EBS" || "S3",
|
|
81
|
+
* // Unit: "STRING_VALUE",
|
|
82
|
+
* // Quantity: Number("float"),
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // CapacitySummary: { // CapacitySummary
|
|
86
|
+
* // ExistingCapacities: "<QuoteCapacityList>",
|
|
87
|
+
* // FinalCapacities: "<QuoteCapacityList>",
|
|
88
|
+
* // CapacityChange: "<QuoteCapacityList>",
|
|
89
|
+
* // },
|
|
90
|
+
* // Specifications: [ // QuoteSpecificationList
|
|
91
|
+
* // { // QuoteSpecification
|
|
92
|
+
* // QuoteSpecificationType: "UPDATED_RACK" || "NEW_RACK" || "EXISTING_RACK" || "SERVER",
|
|
93
|
+
* // ExistingRackSpecificationDetails: { // RackSpecificationDetails
|
|
94
|
+
* // RackId: "STRING_VALUE",
|
|
95
|
+
* // RackUse: "NETWORKING" || "COMPUTE",
|
|
96
|
+
* // RackPowerDrawKva: Number("float"),
|
|
97
|
+
* // RackWeightLbs: Number("float"),
|
|
98
|
+
* // RackHeightInches: Number("float"),
|
|
99
|
+
* // RackWidthInches: Number("float"),
|
|
100
|
+
* // RackDepthInches: Number("float"),
|
|
101
|
+
* // RackUnitHeight: "HEIGHT_42U" || "HEIGHT_2U" || "HEIGHT_1U",
|
|
102
|
+
* // EC2Capacities: [ // EC2CapacityListDefinition
|
|
103
|
+
* // { // EC2Capacity
|
|
104
|
+
* // Family: "STRING_VALUE",
|
|
105
|
+
* // MaxSize: "STRING_VALUE",
|
|
106
|
+
* // Quantity: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
108
|
+
* // ],
|
|
109
|
+
* // },
|
|
110
|
+
* // FinalRackSpecificationDetails: {
|
|
111
|
+
* // RackId: "STRING_VALUE",
|
|
112
|
+
* // RackUse: "NETWORKING" || "COMPUTE",
|
|
113
|
+
* // RackPowerDrawKva: Number("float"),
|
|
114
|
+
* // RackWeightLbs: Number("float"),
|
|
115
|
+
* // RackHeightInches: Number("float"),
|
|
116
|
+
* // RackWidthInches: Number("float"),
|
|
117
|
+
* // RackDepthInches: Number("float"),
|
|
118
|
+
* // RackUnitHeight: "HEIGHT_42U" || "HEIGHT_2U" || "HEIGHT_1U",
|
|
119
|
+
* // EC2Capacities: [
|
|
120
|
+
* // {
|
|
121
|
+
* // Family: "STRING_VALUE",
|
|
122
|
+
* // MaxSize: "STRING_VALUE",
|
|
123
|
+
* // Quantity: "STRING_VALUE",
|
|
124
|
+
* // },
|
|
125
|
+
* // ],
|
|
126
|
+
* // },
|
|
127
|
+
* // ServerSpecificationDetails: { // ServerSpecificationDetails
|
|
128
|
+
* // ServerPowerDrawKva: Number("float"),
|
|
129
|
+
* // ServerWeightLbs: Number("float"),
|
|
130
|
+
* // ServerHeightInches: Number("float"),
|
|
131
|
+
* // ServerWidthInches: Number("float"),
|
|
132
|
+
* // ServerDepthInches: Number("float"),
|
|
133
|
+
* // RackUnitHeight: "HEIGHT_42U" || "HEIGHT_2U" || "HEIGHT_1U",
|
|
134
|
+
* // EC2Capacities: [
|
|
135
|
+
* // {
|
|
136
|
+
* // Family: "STRING_VALUE",
|
|
137
|
+
* // MaxSize: "STRING_VALUE",
|
|
138
|
+
* // Quantity: "STRING_VALUE",
|
|
139
|
+
* // },
|
|
140
|
+
* // ],
|
|
141
|
+
* // },
|
|
142
|
+
* // },
|
|
143
|
+
* // ],
|
|
144
|
+
* // PricingOptions: [ // PricingOptionList
|
|
145
|
+
* // { // PricingOption
|
|
146
|
+
* // PricingType: "SUBSCRIPTION",
|
|
147
|
+
* // SubscriptionPricingDetails: { // SubscriptionPricingDetails
|
|
148
|
+
* // PaymentOption: "ALL_UPFRONT" || "NO_UPFRONT" || "PARTIAL_UPFRONT",
|
|
149
|
+
* // PaymentTerm: "THREE_YEARS" || "ONE_YEAR" || "FIVE_YEARS",
|
|
150
|
+
* // UpfrontPrice: Number("float"),
|
|
151
|
+
* // MonthlyRecurringPrice: Number("float"),
|
|
152
|
+
* // Currency: "USD",
|
|
153
|
+
* // },
|
|
154
|
+
* // },
|
|
155
|
+
* // ],
|
|
156
|
+
* // },
|
|
157
|
+
* // ],
|
|
158
|
+
* // SubmittedOrderId: "STRING_VALUE",
|
|
159
|
+
* // CreatedDate: new Date("TIMESTAMP"),
|
|
160
|
+
* // ExpirationDate: new Date("TIMESTAMP"),
|
|
161
|
+
* // Description: "STRING_VALUE",
|
|
162
|
+
* // },
|
|
163
|
+
* // ],
|
|
164
|
+
* // NextToken: "STRING_VALUE",
|
|
165
|
+
* // };
|
|
166
|
+
*
|
|
167
|
+
* ```
|
|
168
|
+
*
|
|
169
|
+
* @param ListQuotesCommandInput - {@link ListQuotesCommandInput}
|
|
170
|
+
* @returns {@link ListQuotesCommandOutput}
|
|
171
|
+
* @see {@link ListQuotesCommandInput} for command's `input` shape.
|
|
172
|
+
* @see {@link ListQuotesCommandOutput} for command's `response` shape.
|
|
173
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
174
|
+
*
|
|
175
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
176
|
+
* <p>You do not have permission to perform this operation.</p>
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link InternalServerException} (server fault)
|
|
179
|
+
* <p>An internal error has occurred.</p>
|
|
180
|
+
*
|
|
181
|
+
* @throws {@link OutpostsServiceException}
|
|
182
|
+
* <p>Base exception class for all service exceptions from Outposts service.</p>
|
|
183
|
+
*
|
|
184
|
+
*
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
export declare class ListQuotesCommand extends ListQuotesCommand_base {
|
|
188
|
+
/** @internal type navigation helper, not in runtime. */
|
|
189
|
+
protected static __types: {
|
|
190
|
+
api: {
|
|
191
|
+
input: ListQuotesInput;
|
|
192
|
+
output: ListQuotesOutput;
|
|
193
|
+
};
|
|
194
|
+
sdk: {
|
|
195
|
+
input: ListQuotesCommandInput;
|
|
196
|
+
output: ListQuotesCommandOutput;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
}
|