@aws-sdk/client-billing 3.1100.0 → 3.1101.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 +21 -0
- package/dist-cjs/index.js +236 -19
- package/dist-es/Billing.js +8 -0
- package/dist-es/commands/GetEnterpriseSupportChargeSummaryCommand.js +4 -0
- package/dist-es/commands/GetEnterpriseSupportContractDetailsCommand.js +4 -0
- package/dist-es/commands/ListEnterpriseSupportLinkedAccountChargesCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/pagination/ListEnterpriseSupportLinkedAccountChargesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +199 -18
- package/dist-types/Billing.d.ts +28 -0
- package/dist-types/BillingClient.d.ts +5 -2
- package/dist-types/commands/GetEnterpriseSupportChargeSummaryCommand.d.ts +122 -0
- package/dist-types/commands/GetEnterpriseSupportContractDetailsCommand.d.ts +143 -0
- package/dist-types/commands/ListEnterpriseSupportLinkedAccountChargesCommand.d.ts +120 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +464 -0
- package/dist-types/pagination/ListEnterpriseSupportLinkedAccountChargesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +17 -0
- package/dist-types/ts3.4/Billing.d.ts +58 -0
- package/dist-types/ts3.4/BillingClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetEnterpriseSupportChargeSummaryCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetEnterpriseSupportContractDetailsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListEnterpriseSupportLinkedAccountChargesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +104 -0
- package/dist-types/ts3.4/pagination/ListEnterpriseSupportLinkedAccountChargesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
- package/package.json +1 -1
|
@@ -14,8 +14,11 @@ import type { GetBillingPreferencesCommandInput, GetBillingPreferencesCommandOut
|
|
|
14
14
|
import type { GetBillingViewCommandInput, GetBillingViewCommandOutput } from "./commands/GetBillingViewCommand";
|
|
15
15
|
import type { GetCreditAllocationHistoryCommandInput, GetCreditAllocationHistoryCommandOutput } from "./commands/GetCreditAllocationHistoryCommand";
|
|
16
16
|
import type { GetCreditsCommandInput, GetCreditsCommandOutput } from "./commands/GetCreditsCommand";
|
|
17
|
+
import type { GetEnterpriseSupportChargeSummaryCommandInput, GetEnterpriseSupportChargeSummaryCommandOutput } from "./commands/GetEnterpriseSupportChargeSummaryCommand";
|
|
18
|
+
import type { GetEnterpriseSupportContractDetailsCommandInput, GetEnterpriseSupportContractDetailsCommandOutput } from "./commands/GetEnterpriseSupportContractDetailsCommand";
|
|
17
19
|
import type { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
|
|
18
20
|
import type { ListBillingViewsCommandInput, ListBillingViewsCommandOutput } from "./commands/ListBillingViewsCommand";
|
|
21
|
+
import type { ListEnterpriseSupportLinkedAccountChargesCommandInput, ListEnterpriseSupportLinkedAccountChargesCommandOutput } from "./commands/ListEnterpriseSupportLinkedAccountChargesCommand";
|
|
19
22
|
import type { ListSourceViewsForBillingViewCommandInput, ListSourceViewsForBillingViewCommandOutput } from "./commands/ListSourceViewsForBillingViewCommand";
|
|
20
23
|
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
21
24
|
import type { RedeemCreditsCommandInput, RedeemCreditsCommandOutput } from "./commands/RedeemCreditsCommand";
|
|
@@ -29,11 +32,11 @@ export { __Client };
|
|
|
29
32
|
/**
|
|
30
33
|
* @public
|
|
31
34
|
*/
|
|
32
|
-
export type ServiceInputTypes = AssociateSourceViewsCommandInput | CreateBillingViewCommandInput | DeleteBillingViewCommandInput | DisassociateSourceViewsCommandInput | GetBillingPreferencesCommandInput | GetBillingViewCommandInput | GetCreditAllocationHistoryCommandInput | GetCreditsCommandInput | GetResourcePolicyCommandInput | ListBillingViewsCommandInput | ListSourceViewsForBillingViewCommandInput | ListTagsForResourceCommandInput | RedeemCreditsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillingPreferencesCommandInput | UpdateBillingViewCommandInput;
|
|
35
|
+
export type ServiceInputTypes = AssociateSourceViewsCommandInput | CreateBillingViewCommandInput | DeleteBillingViewCommandInput | DisassociateSourceViewsCommandInput | GetBillingPreferencesCommandInput | GetBillingViewCommandInput | GetCreditAllocationHistoryCommandInput | GetCreditsCommandInput | GetEnterpriseSupportChargeSummaryCommandInput | GetEnterpriseSupportContractDetailsCommandInput | GetResourcePolicyCommandInput | ListBillingViewsCommandInput | ListEnterpriseSupportLinkedAccountChargesCommandInput | ListSourceViewsForBillingViewCommandInput | ListTagsForResourceCommandInput | RedeemCreditsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBillingPreferencesCommandInput | UpdateBillingViewCommandInput;
|
|
33
36
|
/**
|
|
34
37
|
* @public
|
|
35
38
|
*/
|
|
36
|
-
export type ServiceOutputTypes = AssociateSourceViewsCommandOutput | CreateBillingViewCommandOutput | DeleteBillingViewCommandOutput | DisassociateSourceViewsCommandOutput | GetBillingPreferencesCommandOutput | GetBillingViewCommandOutput | GetCreditAllocationHistoryCommandOutput | GetCreditsCommandOutput | GetResourcePolicyCommandOutput | ListBillingViewsCommandOutput | ListSourceViewsForBillingViewCommandOutput | ListTagsForResourceCommandOutput | RedeemCreditsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillingPreferencesCommandOutput | UpdateBillingViewCommandOutput;
|
|
39
|
+
export type ServiceOutputTypes = AssociateSourceViewsCommandOutput | CreateBillingViewCommandOutput | DeleteBillingViewCommandOutput | DisassociateSourceViewsCommandOutput | GetBillingPreferencesCommandOutput | GetBillingViewCommandOutput | GetCreditAllocationHistoryCommandOutput | GetCreditsCommandOutput | GetEnterpriseSupportChargeSummaryCommandOutput | GetEnterpriseSupportContractDetailsCommandOutput | GetResourcePolicyCommandOutput | ListBillingViewsCommandOutput | ListEnterpriseSupportLinkedAccountChargesCommandOutput | ListSourceViewsForBillingViewCommandOutput | ListTagsForResourceCommandOutput | RedeemCreditsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBillingPreferencesCommandOutput | UpdateBillingViewCommandOutput;
|
|
37
40
|
/**
|
|
38
41
|
* @public
|
|
39
42
|
*/
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetEnterpriseSupportChargeSummaryRequest, GetEnterpriseSupportChargeSummaryResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetEnterpriseSupportChargeSummaryCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetEnterpriseSupportChargeSummaryCommandInput extends GetEnterpriseSupportChargeSummaryRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetEnterpriseSupportChargeSummaryCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetEnterpriseSupportChargeSummaryCommandOutput extends GetEnterpriseSupportChargeSummaryResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetEnterpriseSupportChargeSummaryCommand_base: {
|
|
22
|
+
new (input: GetEnterpriseSupportChargeSummaryCommandInput): import("@smithy/core/client").CommandImpl<GetEnterpriseSupportChargeSummaryCommandInput, GetEnterpriseSupportChargeSummaryCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetEnterpriseSupportChargeSummaryCommandInput): import("@smithy/core/client").CommandImpl<GetEnterpriseSupportChargeSummaryCommandInput, GetEnterpriseSupportChargeSummaryCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns a summary of Enterprise Support data aggregated across all accounts in the Enterprise Support profile.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BillingClient, GetEnterpriseSupportChargeSummaryCommand } from "@aws-sdk/client-billing"; // ES Modules import
|
|
32
|
+
* // const { BillingClient, GetEnterpriseSupportChargeSummaryCommand } = require("@aws-sdk/client-billing"); // CommonJS import
|
|
33
|
+
* // import type { BillingClientConfig } from "@aws-sdk/client-billing";
|
|
34
|
+
* const config = {}; // type is BillingClientConfig
|
|
35
|
+
* const client = new BillingClient(config);
|
|
36
|
+
* const input = { // GetEnterpriseSupportChargeSummaryRequest
|
|
37
|
+
* billingMonth: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetEnterpriseSupportChargeSummaryCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetEnterpriseSupportChargeSummaryResponse
|
|
42
|
+
* // payerAccountId: "STRING_VALUE", // required
|
|
43
|
+
* // billingMonth: "STRING_VALUE", // required
|
|
44
|
+
* // billingPeriodStartDate: new Date("TIMESTAMP"), // required
|
|
45
|
+
* // billingPeriodEndDate: new Date("TIMESTAMP"), // required
|
|
46
|
+
* // isEstimated: true || false, // required
|
|
47
|
+
* // billDate: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // supportCharge: "STRING_VALUE", // required
|
|
49
|
+
* // totalSupportCharge: "STRING_VALUE", // required
|
|
50
|
+
* // supportDiscount: "STRING_VALUE", // required
|
|
51
|
+
* // totalSupportEligibleSpend: "STRING_VALUE", // required
|
|
52
|
+
* // totalSupportEligibleUsageSpend: "STRING_VALUE", // required
|
|
53
|
+
* // totalSupportEligibleReservedInstanceSpend: "STRING_VALUE", // required
|
|
54
|
+
* // totalSupportEligibleSavingsPlanSpend: "STRING_VALUE", // required
|
|
55
|
+
* // supportChargePercentage: "STRING_VALUE", // required
|
|
56
|
+
* // supportEffectivePricingPlan: { // PricingPlan
|
|
57
|
+
* // pricingPlanId: "STRING_VALUE",
|
|
58
|
+
* // name: "STRING_VALUE",
|
|
59
|
+
* // description: "STRING_VALUE",
|
|
60
|
+
* // startDate: new Date("TIMESTAMP"),
|
|
61
|
+
* // endDate: new Date("TIMESTAMP"),
|
|
62
|
+
* // planDiscountPercent: "STRING_VALUE",
|
|
63
|
+
* // discountAppliesToMinimumCharge: true || false,
|
|
64
|
+
* // minimumCharge: "STRING_VALUE",
|
|
65
|
+
* // tiered: "STRING_VALUE",
|
|
66
|
+
* // tiers: [ // PricingPlanTierList // required
|
|
67
|
+
* // { // PricingPlanTier
|
|
68
|
+
* // tierMinimum: "STRING_VALUE", // required
|
|
69
|
+
* // tierMaximum: "STRING_VALUE",
|
|
70
|
+
* // baseCharge: "STRING_VALUE", // required
|
|
71
|
+
* // additionalPercentageOfAggregateCharges: "STRING_VALUE", // required
|
|
72
|
+
* // aggregateChargesAdjustment: "STRING_VALUE", // required
|
|
73
|
+
* // incremental: true || false, // required
|
|
74
|
+
* // increment: "STRING_VALUE",
|
|
75
|
+
* // incrementCharge: "STRING_VALUE",
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // },
|
|
79
|
+
* // };
|
|
80
|
+
*
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* @param GetEnterpriseSupportChargeSummaryCommandInput - {@link GetEnterpriseSupportChargeSummaryCommandInput}
|
|
84
|
+
* @returns {@link GetEnterpriseSupportChargeSummaryCommandOutput}
|
|
85
|
+
* @see {@link GetEnterpriseSupportChargeSummaryCommandInput} for command's `input` shape.
|
|
86
|
+
* @see {@link GetEnterpriseSupportChargeSummaryCommandOutput} for command's `response` shape.
|
|
87
|
+
* @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
90
|
+
* <p>You don't have sufficient access to perform this action.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link InternalServerException} (server fault)
|
|
93
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
96
|
+
* <p> The specified ARN in the request doesn't exist. </p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
99
|
+
* <p>The request was denied due to request throttling. </p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ValidationException} (client fault)
|
|
102
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link BillingServiceException}
|
|
105
|
+
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
106
|
+
*
|
|
107
|
+
*
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export declare class GetEnterpriseSupportChargeSummaryCommand extends GetEnterpriseSupportChargeSummaryCommand_base {
|
|
111
|
+
/** @internal type navigation helper, not in runtime. */
|
|
112
|
+
protected static __types: {
|
|
113
|
+
api: {
|
|
114
|
+
input: GetEnterpriseSupportChargeSummaryRequest;
|
|
115
|
+
output: GetEnterpriseSupportChargeSummaryResponse;
|
|
116
|
+
};
|
|
117
|
+
sdk: {
|
|
118
|
+
input: GetEnterpriseSupportChargeSummaryCommandInput;
|
|
119
|
+
output: GetEnterpriseSupportChargeSummaryCommandOutput;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetEnterpriseSupportContractDetailsRequest, GetEnterpriseSupportContractDetailsResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetEnterpriseSupportContractDetailsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetEnterpriseSupportContractDetailsCommandInput extends GetEnterpriseSupportContractDetailsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetEnterpriseSupportContractDetailsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetEnterpriseSupportContractDetailsCommandOutput extends GetEnterpriseSupportContractDetailsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetEnterpriseSupportContractDetailsCommand_base: {
|
|
22
|
+
new (input: GetEnterpriseSupportContractDetailsCommandInput): import("@smithy/core/client").CommandImpl<GetEnterpriseSupportContractDetailsCommandInput, GetEnterpriseSupportContractDetailsCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetEnterpriseSupportContractDetailsCommandInput): import("@smithy/core/client").CommandImpl<GetEnterpriseSupportContractDetailsCommandInput, GetEnterpriseSupportContractDetailsCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns Enterprise Support contract details.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BillingClient, GetEnterpriseSupportContractDetailsCommand } from "@aws-sdk/client-billing"; // ES Modules import
|
|
32
|
+
* // const { BillingClient, GetEnterpriseSupportContractDetailsCommand } = require("@aws-sdk/client-billing"); // CommonJS import
|
|
33
|
+
* // import type { BillingClientConfig } from "@aws-sdk/client-billing";
|
|
34
|
+
* const config = {}; // type is BillingClientConfig
|
|
35
|
+
* const client = new BillingClient(config);
|
|
36
|
+
* const input = { // GetEnterpriseSupportContractDetailsRequest
|
|
37
|
+
* billingMonth: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new GetEnterpriseSupportContractDetailsCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // GetEnterpriseSupportContractDetailsResponse
|
|
42
|
+
* // isContractActive: true || false,
|
|
43
|
+
* // supportAllocationMethod: "STRING_VALUE", // required
|
|
44
|
+
* // supportReservedInstanceAmortizationStartDate: new Date("TIMESTAMP"),
|
|
45
|
+
* // supportReservedInstanceTreatmentMethod: "STRING_VALUE",
|
|
46
|
+
* // supportSavingsPlansAmortizationStartDate: new Date("TIMESTAMP"),
|
|
47
|
+
* // supportSavingsPlansTreatmentMethod: "STRING_VALUE",
|
|
48
|
+
* // supportProrateStartDate: new Date("TIMESTAMP"),
|
|
49
|
+
* // contractPayerAccountIds: [ // ContractAccountList // required
|
|
50
|
+
* // { // ContractAccount
|
|
51
|
+
* // accountId: "STRING_VALUE", // required
|
|
52
|
+
* // isGdn: true || false, // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // chargedPayerAccountIds: [ // ChargeAccountList // required
|
|
56
|
+
* // { // ChargeAccount
|
|
57
|
+
* // accountId: "STRING_VALUE", // required
|
|
58
|
+
* // chargePercentage: "STRING_VALUE", // required
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // additionalSupportCharge: [ // AdditionalChargeList
|
|
62
|
+
* // { // AdditionalCharge
|
|
63
|
+
* // description: "STRING_VALUE", // required
|
|
64
|
+
* // amount: "STRING_VALUE",
|
|
65
|
+
* // chargeType: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // additionalSupportEligibleUsageSpend: [
|
|
69
|
+
* // {
|
|
70
|
+
* // description: "STRING_VALUE", // required
|
|
71
|
+
* // amount: "STRING_VALUE",
|
|
72
|
+
* // chargeType: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
75
|
+
* // pricingPlans: [ // PricingPlanList // required
|
|
76
|
+
* // { // PricingPlan
|
|
77
|
+
* // pricingPlanId: "STRING_VALUE",
|
|
78
|
+
* // name: "STRING_VALUE",
|
|
79
|
+
* // description: "STRING_VALUE",
|
|
80
|
+
* // startDate: new Date("TIMESTAMP"),
|
|
81
|
+
* // endDate: new Date("TIMESTAMP"),
|
|
82
|
+
* // planDiscountPercent: "STRING_VALUE",
|
|
83
|
+
* // discountAppliesToMinimumCharge: true || false,
|
|
84
|
+
* // minimumCharge: "STRING_VALUE",
|
|
85
|
+
* // tiered: "STRING_VALUE",
|
|
86
|
+
* // tiers: [ // PricingPlanTierList // required
|
|
87
|
+
* // { // PricingPlanTier
|
|
88
|
+
* // tierMinimum: "STRING_VALUE", // required
|
|
89
|
+
* // tierMaximum: "STRING_VALUE",
|
|
90
|
+
* // baseCharge: "STRING_VALUE", // required
|
|
91
|
+
* // additionalPercentageOfAggregateCharges: "STRING_VALUE", // required
|
|
92
|
+
* // aggregateChargesAdjustment: "STRING_VALUE", // required
|
|
93
|
+
* // incremental: true || false, // required
|
|
94
|
+
* // increment: "STRING_VALUE",
|
|
95
|
+
* // incrementCharge: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // };
|
|
101
|
+
*
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @param GetEnterpriseSupportContractDetailsCommandInput - {@link GetEnterpriseSupportContractDetailsCommandInput}
|
|
105
|
+
* @returns {@link GetEnterpriseSupportContractDetailsCommandOutput}
|
|
106
|
+
* @see {@link GetEnterpriseSupportContractDetailsCommandInput} for command's `input` shape.
|
|
107
|
+
* @see {@link GetEnterpriseSupportContractDetailsCommandOutput} for command's `response` shape.
|
|
108
|
+
* @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
111
|
+
* <p>You don't have sufficient access to perform this action.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link InternalServerException} (server fault)
|
|
114
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
117
|
+
* <p> The specified ARN in the request doesn't exist. </p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
120
|
+
* <p>The request was denied due to request throttling. </p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ValidationException} (client fault)
|
|
123
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link BillingServiceException}
|
|
126
|
+
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
127
|
+
*
|
|
128
|
+
*
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export declare class GetEnterpriseSupportContractDetailsCommand extends GetEnterpriseSupportContractDetailsCommand_base {
|
|
132
|
+
/** @internal type navigation helper, not in runtime. */
|
|
133
|
+
protected static __types: {
|
|
134
|
+
api: {
|
|
135
|
+
input: GetEnterpriseSupportContractDetailsRequest;
|
|
136
|
+
output: GetEnterpriseSupportContractDetailsResponse;
|
|
137
|
+
};
|
|
138
|
+
sdk: {
|
|
139
|
+
input: GetEnterpriseSupportContractDetailsCommandInput;
|
|
140
|
+
output: GetEnterpriseSupportContractDetailsCommandOutput;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListEnterpriseSupportLinkedAccountChargesRequest, ListEnterpriseSupportLinkedAccountChargesResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListEnterpriseSupportLinkedAccountChargesCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListEnterpriseSupportLinkedAccountChargesCommandInput extends ListEnterpriseSupportLinkedAccountChargesRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListEnterpriseSupportLinkedAccountChargesCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListEnterpriseSupportLinkedAccountChargesCommandOutput extends ListEnterpriseSupportLinkedAccountChargesResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListEnterpriseSupportLinkedAccountChargesCommand_base: {
|
|
22
|
+
new (input: ListEnterpriseSupportLinkedAccountChargesCommandInput): import("@smithy/core/client").CommandImpl<ListEnterpriseSupportLinkedAccountChargesCommandInput, ListEnterpriseSupportLinkedAccountChargesCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListEnterpriseSupportLinkedAccountChargesCommandInput): import("@smithy/core/client").CommandImpl<ListEnterpriseSupportLinkedAccountChargesCommandInput, ListEnterpriseSupportLinkedAccountChargesCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns Support-eligible spend broken down at linked account level.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { BillingClient, ListEnterpriseSupportLinkedAccountChargesCommand } from "@aws-sdk/client-billing"; // ES Modules import
|
|
32
|
+
* // const { BillingClient, ListEnterpriseSupportLinkedAccountChargesCommand } = require("@aws-sdk/client-billing"); // CommonJS import
|
|
33
|
+
* // import type { BillingClientConfig } from "@aws-sdk/client-billing";
|
|
34
|
+
* const config = {}; // type is BillingClientConfig
|
|
35
|
+
* const client = new BillingClient(config);
|
|
36
|
+
* const input = { // ListEnterpriseSupportLinkedAccountChargesRequest
|
|
37
|
+
* billingMonth: "STRING_VALUE", // required
|
|
38
|
+
* accountId: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* nextToken: "STRING_VALUE",
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListEnterpriseSupportLinkedAccountChargesCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListEnterpriseSupportLinkedAccountChargesResponse
|
|
45
|
+
* // linkedAccount: [ // LinkedAccountChargeList // required
|
|
46
|
+
* // { // LinkedAccountCharge
|
|
47
|
+
* // accountId: "STRING_VALUE", // required
|
|
48
|
+
* // payerAccountId: "STRING_VALUE", // required
|
|
49
|
+
* // accountType: "STRING_VALUE",
|
|
50
|
+
* // billableSeconds: Number("long"), // required
|
|
51
|
+
* // totalSeconds: Number("long"), // required
|
|
52
|
+
* // totalSupportEligibleSpend: "STRING_VALUE", // required
|
|
53
|
+
* // proratedTotalSupportEligibleSpend: "STRING_VALUE", // required
|
|
54
|
+
* // linkedTimePeriods: [ // TimePeriodList
|
|
55
|
+
* // { // EnterpriseSupportTimePeriod
|
|
56
|
+
* // beginDate: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // endDate: new Date("TIMESTAMP"),
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // subscriptionTimePeriods: [
|
|
61
|
+
* // {
|
|
62
|
+
* // beginDate: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // endDate: new Date("TIMESTAMP"),
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // totalSupportEligibleReservedInstanceSpend: "STRING_VALUE",
|
|
67
|
+
* // totalSupportEligibleSavingsPlanSpend: "STRING_VALUE",
|
|
68
|
+
* // supportEligibleSpendByService: [ // ServiceLevelAccountUsageList
|
|
69
|
+
* // { // ServiceLevelAccountUsage
|
|
70
|
+
* // serviceCode: "STRING_VALUE",
|
|
71
|
+
* // totalSupportEligibleSpend: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // nextToken: "STRING_VALUE",
|
|
77
|
+
* // };
|
|
78
|
+
*
|
|
79
|
+
* ```
|
|
80
|
+
*
|
|
81
|
+
* @param ListEnterpriseSupportLinkedAccountChargesCommandInput - {@link ListEnterpriseSupportLinkedAccountChargesCommandInput}
|
|
82
|
+
* @returns {@link ListEnterpriseSupportLinkedAccountChargesCommandOutput}
|
|
83
|
+
* @see {@link ListEnterpriseSupportLinkedAccountChargesCommandInput} for command's `input` shape.
|
|
84
|
+
* @see {@link ListEnterpriseSupportLinkedAccountChargesCommandOutput} for command's `response` shape.
|
|
85
|
+
* @see {@link BillingClientResolvedConfig | config} for BillingClient's `config` shape.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
88
|
+
* <p>You don't have sufficient access to perform this action.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InternalServerException} (server fault)
|
|
91
|
+
* <p>The request processing failed because of an unknown error, exception, or failure. </p>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
94
|
+
* <p> The specified ARN in the request doesn't exist. </p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
97
|
+
* <p>The request was denied due to request throttling. </p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ValidationException} (client fault)
|
|
100
|
+
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service. </p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link BillingServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from Billing service.</p>
|
|
104
|
+
*
|
|
105
|
+
*
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
export declare class ListEnterpriseSupportLinkedAccountChargesCommand extends ListEnterpriseSupportLinkedAccountChargesCommand_base {
|
|
109
|
+
/** @internal type navigation helper, not in runtime. */
|
|
110
|
+
protected static __types: {
|
|
111
|
+
api: {
|
|
112
|
+
input: ListEnterpriseSupportLinkedAccountChargesRequest;
|
|
113
|
+
output: ListEnterpriseSupportLinkedAccountChargesResponse;
|
|
114
|
+
};
|
|
115
|
+
sdk: {
|
|
116
|
+
input: ListEnterpriseSupportLinkedAccountChargesCommandInput;
|
|
117
|
+
output: ListEnterpriseSupportLinkedAccountChargesCommandOutput;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
}
|
|
@@ -6,8 +6,11 @@ export * from "./GetBillingPreferencesCommand";
|
|
|
6
6
|
export * from "./GetBillingViewCommand";
|
|
7
7
|
export * from "./GetCreditAllocationHistoryCommand";
|
|
8
8
|
export * from "./GetCreditsCommand";
|
|
9
|
+
export * from "./GetEnterpriseSupportChargeSummaryCommand";
|
|
10
|
+
export * from "./GetEnterpriseSupportContractDetailsCommand";
|
|
9
11
|
export * from "./GetResourcePolicyCommand";
|
|
10
12
|
export * from "./ListBillingViewsCommand";
|
|
13
|
+
export * from "./ListEnterpriseSupportLinkedAccountChargesCommand";
|
|
11
14
|
export * from "./ListSourceViewsForBillingViewCommand";
|
|
12
15
|
export * from "./ListTagsForResourceCommand";
|
|
13
16
|
export * from "./RedeemCreditsCommand";
|