@aws-sdk/client-resource-groups-tagging-api 3.1076.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 (47) hide show
  1. package/dist-cjs/index.js +20 -95
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/DescribeReportCreationCommand.js +2 -14
  4. package/dist-es/commands/GetComplianceSummaryCommand.js +2 -14
  5. package/dist-es/commands/GetResourcesCommand.js +2 -14
  6. package/dist-es/commands/GetTagKeysCommand.js +2 -14
  7. package/dist-es/commands/GetTagValuesCommand.js +2 -14
  8. package/dist-es/commands/ListRequiredTagsCommand.js +2 -14
  9. package/dist-es/commands/StartReportCreationCommand.js +2 -14
  10. package/dist-es/commands/TagResourcesCommand.js +2 -14
  11. package/dist-es/commands/UntagResourcesCommand.js +2 -14
  12. package/dist-es/index.js +1 -0
  13. package/dist-es/runtimeConfig.browser.js +0 -2
  14. package/dist-es/runtimeConfig.js +1 -2
  15. package/dist-es/runtimeConfig.native.js +0 -2
  16. package/dist-es/runtimeConfig.shared.js +2 -0
  17. package/dist-types/commandBuilder.d.ts +18 -0
  18. package/dist-types/commands/DescribeReportCreationCommand.d.ts +3 -8
  19. package/dist-types/commands/GetComplianceSummaryCommand.d.ts +3 -8
  20. package/dist-types/commands/GetResourcesCommand.d.ts +3 -8
  21. package/dist-types/commands/GetTagKeysCommand.d.ts +3 -8
  22. package/dist-types/commands/GetTagValuesCommand.d.ts +3 -8
  23. package/dist-types/commands/ListRequiredTagsCommand.d.ts +3 -8
  24. package/dist-types/commands/StartReportCreationCommand.d.ts +3 -8
  25. package/dist-types/commands/TagResourcesCommand.d.ts +3 -8
  26. package/dist-types/commands/UntagResourcesCommand.d.ts +3 -8
  27. package/dist-types/index.d.ts +1 -0
  28. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  29. package/dist-types/runtimeConfig.d.ts +1 -1
  30. package/dist-types/runtimeConfig.native.d.ts +1 -1
  31. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  32. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  33. package/dist-types/ts3.4/commands/DescribeReportCreationCommand.d.ts +7 -16
  34. package/dist-types/ts3.4/commands/GetComplianceSummaryCommand.d.ts +7 -16
  35. package/dist-types/ts3.4/commands/GetResourcesCommand.d.ts +7 -16
  36. package/dist-types/ts3.4/commands/GetTagKeysCommand.d.ts +7 -16
  37. package/dist-types/ts3.4/commands/GetTagValuesCommand.d.ts +7 -16
  38. package/dist-types/ts3.4/commands/ListRequiredTagsCommand.d.ts +7 -16
  39. package/dist-types/ts3.4/commands/StartReportCreationCommand.d.ts +7 -16
  40. package/dist-types/ts3.4/commands/TagResourcesCommand.d.ts +7 -16
  41. package/dist-types/ts3.4/commands/UntagResourcesCommand.d.ts +7 -16
  42. package/dist-types/ts3.4/index.d.ts +1 -0
  43. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  44. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  45. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  46. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  47. package/package.json +8 -10
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");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultResourceGroupsTaggingAPIHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -555,6 +557,7 @@ const getRuntimeConfig$1 = (config) => {
555
557
  serviceTarget: "ResourceGroupsTaggingAPI_20170126",
556
558
  },
557
559
  serviceId: config?.serviceId ?? "Resource Groups Tagging API",
560
+ sha256: config?.sha256 ?? Sha256,
558
561
  urlParser: config?.urlParser ?? parseUrl,
559
562
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
560
563
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -588,7 +591,6 @@ const getRuntimeConfig = (config) => {
588
591
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
589
592
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
590
593
  }, config),
591
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
592
594
  streamCollector: config?.streamCollector ?? streamCollector,
593
595
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
594
596
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -676,112 +678,35 @@ class ResourceGroupsTaggingAPIClient extends Client {
676
678
  }
677
679
  }
678
680
 
679
- class DescribeReportCreationCommand extends Command
680
- .classBuilder()
681
- .ep(commonParams)
682
- .m(function (Command, cs, config, o) {
683
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
684
- })
685
- .s("ResourceGroupsTaggingAPI_20170126", "DescribeReportCreation", {})
686
- .n("ResourceGroupsTaggingAPIClient", "DescribeReportCreationCommand")
687
- .sc(DescribeReportCreation$)
688
- .build() {
681
+ const command = makeBuilder(commonParams, "ResourceGroupsTaggingAPI_20170126", "ResourceGroupsTaggingAPIClient", getEndpointPlugin);
682
+ const _ep0 = {};
683
+ const _mw0 = (Command, cs, config, o) => [];
684
+
685
+ class DescribeReportCreationCommand extends command(_ep0, _mw0, "DescribeReportCreation", DescribeReportCreation$) {
689
686
  }
690
687
 
691
- class GetComplianceSummaryCommand extends Command
692
- .classBuilder()
693
- .ep(commonParams)
694
- .m(function (Command, cs, config, o) {
695
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
696
- })
697
- .s("ResourceGroupsTaggingAPI_20170126", "GetComplianceSummary", {})
698
- .n("ResourceGroupsTaggingAPIClient", "GetComplianceSummaryCommand")
699
- .sc(GetComplianceSummary$)
700
- .build() {
688
+ class GetComplianceSummaryCommand extends command(_ep0, _mw0, "GetComplianceSummary", GetComplianceSummary$) {
701
689
  }
702
690
 
703
- class GetResourcesCommand extends Command
704
- .classBuilder()
705
- .ep(commonParams)
706
- .m(function (Command, cs, config, o) {
707
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
708
- })
709
- .s("ResourceGroupsTaggingAPI_20170126", "GetResources", {})
710
- .n("ResourceGroupsTaggingAPIClient", "GetResourcesCommand")
711
- .sc(GetResources$)
712
- .build() {
691
+ class GetResourcesCommand extends command(_ep0, _mw0, "GetResources", GetResources$) {
713
692
  }
714
693
 
715
- class GetTagKeysCommand extends Command
716
- .classBuilder()
717
- .ep(commonParams)
718
- .m(function (Command, cs, config, o) {
719
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
720
- })
721
- .s("ResourceGroupsTaggingAPI_20170126", "GetTagKeys", {})
722
- .n("ResourceGroupsTaggingAPIClient", "GetTagKeysCommand")
723
- .sc(GetTagKeys$)
724
- .build() {
694
+ class GetTagKeysCommand extends command(_ep0, _mw0, "GetTagKeys", GetTagKeys$) {
725
695
  }
726
696
 
727
- class GetTagValuesCommand extends Command
728
- .classBuilder()
729
- .ep(commonParams)
730
- .m(function (Command, cs, config, o) {
731
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
732
- })
733
- .s("ResourceGroupsTaggingAPI_20170126", "GetTagValues", {})
734
- .n("ResourceGroupsTaggingAPIClient", "GetTagValuesCommand")
735
- .sc(GetTagValues$)
736
- .build() {
697
+ class GetTagValuesCommand extends command(_ep0, _mw0, "GetTagValues", GetTagValues$) {
737
698
  }
738
699
 
739
- class ListRequiredTagsCommand extends Command
740
- .classBuilder()
741
- .ep(commonParams)
742
- .m(function (Command, cs, config, o) {
743
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
744
- })
745
- .s("ResourceGroupsTaggingAPI_20170126", "ListRequiredTags", {})
746
- .n("ResourceGroupsTaggingAPIClient", "ListRequiredTagsCommand")
747
- .sc(ListRequiredTags$)
748
- .build() {
700
+ class ListRequiredTagsCommand extends command(_ep0, _mw0, "ListRequiredTags", ListRequiredTags$) {
749
701
  }
750
702
 
751
- class StartReportCreationCommand extends Command
752
- .classBuilder()
753
- .ep(commonParams)
754
- .m(function (Command, cs, config, o) {
755
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
756
- })
757
- .s("ResourceGroupsTaggingAPI_20170126", "StartReportCreation", {})
758
- .n("ResourceGroupsTaggingAPIClient", "StartReportCreationCommand")
759
- .sc(StartReportCreation$)
760
- .build() {
703
+ class StartReportCreationCommand extends command(_ep0, _mw0, "StartReportCreation", StartReportCreation$) {
761
704
  }
762
705
 
763
- class TagResourcesCommand extends Command
764
- .classBuilder()
765
- .ep(commonParams)
766
- .m(function (Command, cs, config, o) {
767
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
768
- })
769
- .s("ResourceGroupsTaggingAPI_20170126", "TagResources", {})
770
- .n("ResourceGroupsTaggingAPIClient", "TagResourcesCommand")
771
- .sc(TagResources$)
772
- .build() {
706
+ class TagResourcesCommand extends command(_ep0, _mw0, "TagResources", TagResources$) {
773
707
  }
774
708
 
775
- class UntagResourcesCommand extends Command
776
- .classBuilder()
777
- .ep(commonParams)
778
- .m(function (Command, cs, config, o) {
779
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
780
- })
781
- .s("ResourceGroupsTaggingAPI_20170126", "UntagResources", {})
782
- .n("ResourceGroupsTaggingAPIClient", "UntagResourcesCommand")
783
- .sc(UntagResources$)
784
- .build() {
709
+ class UntagResourcesCommand extends command(_ep0, _mw0, "UntagResources", UntagResources$) {
785
710
  }
786
711
 
787
712
  const paginateGetComplianceSummary = createPaginator(ResourceGroupsTaggingAPIClient, GetComplianceSummaryCommand, "PaginationToken", "PaginationToken", "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, "ResourceGroupsTaggingAPI_20170126", "ResourceGroupsTaggingAPIClient", 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 { DescribeReportCreation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeReportCreationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceGroupsTaggingAPI_20170126", "DescribeReportCreation", {})
13
- .n("ResourceGroupsTaggingAPIClient", "DescribeReportCreationCommand")
14
- .sc(DescribeReportCreation$)
15
- .build() {
3
+ export class DescribeReportCreationCommand extends command(_ep0, _mw0, "DescribeReportCreation", DescribeReportCreation$) {
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 { GetComplianceSummary$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetComplianceSummaryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceGroupsTaggingAPI_20170126", "GetComplianceSummary", {})
13
- .n("ResourceGroupsTaggingAPIClient", "GetComplianceSummaryCommand")
14
- .sc(GetComplianceSummary$)
15
- .build() {
3
+ export class GetComplianceSummaryCommand extends command(_ep0, _mw0, "GetComplianceSummary", GetComplianceSummary$) {
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 { GetResources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceGroupsTaggingAPI_20170126", "GetResources", {})
13
- .n("ResourceGroupsTaggingAPIClient", "GetResourcesCommand")
14
- .sc(GetResources$)
15
- .build() {
3
+ export class GetResourcesCommand extends command(_ep0, _mw0, "GetResources", GetResources$) {
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 { GetTagKeys$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTagKeysCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceGroupsTaggingAPI_20170126", "GetTagKeys", {})
13
- .n("ResourceGroupsTaggingAPIClient", "GetTagKeysCommand")
14
- .sc(GetTagKeys$)
15
- .build() {
3
+ export class GetTagKeysCommand extends command(_ep0, _mw0, "GetTagKeys", GetTagKeys$) {
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 { GetTagValues$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTagValuesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceGroupsTaggingAPI_20170126", "GetTagValues", {})
13
- .n("ResourceGroupsTaggingAPIClient", "GetTagValuesCommand")
14
- .sc(GetTagValues$)
15
- .build() {
3
+ export class GetTagValuesCommand extends command(_ep0, _mw0, "GetTagValues", GetTagValues$) {
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 { ListRequiredTags$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRequiredTagsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceGroupsTaggingAPI_20170126", "ListRequiredTags", {})
13
- .n("ResourceGroupsTaggingAPIClient", "ListRequiredTagsCommand")
14
- .sc(ListRequiredTags$)
15
- .build() {
3
+ export class ListRequiredTagsCommand extends command(_ep0, _mw0, "ListRequiredTags", ListRequiredTags$) {
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 { StartReportCreation$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartReportCreationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceGroupsTaggingAPI_20170126", "StartReportCreation", {})
13
- .n("ResourceGroupsTaggingAPIClient", "StartReportCreationCommand")
14
- .sc(StartReportCreation$)
15
- .build() {
3
+ export class StartReportCreationCommand extends command(_ep0, _mw0, "StartReportCreation", StartReportCreation$) {
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 { TagResources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceGroupsTaggingAPI_20170126", "TagResources", {})
13
- .n("ResourceGroupsTaggingAPIClient", "TagResourcesCommand")
14
- .sc(TagResources$)
15
- .build() {
3
+ export class TagResourcesCommand extends command(_ep0, _mw0, "TagResources", TagResources$) {
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 { UntagResources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("ResourceGroupsTaggingAPI_20170126", "UntagResources", {})
13
- .n("ResourceGroupsTaggingAPIClient", "UntagResourcesCommand")
14
- .sc(UntagResources$)
15
- .build() {
3
+ export class UntagResourcesCommand extends command(_ep0, _mw0, "UntagResources", UntagResources$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ResourceGroupsTaggingAPIClient";
2
2
  export * from "./ResourceGroupsTaggingAPI";
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";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "ResourceGroupsTaggingAPI_20170126",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "Resource Groups Tagging API",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./ResourceGroupsTaggingAPIClient";
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, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ResourceGroupsTaggingAPIClientResolvedConfig, 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
2
  import type { DescribeReportCreationInput, DescribeReportCreationOutput } from "../models/models_0";
4
- import type { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
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 DescribeReportCreationCommandInput extends DescribeReportCreati
22
19
  export interface DescribeReportCreationCommandOutput extends DescribeReportCreationOutput, __MetadataBearer {
23
20
  }
24
21
  declare const DescribeReportCreationCommand_base: {
25
- new (input: DescribeReportCreationCommandInput): import("@smithy/core/client").CommandImpl<DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [DescribeReportCreationCommandInput]): import("@smithy/core/client").CommandImpl<DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: DescribeReportCreationCommandInput): import("@smithy/core/client").CommandImpl<DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput, import("..").ResourceGroupsTaggingAPIClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [DescribeReportCreationCommandInput]): import("@smithy/core/client").CommandImpl<DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput, import("..").ResourceGroupsTaggingAPIClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Describes the status of the <code>StartReportCreation</code> operation. </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
2
  import type { GetComplianceSummaryInput, GetComplianceSummaryOutput } from "../models/models_0";
4
- import type { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
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 GetComplianceSummaryCommandInput extends GetComplianceSummaryIn
22
19
  export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetComplianceSummaryCommand_base: {
25
- new (input: GetComplianceSummaryCommandInput): import("@smithy/core/client").CommandImpl<GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetComplianceSummaryCommandInput]): import("@smithy/core/client").CommandImpl<GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetComplianceSummaryCommandInput): import("@smithy/core/client").CommandImpl<GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput, import("..").ResourceGroupsTaggingAPIClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [GetComplianceSummaryCommandInput]): import("@smithy/core/client").CommandImpl<GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput, import("..").ResourceGroupsTaggingAPIClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns a table that shows counts of resources that are noncompliant with their tag
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { GetResourcesInput, GetResourcesOutput } from "../models/models_0";
4
- import type { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
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 GetResourcesCommandInput extends GetResourcesInput {
22
19
  export interface GetResourcesCommandOutput extends GetResourcesOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetResourcesCommand_base: {
25
- new (input: GetResourcesCommandInput): import("@smithy/core/client").CommandImpl<GetResourcesCommandInput, GetResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetResourcesCommandInput]): import("@smithy/core/client").CommandImpl<GetResourcesCommandInput, GetResourcesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetResourcesCommandInput): import("@smithy/core/client").CommandImpl<GetResourcesCommandInput, GetResourcesCommandOutput, import("..").ResourceGroupsTaggingAPIClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [GetResourcesCommandInput]): import("@smithy/core/client").CommandImpl<GetResourcesCommandInput, GetResourcesCommandOutput, import("..").ResourceGroupsTaggingAPIClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns all the tagged or previously tagged resources that are located in the
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { GetTagKeysInput, GetTagKeysOutput } from "../models/models_0";
4
- import type { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
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 GetTagKeysCommandInput extends GetTagKeysInput {
22
19
  export interface GetTagKeysCommandOutput extends GetTagKeysOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetTagKeysCommand_base: {
25
- new (input: GetTagKeysCommandInput): import("@smithy/core/client").CommandImpl<GetTagKeysCommandInput, GetTagKeysCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [GetTagKeysCommandInput]): import("@smithy/core/client").CommandImpl<GetTagKeysCommandInput, GetTagKeysCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetTagKeysCommandInput): import("@smithy/core/client").CommandImpl<GetTagKeysCommandInput, GetTagKeysCommandOutput, import("..").ResourceGroupsTaggingAPIClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [GetTagKeysCommandInput]): import("@smithy/core/client").CommandImpl<GetTagKeysCommandInput, GetTagKeysCommandOutput, import("..").ResourceGroupsTaggingAPIClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns all tag keys currently in use in the specified Amazon Web Services Region for the calling
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { GetTagValuesInput, GetTagValuesOutput } from "../models/models_0";
4
- import type { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
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 GetTagValuesCommandInput extends GetTagValuesInput {
22
19
  export interface GetTagValuesCommandOutput extends GetTagValuesOutput, __MetadataBearer {
23
20
  }
24
21
  declare const GetTagValuesCommand_base: {
25
- new (input: GetTagValuesCommandInput): import("@smithy/core/client").CommandImpl<GetTagValuesCommandInput, GetTagValuesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: GetTagValuesCommandInput): import("@smithy/core/client").CommandImpl<GetTagValuesCommandInput, GetTagValuesCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: GetTagValuesCommandInput): import("@smithy/core/client").CommandImpl<GetTagValuesCommandInput, GetTagValuesCommandOutput, import("..").ResourceGroupsTaggingAPIClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetTagValuesCommandInput): import("@smithy/core/client").CommandImpl<GetTagValuesCommandInput, GetTagValuesCommandOutput, import("..").ResourceGroupsTaggingAPIClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Returns all tag values for the specified key that are used in the specified Amazon Web Services
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { ListRequiredTagsInput, ListRequiredTagsOutput } from "../models/models_0";
4
- import type { ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ResourceGroupsTaggingAPIClient";
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 ListRequiredTagsCommandInput extends ListRequiredTagsInput {
22
19
  export interface ListRequiredTagsCommandOutput extends ListRequiredTagsOutput, __MetadataBearer {
23
20
  }
24
21
  declare const ListRequiredTagsCommand_base: {
25
- new (input: ListRequiredTagsCommandInput): import("@smithy/core/client").CommandImpl<ListRequiredTagsCommandInput, ListRequiredTagsCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [ListRequiredTagsCommandInput]): import("@smithy/core/client").CommandImpl<ListRequiredTagsCommandInput, ListRequiredTagsCommandOutput, ResourceGroupsTaggingAPIClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: ListRequiredTagsCommandInput): import("@smithy/core/client").CommandImpl<ListRequiredTagsCommandInput, ListRequiredTagsCommandOutput, import("..").ResourceGroupsTaggingAPIClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListRequiredTagsCommandInput]): import("@smithy/core/client").CommandImpl<ListRequiredTagsCommandInput, ListRequiredTagsCommandOutput, import("..").ResourceGroupsTaggingAPIClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Lists the required tags for supported resource types in an Amazon Web Services account.</p>