@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,385 +0,0 @@
|
|
|
1
|
-
import { ResourceGroupsTaggingAPIClient } from "./ResourceGroupsTaggingAPIClient";
|
|
2
|
-
import {
|
|
3
|
-
DescribeReportCreationCommand,
|
|
4
|
-
DescribeReportCreationCommandInput,
|
|
5
|
-
DescribeReportCreationCommandOutput,
|
|
6
|
-
} from "./commands/DescribeReportCreationCommand";
|
|
7
|
-
import {
|
|
8
|
-
GetComplianceSummaryCommand,
|
|
9
|
-
GetComplianceSummaryCommandInput,
|
|
10
|
-
GetComplianceSummaryCommandOutput,
|
|
11
|
-
} from "./commands/GetComplianceSummaryCommand";
|
|
12
|
-
import {
|
|
13
|
-
GetResourcesCommand,
|
|
14
|
-
GetResourcesCommandInput,
|
|
15
|
-
GetResourcesCommandOutput,
|
|
16
|
-
} from "./commands/GetResourcesCommand";
|
|
17
|
-
import { GetTagKeysCommand, GetTagKeysCommandInput, GetTagKeysCommandOutput } from "./commands/GetTagKeysCommand";
|
|
18
|
-
import {
|
|
19
|
-
GetTagValuesCommand,
|
|
20
|
-
GetTagValuesCommandInput,
|
|
21
|
-
GetTagValuesCommandOutput,
|
|
22
|
-
} from "./commands/GetTagValuesCommand";
|
|
23
|
-
import {
|
|
24
|
-
StartReportCreationCommand,
|
|
25
|
-
StartReportCreationCommandInput,
|
|
26
|
-
StartReportCreationCommandOutput,
|
|
27
|
-
} from "./commands/StartReportCreationCommand";
|
|
28
|
-
import {
|
|
29
|
-
TagResourcesCommand,
|
|
30
|
-
TagResourcesCommandInput,
|
|
31
|
-
TagResourcesCommandOutput,
|
|
32
|
-
} from "./commands/TagResourcesCommand";
|
|
33
|
-
import {
|
|
34
|
-
UntagResourcesCommand,
|
|
35
|
-
UntagResourcesCommandInput,
|
|
36
|
-
UntagResourcesCommandOutput,
|
|
37
|
-
} from "./commands/UntagResourcesCommand";
|
|
38
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* <fullname>Resource Groups Tagging API</fullname>
|
|
42
|
-
*/
|
|
43
|
-
export class ResourceGroupsTaggingAPI extends ResourceGroupsTaggingAPIClient {
|
|
44
|
-
/**
|
|
45
|
-
* <p>Describes the status of the <code>StartReportCreation</code> operation. </p>
|
|
46
|
-
* <p>You can call this operation only from the organization's
|
|
47
|
-
* management account and from the us-east-1 Region.</p>
|
|
48
|
-
*/
|
|
49
|
-
public describeReportCreation(
|
|
50
|
-
args: DescribeReportCreationCommandInput,
|
|
51
|
-
options?: __HttpHandlerOptions
|
|
52
|
-
): Promise<DescribeReportCreationCommandOutput>;
|
|
53
|
-
public describeReportCreation(
|
|
54
|
-
args: DescribeReportCreationCommandInput,
|
|
55
|
-
cb: (err: any, data?: DescribeReportCreationCommandOutput) => void
|
|
56
|
-
): void;
|
|
57
|
-
public describeReportCreation(
|
|
58
|
-
args: DescribeReportCreationCommandInput,
|
|
59
|
-
options: __HttpHandlerOptions,
|
|
60
|
-
cb: (err: any, data?: DescribeReportCreationCommandOutput) => void
|
|
61
|
-
): void;
|
|
62
|
-
public describeReportCreation(
|
|
63
|
-
args: DescribeReportCreationCommandInput,
|
|
64
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeReportCreationCommandOutput) => void),
|
|
65
|
-
cb?: (err: any, data?: DescribeReportCreationCommandOutput) => void
|
|
66
|
-
): Promise<DescribeReportCreationCommandOutput> | void {
|
|
67
|
-
const command = new DescribeReportCreationCommand(args);
|
|
68
|
-
if (typeof optionsOrCb === "function") {
|
|
69
|
-
this.send(command, optionsOrCb);
|
|
70
|
-
} else if (typeof cb === "function") {
|
|
71
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
72
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
73
|
-
} else {
|
|
74
|
-
return this.send(command, optionsOrCb);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* <p>Returns a table that shows counts of resources that are noncompliant with their tag
|
|
80
|
-
* policies.</p>
|
|
81
|
-
* <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
|
|
82
|
-
* the <i>AWS Organizations User Guide.</i>
|
|
83
|
-
* </p>
|
|
84
|
-
* <p>You can call this operation only from the organization's
|
|
85
|
-
* management account and from the us-east-1 Region.</p>
|
|
86
|
-
* <p>This operation supports pagination, where the response can be sent in
|
|
87
|
-
* multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
|
|
88
|
-
* if there are additional results available to return. Repeat the query, passing the
|
|
89
|
-
* <code>PaginationToken</code> response parameter value as an input to the next request until you
|
|
90
|
-
* recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
|
|
91
|
-
* there are no more results waiting to be returned.</p>
|
|
92
|
-
*/
|
|
93
|
-
public getComplianceSummary(
|
|
94
|
-
args: GetComplianceSummaryCommandInput,
|
|
95
|
-
options?: __HttpHandlerOptions
|
|
96
|
-
): Promise<GetComplianceSummaryCommandOutput>;
|
|
97
|
-
public getComplianceSummary(
|
|
98
|
-
args: GetComplianceSummaryCommandInput,
|
|
99
|
-
cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void
|
|
100
|
-
): void;
|
|
101
|
-
public getComplianceSummary(
|
|
102
|
-
args: GetComplianceSummaryCommandInput,
|
|
103
|
-
options: __HttpHandlerOptions,
|
|
104
|
-
cb: (err: any, data?: GetComplianceSummaryCommandOutput) => void
|
|
105
|
-
): void;
|
|
106
|
-
public getComplianceSummary(
|
|
107
|
-
args: GetComplianceSummaryCommandInput,
|
|
108
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetComplianceSummaryCommandOutput) => void),
|
|
109
|
-
cb?: (err: any, data?: GetComplianceSummaryCommandOutput) => void
|
|
110
|
-
): Promise<GetComplianceSummaryCommandOutput> | void {
|
|
111
|
-
const command = new GetComplianceSummaryCommand(args);
|
|
112
|
-
if (typeof optionsOrCb === "function") {
|
|
113
|
-
this.send(command, optionsOrCb);
|
|
114
|
-
} else if (typeof cb === "function") {
|
|
115
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
116
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
117
|
-
} else {
|
|
118
|
-
return this.send(command, optionsOrCb);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* <p>Returns all the tagged or previously tagged resources that are located in the
|
|
124
|
-
* specified Region for the AWS account.</p>
|
|
125
|
-
* <p>Depending on what information you want returned, you can also specify the
|
|
126
|
-
* following:</p>
|
|
127
|
-
* <ul>
|
|
128
|
-
* <li>
|
|
129
|
-
* <p>
|
|
130
|
-
* <i>Filters</i> that specify what tags and resource types you
|
|
131
|
-
* want returned. The response includes all tags that are associated with the
|
|
132
|
-
* requested resources.</p>
|
|
133
|
-
* </li>
|
|
134
|
-
* <li>
|
|
135
|
-
* <p>Information about compliance with the account's effective tag policy. For more
|
|
136
|
-
* information on tag policies, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_tag-policies.html">Tag
|
|
137
|
-
* Policies</a> in the <i>AWS Organizations User Guide.</i>
|
|
138
|
-
* </p>
|
|
139
|
-
* </li>
|
|
140
|
-
* </ul>
|
|
141
|
-
* <p>This operation supports pagination, where the response can be sent in
|
|
142
|
-
* multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
|
|
143
|
-
* if there are additional results available to return. Repeat the query, passing the
|
|
144
|
-
* <code>PaginationToken</code> response parameter value as an input to the next request until you
|
|
145
|
-
* recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
|
|
146
|
-
* there are no more results waiting to be returned.</p>
|
|
147
|
-
*/
|
|
148
|
-
public getResources(
|
|
149
|
-
args: GetResourcesCommandInput,
|
|
150
|
-
options?: __HttpHandlerOptions
|
|
151
|
-
): Promise<GetResourcesCommandOutput>;
|
|
152
|
-
public getResources(args: GetResourcesCommandInput, cb: (err: any, data?: GetResourcesCommandOutput) => void): void;
|
|
153
|
-
public getResources(
|
|
154
|
-
args: GetResourcesCommandInput,
|
|
155
|
-
options: __HttpHandlerOptions,
|
|
156
|
-
cb: (err: any, data?: GetResourcesCommandOutput) => void
|
|
157
|
-
): void;
|
|
158
|
-
public getResources(
|
|
159
|
-
args: GetResourcesCommandInput,
|
|
160
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetResourcesCommandOutput) => void),
|
|
161
|
-
cb?: (err: any, data?: GetResourcesCommandOutput) => void
|
|
162
|
-
): Promise<GetResourcesCommandOutput> | void {
|
|
163
|
-
const command = new GetResourcesCommand(args);
|
|
164
|
-
if (typeof optionsOrCb === "function") {
|
|
165
|
-
this.send(command, optionsOrCb);
|
|
166
|
-
} else if (typeof cb === "function") {
|
|
167
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
168
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
169
|
-
} else {
|
|
170
|
-
return this.send(command, optionsOrCb);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* <p>Returns all tag keys currently in use in the specified Region for the calling AWS
|
|
176
|
-
* account.</p>
|
|
177
|
-
* <p>This operation supports pagination, where the response can be sent in
|
|
178
|
-
* multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
|
|
179
|
-
* if there are additional results available to return. Repeat the query, passing the
|
|
180
|
-
* <code>PaginationToken</code> response parameter value as an input to the next request until you
|
|
181
|
-
* recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
|
|
182
|
-
* there are no more results waiting to be returned.</p>
|
|
183
|
-
*/
|
|
184
|
-
public getTagKeys(args: GetTagKeysCommandInput, options?: __HttpHandlerOptions): Promise<GetTagKeysCommandOutput>;
|
|
185
|
-
public getTagKeys(args: GetTagKeysCommandInput, cb: (err: any, data?: GetTagKeysCommandOutput) => void): void;
|
|
186
|
-
public getTagKeys(
|
|
187
|
-
args: GetTagKeysCommandInput,
|
|
188
|
-
options: __HttpHandlerOptions,
|
|
189
|
-
cb: (err: any, data?: GetTagKeysCommandOutput) => void
|
|
190
|
-
): void;
|
|
191
|
-
public getTagKeys(
|
|
192
|
-
args: GetTagKeysCommandInput,
|
|
193
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetTagKeysCommandOutput) => void),
|
|
194
|
-
cb?: (err: any, data?: GetTagKeysCommandOutput) => void
|
|
195
|
-
): Promise<GetTagKeysCommandOutput> | void {
|
|
196
|
-
const command = new GetTagKeysCommand(args);
|
|
197
|
-
if (typeof optionsOrCb === "function") {
|
|
198
|
-
this.send(command, optionsOrCb);
|
|
199
|
-
} else if (typeof cb === "function") {
|
|
200
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
201
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
202
|
-
} else {
|
|
203
|
-
return this.send(command, optionsOrCb);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
/**
|
|
208
|
-
* <p>Returns all tag values for the specified key that are used in the specified AWS
|
|
209
|
-
* Region for the calling AWS account.</p>
|
|
210
|
-
* <p>This operation supports pagination, where the response can be sent in
|
|
211
|
-
* multiple pages. You should check the <code>PaginationToken</code> response parameter to determine
|
|
212
|
-
* if there are additional results available to return. Repeat the query, passing the
|
|
213
|
-
* <code>PaginationToken</code> response parameter value as an input to the next request until you
|
|
214
|
-
* recieve a <code>null</code> value. A null value for <code>PaginationToken</code> indicates that
|
|
215
|
-
* there are no more results waiting to be returned.</p>
|
|
216
|
-
*/
|
|
217
|
-
public getTagValues(
|
|
218
|
-
args: GetTagValuesCommandInput,
|
|
219
|
-
options?: __HttpHandlerOptions
|
|
220
|
-
): Promise<GetTagValuesCommandOutput>;
|
|
221
|
-
public getTagValues(args: GetTagValuesCommandInput, cb: (err: any, data?: GetTagValuesCommandOutput) => void): void;
|
|
222
|
-
public getTagValues(
|
|
223
|
-
args: GetTagValuesCommandInput,
|
|
224
|
-
options: __HttpHandlerOptions,
|
|
225
|
-
cb: (err: any, data?: GetTagValuesCommandOutput) => void
|
|
226
|
-
): void;
|
|
227
|
-
public getTagValues(
|
|
228
|
-
args: GetTagValuesCommandInput,
|
|
229
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetTagValuesCommandOutput) => void),
|
|
230
|
-
cb?: (err: any, data?: GetTagValuesCommandOutput) => void
|
|
231
|
-
): Promise<GetTagValuesCommandOutput> | void {
|
|
232
|
-
const command = new GetTagValuesCommand(args);
|
|
233
|
-
if (typeof optionsOrCb === "function") {
|
|
234
|
-
this.send(command, optionsOrCb);
|
|
235
|
-
} else if (typeof cb === "function") {
|
|
236
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
237
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
238
|
-
} else {
|
|
239
|
-
return this.send(command, optionsOrCb);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* <p>Generates a report that lists all tagged resources in the accounts across your
|
|
245
|
-
* organization and tells whether each resource is compliant with the effective tag policy.
|
|
246
|
-
* Compliance data is refreshed daily. The report is generated asynchronously.</p>
|
|
247
|
-
* <p>The generated report is saved to the following location:</p>
|
|
248
|
-
* <p>
|
|
249
|
-
* <code>s3://example-bucket/AwsTagPolicies/o-exampleorgid/YYYY-MM-ddTHH:mm:ssZ/report.csv</code>
|
|
250
|
-
* </p>
|
|
251
|
-
* <p>You can call this operation only from the organization's
|
|
252
|
-
* management account and from the us-east-1 Region.</p>
|
|
253
|
-
*/
|
|
254
|
-
public startReportCreation(
|
|
255
|
-
args: StartReportCreationCommandInput,
|
|
256
|
-
options?: __HttpHandlerOptions
|
|
257
|
-
): Promise<StartReportCreationCommandOutput>;
|
|
258
|
-
public startReportCreation(
|
|
259
|
-
args: StartReportCreationCommandInput,
|
|
260
|
-
cb: (err: any, data?: StartReportCreationCommandOutput) => void
|
|
261
|
-
): void;
|
|
262
|
-
public startReportCreation(
|
|
263
|
-
args: StartReportCreationCommandInput,
|
|
264
|
-
options: __HttpHandlerOptions,
|
|
265
|
-
cb: (err: any, data?: StartReportCreationCommandOutput) => void
|
|
266
|
-
): void;
|
|
267
|
-
public startReportCreation(
|
|
268
|
-
args: StartReportCreationCommandInput,
|
|
269
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StartReportCreationCommandOutput) => void),
|
|
270
|
-
cb?: (err: any, data?: StartReportCreationCommandOutput) => void
|
|
271
|
-
): Promise<StartReportCreationCommandOutput> | void {
|
|
272
|
-
const command = new StartReportCreationCommand(args);
|
|
273
|
-
if (typeof optionsOrCb === "function") {
|
|
274
|
-
this.send(command, optionsOrCb);
|
|
275
|
-
} else if (typeof cb === "function") {
|
|
276
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
277
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
278
|
-
} else {
|
|
279
|
-
return this.send(command, optionsOrCb);
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* <p>Applies one or more tags to the specified resources. Note the following:</p>
|
|
285
|
-
* <ul>
|
|
286
|
-
* <li>
|
|
287
|
-
* <p>Not all resources can have tags. For a list of services with resources that
|
|
288
|
-
* support tagging using this operation, see <a href="https://docs.aws.amazon.com/resourcegroupstagging/latest/APIReference/supported-services.html">Services that support the
|
|
289
|
-
* Resource Groups Tagging API</a>.</p>
|
|
290
|
-
* </li>
|
|
291
|
-
* <li>
|
|
292
|
-
* <p>Each resource can have up to 50 tags. For other limits, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html#tag-conventions">Tag Naming and Usage Conventions</a> in the <i>AWS General
|
|
293
|
-
* Reference.</i>
|
|
294
|
-
* </p>
|
|
295
|
-
* </li>
|
|
296
|
-
* <li>
|
|
297
|
-
* <p>You can only tag resources that are located in the specified AWS Region for
|
|
298
|
-
* the AWS account.</p>
|
|
299
|
-
* </li>
|
|
300
|
-
* <li>
|
|
301
|
-
* <p>To add tags to a resource, you need the necessary permissions for the service
|
|
302
|
-
* that the resource belongs to as well as permissions for adding tags. For more
|
|
303
|
-
* information, see the documentation for each service.</p>
|
|
304
|
-
* </li>
|
|
305
|
-
* </ul>
|
|
306
|
-
* <important>
|
|
307
|
-
* <p>Do not store personally identifiable information (PII) or other confidential or
|
|
308
|
-
* sensitive information in tags. We use tags to provide you with billing and
|
|
309
|
-
* administration services. Tags are not intended to be used for private or sensitive
|
|
310
|
-
* data.</p>
|
|
311
|
-
* </important>
|
|
312
|
-
*/
|
|
313
|
-
public tagResources(
|
|
314
|
-
args: TagResourcesCommandInput,
|
|
315
|
-
options?: __HttpHandlerOptions
|
|
316
|
-
): Promise<TagResourcesCommandOutput>;
|
|
317
|
-
public tagResources(args: TagResourcesCommandInput, cb: (err: any, data?: TagResourcesCommandOutput) => void): void;
|
|
318
|
-
public tagResources(
|
|
319
|
-
args: TagResourcesCommandInput,
|
|
320
|
-
options: __HttpHandlerOptions,
|
|
321
|
-
cb: (err: any, data?: TagResourcesCommandOutput) => void
|
|
322
|
-
): void;
|
|
323
|
-
public tagResources(
|
|
324
|
-
args: TagResourcesCommandInput,
|
|
325
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourcesCommandOutput) => void),
|
|
326
|
-
cb?: (err: any, data?: TagResourcesCommandOutput) => void
|
|
327
|
-
): Promise<TagResourcesCommandOutput> | void {
|
|
328
|
-
const command = new TagResourcesCommand(args);
|
|
329
|
-
if (typeof optionsOrCb === "function") {
|
|
330
|
-
this.send(command, optionsOrCb);
|
|
331
|
-
} else if (typeof cb === "function") {
|
|
332
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
333
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
334
|
-
} else {
|
|
335
|
-
return this.send(command, optionsOrCb);
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* <p>Removes the specified tags from the specified resources. When you specify a tag key,
|
|
341
|
-
* the action removes both that key and its associated value. The operation succeeds even
|
|
342
|
-
* if you attempt to remove tags from a resource that were already removed. Note the
|
|
343
|
-
* following:</p>
|
|
344
|
-
* <ul>
|
|
345
|
-
* <li>
|
|
346
|
-
* <p>To remove tags from a resource, you need the necessary permissions for the
|
|
347
|
-
* service that the resource belongs to as well as permissions for removing tags.
|
|
348
|
-
* For more information, see the documentation for the service whose resource you
|
|
349
|
-
* want to untag.</p>
|
|
350
|
-
* </li>
|
|
351
|
-
* <li>
|
|
352
|
-
* <p>You can only tag resources that are located in the specified AWS Region for
|
|
353
|
-
* the calling AWS account.</p>
|
|
354
|
-
* </li>
|
|
355
|
-
* </ul>
|
|
356
|
-
*/
|
|
357
|
-
public untagResources(
|
|
358
|
-
args: UntagResourcesCommandInput,
|
|
359
|
-
options?: __HttpHandlerOptions
|
|
360
|
-
): Promise<UntagResourcesCommandOutput>;
|
|
361
|
-
public untagResources(
|
|
362
|
-
args: UntagResourcesCommandInput,
|
|
363
|
-
cb: (err: any, data?: UntagResourcesCommandOutput) => void
|
|
364
|
-
): void;
|
|
365
|
-
public untagResources(
|
|
366
|
-
args: UntagResourcesCommandInput,
|
|
367
|
-
options: __HttpHandlerOptions,
|
|
368
|
-
cb: (err: any, data?: UntagResourcesCommandOutput) => void
|
|
369
|
-
): void;
|
|
370
|
-
public untagResources(
|
|
371
|
-
args: UntagResourcesCommandInput,
|
|
372
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourcesCommandOutput) => void),
|
|
373
|
-
cb?: (err: any, data?: UntagResourcesCommandOutput) => void
|
|
374
|
-
): Promise<UntagResourcesCommandOutput> | void {
|
|
375
|
-
const command = new UntagResourcesCommand(args);
|
|
376
|
-
if (typeof optionsOrCb === "function") {
|
|
377
|
-
this.send(command, optionsOrCb);
|
|
378
|
-
} else if (typeof cb === "function") {
|
|
379
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
380
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
381
|
-
} else {
|
|
382
|
-
return this.send(command, optionsOrCb);
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
}
|
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DescribeReportCreationCommandInput,
|
|
3
|
-
DescribeReportCreationCommandOutput,
|
|
4
|
-
} from "./commands/DescribeReportCreationCommand";
|
|
5
|
-
import {
|
|
6
|
-
GetComplianceSummaryCommandInput,
|
|
7
|
-
GetComplianceSummaryCommandOutput,
|
|
8
|
-
} from "./commands/GetComplianceSummaryCommand";
|
|
9
|
-
import { GetResourcesCommandInput, GetResourcesCommandOutput } from "./commands/GetResourcesCommand";
|
|
10
|
-
import { GetTagKeysCommandInput, GetTagKeysCommandOutput } from "./commands/GetTagKeysCommand";
|
|
11
|
-
import { GetTagValuesCommandInput, GetTagValuesCommandOutput } from "./commands/GetTagValuesCommand";
|
|
12
|
-
import {
|
|
13
|
-
StartReportCreationCommandInput,
|
|
14
|
-
StartReportCreationCommandOutput,
|
|
15
|
-
} from "./commands/StartReportCreationCommand";
|
|
16
|
-
import { TagResourcesCommandInput, TagResourcesCommandOutput } from "./commands/TagResourcesCommand";
|
|
17
|
-
import { UntagResourcesCommandInput, UntagResourcesCommandOutput } from "./commands/UntagResourcesCommand";
|
|
18
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
19
|
-
import {
|
|
20
|
-
EndpointsInputConfig,
|
|
21
|
-
EndpointsResolvedConfig,
|
|
22
|
-
RegionInputConfig,
|
|
23
|
-
RegionResolvedConfig,
|
|
24
|
-
resolveEndpointsConfig,
|
|
25
|
-
resolveRegionConfig,
|
|
26
|
-
} from "@aws-sdk/config-resolver";
|
|
27
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
28
|
-
import {
|
|
29
|
-
HostHeaderInputConfig,
|
|
30
|
-
HostHeaderResolvedConfig,
|
|
31
|
-
getHostHeaderPlugin,
|
|
32
|
-
resolveHostHeaderConfig,
|
|
33
|
-
} from "@aws-sdk/middleware-host-header";
|
|
34
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
35
|
-
import { RetryInputConfig, RetryResolvedConfig, getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
36
|
-
import {
|
|
37
|
-
AwsAuthInputConfig,
|
|
38
|
-
AwsAuthResolvedConfig,
|
|
39
|
-
getAwsAuthPlugin,
|
|
40
|
-
resolveAwsAuthConfig,
|
|
41
|
-
} from "@aws-sdk/middleware-signing";
|
|
42
|
-
import {
|
|
43
|
-
UserAgentInputConfig,
|
|
44
|
-
UserAgentResolvedConfig,
|
|
45
|
-
getUserAgentPlugin,
|
|
46
|
-
resolveUserAgentConfig,
|
|
47
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
48
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
49
|
-
import {
|
|
50
|
-
Client as __Client,
|
|
51
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
52
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
53
|
-
} from "@aws-sdk/smithy-client";
|
|
54
|
-
import {
|
|
55
|
-
Provider,
|
|
56
|
-
RegionInfoProvider,
|
|
57
|
-
Credentials as __Credentials,
|
|
58
|
-
Decoder as __Decoder,
|
|
59
|
-
Encoder as __Encoder,
|
|
60
|
-
Hash as __Hash,
|
|
61
|
-
HashConstructor as __HashConstructor,
|
|
62
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
63
|
-
Logger as __Logger,
|
|
64
|
-
Provider as __Provider,
|
|
65
|
-
StreamCollector as __StreamCollector,
|
|
66
|
-
UrlParser as __UrlParser,
|
|
67
|
-
UserAgent as __UserAgent,
|
|
68
|
-
} from "@aws-sdk/types";
|
|
69
|
-
|
|
70
|
-
export type ServiceInputTypes =
|
|
71
|
-
| DescribeReportCreationCommandInput
|
|
72
|
-
| GetComplianceSummaryCommandInput
|
|
73
|
-
| GetResourcesCommandInput
|
|
74
|
-
| GetTagKeysCommandInput
|
|
75
|
-
| GetTagValuesCommandInput
|
|
76
|
-
| StartReportCreationCommandInput
|
|
77
|
-
| TagResourcesCommandInput
|
|
78
|
-
| UntagResourcesCommandInput;
|
|
79
|
-
|
|
80
|
-
export type ServiceOutputTypes =
|
|
81
|
-
| DescribeReportCreationCommandOutput
|
|
82
|
-
| GetComplianceSummaryCommandOutput
|
|
83
|
-
| GetResourcesCommandOutput
|
|
84
|
-
| GetTagKeysCommandOutput
|
|
85
|
-
| GetTagValuesCommandOutput
|
|
86
|
-
| StartReportCreationCommandOutput
|
|
87
|
-
| TagResourcesCommandOutput
|
|
88
|
-
| UntagResourcesCommandOutput;
|
|
89
|
-
|
|
90
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
91
|
-
/**
|
|
92
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
93
|
-
*/
|
|
94
|
-
requestHandler?: __HttpHandler;
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
98
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
99
|
-
* @internal
|
|
100
|
-
*/
|
|
101
|
-
sha256?: __HashConstructor;
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
urlParser?: __UrlParser;
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* A function that can calculate the length of a request body.
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
113
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* A function that converts a stream into an array of bytes.
|
|
117
|
-
* @internal
|
|
118
|
-
*/
|
|
119
|
-
streamCollector?: __StreamCollector;
|
|
120
|
-
|
|
121
|
-
/**
|
|
122
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
123
|
-
* @internal
|
|
124
|
-
*/
|
|
125
|
-
base64Decoder?: __Decoder;
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
129
|
-
* @internal
|
|
130
|
-
*/
|
|
131
|
-
base64Encoder?: __Encoder;
|
|
132
|
-
|
|
133
|
-
/**
|
|
134
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
|
-
utf8Decoder?: __Decoder;
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
141
|
-
* @internal
|
|
142
|
-
*/
|
|
143
|
-
utf8Encoder?: __Encoder;
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* The runtime environment.
|
|
147
|
-
* @internal
|
|
148
|
-
*/
|
|
149
|
-
runtime?: string;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
153
|
-
* trait of an operation.
|
|
154
|
-
*/
|
|
155
|
-
disableHostPrefix?: boolean;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
159
|
-
*/
|
|
160
|
-
maxAttempts?: number | __Provider<number>;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Specifies which retry algorithm to use.
|
|
164
|
-
*/
|
|
165
|
-
retryMode?: string | __Provider<string>;
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* Optional logger for logging debug/info/warn/error.
|
|
169
|
-
*/
|
|
170
|
-
logger?: __Logger;
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* Unique service identifier.
|
|
174
|
-
* @internal
|
|
175
|
-
*/
|
|
176
|
-
serviceId?: string;
|
|
177
|
-
|
|
178
|
-
/**
|
|
179
|
-
* The AWS region to which this client will send requests
|
|
180
|
-
*/
|
|
181
|
-
region?: string | __Provider<string>;
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Default credentials provider; Not available in browser runtime.
|
|
185
|
-
* @internal
|
|
186
|
-
*/
|
|
187
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
188
|
-
|
|
189
|
-
/**
|
|
190
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
191
|
-
* @internal
|
|
192
|
-
*/
|
|
193
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
197
|
-
* @internal
|
|
198
|
-
*/
|
|
199
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
type ResourceGroupsTaggingAPIClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
203
|
-
ClientDefaults &
|
|
204
|
-
RegionInputConfig &
|
|
205
|
-
EndpointsInputConfig &
|
|
206
|
-
RetryInputConfig &
|
|
207
|
-
HostHeaderInputConfig &
|
|
208
|
-
AwsAuthInputConfig &
|
|
209
|
-
UserAgentInputConfig;
|
|
210
|
-
/**
|
|
211
|
-
* The configuration interface of ResourceGroupsTaggingAPIClient class constructor that set the region, credentials and other options.
|
|
212
|
-
*/
|
|
213
|
-
export interface ResourceGroupsTaggingAPIClientConfig extends ResourceGroupsTaggingAPIClientConfigType {}
|
|
214
|
-
|
|
215
|
-
type ResourceGroupsTaggingAPIClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
216
|
-
Required<ClientDefaults> &
|
|
217
|
-
RegionResolvedConfig &
|
|
218
|
-
EndpointsResolvedConfig &
|
|
219
|
-
RetryResolvedConfig &
|
|
220
|
-
HostHeaderResolvedConfig &
|
|
221
|
-
AwsAuthResolvedConfig &
|
|
222
|
-
UserAgentResolvedConfig;
|
|
223
|
-
/**
|
|
224
|
-
* The resolved configuration interface of ResourceGroupsTaggingAPIClient class. This is resolved and normalized from the {@link ResourceGroupsTaggingAPIClientConfig | constructor configuration interface}.
|
|
225
|
-
*/
|
|
226
|
-
export interface ResourceGroupsTaggingAPIClientResolvedConfig
|
|
227
|
-
extends ResourceGroupsTaggingAPIClientResolvedConfigType {}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* <fullname>Resource Groups Tagging API</fullname>
|
|
231
|
-
*/
|
|
232
|
-
export class ResourceGroupsTaggingAPIClient extends __Client<
|
|
233
|
-
__HttpHandlerOptions,
|
|
234
|
-
ServiceInputTypes,
|
|
235
|
-
ServiceOutputTypes,
|
|
236
|
-
ResourceGroupsTaggingAPIClientResolvedConfig
|
|
237
|
-
> {
|
|
238
|
-
/**
|
|
239
|
-
* The resolved configuration of ResourceGroupsTaggingAPIClient class. This is resolved and normalized from the {@link ResourceGroupsTaggingAPIClientConfig | constructor configuration interface}.
|
|
240
|
-
*/
|
|
241
|
-
readonly config: ResourceGroupsTaggingAPIClientResolvedConfig;
|
|
242
|
-
|
|
243
|
-
constructor(configuration: ResourceGroupsTaggingAPIClientConfig) {
|
|
244
|
-
let _config_0 = __getRuntimeConfig(configuration);
|
|
245
|
-
let _config_1 = resolveRegionConfig(_config_0);
|
|
246
|
-
let _config_2 = resolveEndpointsConfig(_config_1);
|
|
247
|
-
let _config_3 = resolveRetryConfig(_config_2);
|
|
248
|
-
let _config_4 = resolveHostHeaderConfig(_config_3);
|
|
249
|
-
let _config_5 = resolveAwsAuthConfig(_config_4);
|
|
250
|
-
let _config_6 = resolveUserAgentConfig(_config_5);
|
|
251
|
-
super(_config_6);
|
|
252
|
-
this.config = _config_6;
|
|
253
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
254
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
255
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
256
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
257
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
258
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
263
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
264
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
265
|
-
*/
|
|
266
|
-
destroy(): void {
|
|
267
|
-
super.destroy();
|
|
268
|
-
}
|
|
269
|
-
}
|