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