@aws-sdk/client-billing 3.1077.0 → 3.1078.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.
Files changed (44) hide show
  1. package/dist-cjs/index.js +20 -123
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateSourceViewsCommand.js +2 -14
  4. package/dist-es/commands/CreateBillingViewCommand.js +2 -14
  5. package/dist-es/commands/DeleteBillingViewCommand.js +2 -14
  6. package/dist-es/commands/DisassociateSourceViewsCommand.js +2 -14
  7. package/dist-es/commands/GetBillingViewCommand.js +2 -14
  8. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  9. package/dist-es/commands/ListBillingViewsCommand.js +2 -14
  10. package/dist-es/commands/ListSourceViewsForBillingViewCommand.js +2 -14
  11. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  12. package/dist-es/commands/TagResourceCommand.js +2 -14
  13. package/dist-es/commands/UntagResourceCommand.js +2 -14
  14. package/dist-es/commands/UpdateBillingViewCommand.js +2 -14
  15. package/dist-es/index.js +1 -0
  16. package/dist-types/commandBuilder.d.ts +18 -0
  17. package/dist-types/commands/AssociateSourceViewsCommand.d.ts +3 -8
  18. package/dist-types/commands/CreateBillingViewCommand.d.ts +3 -8
  19. package/dist-types/commands/DeleteBillingViewCommand.d.ts +3 -8
  20. package/dist-types/commands/DisassociateSourceViewsCommand.d.ts +3 -8
  21. package/dist-types/commands/GetBillingViewCommand.d.ts +3 -8
  22. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  23. package/dist-types/commands/ListBillingViewsCommand.d.ts +3 -8
  24. package/dist-types/commands/ListSourceViewsForBillingViewCommand.d.ts +3 -8
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  26. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  27. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  28. package/dist-types/commands/UpdateBillingViewCommand.d.ts +3 -8
  29. package/dist-types/index.d.ts +1 -0
  30. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  31. package/dist-types/ts3.4/commands/AssociateSourceViewsCommand.d.ts +7 -16
  32. package/dist-types/ts3.4/commands/CreateBillingViewCommand.d.ts +7 -16
  33. package/dist-types/ts3.4/commands/DeleteBillingViewCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/DisassociateSourceViewsCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/GetBillingViewCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/ListBillingViewsCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/ListSourceViewsForBillingViewCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/commands/UpdateBillingViewCommand.d.ts +7 -16
  43. package/dist-types/ts3.4/index.d.ts +1 -0
  44. package/package.json +8 -8
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -814,148 +815,44 @@ class BillingClient extends Client {
814
815
  }
815
816
  }
816
817
 
817
- class AssociateSourceViewsCommand extends Command
818
- .classBuilder()
819
- .ep(commonParams)
820
- .m(function (Command, cs, config, o) {
821
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
822
- })
823
- .s("AWSBilling", "AssociateSourceViews", {})
824
- .n("BillingClient", "AssociateSourceViewsCommand")
825
- .sc(AssociateSourceViews$)
826
- .build() {
818
+ const command = makeBuilder(commonParams, "AWSBilling", "BillingClient", getEndpointPlugin);
819
+ const _ep0 = {};
820
+ const _mw0 = (Command, cs, config, o) => [];
821
+
822
+ class AssociateSourceViewsCommand extends command(_ep0, _mw0, "AssociateSourceViews", AssociateSourceViews$) {
827
823
  }
828
824
 
829
- class CreateBillingViewCommand extends Command
830
- .classBuilder()
831
- .ep(commonParams)
832
- .m(function (Command, cs, config, o) {
833
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
834
- })
835
- .s("AWSBilling", "CreateBillingView", {})
836
- .n("BillingClient", "CreateBillingViewCommand")
837
- .sc(CreateBillingView$)
838
- .build() {
825
+ class CreateBillingViewCommand extends command(_ep0, _mw0, "CreateBillingView", CreateBillingView$) {
839
826
  }
840
827
 
841
- class DeleteBillingViewCommand extends Command
842
- .classBuilder()
843
- .ep(commonParams)
844
- .m(function (Command, cs, config, o) {
845
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
846
- })
847
- .s("AWSBilling", "DeleteBillingView", {})
848
- .n("BillingClient", "DeleteBillingViewCommand")
849
- .sc(DeleteBillingView$)
850
- .build() {
828
+ class DeleteBillingViewCommand extends command(_ep0, _mw0, "DeleteBillingView", DeleteBillingView$) {
851
829
  }
852
830
 
853
- class DisassociateSourceViewsCommand extends Command
854
- .classBuilder()
855
- .ep(commonParams)
856
- .m(function (Command, cs, config, o) {
857
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
858
- })
859
- .s("AWSBilling", "DisassociateSourceViews", {})
860
- .n("BillingClient", "DisassociateSourceViewsCommand")
861
- .sc(DisassociateSourceViews$)
862
- .build() {
831
+ class DisassociateSourceViewsCommand extends command(_ep0, _mw0, "DisassociateSourceViews", DisassociateSourceViews$) {
863
832
  }
864
833
 
865
- class GetBillingViewCommand extends Command
866
- .classBuilder()
867
- .ep(commonParams)
868
- .m(function (Command, cs, config, o) {
869
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
870
- })
871
- .s("AWSBilling", "GetBillingView", {})
872
- .n("BillingClient", "GetBillingViewCommand")
873
- .sc(GetBillingView$)
874
- .build() {
834
+ class GetBillingViewCommand extends command(_ep0, _mw0, "GetBillingView", GetBillingView$) {
875
835
  }
876
836
 
877
- class GetResourcePolicyCommand extends Command
878
- .classBuilder()
879
- .ep(commonParams)
880
- .m(function (Command, cs, config, o) {
881
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
882
- })
883
- .s("AWSBilling", "GetResourcePolicy", {})
884
- .n("BillingClient", "GetResourcePolicyCommand")
885
- .sc(GetResourcePolicy$)
886
- .build() {
837
+ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
887
838
  }
888
839
 
889
- class ListBillingViewsCommand extends Command
890
- .classBuilder()
891
- .ep(commonParams)
892
- .m(function (Command, cs, config, o) {
893
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
894
- })
895
- .s("AWSBilling", "ListBillingViews", {})
896
- .n("BillingClient", "ListBillingViewsCommand")
897
- .sc(ListBillingViews$)
898
- .build() {
840
+ class ListBillingViewsCommand extends command(_ep0, _mw0, "ListBillingViews", ListBillingViews$) {
899
841
  }
900
842
 
901
- class ListSourceViewsForBillingViewCommand extends Command
902
- .classBuilder()
903
- .ep(commonParams)
904
- .m(function (Command, cs, config, o) {
905
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
906
- })
907
- .s("AWSBilling", "ListSourceViewsForBillingView", {})
908
- .n("BillingClient", "ListSourceViewsForBillingViewCommand")
909
- .sc(ListSourceViewsForBillingView$)
910
- .build() {
843
+ class ListSourceViewsForBillingViewCommand extends command(_ep0, _mw0, "ListSourceViewsForBillingView", ListSourceViewsForBillingView$) {
911
844
  }
912
845
 
913
- class ListTagsForResourceCommand extends Command
914
- .classBuilder()
915
- .ep(commonParams)
916
- .m(function (Command, cs, config, o) {
917
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
918
- })
919
- .s("AWSBilling", "ListTagsForResource", {})
920
- .n("BillingClient", "ListTagsForResourceCommand")
921
- .sc(ListTagsForResource$)
922
- .build() {
846
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
923
847
  }
924
848
 
925
- class TagResourceCommand extends Command
926
- .classBuilder()
927
- .ep(commonParams)
928
- .m(function (Command, cs, config, o) {
929
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
930
- })
931
- .s("AWSBilling", "TagResource", {})
932
- .n("BillingClient", "TagResourceCommand")
933
- .sc(TagResource$)
934
- .build() {
849
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
935
850
  }
936
851
 
937
- class UntagResourceCommand extends Command
938
- .classBuilder()
939
- .ep(commonParams)
940
- .m(function (Command, cs, config, o) {
941
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
942
- })
943
- .s("AWSBilling", "UntagResource", {})
944
- .n("BillingClient", "UntagResourceCommand")
945
- .sc(UntagResource$)
946
- .build() {
852
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
947
853
  }
948
854
 
949
- class UpdateBillingViewCommand extends Command
950
- .classBuilder()
951
- .ep(commonParams)
952
- .m(function (Command, cs, config, o) {
953
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
954
- })
955
- .s("AWSBilling", "UpdateBillingView", {})
956
- .n("BillingClient", "UpdateBillingViewCommand")
957
- .sc(UpdateBillingView$)
958
- .build() {
855
+ class UpdateBillingViewCommand extends command(_ep0, _mw0, "UpdateBillingView", UpdateBillingView$) {
959
856
  }
960
857
 
961
858
  const paginateListBillingViews = createPaginator(BillingClient, ListBillingViewsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSBilling", "BillingClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AssociateSourceViews$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateSourceViewsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBilling", "AssociateSourceViews", {})
13
- .n("BillingClient", "AssociateSourceViewsCommand")
14
- .sc(AssociateSourceViews$)
15
- .build() {
3
+ export class AssociateSourceViewsCommand extends command(_ep0, _mw0, "AssociateSourceViews", AssociateSourceViews$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateBillingView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateBillingViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBilling", "CreateBillingView", {})
13
- .n("BillingClient", "CreateBillingViewCommand")
14
- .sc(CreateBillingView$)
15
- .build() {
3
+ export class CreateBillingViewCommand extends command(_ep0, _mw0, "CreateBillingView", CreateBillingView$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteBillingView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteBillingViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBilling", "DeleteBillingView", {})
13
- .n("BillingClient", "DeleteBillingViewCommand")
14
- .sc(DeleteBillingView$)
15
- .build() {
3
+ export class DeleteBillingViewCommand extends command(_ep0, _mw0, "DeleteBillingView", DeleteBillingView$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisassociateSourceViews$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateSourceViewsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBilling", "DisassociateSourceViews", {})
13
- .n("BillingClient", "DisassociateSourceViewsCommand")
14
- .sc(DisassociateSourceViews$)
15
- .build() {
3
+ export class DisassociateSourceViewsCommand extends command(_ep0, _mw0, "DisassociateSourceViews", DisassociateSourceViews$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetBillingView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetBillingViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBilling", "GetBillingView", {})
13
- .n("BillingClient", "GetBillingViewCommand")
14
- .sc(GetBillingView$)
15
- .build() {
3
+ export class GetBillingViewCommand extends command(_ep0, _mw0, "GetBillingView", GetBillingView$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBilling", "GetResourcePolicy", {})
13
- .n("BillingClient", "GetResourcePolicyCommand")
14
- .sc(GetResourcePolicy$)
15
- .build() {
3
+ export class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListBillingViews$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListBillingViewsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBilling", "ListBillingViews", {})
13
- .n("BillingClient", "ListBillingViewsCommand")
14
- .sc(ListBillingViews$)
15
- .build() {
3
+ export class ListBillingViewsCommand extends command(_ep0, _mw0, "ListBillingViews", ListBillingViews$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListSourceViewsForBillingView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSourceViewsForBillingViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBilling", "ListSourceViewsForBillingView", {})
13
- .n("BillingClient", "ListSourceViewsForBillingViewCommand")
14
- .sc(ListSourceViewsForBillingView$)
15
- .build() {
3
+ export class ListSourceViewsForBillingViewCommand extends command(_ep0, _mw0, "ListSourceViewsForBillingView", ListSourceViewsForBillingView$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBilling", "ListTagsForResource", {})
13
- .n("BillingClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBilling", "TagResource", {})
13
- .n("BillingClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBilling", "UntagResource", {})
13
- .n("BillingClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateBillingView$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateBillingViewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSBilling", "UpdateBillingView", {})
13
- .n("BillingClient", "UpdateBillingViewCommand")
14
- .sc(UpdateBillingView$)
15
- .build() {
3
+ export class UpdateBillingViewCommand extends command(_ep0, _mw0, "UpdateBillingView", UpdateBillingView$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./BillingClient";
2
2
  export * from "./Billing";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./BillingClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
4
2
  import type { AssociateSourceViewsRequest, AssociateSourceViewsResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AssociateSourceViewsCommandInput extends AssociateSourceViewsRe
22
19
  export interface AssociateSourceViewsCommandOutput extends AssociateSourceViewsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AssociateSourceViewsCommand_base: {
25
- new (input: AssociateSourceViewsCommandInput): import("@smithy/core/client").CommandImpl<AssociateSourceViewsCommandInput, AssociateSourceViewsCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssociateSourceViewsCommandInput): import("@smithy/core/client").CommandImpl<AssociateSourceViewsCommandInput, AssociateSourceViewsCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AssociateSourceViewsCommandInput): import("@smithy/core/client").CommandImpl<AssociateSourceViewsCommandInput, AssociateSourceViewsCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateSourceViewsCommandInput): import("@smithy/core/client").CommandImpl<AssociateSourceViewsCommandInput, AssociateSourceViewsCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p> Associates one or more source billing views with an existing billing view. This allows creating aggregate billing views that combine data from multiple sources. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
4
2
  import type { CreateBillingViewRequest, CreateBillingViewResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface CreateBillingViewCommandInput extends CreateBillingViewRequest
22
19
  export interface CreateBillingViewCommandOutput extends CreateBillingViewResponse, __MetadataBearer {
23
20
  }
24
21
  declare const CreateBillingViewCommand_base: {
25
- new (input: CreateBillingViewCommandInput): import("@smithy/core/client").CommandImpl<CreateBillingViewCommandInput, CreateBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: CreateBillingViewCommandInput): import("@smithy/core/client").CommandImpl<CreateBillingViewCommandInput, CreateBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: CreateBillingViewCommandInput): import("@smithy/core/client").CommandImpl<CreateBillingViewCommandInput, CreateBillingViewCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: CreateBillingViewCommandInput): import("@smithy/core/client").CommandImpl<CreateBillingViewCommandInput, CreateBillingViewCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p> Creates a billing view with the specified billing view attributes. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
4
2
  import type { DeleteBillingViewRequest, DeleteBillingViewResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DeleteBillingViewCommandInput extends DeleteBillingViewRequest
22
19
  export interface DeleteBillingViewCommandOutput extends DeleteBillingViewResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DeleteBillingViewCommand_base: {
25
- new (input: DeleteBillingViewCommandInput): import("@smithy/core/client").CommandImpl<DeleteBillingViewCommandInput, DeleteBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DeleteBillingViewCommandInput): import("@smithy/core/client").CommandImpl<DeleteBillingViewCommandInput, DeleteBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DeleteBillingViewCommandInput): import("@smithy/core/client").CommandImpl<DeleteBillingViewCommandInput, DeleteBillingViewCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DeleteBillingViewCommandInput): import("@smithy/core/client").CommandImpl<DeleteBillingViewCommandInput, DeleteBillingViewCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Deletes the specified billing view.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
4
2
  import type { DisassociateSourceViewsRequest, DisassociateSourceViewsResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface DisassociateSourceViewsCommandInput extends DisassociateSourceV
22
19
  export interface DisassociateSourceViewsCommandOutput extends DisassociateSourceViewsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const DisassociateSourceViewsCommand_base: {
25
- new (input: DisassociateSourceViewsCommandInput): import("@smithy/core/client").CommandImpl<DisassociateSourceViewsCommandInput, DisassociateSourceViewsCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: DisassociateSourceViewsCommandInput): import("@smithy/core/client").CommandImpl<DisassociateSourceViewsCommandInput, DisassociateSourceViewsCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DisassociateSourceViewsCommandInput): import("@smithy/core/client").CommandImpl<DisassociateSourceViewsCommandInput, DisassociateSourceViewsCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: DisassociateSourceViewsCommandInput): import("@smithy/core/client").CommandImpl<DisassociateSourceViewsCommandInput, DisassociateSourceViewsCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p> Removes the association between one or more source billing views and an existing billing view. This allows modifying the composition of aggregate billing views. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
4
2
  import type { GetBillingViewRequest, GetBillingViewResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetBillingViewCommandInput extends GetBillingViewRequest {
22
19
  export interface GetBillingViewCommandOutput extends GetBillingViewResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetBillingViewCommand_base: {
25
- new (input: GetBillingViewCommandInput): import("@smithy/core/client").CommandImpl<GetBillingViewCommandInput, GetBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetBillingViewCommandInput): import("@smithy/core/client").CommandImpl<GetBillingViewCommandInput, GetBillingViewCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetBillingViewCommandInput): import("@smithy/core/client").CommandImpl<GetBillingViewCommandInput, GetBillingViewCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetBillingViewCommandInput): import("@smithy/core/client").CommandImpl<GetBillingViewCommandInput, GetBillingViewCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns the metadata associated to the specified billing view ARN. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BillingClient";
4
2
  import type { GetResourcePolicyRequest, GetResourcePolicyResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface GetResourcePolicyCommandInput extends GetResourcePolicyRequest
22
19
  export interface GetResourcePolicyCommandOutput extends GetResourcePolicyResponse, __MetadataBearer {
23
20
  }
24
21
  declare const GetResourcePolicyCommand_base: {
25
- new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, BillingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetResourcePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, import("..").BillingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns the resource-based policy document attached to the resource in <code>JSON</code> format. </p>