@aws-sdk/client-config-service 3.699.0 → 3.702.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 +1 -1
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ListResourceEvaluationsRequest,
|
|
10
10
|
ListResourceEvaluationsResponse,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_1";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ListResourceEvaluationsCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../ConfigServiceClient";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
ListTagsForResourceRequest,
|
|
10
|
+
ListTagsForResourceResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface ListTagsForResourceCommandInput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ConfigServiceClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../ConfigServiceClient";
|
|
8
|
+
import {
|
|
9
|
+
PutServiceLinkedConfigurationRecorderRequest,
|
|
10
|
+
PutServiceLinkedConfigurationRecorderResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface PutServiceLinkedConfigurationRecorderCommandInput
|
|
15
|
+
extends PutServiceLinkedConfigurationRecorderRequest {}
|
|
16
|
+
export interface PutServiceLinkedConfigurationRecorderCommandOutput
|
|
17
|
+
extends PutServiceLinkedConfigurationRecorderResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const PutServiceLinkedConfigurationRecorderCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: PutServiceLinkedConfigurationRecorderCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
PutServiceLinkedConfigurationRecorderCommandInput,
|
|
24
|
+
PutServiceLinkedConfigurationRecorderCommandOutput,
|
|
25
|
+
ConfigServiceClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: PutServiceLinkedConfigurationRecorderCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
PutServiceLinkedConfigurationRecorderCommandInput,
|
|
33
|
+
PutServiceLinkedConfigurationRecorderCommandOutput,
|
|
34
|
+
ConfigServiceClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class PutServiceLinkedConfigurationRecorderCommand extends PutServiceLinkedConfigurationRecorderCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: PutServiceLinkedConfigurationRecorderRequest;
|
|
44
|
+
output: PutServiceLinkedConfigurationRecorderResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: PutServiceLinkedConfigurationRecorderCommandInput;
|
|
48
|
+
output: PutServiceLinkedConfigurationRecorderCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./AssociateResourceTypesCommand";
|
|
1
2
|
export * from "./BatchGetAggregateResourceConfigCommand";
|
|
2
3
|
export * from "./BatchGetResourceConfigCommand";
|
|
3
4
|
export * from "./DeleteAggregationAuthorizationCommand";
|
|
@@ -14,6 +15,7 @@ export * from "./DeleteRemediationConfigurationCommand";
|
|
|
14
15
|
export * from "./DeleteRemediationExceptionsCommand";
|
|
15
16
|
export * from "./DeleteResourceConfigCommand";
|
|
16
17
|
export * from "./DeleteRetentionConfigurationCommand";
|
|
18
|
+
export * from "./DeleteServiceLinkedConfigurationRecorderCommand";
|
|
17
19
|
export * from "./DeleteStoredQueryCommand";
|
|
18
20
|
export * from "./DeliverConfigSnapshotCommand";
|
|
19
21
|
export * from "./DescribeAggregateComplianceByConfigRulesCommand";
|
|
@@ -41,6 +43,7 @@ export * from "./DescribeRemediationConfigurationsCommand";
|
|
|
41
43
|
export * from "./DescribeRemediationExceptionsCommand";
|
|
42
44
|
export * from "./DescribeRemediationExecutionStatusCommand";
|
|
43
45
|
export * from "./DescribeRetentionConfigurationsCommand";
|
|
46
|
+
export * from "./DisassociateResourceTypesCommand";
|
|
44
47
|
export * from "./GetAggregateComplianceDetailsByConfigRuleCommand";
|
|
45
48
|
export * from "./GetAggregateConfigRuleComplianceSummaryCommand";
|
|
46
49
|
export * from "./GetAggregateConformancePackComplianceSummaryCommand";
|
|
@@ -61,6 +64,7 @@ export * from "./GetResourceConfigHistoryCommand";
|
|
|
61
64
|
export * from "./GetResourceEvaluationSummaryCommand";
|
|
62
65
|
export * from "./GetStoredQueryCommand";
|
|
63
66
|
export * from "./ListAggregateDiscoveredResourcesCommand";
|
|
67
|
+
export * from "./ListConfigurationRecordersCommand";
|
|
64
68
|
export * from "./ListConformancePackComplianceScoresCommand";
|
|
65
69
|
export * from "./ListDiscoveredResourcesCommand";
|
|
66
70
|
export * from "./ListResourceEvaluationsCommand";
|
|
@@ -80,6 +84,7 @@ export * from "./PutRemediationConfigurationsCommand";
|
|
|
80
84
|
export * from "./PutRemediationExceptionsCommand";
|
|
81
85
|
export * from "./PutResourceConfigCommand";
|
|
82
86
|
export * from "./PutRetentionConfigurationCommand";
|
|
87
|
+
export * from "./PutServiceLinkedConfigurationRecorderCommand";
|
|
83
88
|
export * from "./PutStoredQueryCommand";
|
|
84
89
|
export * from "./SelectAggregateResourceConfigCommand";
|
|
85
90
|
export * from "./SelectResourceConfigCommand";
|
|
@@ -550,6 +550,102 @@ export interface AggregationAuthorization {
|
|
|
550
550
|
AuthorizedAwsRegion?: string | undefined;
|
|
551
551
|
CreationTime?: Date | undefined;
|
|
552
552
|
}
|
|
553
|
+
export declare const AggregatorFilterType: {
|
|
554
|
+
readonly INCLUDE: "INCLUDE";
|
|
555
|
+
};
|
|
556
|
+
export type AggregatorFilterType =
|
|
557
|
+
(typeof AggregatorFilterType)[keyof typeof AggregatorFilterType];
|
|
558
|
+
export interface AggregatorFilterResourceType {
|
|
559
|
+
Type?: AggregatorFilterType | undefined;
|
|
560
|
+
Value?: string[] | undefined;
|
|
561
|
+
}
|
|
562
|
+
export interface AggregatorFilterServicePrincipal {
|
|
563
|
+
Type?: AggregatorFilterType | undefined;
|
|
564
|
+
Value?: string[] | undefined;
|
|
565
|
+
}
|
|
566
|
+
export interface AggregatorFilters {
|
|
567
|
+
ResourceType?: AggregatorFilterResourceType | undefined;
|
|
568
|
+
ServicePrincipal?: AggregatorFilterServicePrincipal | undefined;
|
|
569
|
+
}
|
|
570
|
+
export interface AssociateResourceTypesRequest {
|
|
571
|
+
ConfigurationRecorderArn: string | undefined;
|
|
572
|
+
ResourceTypes: ResourceType[] | undefined;
|
|
573
|
+
}
|
|
574
|
+
export interface ExclusionByResourceTypes {
|
|
575
|
+
resourceTypes?: ResourceType[] | undefined;
|
|
576
|
+
}
|
|
577
|
+
export declare const RecordingStrategyType: {
|
|
578
|
+
readonly ALL_SUPPORTED_RESOURCE_TYPES: "ALL_SUPPORTED_RESOURCE_TYPES";
|
|
579
|
+
readonly EXCLUSION_BY_RESOURCE_TYPES: "EXCLUSION_BY_RESOURCE_TYPES";
|
|
580
|
+
readonly INCLUSION_BY_RESOURCE_TYPES: "INCLUSION_BY_RESOURCE_TYPES";
|
|
581
|
+
};
|
|
582
|
+
export type RecordingStrategyType =
|
|
583
|
+
(typeof RecordingStrategyType)[keyof typeof RecordingStrategyType];
|
|
584
|
+
export interface RecordingStrategy {
|
|
585
|
+
useOnly?: RecordingStrategyType | undefined;
|
|
586
|
+
}
|
|
587
|
+
export interface RecordingGroup {
|
|
588
|
+
allSupported?: boolean | undefined;
|
|
589
|
+
includeGlobalResourceTypes?: boolean | undefined;
|
|
590
|
+
resourceTypes?: ResourceType[] | undefined;
|
|
591
|
+
exclusionByResourceTypes?: ExclusionByResourceTypes | undefined;
|
|
592
|
+
recordingStrategy?: RecordingStrategy | undefined;
|
|
593
|
+
}
|
|
594
|
+
export declare const RecordingFrequency: {
|
|
595
|
+
readonly CONTINUOUS: "CONTINUOUS";
|
|
596
|
+
readonly DAILY: "DAILY";
|
|
597
|
+
};
|
|
598
|
+
export type RecordingFrequency =
|
|
599
|
+
(typeof RecordingFrequency)[keyof typeof RecordingFrequency];
|
|
600
|
+
export interface RecordingModeOverride {
|
|
601
|
+
description?: string | undefined;
|
|
602
|
+
resourceTypes: ResourceType[] | undefined;
|
|
603
|
+
recordingFrequency: RecordingFrequency | undefined;
|
|
604
|
+
}
|
|
605
|
+
export interface RecordingMode {
|
|
606
|
+
recordingFrequency: RecordingFrequency | undefined;
|
|
607
|
+
recordingModeOverrides?: RecordingModeOverride[] | undefined;
|
|
608
|
+
}
|
|
609
|
+
export declare const RecordingScope: {
|
|
610
|
+
readonly INTERNAL: "INTERNAL";
|
|
611
|
+
readonly PAID: "PAID";
|
|
612
|
+
};
|
|
613
|
+
export type RecordingScope =
|
|
614
|
+
(typeof RecordingScope)[keyof typeof RecordingScope];
|
|
615
|
+
export interface ConfigurationRecorder {
|
|
616
|
+
arn?: string | undefined;
|
|
617
|
+
name?: string | undefined;
|
|
618
|
+
roleARN?: string | undefined;
|
|
619
|
+
recordingGroup?: RecordingGroup | undefined;
|
|
620
|
+
recordingMode?: RecordingMode | undefined;
|
|
621
|
+
recordingScope?: RecordingScope | undefined;
|
|
622
|
+
servicePrincipal?: string | undefined;
|
|
623
|
+
}
|
|
624
|
+
export interface AssociateResourceTypesResponse {
|
|
625
|
+
ConfigurationRecorder: ConfigurationRecorder | undefined;
|
|
626
|
+
}
|
|
627
|
+
export declare class ConflictException extends __BaseException {
|
|
628
|
+
readonly name: "ConflictException";
|
|
629
|
+
readonly $fault: "client";
|
|
630
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
631
|
+
}
|
|
632
|
+
export declare class NoSuchConfigurationRecorderException extends __BaseException {
|
|
633
|
+
readonly name: "NoSuchConfigurationRecorderException";
|
|
634
|
+
readonly $fault: "client";
|
|
635
|
+
constructor(
|
|
636
|
+
opts: __ExceptionOptionType<
|
|
637
|
+
NoSuchConfigurationRecorderException,
|
|
638
|
+
__BaseException
|
|
639
|
+
>
|
|
640
|
+
);
|
|
641
|
+
}
|
|
642
|
+
export declare class ValidationException extends __BaseException {
|
|
643
|
+
readonly name: "ValidationException";
|
|
644
|
+
readonly $fault: "client";
|
|
645
|
+
constructor(
|
|
646
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
647
|
+
);
|
|
648
|
+
}
|
|
553
649
|
export declare const ConfigurationItemStatus: {
|
|
554
650
|
readonly OK: "OK";
|
|
555
651
|
readonly ResourceDeleted: "ResourceDeleted";
|
|
@@ -559,12 +655,6 @@ export declare const ConfigurationItemStatus: {
|
|
|
559
655
|
};
|
|
560
656
|
export type ConfigurationItemStatus =
|
|
561
657
|
(typeof ConfigurationItemStatus)[keyof typeof ConfigurationItemStatus];
|
|
562
|
-
export declare const RecordingFrequency: {
|
|
563
|
-
readonly CONTINUOUS: "CONTINUOUS";
|
|
564
|
-
readonly DAILY: "DAILY";
|
|
565
|
-
};
|
|
566
|
-
export type RecordingFrequency =
|
|
567
|
-
(typeof RecordingFrequency)[keyof typeof RecordingFrequency];
|
|
568
658
|
export interface BaseConfigurationItem {
|
|
569
659
|
version?: string | undefined;
|
|
570
660
|
accountId?: string | undefined;
|
|
@@ -601,13 +691,6 @@ export declare class NoSuchConfigurationAggregatorException extends __BaseExcept
|
|
|
601
691
|
>
|
|
602
692
|
);
|
|
603
693
|
}
|
|
604
|
-
export declare class ValidationException extends __BaseException {
|
|
605
|
-
readonly name: "ValidationException";
|
|
606
|
-
readonly $fault: "client";
|
|
607
|
-
constructor(
|
|
608
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
609
|
-
);
|
|
610
|
-
}
|
|
611
694
|
export interface ResourceKey {
|
|
612
695
|
resourceType: ResourceType | undefined;
|
|
613
696
|
resourceId: string | undefined;
|
|
@@ -790,6 +873,7 @@ export interface ConfigurationAggregator {
|
|
|
790
873
|
CreationTime?: Date | undefined;
|
|
791
874
|
LastUpdatedTime?: Date | undefined;
|
|
792
875
|
CreatedBy?: string | undefined;
|
|
876
|
+
AggregatorFilters?: AggregatorFilters | undefined;
|
|
793
877
|
}
|
|
794
878
|
export interface Relationship {
|
|
795
879
|
resourceType?: ResourceType | undefined;
|
|
@@ -819,49 +903,25 @@ export interface ConfigurationItem {
|
|
|
819
903
|
recordingFrequency?: RecordingFrequency | undefined;
|
|
820
904
|
configurationItemDeliveryTime?: Date | undefined;
|
|
821
905
|
}
|
|
822
|
-
export
|
|
823
|
-
|
|
824
|
-
}
|
|
825
|
-
export declare const RecordingStrategyType: {
|
|
826
|
-
readonly ALL_SUPPORTED_RESOURCE_TYPES: "ALL_SUPPORTED_RESOURCE_TYPES";
|
|
827
|
-
readonly EXCLUSION_BY_RESOURCE_TYPES: "EXCLUSION_BY_RESOURCE_TYPES";
|
|
828
|
-
readonly INCLUSION_BY_RESOURCE_TYPES: "INCLUSION_BY_RESOURCE_TYPES";
|
|
906
|
+
export declare const ConfigurationRecorderFilterName: {
|
|
907
|
+
readonly RecordingScope: "recordingScope";
|
|
829
908
|
};
|
|
830
|
-
export type
|
|
831
|
-
(typeof
|
|
832
|
-
export interface
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
export interface RecordingGroup {
|
|
836
|
-
allSupported?: boolean | undefined;
|
|
837
|
-
includeGlobalResourceTypes?: boolean | undefined;
|
|
838
|
-
resourceTypes?: ResourceType[] | undefined;
|
|
839
|
-
exclusionByResourceTypes?: ExclusionByResourceTypes | undefined;
|
|
840
|
-
recordingStrategy?: RecordingStrategy | undefined;
|
|
841
|
-
}
|
|
842
|
-
export interface RecordingModeOverride {
|
|
843
|
-
description?: string | undefined;
|
|
844
|
-
resourceTypes: ResourceType[] | undefined;
|
|
845
|
-
recordingFrequency: RecordingFrequency | undefined;
|
|
846
|
-
}
|
|
847
|
-
export interface RecordingMode {
|
|
848
|
-
recordingFrequency: RecordingFrequency | undefined;
|
|
849
|
-
recordingModeOverrides?: RecordingModeOverride[] | undefined;
|
|
850
|
-
}
|
|
851
|
-
export interface ConfigurationRecorder {
|
|
852
|
-
name?: string | undefined;
|
|
853
|
-
roleARN?: string | undefined;
|
|
854
|
-
recordingGroup?: RecordingGroup | undefined;
|
|
855
|
-
recordingMode?: RecordingMode | undefined;
|
|
909
|
+
export type ConfigurationRecorderFilterName =
|
|
910
|
+
(typeof ConfigurationRecorderFilterName)[keyof typeof ConfigurationRecorderFilterName];
|
|
911
|
+
export interface ConfigurationRecorderFilter {
|
|
912
|
+
filterName?: ConfigurationRecorderFilterName | undefined;
|
|
913
|
+
filterValue?: string[] | undefined;
|
|
856
914
|
}
|
|
857
915
|
export declare const RecorderStatus: {
|
|
858
916
|
readonly Failure: "Failure";
|
|
917
|
+
readonly NotApplicable: "NotApplicable";
|
|
859
918
|
readonly Pending: "Pending";
|
|
860
919
|
readonly Success: "Success";
|
|
861
920
|
};
|
|
862
921
|
export type RecorderStatus =
|
|
863
922
|
(typeof RecorderStatus)[keyof typeof RecorderStatus];
|
|
864
923
|
export interface ConfigurationRecorderStatus {
|
|
924
|
+
arn?: string | undefined;
|
|
865
925
|
name?: string | undefined;
|
|
866
926
|
lastStartTime?: Date | undefined;
|
|
867
927
|
lastStopTime?: Date | undefined;
|
|
@@ -870,6 +930,13 @@ export interface ConfigurationRecorderStatus {
|
|
|
870
930
|
lastErrorCode?: string | undefined;
|
|
871
931
|
lastErrorMessage?: string | undefined;
|
|
872
932
|
lastStatusChangeTime?: Date | undefined;
|
|
933
|
+
servicePrincipal?: string | undefined;
|
|
934
|
+
}
|
|
935
|
+
export interface ConfigurationRecorderSummary {
|
|
936
|
+
arn: string | undefined;
|
|
937
|
+
name: string | undefined;
|
|
938
|
+
servicePrincipal?: string | undefined;
|
|
939
|
+
recordingScope: RecordingScope | undefined;
|
|
873
940
|
}
|
|
874
941
|
export interface ConformancePackComplianceFilters {
|
|
875
942
|
ConfigRuleNames?: string[] | undefined;
|
|
@@ -987,14 +1054,11 @@ export interface DeleteConfigurationAggregatorRequest {
|
|
|
987
1054
|
export interface DeleteConfigurationRecorderRequest {
|
|
988
1055
|
ConfigurationRecorderName: string | undefined;
|
|
989
1056
|
}
|
|
990
|
-
export declare class
|
|
991
|
-
readonly name: "
|
|
1057
|
+
export declare class UnmodifiableEntityException extends __BaseException {
|
|
1058
|
+
readonly name: "UnmodifiableEntityException";
|
|
992
1059
|
readonly $fault: "client";
|
|
993
1060
|
constructor(
|
|
994
|
-
opts: __ExceptionOptionType<
|
|
995
|
-
NoSuchConfigurationRecorderException,
|
|
996
|
-
__BaseException
|
|
997
|
-
>
|
|
1061
|
+
opts: __ExceptionOptionType<UnmodifiableEntityException, __BaseException>
|
|
998
1062
|
);
|
|
999
1063
|
}
|
|
1000
1064
|
export interface DeleteConformancePackRequest {
|
|
@@ -1155,6 +1219,13 @@ export declare class NoSuchRetentionConfigurationException extends __BaseExcepti
|
|
|
1155
1219
|
>
|
|
1156
1220
|
);
|
|
1157
1221
|
}
|
|
1222
|
+
export interface DeleteServiceLinkedConfigurationRecorderRequest {
|
|
1223
|
+
ServicePrincipal: string | undefined;
|
|
1224
|
+
}
|
|
1225
|
+
export interface DeleteServiceLinkedConfigurationRecorderResponse {
|
|
1226
|
+
Arn: string | undefined;
|
|
1227
|
+
Name: string | undefined;
|
|
1228
|
+
}
|
|
1158
1229
|
export interface DeleteStoredQueryRequest {
|
|
1159
1230
|
QueryName: string | undefined;
|
|
1160
1231
|
}
|
|
@@ -1296,12 +1367,16 @@ export interface DescribeConfigurationAggregatorSourcesStatusResponse {
|
|
|
1296
1367
|
}
|
|
1297
1368
|
export interface DescribeConfigurationRecordersRequest {
|
|
1298
1369
|
ConfigurationRecorderNames?: string[] | undefined;
|
|
1370
|
+
ServicePrincipal?: string | undefined;
|
|
1371
|
+
Arn?: string | undefined;
|
|
1299
1372
|
}
|
|
1300
1373
|
export interface DescribeConfigurationRecordersResponse {
|
|
1301
1374
|
ConfigurationRecorders?: ConfigurationRecorder[] | undefined;
|
|
1302
1375
|
}
|
|
1303
1376
|
export interface DescribeConfigurationRecorderStatusRequest {
|
|
1304
1377
|
ConfigurationRecorderNames?: string[] | undefined;
|
|
1378
|
+
ServicePrincipal?: string | undefined;
|
|
1379
|
+
Arn?: string | undefined;
|
|
1305
1380
|
}
|
|
1306
1381
|
export interface DescribeConfigurationRecorderStatusResponse {
|
|
1307
1382
|
ConfigurationRecordersStatus?: ConfigurationRecorderStatus[] | undefined;
|
|
@@ -1634,6 +1709,13 @@ export interface DescribeRetentionConfigurationsResponse {
|
|
|
1634
1709
|
RetentionConfigurations?: RetentionConfiguration[] | undefined;
|
|
1635
1710
|
NextToken?: string | undefined;
|
|
1636
1711
|
}
|
|
1712
|
+
export interface DisassociateResourceTypesRequest {
|
|
1713
|
+
ConfigurationRecorderArn: string | undefined;
|
|
1714
|
+
ResourceTypes: ResourceType[] | undefined;
|
|
1715
|
+
}
|
|
1716
|
+
export interface DisassociateResourceTypesResponse {
|
|
1717
|
+
ConfigurationRecorder: ConfigurationRecorder | undefined;
|
|
1718
|
+
}
|
|
1637
1719
|
export interface Evaluation {
|
|
1638
1720
|
ComplianceResourceType: string | undefined;
|
|
1639
1721
|
ComplianceResourceId: string | undefined;
|
|
@@ -2093,83 +2175,3 @@ export interface ListAggregateDiscoveredResourcesResponse {
|
|
|
2093
2175
|
ResourceIdentifiers?: AggregateResourceIdentifier[] | undefined;
|
|
2094
2176
|
NextToken?: string | undefined;
|
|
2095
2177
|
}
|
|
2096
|
-
export declare const SortBy: {
|
|
2097
|
-
readonly SCORE: "SCORE";
|
|
2098
|
-
};
|
|
2099
|
-
export type SortBy = (typeof SortBy)[keyof typeof SortBy];
|
|
2100
|
-
export declare const SortOrder: {
|
|
2101
|
-
readonly ASCENDING: "ASCENDING";
|
|
2102
|
-
readonly DESCENDING: "DESCENDING";
|
|
2103
|
-
};
|
|
2104
|
-
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
2105
|
-
export interface ListConformancePackComplianceScoresRequest {
|
|
2106
|
-
Filters?: ConformancePackComplianceScoresFilters | undefined;
|
|
2107
|
-
SortOrder?: SortOrder | undefined;
|
|
2108
|
-
SortBy?: SortBy | undefined;
|
|
2109
|
-
Limit?: number | undefined;
|
|
2110
|
-
NextToken?: string | undefined;
|
|
2111
|
-
}
|
|
2112
|
-
export interface ListConformancePackComplianceScoresResponse {
|
|
2113
|
-
NextToken?: string | undefined;
|
|
2114
|
-
ConformancePackComplianceScores: ConformancePackComplianceScore[] | undefined;
|
|
2115
|
-
}
|
|
2116
|
-
export interface ListDiscoveredResourcesRequest {
|
|
2117
|
-
resourceType: ResourceType | undefined;
|
|
2118
|
-
resourceIds?: string[] | undefined;
|
|
2119
|
-
resourceName?: string | undefined;
|
|
2120
|
-
limit?: number | undefined;
|
|
2121
|
-
includeDeletedResources?: boolean | undefined;
|
|
2122
|
-
nextToken?: string | undefined;
|
|
2123
|
-
}
|
|
2124
|
-
export interface ResourceIdentifier {
|
|
2125
|
-
resourceType?: ResourceType | undefined;
|
|
2126
|
-
resourceId?: string | undefined;
|
|
2127
|
-
resourceName?: string | undefined;
|
|
2128
|
-
resourceDeletionTime?: Date | undefined;
|
|
2129
|
-
}
|
|
2130
|
-
export interface ListDiscoveredResourcesResponse {
|
|
2131
|
-
resourceIdentifiers?: ResourceIdentifier[] | undefined;
|
|
2132
|
-
nextToken?: string | undefined;
|
|
2133
|
-
}
|
|
2134
|
-
export interface TimeWindow {
|
|
2135
|
-
StartTime?: Date | undefined;
|
|
2136
|
-
EndTime?: Date | undefined;
|
|
2137
|
-
}
|
|
2138
|
-
export interface ResourceEvaluationFilters {
|
|
2139
|
-
EvaluationMode?: EvaluationMode | undefined;
|
|
2140
|
-
TimeWindow?: TimeWindow | undefined;
|
|
2141
|
-
EvaluationContextIdentifier?: string | undefined;
|
|
2142
|
-
}
|
|
2143
|
-
export interface ListResourceEvaluationsRequest {
|
|
2144
|
-
Filters?: ResourceEvaluationFilters | undefined;
|
|
2145
|
-
Limit?: number | undefined;
|
|
2146
|
-
NextToken?: string | undefined;
|
|
2147
|
-
}
|
|
2148
|
-
export interface ResourceEvaluation {
|
|
2149
|
-
ResourceEvaluationId?: string | undefined;
|
|
2150
|
-
EvaluationMode?: EvaluationMode | undefined;
|
|
2151
|
-
EvaluationStartTimestamp?: Date | undefined;
|
|
2152
|
-
}
|
|
2153
|
-
export interface ListResourceEvaluationsResponse {
|
|
2154
|
-
ResourceEvaluations?: ResourceEvaluation[] | undefined;
|
|
2155
|
-
NextToken?: string | undefined;
|
|
2156
|
-
}
|
|
2157
|
-
export interface ListStoredQueriesRequest {
|
|
2158
|
-
NextToken?: string | undefined;
|
|
2159
|
-
MaxResults?: number | undefined;
|
|
2160
|
-
}
|
|
2161
|
-
export interface StoredQueryMetadata {
|
|
2162
|
-
QueryId: string | undefined;
|
|
2163
|
-
QueryArn: string | undefined;
|
|
2164
|
-
QueryName: string | undefined;
|
|
2165
|
-
Description?: string | undefined;
|
|
2166
|
-
}
|
|
2167
|
-
export interface ListStoredQueriesResponse {
|
|
2168
|
-
StoredQueryMetadata?: StoredQueryMetadata[] | undefined;
|
|
2169
|
-
NextToken?: string | undefined;
|
|
2170
|
-
}
|
|
2171
|
-
export interface ListTagsForResourceRequest {
|
|
2172
|
-
ResourceArn: string | undefined;
|
|
2173
|
-
Limit?: number | undefined;
|
|
2174
|
-
NextToken?: string | undefined;
|
|
2175
|
-
}
|
|
@@ -3,9 +3,14 @@ import { ConfigServiceServiceException as __BaseException } from "./ConfigServic
|
|
|
3
3
|
import {
|
|
4
4
|
AccountAggregationSource,
|
|
5
5
|
AggregationAuthorization,
|
|
6
|
+
AggregatorFilters,
|
|
6
7
|
ConfigRule,
|
|
7
8
|
ConfigurationAggregator,
|
|
8
9
|
ConfigurationRecorder,
|
|
10
|
+
ConfigurationRecorderFilter,
|
|
11
|
+
ConfigurationRecorderSummary,
|
|
12
|
+
ConformancePackComplianceScore,
|
|
13
|
+
ConformancePackComplianceScoresFilters,
|
|
9
14
|
ConformancePackInputParameter,
|
|
10
15
|
DeliveryChannel,
|
|
11
16
|
Evaluation,
|
|
@@ -24,10 +29,100 @@ import {
|
|
|
24
29
|
RemediationExceptionResourceKey,
|
|
25
30
|
ResourceDetails,
|
|
26
31
|
ResourceKey,
|
|
32
|
+
ResourceType,
|
|
27
33
|
RetentionConfiguration,
|
|
28
34
|
StoredQuery,
|
|
29
35
|
TemplateSSMDocumentDetails,
|
|
30
36
|
} from "./models_0";
|
|
37
|
+
export interface ListConfigurationRecordersRequest {
|
|
38
|
+
Filters?: ConfigurationRecorderFilter[] | undefined;
|
|
39
|
+
MaxResults?: number | undefined;
|
|
40
|
+
NextToken?: string | undefined;
|
|
41
|
+
}
|
|
42
|
+
export interface ListConfigurationRecordersResponse {
|
|
43
|
+
ConfigurationRecorderSummaries: ConfigurationRecorderSummary[] | undefined;
|
|
44
|
+
NextToken?: string | undefined;
|
|
45
|
+
}
|
|
46
|
+
export declare const SortBy: {
|
|
47
|
+
readonly SCORE: "SCORE";
|
|
48
|
+
};
|
|
49
|
+
export type SortBy = (typeof SortBy)[keyof typeof SortBy];
|
|
50
|
+
export declare const SortOrder: {
|
|
51
|
+
readonly ASCENDING: "ASCENDING";
|
|
52
|
+
readonly DESCENDING: "DESCENDING";
|
|
53
|
+
};
|
|
54
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
|
|
55
|
+
export interface ListConformancePackComplianceScoresRequest {
|
|
56
|
+
Filters?: ConformancePackComplianceScoresFilters | undefined;
|
|
57
|
+
SortOrder?: SortOrder | undefined;
|
|
58
|
+
SortBy?: SortBy | undefined;
|
|
59
|
+
Limit?: number | undefined;
|
|
60
|
+
NextToken?: string | undefined;
|
|
61
|
+
}
|
|
62
|
+
export interface ListConformancePackComplianceScoresResponse {
|
|
63
|
+
NextToken?: string | undefined;
|
|
64
|
+
ConformancePackComplianceScores: ConformancePackComplianceScore[] | undefined;
|
|
65
|
+
}
|
|
66
|
+
export interface ListDiscoveredResourcesRequest {
|
|
67
|
+
resourceType: ResourceType | undefined;
|
|
68
|
+
resourceIds?: string[] | undefined;
|
|
69
|
+
resourceName?: string | undefined;
|
|
70
|
+
limit?: number | undefined;
|
|
71
|
+
includeDeletedResources?: boolean | undefined;
|
|
72
|
+
nextToken?: string | undefined;
|
|
73
|
+
}
|
|
74
|
+
export interface ResourceIdentifier {
|
|
75
|
+
resourceType?: ResourceType | undefined;
|
|
76
|
+
resourceId?: string | undefined;
|
|
77
|
+
resourceName?: string | undefined;
|
|
78
|
+
resourceDeletionTime?: Date | undefined;
|
|
79
|
+
}
|
|
80
|
+
export interface ListDiscoveredResourcesResponse {
|
|
81
|
+
resourceIdentifiers?: ResourceIdentifier[] | undefined;
|
|
82
|
+
nextToken?: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface TimeWindow {
|
|
85
|
+
StartTime?: Date | undefined;
|
|
86
|
+
EndTime?: Date | undefined;
|
|
87
|
+
}
|
|
88
|
+
export interface ResourceEvaluationFilters {
|
|
89
|
+
EvaluationMode?: EvaluationMode | undefined;
|
|
90
|
+
TimeWindow?: TimeWindow | undefined;
|
|
91
|
+
EvaluationContextIdentifier?: string | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface ListResourceEvaluationsRequest {
|
|
94
|
+
Filters?: ResourceEvaluationFilters | undefined;
|
|
95
|
+
Limit?: number | undefined;
|
|
96
|
+
NextToken?: string | undefined;
|
|
97
|
+
}
|
|
98
|
+
export interface ResourceEvaluation {
|
|
99
|
+
ResourceEvaluationId?: string | undefined;
|
|
100
|
+
EvaluationMode?: EvaluationMode | undefined;
|
|
101
|
+
EvaluationStartTimestamp?: Date | undefined;
|
|
102
|
+
}
|
|
103
|
+
export interface ListResourceEvaluationsResponse {
|
|
104
|
+
ResourceEvaluations?: ResourceEvaluation[] | undefined;
|
|
105
|
+
NextToken?: string | undefined;
|
|
106
|
+
}
|
|
107
|
+
export interface ListStoredQueriesRequest {
|
|
108
|
+
NextToken?: string | undefined;
|
|
109
|
+
MaxResults?: number | undefined;
|
|
110
|
+
}
|
|
111
|
+
export interface StoredQueryMetadata {
|
|
112
|
+
QueryId: string | undefined;
|
|
113
|
+
QueryArn: string | undefined;
|
|
114
|
+
QueryName: string | undefined;
|
|
115
|
+
Description?: string | undefined;
|
|
116
|
+
}
|
|
117
|
+
export interface ListStoredQueriesResponse {
|
|
118
|
+
StoredQueryMetadata?: StoredQueryMetadata[] | undefined;
|
|
119
|
+
NextToken?: string | undefined;
|
|
120
|
+
}
|
|
121
|
+
export interface ListTagsForResourceRequest {
|
|
122
|
+
ResourceArn: string | undefined;
|
|
123
|
+
Limit?: number | undefined;
|
|
124
|
+
NextToken?: string | undefined;
|
|
125
|
+
}
|
|
31
126
|
export interface Tag {
|
|
32
127
|
Key?: string | undefined;
|
|
33
128
|
Value?: string | undefined;
|
|
@@ -195,12 +290,14 @@ export interface PutConfigurationAggregatorRequest {
|
|
|
195
290
|
AccountAggregationSources?: AccountAggregationSource[] | undefined;
|
|
196
291
|
OrganizationAggregationSource?: OrganizationAggregationSource | undefined;
|
|
197
292
|
Tags?: Tag[] | undefined;
|
|
293
|
+
AggregatorFilters?: AggregatorFilters | undefined;
|
|
198
294
|
}
|
|
199
295
|
export interface PutConfigurationAggregatorResponse {
|
|
200
296
|
ConfigurationAggregator?: ConfigurationAggregator | undefined;
|
|
201
297
|
}
|
|
202
298
|
export interface PutConfigurationRecorderRequest {
|
|
203
299
|
ConfigurationRecorder: ConfigurationRecorder | undefined;
|
|
300
|
+
Tags?: Tag[] | undefined;
|
|
204
301
|
}
|
|
205
302
|
export interface PutConformancePackRequest {
|
|
206
303
|
ConformancePackName: string | undefined;
|
|
@@ -283,6 +380,14 @@ export interface PutRetentionConfigurationRequest {
|
|
|
283
380
|
export interface PutRetentionConfigurationResponse {
|
|
284
381
|
RetentionConfiguration?: RetentionConfiguration | undefined;
|
|
285
382
|
}
|
|
383
|
+
export interface PutServiceLinkedConfigurationRecorderRequest {
|
|
384
|
+
ServicePrincipal: string | undefined;
|
|
385
|
+
Tags?: Tag[] | undefined;
|
|
386
|
+
}
|
|
387
|
+
export interface PutServiceLinkedConfigurationRecorderResponse {
|
|
388
|
+
Arn?: string | undefined;
|
|
389
|
+
Name?: string | undefined;
|
|
390
|
+
}
|
|
286
391
|
export interface PutStoredQueryRequest {
|
|
287
392
|
StoredQuery: StoredQuery | undefined;
|
|
288
393
|
Tags?: Tag[] | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListConfigurationRecordersCommandInput,
|
|
4
|
+
ListConfigurationRecordersCommandOutput,
|
|
5
|
+
} from "../commands/ListConfigurationRecordersCommand";
|
|
6
|
+
import { ConfigServicePaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListConfigurationRecorders: (
|
|
8
|
+
config: ConfigServicePaginationConfiguration,
|
|
9
|
+
input: ListConfigurationRecordersCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => 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";
|