@@ -3,20 +3,136 @@ import { createAggregatedClient } from "@smithy/smithy-client";
33import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types" ;
44
55import { BillingClient , BillingClientConfig } from "./BillingClient" ;
6+ import {
7+ CreateBillingViewCommand ,
8+ CreateBillingViewCommandInput ,
9+ CreateBillingViewCommandOutput ,
10+ } from "./commands/CreateBillingViewCommand" ;
11+ import {
12+ DeleteBillingViewCommand ,
13+ DeleteBillingViewCommandInput ,
14+ DeleteBillingViewCommandOutput ,
15+ } from "./commands/DeleteBillingViewCommand" ;
16+ import {
17+ GetBillingViewCommand ,
18+ GetBillingViewCommandInput ,
19+ GetBillingViewCommandOutput ,
20+ } from "./commands/GetBillingViewCommand" ;
21+ import {
22+ GetResourcePolicyCommand ,
23+ GetResourcePolicyCommandInput ,
24+ GetResourcePolicyCommandOutput ,
25+ } from "./commands/GetResourcePolicyCommand" ;
626import {
727 ListBillingViewsCommand ,
828 ListBillingViewsCommandInput ,
929 ListBillingViewsCommandOutput ,
1030} from "./commands/ListBillingViewsCommand" ;
31+ import {
32+ ListSourceViewsForBillingViewCommand ,
33+ ListSourceViewsForBillingViewCommandInput ,
34+ ListSourceViewsForBillingViewCommandOutput ,
35+ } from "./commands/ListSourceViewsForBillingViewCommand" ;
36+ import {
37+ ListTagsForResourceCommand ,
38+ ListTagsForResourceCommandInput ,
39+ ListTagsForResourceCommandOutput ,
40+ } from "./commands/ListTagsForResourceCommand" ;
41+ import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ;
42+ import {
43+ UntagResourceCommand ,
44+ UntagResourceCommandInput ,
45+ UntagResourceCommandOutput ,
46+ } from "./commands/UntagResourceCommand" ;
47+ import {
48+ UpdateBillingViewCommand ,
49+ UpdateBillingViewCommandInput ,
50+ UpdateBillingViewCommandOutput ,
51+ } from "./commands/UpdateBillingViewCommand" ;
1152
1253const commands = {
54+ CreateBillingViewCommand,
55+ DeleteBillingViewCommand,
56+ GetBillingViewCommand,
57+ GetResourcePolicyCommand,
1358 ListBillingViewsCommand,
59+ ListSourceViewsForBillingViewCommand,
60+ ListTagsForResourceCommand,
61+ TagResourceCommand,
62+ UntagResourceCommand,
63+ UpdateBillingViewCommand,
1464} ;
1565
1666export interface Billing {
67+ /**
68+ * @see {@link CreateBillingViewCommand }
69+ */
70+ createBillingView (
71+ args : CreateBillingViewCommandInput ,
72+ options ?: __HttpHandlerOptions
73+ ) : Promise < CreateBillingViewCommandOutput > ;
74+ createBillingView (
75+ args : CreateBillingViewCommandInput ,
76+ cb : ( err : any , data ?: CreateBillingViewCommandOutput ) => void
77+ ) : void ;
78+ createBillingView (
79+ args : CreateBillingViewCommandInput ,
80+ options : __HttpHandlerOptions ,
81+ cb : ( err : any , data ?: CreateBillingViewCommandOutput ) => void
82+ ) : void ;
83+
84+ /**
85+ * @see {@link DeleteBillingViewCommand }
86+ */
87+ deleteBillingView (
88+ args : DeleteBillingViewCommandInput ,
89+ options ?: __HttpHandlerOptions
90+ ) : Promise < DeleteBillingViewCommandOutput > ;
91+ deleteBillingView (
92+ args : DeleteBillingViewCommandInput ,
93+ cb : ( err : any , data ?: DeleteBillingViewCommandOutput ) => void
94+ ) : void ;
95+ deleteBillingView (
96+ args : DeleteBillingViewCommandInput ,
97+ options : __HttpHandlerOptions ,
98+ cb : ( err : any , data ?: DeleteBillingViewCommandOutput ) => void
99+ ) : void ;
100+
101+ /**
102+ * @see {@link GetBillingViewCommand }
103+ */
104+ getBillingView (
105+ args : GetBillingViewCommandInput ,
106+ options ?: __HttpHandlerOptions
107+ ) : Promise < GetBillingViewCommandOutput > ;
108+ getBillingView ( args : GetBillingViewCommandInput , cb : ( err : any , data ?: GetBillingViewCommandOutput ) => void ) : void ;
109+ getBillingView (
110+ args : GetBillingViewCommandInput ,
111+ options : __HttpHandlerOptions ,
112+ cb : ( err : any , data ?: GetBillingViewCommandOutput ) => void
113+ ) : void ;
114+
115+ /**
116+ * @see {@link GetResourcePolicyCommand }
117+ */
118+ getResourcePolicy (
119+ args : GetResourcePolicyCommandInput ,
120+ options ?: __HttpHandlerOptions
121+ ) : Promise < GetResourcePolicyCommandOutput > ;
122+ getResourcePolicy (
123+ args : GetResourcePolicyCommandInput ,
124+ cb : ( err : any , data ?: GetResourcePolicyCommandOutput ) => void
125+ ) : void ;
126+ getResourcePolicy (
127+ args : GetResourcePolicyCommandInput ,
128+ options : __HttpHandlerOptions ,
129+ cb : ( err : any , data ?: GetResourcePolicyCommandOutput ) => void
130+ ) : void ;
131+
17132 /**
18133 * @see {@link ListBillingViewsCommand }
19134 */
135+ listBillingViews ( ) : Promise < ListBillingViewsCommandOutput > ;
20136 listBillingViews (
21137 args : ListBillingViewsCommandInput ,
22138 options ?: __HttpHandlerOptions
@@ -30,6 +146,79 @@ export interface Billing {
30146 options : __HttpHandlerOptions ,
31147 cb : ( err : any , data ?: ListBillingViewsCommandOutput ) => void
32148 ) : void ;
149+
150+ /**
151+ * @see {@link ListSourceViewsForBillingViewCommand }
152+ */
153+ listSourceViewsForBillingView (
154+ args : ListSourceViewsForBillingViewCommandInput ,
155+ options ?: __HttpHandlerOptions
156+ ) : Promise < ListSourceViewsForBillingViewCommandOutput > ;
157+ listSourceViewsForBillingView (
158+ args : ListSourceViewsForBillingViewCommandInput ,
159+ cb : ( err : any , data ?: ListSourceViewsForBillingViewCommandOutput ) => void
160+ ) : void ;
161+ listSourceViewsForBillingView (
162+ args : ListSourceViewsForBillingViewCommandInput ,
163+ options : __HttpHandlerOptions ,
164+ cb : ( err : any , data ?: ListSourceViewsForBillingViewCommandOutput ) => void
165+ ) : void ;
166+
167+ /**
168+ * @see {@link ListTagsForResourceCommand }
169+ */
170+ listTagsForResource (
171+ args : ListTagsForResourceCommandInput ,
172+ options ?: __HttpHandlerOptions
173+ ) : Promise < ListTagsForResourceCommandOutput > ;
174+ listTagsForResource (
175+ args : ListTagsForResourceCommandInput ,
176+ cb : ( err : any , data ?: ListTagsForResourceCommandOutput ) => void
177+ ) : void ;
178+ listTagsForResource (
179+ args : ListTagsForResourceCommandInput ,
180+ options : __HttpHandlerOptions ,
181+ cb : ( err : any , data ?: ListTagsForResourceCommandOutput ) => void
182+ ) : void ;
183+
184+ /**
185+ * @see {@link TagResourceCommand }
186+ */
187+ tagResource ( args : TagResourceCommandInput , options ?: __HttpHandlerOptions ) : Promise < TagResourceCommandOutput > ;
188+ tagResource ( args : TagResourceCommandInput , cb : ( err : any , data ?: TagResourceCommandOutput ) => void ) : void ;
189+ tagResource (
190+ args : TagResourceCommandInput ,
191+ options : __HttpHandlerOptions ,
192+ cb : ( err : any , data ?: TagResourceCommandOutput ) => void
193+ ) : void ;
194+
195+ /**
196+ * @see {@link UntagResourceCommand }
197+ */
198+ untagResource ( args : UntagResourceCommandInput , options ?: __HttpHandlerOptions ) : Promise < UntagResourceCommandOutput > ;
199+ untagResource ( args : UntagResourceCommandInput , cb : ( err : any , data ?: UntagResourceCommandOutput ) => void ) : void ;
200+ untagResource (
201+ args : UntagResourceCommandInput ,
202+ options : __HttpHandlerOptions ,
203+ cb : ( err : any , data ?: UntagResourceCommandOutput ) => void
204+ ) : void ;
205+
206+ /**
207+ * @see {@link UpdateBillingViewCommand }
208+ */
209+ updateBillingView (
210+ args : UpdateBillingViewCommandInput ,
211+ options ?: __HttpHandlerOptions
212+ ) : Promise < UpdateBillingViewCommandOutput > ;
213+ updateBillingView (
214+ args : UpdateBillingViewCommandInput ,
215+ cb : ( err : any , data ?: UpdateBillingViewCommandOutput ) => void
216+ ) : void ;
217+ updateBillingView (
218+ args : UpdateBillingViewCommandInput ,
219+ options : __HttpHandlerOptions ,
220+ cb : ( err : any , data ?: UpdateBillingViewCommandOutput ) => void
221+ ) : void ;
33222}
34223
35224/**
0 commit comments