@aws-sdk/client-resource-groups-tagging-api 3.35.0 → 3.36.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 (126) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/ResourceGroupsTaggingAPI.js +0 -1
  3. package/dist-cjs/ResourceGroupsTaggingAPIClient.js +0 -1
  4. package/dist-cjs/commands/DescribeReportCreationCommand.js +0 -1
  5. package/dist-cjs/commands/GetComplianceSummaryCommand.js +0 -1
  6. package/dist-cjs/commands/GetResourcesCommand.js +0 -1
  7. package/dist-cjs/commands/GetTagKeysCommand.js +0 -1
  8. package/dist-cjs/commands/GetTagValuesCommand.js +0 -1
  9. package/dist-cjs/commands/StartReportCreationCommand.js +0 -1
  10. package/dist-cjs/commands/TagResourcesCommand.js +0 -1
  11. package/dist-cjs/commands/UntagResourcesCommand.js +0 -1
  12. package/dist-cjs/endpoints.js +0 -1
  13. package/dist-cjs/index.js +0 -1
  14. package/dist-cjs/models/index.js +0 -1
  15. package/dist-cjs/models/models_0.js +0 -1
  16. package/dist-cjs/pagination/GetComplianceSummaryPaginator.js +0 -1
  17. package/dist-cjs/pagination/GetResourcesPaginator.js +0 -1
  18. package/dist-cjs/pagination/GetTagKeysPaginator.js +0 -1
  19. package/dist-cjs/pagination/GetTagValuesPaginator.js +0 -1
  20. package/dist-cjs/pagination/Interfaces.js +0 -1
  21. package/dist-cjs/protocols/Aws_json1_1.js +0 -1
  22. package/dist-cjs/runtimeConfig.browser.js +2 -3
  23. package/dist-cjs/runtimeConfig.js +3 -4
  24. package/dist-cjs/runtimeConfig.native.js +0 -1
  25. package/dist-cjs/runtimeConfig.shared.js +0 -1
  26. package/dist-es/ResourceGroupsTaggingAPI.js +0 -1
  27. package/dist-es/ResourceGroupsTaggingAPIClient.js +0 -1
  28. package/dist-es/commands/DescribeReportCreationCommand.js +0 -1
  29. package/dist-es/commands/GetComplianceSummaryCommand.js +0 -1
  30. package/dist-es/commands/GetResourcesCommand.js +0 -1
  31. package/dist-es/commands/GetTagKeysCommand.js +0 -1
  32. package/dist-es/commands/GetTagValuesCommand.js +0 -1
  33. package/dist-es/commands/StartReportCreationCommand.js +0 -1
  34. package/dist-es/commands/TagResourcesCommand.js +0 -1
  35. package/dist-es/commands/UntagResourcesCommand.js +0 -1
  36. package/dist-es/endpoints.js +0 -1
  37. package/dist-es/index.js +0 -1
  38. package/dist-es/models/index.js +0 -1
  39. package/dist-es/models/models_0.js +0 -1
  40. package/dist-es/pagination/GetComplianceSummaryPaginator.js +0 -1
  41. package/dist-es/pagination/GetResourcesPaginator.js +0 -1
  42. package/dist-es/pagination/GetTagKeysPaginator.js +0 -1
  43. package/dist-es/pagination/GetTagValuesPaginator.js +0 -1
  44. package/dist-es/pagination/Interfaces.js +0 -1
  45. package/dist-es/protocols/Aws_json1_1.js +0 -1
  46. package/dist-es/runtimeConfig.browser.js +1 -2
  47. package/dist-es/runtimeConfig.js +2 -3
  48. package/dist-es/runtimeConfig.native.js +0 -1
  49. package/dist-es/runtimeConfig.shared.js +0 -1
  50. package/package.json +33 -30
  51. package/dist-cjs/ResourceGroupsTaggingAPI.js.map +0 -1
  52. package/dist-cjs/ResourceGroupsTaggingAPIClient.js.map +0 -1
  53. package/dist-cjs/commands/DescribeReportCreationCommand.js.map +0 -1
  54. package/dist-cjs/commands/GetComplianceSummaryCommand.js.map +0 -1
  55. package/dist-cjs/commands/GetResourcesCommand.js.map +0 -1
  56. package/dist-cjs/commands/GetTagKeysCommand.js.map +0 -1
  57. package/dist-cjs/commands/GetTagValuesCommand.js.map +0 -1
  58. package/dist-cjs/commands/StartReportCreationCommand.js.map +0 -1
  59. package/dist-cjs/commands/TagResourcesCommand.js.map +0 -1
  60. package/dist-cjs/commands/UntagResourcesCommand.js.map +0 -1
  61. package/dist-cjs/endpoints.js.map +0 -1
  62. package/dist-cjs/index.js.map +0 -1
  63. package/dist-cjs/models/index.js.map +0 -1
  64. package/dist-cjs/models/models_0.js.map +0 -1
  65. package/dist-cjs/pagination/GetComplianceSummaryPaginator.js.map +0 -1
  66. package/dist-cjs/pagination/GetResourcesPaginator.js.map +0 -1
  67. package/dist-cjs/pagination/GetTagKeysPaginator.js.map +0 -1
  68. package/dist-cjs/pagination/GetTagValuesPaginator.js.map +0 -1
  69. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  70. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  71. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  72. package/dist-cjs/runtimeConfig.js.map +0 -1
  73. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  74. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  75. package/dist-es/ResourceGroupsTaggingAPI.js.map +0 -1
  76. package/dist-es/ResourceGroupsTaggingAPIClient.js.map +0 -1
  77. package/dist-es/commands/DescribeReportCreationCommand.js.map +0 -1
  78. package/dist-es/commands/GetComplianceSummaryCommand.js.map +0 -1
  79. package/dist-es/commands/GetResourcesCommand.js.map +0 -1
  80. package/dist-es/commands/GetTagKeysCommand.js.map +0 -1
  81. package/dist-es/commands/GetTagValuesCommand.js.map +0 -1
  82. package/dist-es/commands/StartReportCreationCommand.js.map +0 -1
  83. package/dist-es/commands/TagResourcesCommand.js.map +0 -1
  84. package/dist-es/commands/UntagResourcesCommand.js.map +0 -1
  85. package/dist-es/endpoints.js.map +0 -1
  86. package/dist-es/index.js.map +0 -1
  87. package/dist-es/models/index.js.map +0 -1
  88. package/dist-es/models/models_0.js.map +0 -1
  89. package/dist-es/pagination/GetComplianceSummaryPaginator.js.map +0 -1
  90. package/dist-es/pagination/GetResourcesPaginator.js.map +0 -1
  91. package/dist-es/pagination/GetTagKeysPaginator.js.map +0 -1
  92. package/dist-es/pagination/GetTagValuesPaginator.js.map +0 -1
  93. package/dist-es/pagination/Interfaces.js.map +0 -1
  94. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  95. package/dist-es/runtimeConfig.browser.js.map +0 -1
  96. package/dist-es/runtimeConfig.js.map +0 -1
  97. package/dist-es/runtimeConfig.native.js.map +0 -1
  98. package/dist-es/runtimeConfig.shared.js.map +0 -1
  99. package/jest.config.js +0 -4
  100. package/src/ResourceGroupsTaggingAPI.ts +0 -386
  101. package/src/ResourceGroupsTaggingAPIClient.ts +0 -270
  102. package/src/commands/DescribeReportCreationCommand.ts +0 -101
  103. package/src/commands/GetComplianceSummaryCommand.ts +0 -111
  104. package/src/commands/GetResourcesCommand.ts +0 -122
  105. package/src/commands/GetTagKeysCommand.ts +0 -106
  106. package/src/commands/GetTagValuesCommand.ts +0 -106
  107. package/src/commands/StartReportCreationCommand.ts +0 -107
  108. package/src/commands/TagResourcesCommand.ts +0 -126
  109. package/src/commands/UntagResourcesCommand.ts +0 -114
  110. package/src/endpoints.ts +0 -57
  111. package/src/index.ts +0 -16
  112. package/src/models/index.ts +0 -1
  113. package/src/models/models_0.ts +0 -947
  114. package/src/pagination/GetComplianceSummaryPaginator.ts +0 -59
  115. package/src/pagination/GetResourcesPaginator.ts +0 -59
  116. package/src/pagination/GetTagKeysPaginator.ts +0 -54
  117. package/src/pagination/GetTagValuesPaginator.ts +0 -58
  118. package/src/pagination/Interfaces.ts +0 -8
  119. package/src/protocols/Aws_json1_1.ts +0 -1449
  120. package/src/runtimeConfig.browser.ts +0 -41
  121. package/src/runtimeConfig.native.ts +0 -17
  122. package/src/runtimeConfig.shared.ts +0 -17
  123. package/src/runtimeConfig.ts +0 -46
  124. package/tsconfig.es.json +0 -10
  125. package/tsconfig.json +0 -33
  126. package/tsconfig.types.json +0 -9
@@ -1,101 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeReportCreationInput, DescribeReportCreationOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1DescribeReportCreationCommand,
17
- serializeAws_json1_1DescribeReportCreationCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import {
20
- ResourceGroupsTaggingAPIClientResolvedConfig,
21
- ServiceInputTypes,
22
- ServiceOutputTypes,
23
- } from "../ResourceGroupsTaggingAPIClient";
24
-
25
- export interface DescribeReportCreationCommandInput extends DescribeReportCreationInput {}
26
- export interface DescribeReportCreationCommandOutput extends DescribeReportCreationOutput, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Describes the status of the <code>StartReportCreation</code> operation. </p>
30
- * <p>You can call this operation only from the organization's
31
- * management account and from the us-east-1 Region.</p>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { ResourceGroupsTaggingAPIClient, DescribeReportCreationCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
36
- * // const { ResourceGroupsTaggingAPIClient, DescribeReportCreationCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
37
- * const client = new ResourceGroupsTaggingAPIClient(config);
38
- * const command = new DescribeReportCreationCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link DescribeReportCreationCommandInput} for command's `input` shape.
43
- * @see {@link DescribeReportCreationCommandOutput} for command's `response` shape.
44
- * @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
- export class DescribeReportCreationCommand extends $Command<
48
- DescribeReportCreationCommandInput,
49
- DescribeReportCreationCommandOutput,
50
- ResourceGroupsTaggingAPIClientResolvedConfig
51
- > {
52
- // Start section: command_properties
53
- // End section: command_properties
54
-
55
- constructor(readonly input: DescribeReportCreationCommandInput) {
56
- // Start section: command_constructor
57
- super();
58
- // End section: command_constructor
59
- }
60
-
61
- /**
62
- * @internal
63
- */
64
- resolveMiddleware(
65
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
66
- configuration: ResourceGroupsTaggingAPIClientResolvedConfig,
67
- options?: __HttpHandlerOptions
68
- ): Handler<DescribeReportCreationCommandInput, DescribeReportCreationCommandOutput> {
69
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
70
-
71
- const stack = clientStack.concat(this.middlewareStack);
72
-
73
- const { logger } = configuration;
74
- const clientName = "ResourceGroupsTaggingAPIClient";
75
- const commandName = "DescribeReportCreationCommand";
76
- const handlerExecutionContext: HandlerExecutionContext = {
77
- logger,
78
- clientName,
79
- commandName,
80
- inputFilterSensitiveLog: DescribeReportCreationInput.filterSensitiveLog,
81
- outputFilterSensitiveLog: DescribeReportCreationOutput.filterSensitiveLog,
82
- };
83
- const { requestHandler } = configuration;
84
- return stack.resolve(
85
- (request: FinalizeHandlerArguments<any>) =>
86
- requestHandler.handle(request.request as __HttpRequest, options || {}),
87
- handlerExecutionContext
88
- );
89
- }
90
-
91
- private serialize(input: DescribeReportCreationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
92
- return serializeAws_json1_1DescribeReportCreationCommand(input, context);
93
- }
94
-
95
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeReportCreationCommandOutput> {
96
- return deserializeAws_json1_1DescribeReportCreationCommand(output, context);
97
- }
98
-
99
- // Start section: command_body_extra
100
- // End section: command_body_extra
101
- }
@@ -1,111 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GetComplianceSummaryInput, GetComplianceSummaryOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1GetComplianceSummaryCommand,
17
- serializeAws_json1_1GetComplianceSummaryCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import {
20
- ResourceGroupsTaggingAPIClientResolvedConfig,
21
- ServiceInputTypes,
22
- ServiceOutputTypes,
23
- } from "../ResourceGroupsTaggingAPIClient";
24
-
25
- export interface GetComplianceSummaryCommandInput extends GetComplianceSummaryInput {}
26
- export interface GetComplianceSummaryCommandOutput extends GetComplianceSummaryOutput, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Returns a table that shows counts of resources that are noncompliant with their tag
30
- * policies.</p>
31
- * <p>For more information on tag policies, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html">Tag Policies</a> in
32
- * the <i>AWS Organizations User Guide.</i>
33
- * </p>
34
- * <p>You can call this operation only from the organization's
35
- * management account and from the us-east-1 Region.</p>
36
- * <p>This operation supports pagination, where the response can be sent in
37
- * multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
38
- * if there are additional results available to return. Repeat the query, passing the
39
- * <code>PaginationToken</code> response parameter value as an input to the next request until you
40
- * recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
41
- * there are no more results waiting to be returned.</p>
42
- * @example
43
- * Use a bare-bones client and the command you need to make an API call.
44
- * ```javascript
45
- * import { ResourceGroupsTaggingAPIClient, GetComplianceSummaryCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
46
- * // const { ResourceGroupsTaggingAPIClient, GetComplianceSummaryCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
47
- * const client = new ResourceGroupsTaggingAPIClient(config);
48
- * const command = new GetComplianceSummaryCommand(input);
49
- * const response = await client.send(command);
50
- * ```
51
- *
52
- * @see {@link GetComplianceSummaryCommandInput} for command's `input` shape.
53
- * @see {@link GetComplianceSummaryCommandOutput} for command's `response` shape.
54
- * @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
55
- *
56
- */
57
- export class GetComplianceSummaryCommand extends $Command<
58
- GetComplianceSummaryCommandInput,
59
- GetComplianceSummaryCommandOutput,
60
- ResourceGroupsTaggingAPIClientResolvedConfig
61
- > {
62
- // Start section: command_properties
63
- // End section: command_properties
64
-
65
- constructor(readonly input: GetComplianceSummaryCommandInput) {
66
- // Start section: command_constructor
67
- super();
68
- // End section: command_constructor
69
- }
70
-
71
- /**
72
- * @internal
73
- */
74
- resolveMiddleware(
75
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
76
- configuration: ResourceGroupsTaggingAPIClientResolvedConfig,
77
- options?: __HttpHandlerOptions
78
- ): Handler<GetComplianceSummaryCommandInput, GetComplianceSummaryCommandOutput> {
79
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
80
-
81
- const stack = clientStack.concat(this.middlewareStack);
82
-
83
- const { logger } = configuration;
84
- const clientName = "ResourceGroupsTaggingAPIClient";
85
- const commandName = "GetComplianceSummaryCommand";
86
- const handlerExecutionContext: HandlerExecutionContext = {
87
- logger,
88
- clientName,
89
- commandName,
90
- inputFilterSensitiveLog: GetComplianceSummaryInput.filterSensitiveLog,
91
- outputFilterSensitiveLog: GetComplianceSummaryOutput.filterSensitiveLog,
92
- };
93
- const { requestHandler } = configuration;
94
- return stack.resolve(
95
- (request: FinalizeHandlerArguments<any>) =>
96
- requestHandler.handle(request.request as __HttpRequest, options || {}),
97
- handlerExecutionContext
98
- );
99
- }
100
-
101
- private serialize(input: GetComplianceSummaryCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
102
- return serializeAws_json1_1GetComplianceSummaryCommand(input, context);
103
- }
104
-
105
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetComplianceSummaryCommandOutput> {
106
- return deserializeAws_json1_1GetComplianceSummaryCommand(output, context);
107
- }
108
-
109
- // Start section: command_body_extra
110
- // End section: command_body_extra
111
- }
@@ -1,122 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GetResourcesInput, GetResourcesOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1GetResourcesCommand,
17
- serializeAws_json1_1GetResourcesCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import {
20
- ResourceGroupsTaggingAPIClientResolvedConfig,
21
- ServiceInputTypes,
22
- ServiceOutputTypes,
23
- } from "../ResourceGroupsTaggingAPIClient";
24
-
25
- export interface GetResourcesCommandInput extends GetResourcesInput {}
26
- export interface GetResourcesCommandOutput extends GetResourcesOutput, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Returns all the tagged or previously tagged resources that are located in the
30
- * specified Region for the AWS account.</p>
31
- * <p>Depending on what information you want returned, you can also specify the
32
- * following:</p>
33
- * <ul>
34
- * <li>
35
- * <p>
36
- * <i>Filters</i> that specify what tags and resource types you
37
- * want returned. The response includes all tags that are associated with the
38
- * requested resources.</p>
39
- * </li>
40
- * <li>
41
- * <p>Information about compliance with the account's effective tag policy. For more
42
- * information on tag policies, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html">Tag
43
- * Policies</a> in the <i>AWS Organizations User Guide.</i>
44
- * </p>
45
- * </li>
46
- * </ul>
47
- * <p>This operation supports pagination, where the response can be sent in
48
- * multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
49
- * if there are additional results available to return. Repeat the query, passing the
50
- * <code>PaginationToken</code> response parameter value as an input to the next request until you
51
- * recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
52
- * there are no more results waiting to be returned.</p>
53
- * @example
54
- * Use a bare-bones client and the command you need to make an API call.
55
- * ```javascript
56
- * import { ResourceGroupsTaggingAPIClient, GetResourcesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
57
- * // const { ResourceGroupsTaggingAPIClient, GetResourcesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
58
- * const client = new ResourceGroupsTaggingAPIClient(config);
59
- * const command = new GetResourcesCommand(input);
60
- * const response = await client.send(command);
61
- * ```
62
- *
63
- * @see {@link GetResourcesCommandInput} for command's `input` shape.
64
- * @see {@link GetResourcesCommandOutput} for command's `response` shape.
65
- * @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
66
- *
67
- */
68
- export class GetResourcesCommand extends $Command<
69
- GetResourcesCommandInput,
70
- GetResourcesCommandOutput,
71
- ResourceGroupsTaggingAPIClientResolvedConfig
72
- > {
73
- // Start section: command_properties
74
- // End section: command_properties
75
-
76
- constructor(readonly input: GetResourcesCommandInput) {
77
- // Start section: command_constructor
78
- super();
79
- // End section: command_constructor
80
- }
81
-
82
- /**
83
- * @internal
84
- */
85
- resolveMiddleware(
86
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
87
- configuration: ResourceGroupsTaggingAPIClientResolvedConfig,
88
- options?: __HttpHandlerOptions
89
- ): Handler<GetResourcesCommandInput, GetResourcesCommandOutput> {
90
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
91
-
92
- const stack = clientStack.concat(this.middlewareStack);
93
-
94
- const { logger } = configuration;
95
- const clientName = "ResourceGroupsTaggingAPIClient";
96
- const commandName = "GetResourcesCommand";
97
- const handlerExecutionContext: HandlerExecutionContext = {
98
- logger,
99
- clientName,
100
- commandName,
101
- inputFilterSensitiveLog: GetResourcesInput.filterSensitiveLog,
102
- outputFilterSensitiveLog: GetResourcesOutput.filterSensitiveLog,
103
- };
104
- const { requestHandler } = configuration;
105
- return stack.resolve(
106
- (request: FinalizeHandlerArguments<any>) =>
107
- requestHandler.handle(request.request as __HttpRequest, options || {}),
108
- handlerExecutionContext
109
- );
110
- }
111
-
112
- private serialize(input: GetResourcesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
113
- return serializeAws_json1_1GetResourcesCommand(input, context);
114
- }
115
-
116
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetResourcesCommandOutput> {
117
- return deserializeAws_json1_1GetResourcesCommand(output, context);
118
- }
119
-
120
- // Start section: command_body_extra
121
- // End section: command_body_extra
122
- }
@@ -1,106 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GetTagKeysInput, GetTagKeysOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1GetTagKeysCommand,
17
- serializeAws_json1_1GetTagKeysCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import {
20
- ResourceGroupsTaggingAPIClientResolvedConfig,
21
- ServiceInputTypes,
22
- ServiceOutputTypes,
23
- } from "../ResourceGroupsTaggingAPIClient";
24
-
25
- export interface GetTagKeysCommandInput extends GetTagKeysInput {}
26
- export interface GetTagKeysCommandOutput extends GetTagKeysOutput, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Returns all tag keys currently in use in the specified Region for the calling AWS
30
- * account.</p>
31
- * <p>This operation supports pagination, where the response can be sent in
32
- * multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
33
- * if there are additional results available to return. Repeat the query, passing the
34
- * <code>PaginationToken</code> response parameter value as an input to the next request until you
35
- * recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
36
- * there are no more results waiting to be returned.</p>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { ResourceGroupsTaggingAPIClient, GetTagKeysCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
41
- * // const { ResourceGroupsTaggingAPIClient, GetTagKeysCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
42
- * const client = new ResourceGroupsTaggingAPIClient(config);
43
- * const command = new GetTagKeysCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link GetTagKeysCommandInput} for command's `input` shape.
48
- * @see {@link GetTagKeysCommandOutput} for command's `response` shape.
49
- * @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
- export class GetTagKeysCommand extends $Command<
53
- GetTagKeysCommandInput,
54
- GetTagKeysCommandOutput,
55
- ResourceGroupsTaggingAPIClientResolvedConfig
56
- > {
57
- // Start section: command_properties
58
- // End section: command_properties
59
-
60
- constructor(readonly input: GetTagKeysCommandInput) {
61
- // Start section: command_constructor
62
- super();
63
- // End section: command_constructor
64
- }
65
-
66
- /**
67
- * @internal
68
- */
69
- resolveMiddleware(
70
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
71
- configuration: ResourceGroupsTaggingAPIClientResolvedConfig,
72
- options?: __HttpHandlerOptions
73
- ): Handler<GetTagKeysCommandInput, GetTagKeysCommandOutput> {
74
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
75
-
76
- const stack = clientStack.concat(this.middlewareStack);
77
-
78
- const { logger } = configuration;
79
- const clientName = "ResourceGroupsTaggingAPIClient";
80
- const commandName = "GetTagKeysCommand";
81
- const handlerExecutionContext: HandlerExecutionContext = {
82
- logger,
83
- clientName,
84
- commandName,
85
- inputFilterSensitiveLog: GetTagKeysInput.filterSensitiveLog,
86
- outputFilterSensitiveLog: GetTagKeysOutput.filterSensitiveLog,
87
- };
88
- const { requestHandler } = configuration;
89
- return stack.resolve(
90
- (request: FinalizeHandlerArguments<any>) =>
91
- requestHandler.handle(request.request as __HttpRequest, options || {}),
92
- handlerExecutionContext
93
- );
94
- }
95
-
96
- private serialize(input: GetTagKeysCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
97
- return serializeAws_json1_1GetTagKeysCommand(input, context);
98
- }
99
-
100
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetTagKeysCommandOutput> {
101
- return deserializeAws_json1_1GetTagKeysCommand(output, context);
102
- }
103
-
104
- // Start section: command_body_extra
105
- // End section: command_body_extra
106
- }
@@ -1,106 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GetTagValuesInput, GetTagValuesOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1GetTagValuesCommand,
17
- serializeAws_json1_1GetTagValuesCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import {
20
- ResourceGroupsTaggingAPIClientResolvedConfig,
21
- ServiceInputTypes,
22
- ServiceOutputTypes,
23
- } from "../ResourceGroupsTaggingAPIClient";
24
-
25
- export interface GetTagValuesCommandInput extends GetTagValuesInput {}
26
- export interface GetTagValuesCommandOutput extends GetTagValuesOutput, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Returns all tag values for the specified key that are used in the specified AWS
30
- * Region for the calling AWS account.</p>
31
- * <p>This operation supports pagination, where the response can be sent in
32
- * multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
33
- * if there are additional results available to return. Repeat the query, passing the
34
- * <code>PaginationToken</code> response parameter value as an input to the next request until you
35
- * recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
36
- * there are no more results waiting to be returned.</p>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { ResourceGroupsTaggingAPIClient, GetTagValuesCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
41
- * // const { ResourceGroupsTaggingAPIClient, GetTagValuesCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
42
- * const client = new ResourceGroupsTaggingAPIClient(config);
43
- * const command = new GetTagValuesCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link GetTagValuesCommandInput} for command's `input` shape.
48
- * @see {@link GetTagValuesCommandOutput} for command's `response` shape.
49
- * @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
- export class GetTagValuesCommand extends $Command<
53
- GetTagValuesCommandInput,
54
- GetTagValuesCommandOutput,
55
- ResourceGroupsTaggingAPIClientResolvedConfig
56
- > {
57
- // Start section: command_properties
58
- // End section: command_properties
59
-
60
- constructor(readonly input: GetTagValuesCommandInput) {
61
- // Start section: command_constructor
62
- super();
63
- // End section: command_constructor
64
- }
65
-
66
- /**
67
- * @internal
68
- */
69
- resolveMiddleware(
70
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
71
- configuration: ResourceGroupsTaggingAPIClientResolvedConfig,
72
- options?: __HttpHandlerOptions
73
- ): Handler<GetTagValuesCommandInput, GetTagValuesCommandOutput> {
74
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
75
-
76
- const stack = clientStack.concat(this.middlewareStack);
77
-
78
- const { logger } = configuration;
79
- const clientName = "ResourceGroupsTaggingAPIClient";
80
- const commandName = "GetTagValuesCommand";
81
- const handlerExecutionContext: HandlerExecutionContext = {
82
- logger,
83
- clientName,
84
- commandName,
85
- inputFilterSensitiveLog: GetTagValuesInput.filterSensitiveLog,
86
- outputFilterSensitiveLog: GetTagValuesOutput.filterSensitiveLog,
87
- };
88
- const { requestHandler } = configuration;
89
- return stack.resolve(
90
- (request: FinalizeHandlerArguments<any>) =>
91
- requestHandler.handle(request.request as __HttpRequest, options || {}),
92
- handlerExecutionContext
93
- );
94
- }
95
-
96
- private serialize(input: GetTagValuesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
97
- return serializeAws_json1_1GetTagValuesCommand(input, context);
98
- }
99
-
100
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetTagValuesCommandOutput> {
101
- return deserializeAws_json1_1GetTagValuesCommand(output, context);
102
- }
103
-
104
- // Start section: command_body_extra
105
- // End section: command_body_extra
106
- }
@@ -1,107 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { StartReportCreationInput, StartReportCreationOutput } from "../models/models_0";
15
- import {
16
- deserializeAws_json1_1StartReportCreationCommand,
17
- serializeAws_json1_1StartReportCreationCommand,
18
- } from "../protocols/Aws_json1_1";
19
- import {
20
- ResourceGroupsTaggingAPIClientResolvedConfig,
21
- ServiceInputTypes,
22
- ServiceOutputTypes,
23
- } from "../ResourceGroupsTaggingAPIClient";
24
-
25
- export interface StartReportCreationCommandInput extends StartReportCreationInput {}
26
- export interface StartReportCreationCommandOutput extends StartReportCreationOutput, __MetadataBearer {}
27
-
28
- /**
29
- * <p>Generates a report that lists all tagged resources in the accounts across your
30
- * organization and tells whether each resource is compliant with the effective tag policy.
31
- * Compliance data is refreshed daily. The report is generated asynchronously.</p>
32
- * <p>The generated report is saved to the following location:</p>
33
- * <p>
34
- * <code>s3://example-bucket/AwsTagPolicies/o-exampleorgid/YYYY-MM-ddTHH:mm:ssZ/report.csv</code>
35
- * </p>
36
- * <p>You can call this operation only from the organization's
37
- * management account and from the us-east-1 Region.</p>
38
- * @example
39
- * Use a bare-bones client and the command you need to make an API call.
40
- * ```javascript
41
- * import { ResourceGroupsTaggingAPIClient, StartReportCreationCommand } from "@aws-sdk/client-resource-groups-tagging-api"; // ES Modules import
42
- * // const { ResourceGroupsTaggingAPIClient, StartReportCreationCommand } = require("@aws-sdk/client-resource-groups-tagging-api"); // CommonJS import
43
- * const client = new ResourceGroupsTaggingAPIClient(config);
44
- * const command = new StartReportCreationCommand(input);
45
- * const response = await client.send(command);
46
- * ```
47
- *
48
- * @see {@link StartReportCreationCommandInput} for command's `input` shape.
49
- * @see {@link StartReportCreationCommandOutput} for command's `response` shape.
50
- * @see {@link ResourceGroupsTaggingAPIClientResolvedConfig | config} for command's `input` shape.
51
- *
52
- */
53
- export class StartReportCreationCommand extends $Command<
54
- StartReportCreationCommandInput,
55
- StartReportCreationCommandOutput,
56
- ResourceGroupsTaggingAPIClientResolvedConfig
57
- > {
58
- // Start section: command_properties
59
- // End section: command_properties
60
-
61
- constructor(readonly input: StartReportCreationCommandInput) {
62
- // Start section: command_constructor
63
- super();
64
- // End section: command_constructor
65
- }
66
-
67
- /**
68
- * @internal
69
- */
70
- resolveMiddleware(
71
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
72
- configuration: ResourceGroupsTaggingAPIClientResolvedConfig,
73
- options?: __HttpHandlerOptions
74
- ): Handler<StartReportCreationCommandInput, StartReportCreationCommandOutput> {
75
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
76
-
77
- const stack = clientStack.concat(this.middlewareStack);
78
-
79
- const { logger } = configuration;
80
- const clientName = "ResourceGroupsTaggingAPIClient";
81
- const commandName = "StartReportCreationCommand";
82
- const handlerExecutionContext: HandlerExecutionContext = {
83
- logger,
84
- clientName,
85
- commandName,
86
- inputFilterSensitiveLog: StartReportCreationInput.filterSensitiveLog,
87
- outputFilterSensitiveLog: StartReportCreationOutput.filterSensitiveLog,
88
- };
89
- const { requestHandler } = configuration;
90
- return stack.resolve(
91
- (request: FinalizeHandlerArguments<any>) =>
92
- requestHandler.handle(request.request as __HttpRequest, options || {}),
93
- handlerExecutionContext
94
- );
95
- }
96
-
97
- private serialize(input: StartReportCreationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
98
- return serializeAws_json1_1StartReportCreationCommand(input, context);
99
- }
100
-
101
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartReportCreationCommandOutput> {
102
- return deserializeAws_json1_1StartReportCreationCommand(output, context);
103
- }
104
-
105
- // Start section: command_body_extra
106
- // End section: command_body_extra
107
- }