@aws-sdk/client-config-service 3.699.0 → 3.709.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/README.md +40 -0
- package/dist-cjs/index.js +304 -36
- package/dist-es/ConfigService.js +10 -0
- package/dist-es/commands/AssociateResourceTypesCommand.js +22 -0
- package/dist-es/commands/DeleteServiceLinkedConfigurationRecorderCommand.js +22 -0
- package/dist-es/commands/DisassociateResourceTypesCommand.js +22 -0
- package/dist-es/commands/ListConfigurationRecordersCommand.js +22 -0
- package/dist-es/commands/PutServiceLinkedConfigurationRecorderCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +53 -25
- package/dist-es/models/models_1.js +7 -0
- package/dist-es/pagination/ListConfigurationRecordersPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +129 -7
- package/dist-types/ConfigService.d.ts +36 -0
- package/dist-types/ConfigServiceClient.d.ts +7 -2
- package/dist-types/commands/AssociateResourceTypesCommand.d.ts +163 -0
- package/dist-types/commands/BatchGetAggregateResourceConfigCommand.d.ts +34 -3
- package/dist-types/commands/BatchGetResourceConfigCommand.d.ts +35 -5
- package/dist-types/commands/DeleteConfigRuleCommand.d.ts +24 -0
- package/dist-types/commands/DeleteConfigurationRecorderCommand.d.ts +15 -7
- package/dist-types/commands/DeleteDeliveryChannelCommand.d.ts +2 -4
- package/dist-types/commands/DeleteOrganizationConfigRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOrganizationConformancePackCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRemediationConfigurationCommand.d.ts +7 -4
- package/dist-types/commands/DeleteResourceConfigCommand.d.ts +34 -3
- package/dist-types/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +138 -0
- package/dist-types/commands/DeleteStoredQueryCommand.d.ts +34 -3
- package/dist-types/commands/DeliverConfigSnapshotCommand.d.ts +1 -2
- package/dist-types/commands/DescribeAggregateComplianceByConfigRulesCommand.d.ts +34 -3
- package/dist-types/commands/DescribeAggregateComplianceByConformancePacksCommand.d.ts +35 -4
- package/dist-types/commands/DescribeComplianceByConfigRuleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComplianceByResourceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeConfigurationAggregatorsCommand.d.ts +15 -1
- package/dist-types/commands/DescribeConfigurationRecorderStatusCommand.d.ts +47 -7
- package/dist-types/commands/DescribeConfigurationRecordersCommand.d.ts +45 -5
- package/dist-types/commands/DescribeDeliveryChannelStatusCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeliveryChannelsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigRuleStatusesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConformancePackStatusesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConformancePacksCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRetentionConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateResourceTypesCommand.d.ts +163 -0
- package/dist-types/commands/GetAggregateComplianceDetailsByConfigRuleCommand.d.ts +34 -3
- package/dist-types/commands/GetAggregateConfigRuleComplianceSummaryCommand.d.ts +34 -3
- package/dist-types/commands/GetAggregateConformancePackComplianceSummaryCommand.d.ts +34 -3
- package/dist-types/commands/GetAggregateDiscoveredResourceCountsCommand.d.ts +34 -3
- package/dist-types/commands/GetAggregateResourceConfigCommand.d.ts +37 -3
- package/dist-types/commands/GetDiscoveredResourceCountsCommand.d.ts +34 -3
- package/dist-types/commands/GetOrganizationConfigRuleDetailedStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationConformancePackDetailedStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationCustomRulePolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetResourceConfigHistoryCommand.d.ts +35 -5
- package/dist-types/commands/GetStoredQueryCommand.d.ts +34 -3
- package/dist-types/commands/ListAggregateDiscoveredResourcesCommand.d.ts +34 -3
- package/dist-types/commands/ListConfigurationRecordersCommand.d.ts +124 -0
- package/dist-types/commands/ListConformancePackComplianceScoresCommand.d.ts +1 -1
- package/dist-types/commands/ListDiscoveredResourcesCommand.d.ts +36 -6
- package/dist-types/commands/ListResourceEvaluationsCommand.d.ts +1 -1
- package/dist-types/commands/ListStoredQueriesCommand.d.ts +35 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -5
- package/dist-types/commands/PutAggregationAuthorizationCommand.d.ts +4 -0
- package/dist-types/commands/PutConfigRuleCommand.d.ts +12 -6
- package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +37 -3
- package/dist-types/commands/PutConfigurationRecorderCommand.d.ts +79 -16
- package/dist-types/commands/PutConformancePackCommand.d.ts +7 -4
- package/dist-types/commands/PutDeliveryChannelCommand.d.ts +14 -18
- package/dist-types/commands/PutEvaluationsCommand.d.ts +1 -1
- package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +42 -8
- package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +42 -8
- package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +7 -4
- package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +13 -4
- package/dist-types/commands/PutResourceConfigCommand.d.ts +41 -7
- package/dist-types/commands/PutServiceLinkedConfigurationRecorderCommand.d.ts +182 -0
- package/dist-types/commands/PutStoredQueryCommand.d.ts +37 -3
- package/dist-types/commands/StartConfigRulesEvaluationCommand.d.ts +3 -1
- package/dist-types/commands/StartConfigurationRecorderCommand.d.ts +14 -4
- package/dist-types/commands/StartRemediationExecutionCommand.d.ts +7 -4
- package/dist-types/commands/StopConfigurationRecorderCommand.d.ts +12 -1
- package/dist-types/commands/TagResourceCommand.d.ts +35 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +34 -3
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +1288 -1339
- package/dist-types/models/models_1.d.ts +551 -12
- package/dist-types/pagination/ListConfigurationRecordersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/ConfigService.d.ts +98 -0
- package/dist-types/ts3.4/ConfigServiceClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AssociateResourceTypesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteServiceLinkedConfigurationRecorderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateResourceTypesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConfigurationRecordersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListConformancePackComplianceScoresCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDiscoveredResourcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListResourceEvaluationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStoredQueriesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/PutServiceLinkedConfigurationRecorderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +134 -132
- package/dist-types/ts3.4/models/models_1.d.ts +105 -0
- package/dist-types/ts3.4/pagination/ListConfigurationRecordersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +35 -35
|
@@ -1,6 +1,422 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { ConfigServiceServiceException as __BaseException } from "./ConfigServiceServiceException";
|
|
3
|
-
import { AccountAggregationSource, AggregationAuthorization, ConfigRule, ConfigurationAggregator, ConfigurationRecorder, ConformancePackInputParameter, DeliveryChannel, Evaluation, EvaluationContext, EvaluationMode, ExternalEvaluation, FailedRemediationBatch, FailedRemediationExceptionBatch, FieldInfo, MaximumExecutionFrequency, OrganizationAggregationSource, OrganizationConfigRuleTriggerTypeNoSN, OrganizationCustomRuleMetadata, OrganizationManagedRuleMetadata, RemediationConfiguration, RemediationExceptionResourceKey, ResourceDetails, ResourceKey, RetentionConfiguration, StoredQuery, TemplateSSMDocumentDetails } from "./models_0";
|
|
3
|
+
import { AccountAggregationSource, AggregationAuthorization, AggregatorFilters, ConfigRule, ConfigurationAggregator, ConfigurationRecorder, ConfigurationRecorderFilter, ConfigurationRecorderSummary, ConformancePackComplianceScore, ConformancePackComplianceScoresFilters, ConformancePackInputParameter, DeliveryChannel, Evaluation, EvaluationContext, EvaluationMode, ExternalEvaluation, FailedRemediationBatch, FailedRemediationExceptionBatch, FieldInfo, MaximumExecutionFrequency, OrganizationAggregationSource, OrganizationConfigRuleTriggerTypeNoSN, OrganizationCustomRuleMetadata, OrganizationManagedRuleMetadata, RemediationConfiguration, RemediationExceptionResourceKey, ResourceDetails, ResourceKey, ResourceType, RetentionConfiguration, StoredQuery, TemplateSSMDocumentDetails } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ListConfigurationRecordersRequest {
|
|
8
|
+
/**
|
|
9
|
+
* <p>Filters the results based on a list of <code>ConfigurationRecorderFilter</code> objects that you specify.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
Filters?: ConfigurationRecorderFilter[] | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The maximum number of results to include in the response.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
MaxResults?: number | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The <code>NextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
NextToken?: string | undefined;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export interface ListConfigurationRecordersResponse {
|
|
28
|
+
/**
|
|
29
|
+
* <p>A list of <code>ConfigurationRecorderSummary</code> objects that includes.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
ConfigurationRecorderSummaries: ConfigurationRecorderSummary[] | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The <code>NextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
NextToken?: string | undefined;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
* @enum
|
|
42
|
+
*/
|
|
43
|
+
export declare const SortBy: {
|
|
44
|
+
readonly SCORE: "SCORE";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
export type SortBy = (typeof SortBy)[keyof typeof SortBy];
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
* @enum
|
|
53
|
+
*/
|
|
54
|
+
export declare const SortOrder: {
|
|
55
|
+
readonly ASCENDING: "ASCENDING";
|
|
56
|
+
readonly DESCENDING: "DESCENDING";
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* @public
|
|
60
|
+
*/
|
|
61
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export interface ListConformancePackComplianceScoresRequest {
|
|
66
|
+
/**
|
|
67
|
+
* <p>Filters the results based on the <code>ConformancePackComplianceScoresFilters</code>.</p>
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
Filters?: ConformancePackComplianceScoresFilters | undefined;
|
|
71
|
+
/**
|
|
72
|
+
* <p>Determines the order in which conformance pack compliance scores are sorted. Either in ascending or descending order.</p>
|
|
73
|
+
* <p>By default, conformance pack compliance scores are sorted in alphabetical order by name of the conformance pack. Conformance pack compliance scores are sorted in reverse alphabetical order if you enter <code>DESCENDING</code>.</p>
|
|
74
|
+
* <p>You can sort conformance pack compliance scores by the numerical value of the compliance score by entering <code>SCORE</code> in the <code>SortBy</code> action. When compliance scores are sorted by <code>SCORE</code>, conformance packs with a compliance score of <code>INSUFFICIENT_DATA</code> will be last when sorting by ascending order and first when sorting by descending order.</p>
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
SortOrder?: SortOrder | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* <p>Sorts your conformance pack compliance scores in either ascending or descending order, depending on <code>SortOrder</code>.</p>
|
|
80
|
+
* <p>By default, conformance pack compliance scores are sorted in alphabetical order by name of the conformance pack.
|
|
81
|
+
* Enter <code>SCORE</code>, to sort conformance pack compliance scores by the numerical value of the compliance score.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
SortBy?: SortBy | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* <p>The maximum number of conformance pack compliance scores returned on each page.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
Limit?: number | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* <p>The <code>nextToken</code> string in a prior request that you can use to get the paginated response for the next set of conformance pack compliance scores.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
NextToken?: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
export interface ListConformancePackComplianceScoresResponse {
|
|
100
|
+
/**
|
|
101
|
+
* <p>The <code>nextToken</code> string that you can use to get the next page of results in a paginated response.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
NextToken?: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* <p>A list of <code>ConformancePackComplianceScore</code> objects.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
ConformancePackComplianceScores: ConformancePackComplianceScore[] | undefined;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* <p></p>
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export interface ListDiscoveredResourcesRequest {
|
|
116
|
+
/**
|
|
117
|
+
* <p>The type of resources that you want Config to list in the
|
|
118
|
+
* response.</p>
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
resourceType: ResourceType | undefined;
|
|
122
|
+
/**
|
|
123
|
+
* <p>The IDs of only those resources that you want Config to
|
|
124
|
+
* list in the response. If you do not specify this parameter, Config lists all resources of the specified type that it has
|
|
125
|
+
* discovered. You can list a minimum of 1 resourceID and a maximum of 20 resourceIds.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
resourceIds?: string[] | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* <p>The custom name of only those resources that you want Config to list in the response. If you do not specify this
|
|
131
|
+
* parameter, Config lists all resources of the specified type that
|
|
132
|
+
* it has discovered.</p>
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
resourceName?: string | undefined;
|
|
136
|
+
/**
|
|
137
|
+
* <p>The maximum number of resource identifiers returned on each
|
|
138
|
+
* page. The default is 100. You cannot specify a number greater than
|
|
139
|
+
* 100. If you specify 0, Config uses the default.</p>
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
limit?: number | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* <p>Specifies whether Config includes deleted resources in the
|
|
145
|
+
* results. By default, deleted resources are not included.</p>
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
includeDeletedResources?: boolean | undefined;
|
|
149
|
+
/**
|
|
150
|
+
* <p>The <code>nextToken</code> string returned on a previous page
|
|
151
|
+
* that you use to get the next page of results in a paginated
|
|
152
|
+
* response.</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
nextToken?: string | undefined;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* <p>The details that identify a resource that is discovered by Config, including the resource type, ID, and (if available) the
|
|
159
|
+
* custom resource name.</p>
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
export interface ResourceIdentifier {
|
|
163
|
+
/**
|
|
164
|
+
* <p>The type of resource.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
resourceType?: ResourceType | undefined;
|
|
168
|
+
/**
|
|
169
|
+
* <p>The ID of the resource (for example,
|
|
170
|
+
* <code>sg-xxxxxx</code>).</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
resourceId?: string | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* <p>The custom name of the resource (if available).</p>
|
|
176
|
+
* @public
|
|
177
|
+
*/
|
|
178
|
+
resourceName?: string | undefined;
|
|
179
|
+
/**
|
|
180
|
+
* <p>The time that the resource was deleted.</p>
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
resourceDeletionTime?: Date | undefined;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* <p></p>
|
|
187
|
+
* @public
|
|
188
|
+
*/
|
|
189
|
+
export interface ListDiscoveredResourcesResponse {
|
|
190
|
+
/**
|
|
191
|
+
* <p>The details that identify a resource that is discovered by Config, including the resource type, ID, and (if available) the
|
|
192
|
+
* custom resource name.</p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
resourceIdentifiers?: ResourceIdentifier[] | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* <p>The string that you use in a subsequent request to get the next
|
|
198
|
+
* page of results in a paginated response.</p>
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
nextToken?: string | undefined;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* <p>Filters evaluation results based on start and end times.</p>
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
export interface TimeWindow {
|
|
208
|
+
/**
|
|
209
|
+
* <p>The start time of an execution.</p>
|
|
210
|
+
* @public
|
|
211
|
+
*/
|
|
212
|
+
StartTime?: Date | undefined;
|
|
213
|
+
/**
|
|
214
|
+
* <p>The end time of an execution. The end time must be after the start date.</p>
|
|
215
|
+
* @public
|
|
216
|
+
*/
|
|
217
|
+
EndTime?: Date | undefined;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* <p>Returns details of a resource evaluation based on the selected filter.</p>
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
export interface ResourceEvaluationFilters {
|
|
224
|
+
/**
|
|
225
|
+
* <p>Filters all resource evaluations results based on an evaluation mode.</p>
|
|
226
|
+
* <important>
|
|
227
|
+
* <p>Currently, <code>DECTECTIVE</code> is not supported as a valid value. Ignore other documentation stating otherwise.</p>
|
|
228
|
+
* </important>
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
EvaluationMode?: EvaluationMode | undefined;
|
|
232
|
+
/**
|
|
233
|
+
* <p>Returns a <code>TimeWindow</code> object.</p>
|
|
234
|
+
* @public
|
|
235
|
+
*/
|
|
236
|
+
TimeWindow?: TimeWindow | undefined;
|
|
237
|
+
/**
|
|
238
|
+
* <p>Filters evaluations for a given infrastructure deployment. For example: CFN Stack.</p>
|
|
239
|
+
* @public
|
|
240
|
+
*/
|
|
241
|
+
EvaluationContextIdentifier?: string | undefined;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
export interface ListResourceEvaluationsRequest {
|
|
247
|
+
/**
|
|
248
|
+
* <p>Returns a <code>ResourceEvaluationFilters</code> object.</p>
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
Filters?: ResourceEvaluationFilters | undefined;
|
|
252
|
+
/**
|
|
253
|
+
* <p>The maximum number of evaluations returned on each page. The default is 10.
|
|
254
|
+
* You cannot specify a number greater than 100. If you specify 0, Config uses the default.</p>
|
|
255
|
+
* @public
|
|
256
|
+
*/
|
|
257
|
+
Limit?: number | undefined;
|
|
258
|
+
/**
|
|
259
|
+
* <p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p>
|
|
260
|
+
* @public
|
|
261
|
+
*/
|
|
262
|
+
NextToken?: string | undefined;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* <p>Returns details of a resource evaluation.</p>
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
268
|
+
export interface ResourceEvaluation {
|
|
269
|
+
/**
|
|
270
|
+
* <p>The ResourceEvaluationId of a evaluation.</p>
|
|
271
|
+
* @public
|
|
272
|
+
*/
|
|
273
|
+
ResourceEvaluationId?: string | undefined;
|
|
274
|
+
/**
|
|
275
|
+
* <p>The mode of an evaluation. The valid values are Detective or Proactive.</p>
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
278
|
+
EvaluationMode?: EvaluationMode | undefined;
|
|
279
|
+
/**
|
|
280
|
+
* <p>The starting time of an execution.</p>
|
|
281
|
+
* @public
|
|
282
|
+
*/
|
|
283
|
+
EvaluationStartTimestamp?: Date | undefined;
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* @public
|
|
287
|
+
*/
|
|
288
|
+
export interface ListResourceEvaluationsResponse {
|
|
289
|
+
/**
|
|
290
|
+
* <p>Returns a <code>ResourceEvaluations</code> object.</p>
|
|
291
|
+
* @public
|
|
292
|
+
*/
|
|
293
|
+
ResourceEvaluations?: ResourceEvaluation[] | undefined;
|
|
294
|
+
/**
|
|
295
|
+
* <p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p>
|
|
296
|
+
* @public
|
|
297
|
+
*/
|
|
298
|
+
NextToken?: string | undefined;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* @public
|
|
302
|
+
*/
|
|
303
|
+
export interface ListStoredQueriesRequest {
|
|
304
|
+
/**
|
|
305
|
+
* <p>The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.</p>
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
NextToken?: string | undefined;
|
|
309
|
+
/**
|
|
310
|
+
* <p>The maximum number of results to be returned with a single call.</p>
|
|
311
|
+
* @public
|
|
312
|
+
*/
|
|
313
|
+
MaxResults?: number | undefined;
|
|
314
|
+
}
|
|
315
|
+
/**
|
|
316
|
+
* <p>Returns details of a specific query. </p>
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
319
|
+
export interface StoredQueryMetadata {
|
|
320
|
+
/**
|
|
321
|
+
* <p>The ID of the query. </p>
|
|
322
|
+
* @public
|
|
323
|
+
*/
|
|
324
|
+
QueryId: string | undefined;
|
|
325
|
+
/**
|
|
326
|
+
* <p>Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.</p>
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
329
|
+
QueryArn: string | undefined;
|
|
330
|
+
/**
|
|
331
|
+
* <p>The name of the query.</p>
|
|
332
|
+
* @public
|
|
333
|
+
*/
|
|
334
|
+
QueryName: string | undefined;
|
|
335
|
+
/**
|
|
336
|
+
* <p>A unique description for the query.</p>
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
339
|
+
Description?: string | undefined;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* @public
|
|
343
|
+
*/
|
|
344
|
+
export interface ListStoredQueriesResponse {
|
|
345
|
+
/**
|
|
346
|
+
* <p>A list of <code>StoredQueryMetadata</code> objects.</p>
|
|
347
|
+
* @public
|
|
348
|
+
*/
|
|
349
|
+
StoredQueryMetadata?: StoredQueryMetadata[] | undefined;
|
|
350
|
+
/**
|
|
351
|
+
* <p>If the previous paginated request didn't return all of the remaining results, the response object's <code>NextToken</code> parameter value is set to a token.
|
|
352
|
+
* To retrieve the next set of results, call this operation again and assign that token to the request object's <code>NextToken</code> parameter.
|
|
353
|
+
* If there are no remaining results, the previous response object's <code>NextToken</code> parameter is set to <code>null</code>. </p>
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
NextToken?: string | undefined;
|
|
357
|
+
}
|
|
358
|
+
/**
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
export interface ListTagsForResourceRequest {
|
|
362
|
+
/**
|
|
363
|
+
* <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. The following resources are supported:</p>
|
|
364
|
+
* <ul>
|
|
365
|
+
* <li>
|
|
366
|
+
* <p>
|
|
367
|
+
* <code>ConfigurationRecorder</code>
|
|
368
|
+
* </p>
|
|
369
|
+
* </li>
|
|
370
|
+
* <li>
|
|
371
|
+
* <p>
|
|
372
|
+
* <code>ConfigRule</code>
|
|
373
|
+
* </p>
|
|
374
|
+
* </li>
|
|
375
|
+
* <li>
|
|
376
|
+
* <p>
|
|
377
|
+
* <code>OrganizationConfigRule</code>
|
|
378
|
+
* </p>
|
|
379
|
+
* </li>
|
|
380
|
+
* <li>
|
|
381
|
+
* <p>
|
|
382
|
+
* <code>ConformancePack</code>
|
|
383
|
+
* </p>
|
|
384
|
+
* </li>
|
|
385
|
+
* <li>
|
|
386
|
+
* <p>
|
|
387
|
+
* <code>OrganizationConformancePack</code>
|
|
388
|
+
* </p>
|
|
389
|
+
* </li>
|
|
390
|
+
* <li>
|
|
391
|
+
* <p>
|
|
392
|
+
* <code>ConfigurationAggregator</code>
|
|
393
|
+
* </p>
|
|
394
|
+
* </li>
|
|
395
|
+
* <li>
|
|
396
|
+
* <p>
|
|
397
|
+
* <code>AggregationAuthorization</code>
|
|
398
|
+
* </p>
|
|
399
|
+
* </li>
|
|
400
|
+
* <li>
|
|
401
|
+
* <p>
|
|
402
|
+
* <code>StoredQuery</code>
|
|
403
|
+
* </p>
|
|
404
|
+
* </li>
|
|
405
|
+
* </ul>
|
|
406
|
+
* @public
|
|
407
|
+
*/
|
|
408
|
+
ResourceArn: string | undefined;
|
|
409
|
+
/**
|
|
410
|
+
* <p>The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number greater than 50. If you specify 0, Config uses the default. </p>
|
|
411
|
+
* @public
|
|
412
|
+
*/
|
|
413
|
+
Limit?: number | undefined;
|
|
414
|
+
/**
|
|
415
|
+
* <p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response. </p>
|
|
416
|
+
* @public
|
|
417
|
+
*/
|
|
418
|
+
NextToken?: string | undefined;
|
|
419
|
+
}
|
|
4
420
|
/**
|
|
5
421
|
* <p>The tags for the resource. The metadata that you apply to a resource to help you categorize and organize them.
|
|
6
422
|
* Each tag consists of a key and an optional value, both of which you define.
|
|
@@ -357,6 +773,11 @@ export interface PutConfigurationAggregatorRequest {
|
|
|
357
773
|
* @public
|
|
358
774
|
*/
|
|
359
775
|
Tags?: Tag[] | undefined;
|
|
776
|
+
/**
|
|
777
|
+
* <p>An object to filter configuration recorders in an aggregator. Either <code>ResourceType</code> or <code>ServicePrincipal</code> is required.</p>
|
|
778
|
+
* @public
|
|
779
|
+
*/
|
|
780
|
+
AggregatorFilters?: AggregatorFilters | undefined;
|
|
360
781
|
}
|
|
361
782
|
/**
|
|
362
783
|
* @public
|
|
@@ -375,10 +796,15 @@ export interface PutConfigurationAggregatorResponse {
|
|
|
375
796
|
*/
|
|
376
797
|
export interface PutConfigurationRecorderRequest {
|
|
377
798
|
/**
|
|
378
|
-
* <p>An object for the configuration recorder
|
|
799
|
+
* <p>An object for the configuration recorder. A configuration recorder records configuration changes for the resource types in scope.</p>
|
|
379
800
|
* @public
|
|
380
801
|
*/
|
|
381
802
|
ConfigurationRecorder: ConfigurationRecorder | undefined;
|
|
803
|
+
/**
|
|
804
|
+
* <p>The tags for the customer managed configuration recorder. Each tag consists of a key and an optional value, both of which you define.</p>
|
|
805
|
+
* @public
|
|
806
|
+
*/
|
|
807
|
+
Tags?: Tag[] | undefined;
|
|
382
808
|
}
|
|
383
809
|
/**
|
|
384
810
|
* @public
|
|
@@ -450,9 +876,8 @@ export interface PutConformancePackResponse {
|
|
|
450
876
|
*/
|
|
451
877
|
export interface PutDeliveryChannelRequest {
|
|
452
878
|
/**
|
|
453
|
-
* <p>
|
|
454
|
-
*
|
|
455
|
-
* SNS topic.</p>
|
|
879
|
+
* <p>An object for the delivery channel. A delivery channel sends notifications and updated configuration states.
|
|
880
|
+
* </p>
|
|
456
881
|
* @public
|
|
457
882
|
*/
|
|
458
883
|
DeliveryChannel: DeliveryChannel | undefined;
|
|
@@ -756,6 +1181,37 @@ export interface PutRetentionConfigurationResponse {
|
|
|
756
1181
|
*/
|
|
757
1182
|
RetentionConfiguration?: RetentionConfiguration | undefined;
|
|
758
1183
|
}
|
|
1184
|
+
/**
|
|
1185
|
+
* @public
|
|
1186
|
+
*/
|
|
1187
|
+
export interface PutServiceLinkedConfigurationRecorderRequest {
|
|
1188
|
+
/**
|
|
1189
|
+
* <p>The service principal of the Amazon Web Services service for the service-linked configuration recorder that you want to create.</p>
|
|
1190
|
+
* @public
|
|
1191
|
+
*/
|
|
1192
|
+
ServicePrincipal: string | undefined;
|
|
1193
|
+
/**
|
|
1194
|
+
* <p>The tags for a service-linked configuration recorder. Each tag consists of a key and an optional value, both of which you define.</p>
|
|
1195
|
+
* @public
|
|
1196
|
+
*/
|
|
1197
|
+
Tags?: Tag[] | undefined;
|
|
1198
|
+
}
|
|
1199
|
+
/**
|
|
1200
|
+
* @public
|
|
1201
|
+
*/
|
|
1202
|
+
export interface PutServiceLinkedConfigurationRecorderResponse {
|
|
1203
|
+
/**
|
|
1204
|
+
* <p>The Amazon Resource Name (ARN) of the specified configuration recorder.</p>
|
|
1205
|
+
* @public
|
|
1206
|
+
*/
|
|
1207
|
+
Arn?: string | undefined;
|
|
1208
|
+
/**
|
|
1209
|
+
* <p>The name of the specified configuration recorder.</p>
|
|
1210
|
+
* <p>For service-linked configuration recorders, Config automatically assigns a name that has the prefix "<code>AWS</code>" to the new service-linked configuration recorder.</p>
|
|
1211
|
+
* @public
|
|
1212
|
+
*/
|
|
1213
|
+
Name?: string | undefined;
|
|
1214
|
+
}
|
|
759
1215
|
/**
|
|
760
1216
|
* @public
|
|
761
1217
|
*/
|
|
@@ -935,13 +1391,12 @@ export interface StartConfigRulesEvaluationResponse {
|
|
|
935
1391
|
}
|
|
936
1392
|
/**
|
|
937
1393
|
* <p>The input for the <a>StartConfigurationRecorder</a>
|
|
938
|
-
*
|
|
1394
|
+
* operation.</p>
|
|
939
1395
|
* @public
|
|
940
1396
|
*/
|
|
941
1397
|
export interface StartConfigurationRecorderRequest {
|
|
942
1398
|
/**
|
|
943
|
-
* <p>The name of the recorder
|
|
944
|
-
* change made to the resources.</p>
|
|
1399
|
+
* <p>The name of the customer managed configuration recorder that you want to start.</p>
|
|
945
1400
|
* @public
|
|
946
1401
|
*/
|
|
947
1402
|
ConfigurationRecorderName: string | undefined;
|
|
@@ -1027,12 +1482,12 @@ export interface StartResourceEvaluationResponse {
|
|
|
1027
1482
|
ResourceEvaluationId?: string | undefined;
|
|
1028
1483
|
}
|
|
1029
1484
|
/**
|
|
1030
|
-
* <p>The input for the <a>StopConfigurationRecorder</a>
|
|
1485
|
+
* <p>The input for the <a>StopConfigurationRecorder</a> operation.</p>
|
|
1031
1486
|
* @public
|
|
1032
1487
|
*/
|
|
1033
1488
|
export interface StopConfigurationRecorderRequest {
|
|
1034
1489
|
/**
|
|
1035
|
-
* <p>The name of the
|
|
1490
|
+
* <p>The name of the customer managed configuration recorder that you want to stop.</p>
|
|
1036
1491
|
* @public
|
|
1037
1492
|
*/
|
|
1038
1493
|
ConfigurationRecorderName: string | undefined;
|
|
@@ -1042,7 +1497,49 @@ export interface StopConfigurationRecorderRequest {
|
|
|
1042
1497
|
*/
|
|
1043
1498
|
export interface TagResourceRequest {
|
|
1044
1499
|
/**
|
|
1045
|
-
* <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.
|
|
1500
|
+
* <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. The following resources are supported:</p>
|
|
1501
|
+
* <ul>
|
|
1502
|
+
* <li>
|
|
1503
|
+
* <p>
|
|
1504
|
+
* <code>ConfigurationRecorder</code>
|
|
1505
|
+
* </p>
|
|
1506
|
+
* </li>
|
|
1507
|
+
* <li>
|
|
1508
|
+
* <p>
|
|
1509
|
+
* <code>ConfigRule</code>
|
|
1510
|
+
* </p>
|
|
1511
|
+
* </li>
|
|
1512
|
+
* <li>
|
|
1513
|
+
* <p>
|
|
1514
|
+
* <code>OrganizationConfigRule</code>
|
|
1515
|
+
* </p>
|
|
1516
|
+
* </li>
|
|
1517
|
+
* <li>
|
|
1518
|
+
* <p>
|
|
1519
|
+
* <code>ConformancePack</code>
|
|
1520
|
+
* </p>
|
|
1521
|
+
* </li>
|
|
1522
|
+
* <li>
|
|
1523
|
+
* <p>
|
|
1524
|
+
* <code>OrganizationConformancePack</code>
|
|
1525
|
+
* </p>
|
|
1526
|
+
* </li>
|
|
1527
|
+
* <li>
|
|
1528
|
+
* <p>
|
|
1529
|
+
* <code>ConfigurationAggregator</code>
|
|
1530
|
+
* </p>
|
|
1531
|
+
* </li>
|
|
1532
|
+
* <li>
|
|
1533
|
+
* <p>
|
|
1534
|
+
* <code>AggregationAuthorization</code>
|
|
1535
|
+
* </p>
|
|
1536
|
+
* </li>
|
|
1537
|
+
* <li>
|
|
1538
|
+
* <p>
|
|
1539
|
+
* <code>StoredQuery</code>
|
|
1540
|
+
* </p>
|
|
1541
|
+
* </li>
|
|
1542
|
+
* </ul>
|
|
1046
1543
|
* @public
|
|
1047
1544
|
*/
|
|
1048
1545
|
ResourceArn: string | undefined;
|
|
@@ -1057,7 +1554,49 @@ export interface TagResourceRequest {
|
|
|
1057
1554
|
*/
|
|
1058
1555
|
export interface UntagResourceRequest {
|
|
1059
1556
|
/**
|
|
1060
|
-
* <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags.
|
|
1557
|
+
* <p>The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. The following resources are supported:</p>
|
|
1558
|
+
* <ul>
|
|
1559
|
+
* <li>
|
|
1560
|
+
* <p>
|
|
1561
|
+
* <code>ConfigurationRecorder</code>
|
|
1562
|
+
* </p>
|
|
1563
|
+
* </li>
|
|
1564
|
+
* <li>
|
|
1565
|
+
* <p>
|
|
1566
|
+
* <code>ConfigRule</code>
|
|
1567
|
+
* </p>
|
|
1568
|
+
* </li>
|
|
1569
|
+
* <li>
|
|
1570
|
+
* <p>
|
|
1571
|
+
* <code>OrganizationConfigRule</code>
|
|
1572
|
+
* </p>
|
|
1573
|
+
* </li>
|
|
1574
|
+
* <li>
|
|
1575
|
+
* <p>
|
|
1576
|
+
* <code>ConformancePack</code>
|
|
1577
|
+
* </p>
|
|
1578
|
+
* </li>
|
|
1579
|
+
* <li>
|
|
1580
|
+
* <p>
|
|
1581
|
+
* <code>OrganizationConformancePack</code>
|
|
1582
|
+
* </p>
|
|
1583
|
+
* </li>
|
|
1584
|
+
* <li>
|
|
1585
|
+
* <p>
|
|
1586
|
+
* <code>ConfigurationAggregator</code>
|
|
1587
|
+
* </p>
|
|
1588
|
+
* </li>
|
|
1589
|
+
* <li>
|
|
1590
|
+
* <p>
|
|
1591
|
+
* <code>AggregationAuthorization</code>
|
|
1592
|
+
* </p>
|
|
1593
|
+
* </li>
|
|
1594
|
+
* <li>
|
|
1595
|
+
* <p>
|
|
1596
|
+
* <code>StoredQuery</code>
|
|
1597
|
+
* </p>
|
|
1598
|
+
* </li>
|
|
1599
|
+
* </ul>
|
|
1061
1600
|
* @public
|
|
1062
1601
|
*/
|
|
1063
1602
|
ResourceArn: string | undefined;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListConfigurationRecordersCommandInput, ListConfigurationRecordersCommandOutput } from "../commands/ListConfigurationRecordersCommand";
|
|
3
|
+
import { ConfigServicePaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListConfigurationRecorders: (config: ConfigServicePaginationConfiguration, input: ListConfigurationRecordersCommandInput, ...rest: any[]) => Paginator<ListConfigurationRecordersCommandOutput>;
|
|
@@ -32,6 +32,7 @@ export * from "./GetOrganizationConfigRuleDetailedStatusPaginator";
|
|
|
32
32
|
export * from "./GetOrganizationConformancePackDetailedStatusPaginator";
|
|
33
33
|
export * from "./GetResourceConfigHistoryPaginator";
|
|
34
34
|
export * from "./ListAggregateDiscoveredResourcesPaginator";
|
|
35
|
+
export * from "./ListConfigurationRecordersPaginator";
|
|
35
36
|
export * from "./ListConformancePackComplianceScoresPaginator";
|
|
36
37
|
export * from "./ListDiscoveredResourcesPaginator";
|
|
37
38
|
export * from "./ListResourceEvaluationsPaginator";
|