@aws-sdk/client-config-service 3.687.0 → 3.691.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.
@@ -29,12 +29,12 @@ import {
29
29
  TemplateSSMDocumentDetails,
30
30
  } from "./models_0";
31
31
  export interface Tag {
32
- Key?: string;
33
- Value?: string;
32
+ Key?: string | undefined;
33
+ Value?: string | undefined;
34
34
  }
35
35
  export interface ListTagsForResourceResponse {
36
- Tags?: Tag[];
37
- NextToken?: string;
36
+ Tags?: Tag[] | undefined;
37
+ NextToken?: string | undefined;
38
38
  }
39
39
  export declare class MaxActiveResourcesExceededException extends __BaseException {
40
40
  readonly name: "MaxActiveResourcesExceededException";
@@ -164,64 +164,66 @@ export declare class OrganizationConformancePackTemplateValidationException exte
164
164
  );
165
165
  }
166
166
  export interface OrganizationCustomPolicyRuleMetadata {
167
- Description?: string;
168
- OrganizationConfigRuleTriggerTypes?: OrganizationConfigRuleTriggerTypeNoSN[];
169
- InputParameters?: string;
170
- MaximumExecutionFrequency?: MaximumExecutionFrequency;
171
- ResourceTypesScope?: string[];
172
- ResourceIdScope?: string;
173
- TagKeyScope?: string;
174
- TagValueScope?: string;
167
+ Description?: string | undefined;
168
+ OrganizationConfigRuleTriggerTypes?:
169
+ | OrganizationConfigRuleTriggerTypeNoSN[]
170
+ | undefined;
171
+ InputParameters?: string | undefined;
172
+ MaximumExecutionFrequency?: MaximumExecutionFrequency | undefined;
173
+ ResourceTypesScope?: string[] | undefined;
174
+ ResourceIdScope?: string | undefined;
175
+ TagKeyScope?: string | undefined;
176
+ TagValueScope?: string | undefined;
175
177
  PolicyRuntime: string | undefined;
176
178
  PolicyText: string | undefined;
177
- DebugLogDeliveryAccounts?: string[];
179
+ DebugLogDeliveryAccounts?: string[] | undefined;
178
180
  }
179
181
  export interface PutAggregationAuthorizationRequest {
180
182
  AuthorizedAccountId: string | undefined;
181
183
  AuthorizedAwsRegion: string | undefined;
182
- Tags?: Tag[];
184
+ Tags?: Tag[] | undefined;
183
185
  }
184
186
  export interface PutAggregationAuthorizationResponse {
185
- AggregationAuthorization?: AggregationAuthorization;
187
+ AggregationAuthorization?: AggregationAuthorization | undefined;
186
188
  }
187
189
  export interface PutConfigRuleRequest {
188
190
  ConfigRule: ConfigRule | undefined;
189
- Tags?: Tag[];
191
+ Tags?: Tag[] | undefined;
190
192
  }
191
193
  export interface PutConfigurationAggregatorRequest {
192
194
  ConfigurationAggregatorName: string | undefined;
193
- AccountAggregationSources?: AccountAggregationSource[];
194
- OrganizationAggregationSource?: OrganizationAggregationSource;
195
- Tags?: Tag[];
195
+ AccountAggregationSources?: AccountAggregationSource[] | undefined;
196
+ OrganizationAggregationSource?: OrganizationAggregationSource | undefined;
197
+ Tags?: Tag[] | undefined;
196
198
  }
197
199
  export interface PutConfigurationAggregatorResponse {
198
- ConfigurationAggregator?: ConfigurationAggregator;
200
+ ConfigurationAggregator?: ConfigurationAggregator | undefined;
199
201
  }
200
202
  export interface PutConfigurationRecorderRequest {
201
203
  ConfigurationRecorder: ConfigurationRecorder | undefined;
202
204
  }
203
205
  export interface PutConformancePackRequest {
204
206
  ConformancePackName: string | undefined;
205
- TemplateS3Uri?: string;
206
- TemplateBody?: string;
207
- DeliveryS3Bucket?: string;
208
- DeliveryS3KeyPrefix?: string;
209
- ConformancePackInputParameters?: ConformancePackInputParameter[];
210
- TemplateSSMDocumentDetails?: TemplateSSMDocumentDetails;
207
+ TemplateS3Uri?: string | undefined;
208
+ TemplateBody?: string | undefined;
209
+ DeliveryS3Bucket?: string | undefined;
210
+ DeliveryS3KeyPrefix?: string | undefined;
211
+ ConformancePackInputParameters?: ConformancePackInputParameter[] | undefined;
212
+ TemplateSSMDocumentDetails?: TemplateSSMDocumentDetails | undefined;
211
213
  }
212
214
  export interface PutConformancePackResponse {
213
- ConformancePackArn?: string;
215
+ ConformancePackArn?: string | undefined;
214
216
  }
215
217
  export interface PutDeliveryChannelRequest {
216
218
  DeliveryChannel: DeliveryChannel | undefined;
217
219
  }
218
220
  export interface PutEvaluationsRequest {
219
- Evaluations?: Evaluation[];
221
+ Evaluations?: Evaluation[] | undefined;
220
222
  ResultToken: string | undefined;
221
- TestMode?: boolean;
223
+ TestMode?: boolean | undefined;
222
224
  }
223
225
  export interface PutEvaluationsResponse {
224
- FailedEvaluations?: Evaluation[];
226
+ FailedEvaluations?: Evaluation[] | undefined;
225
227
  }
226
228
  export interface PutExternalEvaluationRequest {
227
229
  ConfigRuleName: string | undefined;
@@ -230,61 +232,63 @@ export interface PutExternalEvaluationRequest {
230
232
  export interface PutExternalEvaluationResponse {}
231
233
  export interface PutOrganizationConfigRuleRequest {
232
234
  OrganizationConfigRuleName: string | undefined;
233
- OrganizationManagedRuleMetadata?: OrganizationManagedRuleMetadata;
234
- OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
235
- ExcludedAccounts?: string[];
236
- OrganizationCustomPolicyRuleMetadata?: OrganizationCustomPolicyRuleMetadata;
235
+ OrganizationManagedRuleMetadata?: OrganizationManagedRuleMetadata | undefined;
236
+ OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata | undefined;
237
+ ExcludedAccounts?: string[] | undefined;
238
+ OrganizationCustomPolicyRuleMetadata?:
239
+ | OrganizationCustomPolicyRuleMetadata
240
+ | undefined;
237
241
  }
238
242
  export interface PutOrganizationConfigRuleResponse {
239
- OrganizationConfigRuleArn?: string;
243
+ OrganizationConfigRuleArn?: string | undefined;
240
244
  }
241
245
  export interface PutOrganizationConformancePackRequest {
242
246
  OrganizationConformancePackName: string | undefined;
243
- TemplateS3Uri?: string;
244
- TemplateBody?: string;
245
- DeliveryS3Bucket?: string;
246
- DeliveryS3KeyPrefix?: string;
247
- ConformancePackInputParameters?: ConformancePackInputParameter[];
248
- ExcludedAccounts?: string[];
247
+ TemplateS3Uri?: string | undefined;
248
+ TemplateBody?: string | undefined;
249
+ DeliveryS3Bucket?: string | undefined;
250
+ DeliveryS3KeyPrefix?: string | undefined;
251
+ ConformancePackInputParameters?: ConformancePackInputParameter[] | undefined;
252
+ ExcludedAccounts?: string[] | undefined;
249
253
  }
250
254
  export interface PutOrganizationConformancePackResponse {
251
- OrganizationConformancePackArn?: string;
255
+ OrganizationConformancePackArn?: string | undefined;
252
256
  }
253
257
  export interface PutRemediationConfigurationsRequest {
254
258
  RemediationConfigurations: RemediationConfiguration[] | undefined;
255
259
  }
256
260
  export interface PutRemediationConfigurationsResponse {
257
- FailedBatches?: FailedRemediationBatch[];
261
+ FailedBatches?: FailedRemediationBatch[] | undefined;
258
262
  }
259
263
  export interface PutRemediationExceptionsRequest {
260
264
  ConfigRuleName: string | undefined;
261
265
  ResourceKeys: RemediationExceptionResourceKey[] | undefined;
262
- Message?: string;
263
- ExpirationTime?: Date;
266
+ Message?: string | undefined;
267
+ ExpirationTime?: Date | undefined;
264
268
  }
265
269
  export interface PutRemediationExceptionsResponse {
266
- FailedBatches?: FailedRemediationExceptionBatch[];
270
+ FailedBatches?: FailedRemediationExceptionBatch[] | undefined;
267
271
  }
268
272
  export interface PutResourceConfigRequest {
269
273
  ResourceType: string | undefined;
270
274
  SchemaVersionId: string | undefined;
271
275
  ResourceId: string | undefined;
272
- ResourceName?: string;
276
+ ResourceName?: string | undefined;
273
277
  Configuration: string | undefined;
274
- Tags?: Record<string, string>;
278
+ Tags?: Record<string, string> | undefined;
275
279
  }
276
280
  export interface PutRetentionConfigurationRequest {
277
281
  RetentionPeriodInDays: number | undefined;
278
282
  }
279
283
  export interface PutRetentionConfigurationResponse {
280
- RetentionConfiguration?: RetentionConfiguration;
284
+ RetentionConfiguration?: RetentionConfiguration | undefined;
281
285
  }
282
286
  export interface PutStoredQueryRequest {
283
287
  StoredQuery: StoredQuery | undefined;
284
- Tags?: Tag[];
288
+ Tags?: Tag[] | undefined;
285
289
  }
286
290
  export interface PutStoredQueryResponse {
287
- QueryArn?: string;
291
+ QueryArn?: string | undefined;
288
292
  }
289
293
  export declare class ResourceConcurrentModificationException extends __BaseException {
290
294
  readonly name: "ResourceConcurrentModificationException";
@@ -304,32 +308,32 @@ export declare class TooManyTagsException extends __BaseException {
304
308
  );
305
309
  }
306
310
  export interface QueryInfo {
307
- SelectFields?: FieldInfo[];
311
+ SelectFields?: FieldInfo[] | undefined;
308
312
  }
309
313
  export interface SelectAggregateResourceConfigRequest {
310
314
  Expression: string | undefined;
311
315
  ConfigurationAggregatorName: string | undefined;
312
- Limit?: number;
313
- MaxResults?: number;
314
- NextToken?: string;
316
+ Limit?: number | undefined;
317
+ MaxResults?: number | undefined;
318
+ NextToken?: string | undefined;
315
319
  }
316
320
  export interface SelectAggregateResourceConfigResponse {
317
- Results?: string[];
318
- QueryInfo?: QueryInfo;
319
- NextToken?: string;
321
+ Results?: string[] | undefined;
322
+ QueryInfo?: QueryInfo | undefined;
323
+ NextToken?: string | undefined;
320
324
  }
321
325
  export interface SelectResourceConfigRequest {
322
326
  Expression: string | undefined;
323
- Limit?: number;
324
- NextToken?: string;
327
+ Limit?: number | undefined;
328
+ NextToken?: string | undefined;
325
329
  }
326
330
  export interface SelectResourceConfigResponse {
327
- Results?: string[];
328
- QueryInfo?: QueryInfo;
329
- NextToken?: string;
331
+ Results?: string[] | undefined;
332
+ QueryInfo?: QueryInfo | undefined;
333
+ NextToken?: string | undefined;
330
334
  }
331
335
  export interface StartConfigRulesEvaluationRequest {
332
- ConfigRuleNames?: string[];
336
+ ConfigRuleNames?: string[] | undefined;
333
337
  }
334
338
  export interface StartConfigRulesEvaluationResponse {}
335
339
  export interface StartConfigurationRecorderRequest {
@@ -340,18 +344,18 @@ export interface StartRemediationExecutionRequest {
340
344
  ResourceKeys: ResourceKey[] | undefined;
341
345
  }
342
346
  export interface StartRemediationExecutionResponse {
343
- FailureMessage?: string;
344
- FailedItems?: ResourceKey[];
347
+ FailureMessage?: string | undefined;
348
+ FailedItems?: ResourceKey[] | undefined;
345
349
  }
346
350
  export interface StartResourceEvaluationRequest {
347
351
  ResourceDetails: ResourceDetails | undefined;
348
- EvaluationContext?: EvaluationContext;
352
+ EvaluationContext?: EvaluationContext | undefined;
349
353
  EvaluationMode: EvaluationMode | undefined;
350
- EvaluationTimeout?: number;
351
- ClientToken?: string;
354
+ EvaluationTimeout?: number | undefined;
355
+ ClientToken?: string | undefined;
352
356
  }
353
357
  export interface StartResourceEvaluationResponse {
354
- ResourceEvaluationId?: string;
358
+ ResourceEvaluationId?: string | undefined;
355
359
  }
356
360
  export interface StopConfigurationRecorderRequest {
357
361
  ConfigurationRecorderName: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-config-service",
3
3
  "description": "AWS SDK for JavaScript Config Service Client for Node.js, Browser and React Native",
4
- "version": "3.687.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-config-service",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",