@aws-sdk/client-config-service 3.1060.0 → 3.1062.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/dist-cjs/index.js CHANGED
@@ -2108,6 +2108,10 @@ const MaximumExecutionFrequency = {
2108
2108
  Twelve_Hours: "Twelve_Hours",
2109
2109
  TwentyFour_Hours: "TwentyFour_Hours",
2110
2110
  };
2111
+ const RuleEvaluationVisibility = {
2112
+ EXTERNAL: "EXTERNAL",
2113
+ INTERNAL: "INTERNAL",
2114
+ };
2111
2115
  const Owner = {
2112
2116
  Aws: "AWS",
2113
2117
  Custom_Lambda: "CUSTOM_LAMBDA",
@@ -2366,6 +2370,7 @@ exports.ResourceCountGroupKey = ResourceCountGroupKey;
2366
2370
  exports.ResourceEvaluationStatus = ResourceEvaluationStatus;
2367
2371
  exports.ResourceType = ResourceType;
2368
2372
  exports.ResourceValueType = ResourceValueType;
2373
+ exports.RuleEvaluationVisibility = RuleEvaluationVisibility;
2369
2374
  exports.SelectAggregateResourceConfigCommand = SelectAggregateResourceConfigCommand;
2370
2375
  exports.SelectResourceConfigCommand = SelectResourceConfigCommand;
2371
2376
  exports.SortBy = SortBy;
@@ -605,6 +605,7 @@ const _RES = "RemediationExecutionStatuses";
605
605
  const _RESe = "RemediationExecutionStatus";
606
606
  const _RESem = "RemediationExecutionStep";
607
607
  const _RESeme = "RemediationExecutionSteps";
608
+ const _REV = "RuleEvaluationVisibility";
608
609
  const _REe = "ResourceEvaluations";
609
610
  const _REem = "RemediationException";
610
611
  const _REes = "ResourceEvaluation";
@@ -665,6 +666,7 @@ const _SI = "SourceId";
665
666
  const _SIo = "SourceIdentifier";
666
667
  const _SO = "SortOrder";
667
668
  const _SP = "ServicePrincipal";
669
+ const _SPe = "ServicePrincipals";
668
670
  const _SQ = "StoredQuery";
669
671
  const _SQM = "StoredQueryMetadata";
670
672
  const _SQML = "StoredQueryMetadataList";
@@ -1298,8 +1300,8 @@ exports.ConfigExportDeliveryInfo$ = [3, n0, _CEDI,
1298
1300
  ];
1299
1301
  exports.ConfigRule$ = [3, n0, _CRo,
1300
1302
  0,
1301
- [_S, _CRN, _CRAo, _CRI, _D, _Sc, _IP, _MEF, _CRS, _CB, _EM],
1302
- [() => exports.Source$, 0, 0, 0, 0, () => exports.Scope$, 0, 0, 0, 0, () => EvaluationModes], 1
1303
+ [_S, _CRN, _CRAo, _CRI, _D, _Sc, _IP, _MEF, _CRS, _CB, _EM, _REV],
1304
+ [() => exports.Source$, 0, 0, 0, 0, () => exports.Scope$, 0, 0, 0, 0, () => EvaluationModes, 0], 1
1303
1305
  ];
1304
1306
  exports.ConfigRuleComplianceFilters$ = [3, n0, _CRCF,
1305
1307
  0,
@@ -1598,8 +1600,8 @@ exports.DescribeConfigRuleEvaluationStatusResponse$ = [3, n0, _DCRESRe,
1598
1600
  ];
1599
1601
  exports.DescribeConfigRulesFilters$ = [3, n0, _DCRF,
1600
1602
  0,
1601
- [_EMv],
1602
- [0]
1603
+ [_EMv, _REV],
1604
+ [0, 0]
1603
1605
  ];
1604
1606
  exports.DescribeConfigRulesRequest$ = [3, n0, _DCRRes,
1605
1607
  0,
@@ -2448,8 +2450,8 @@ exports.RetentionConfiguration$ = [3, n0, _RCet,
2448
2450
  ];
2449
2451
  exports.Scope$ = [3, n0, _Sc,
2450
2452
  0,
2451
- [_CRTo, _TK, _TVa, _CRIo],
2452
- [64 | 0, 0, 0, 0]
2453
+ [_CRTo, _TK, _TVa, _CRIo, _SPe],
2454
+ [64 | 0, 0, 0, 0, 64 | 0]
2453
2455
  ];
2454
2456
  exports.SelectAggregateResourceConfigRequest$ = [3, n0, _SARCR,
2455
2457
  0,
@@ -2778,6 +2780,7 @@ var RetentionConfigurationList = [1, n0, _RCL,
2778
2780
  0, () => exports.RetentionConfiguration$
2779
2781
  ];
2780
2782
  var RetentionConfigurationNameList = 64 | 0;
2783
+ var ServicePrincipals = 64 | 0;
2781
2784
  var ServicePrincipalValueList = 64 | 0;
2782
2785
  var SourceDetails = [1, n0, _SDo,
2783
2786
  0, () => exports.SourceDetail$
@@ -606,6 +606,10 @@ export const MaximumExecutionFrequency = {
606
606
  Twelve_Hours: "Twelve_Hours",
607
607
  TwentyFour_Hours: "TwentyFour_Hours",
608
608
  };
609
+ export const RuleEvaluationVisibility = {
610
+ EXTERNAL: "EXTERNAL",
611
+ INTERNAL: "INTERNAL",
612
+ };
609
613
  export const Owner = {
610
614
  Aws: "AWS",
611
615
  Custom_Lambda: "CUSTOM_LAMBDA",
@@ -594,6 +594,7 @@ const _RES = "RemediationExecutionStatuses";
594
594
  const _RESe = "RemediationExecutionStatus";
595
595
  const _RESem = "RemediationExecutionStep";
596
596
  const _RESeme = "RemediationExecutionSteps";
597
+ const _REV = "RuleEvaluationVisibility";
597
598
  const _REe = "ResourceEvaluations";
598
599
  const _REem = "RemediationException";
599
600
  const _REes = "ResourceEvaluation";
@@ -654,6 +655,7 @@ const _SI = "SourceId";
654
655
  const _SIo = "SourceIdentifier";
655
656
  const _SO = "SortOrder";
656
657
  const _SP = "ServicePrincipal";
658
+ const _SPe = "ServicePrincipals";
657
659
  const _SQ = "StoredQuery";
658
660
  const _SQM = "StoredQueryMetadata";
659
661
  const _SQML = "StoredQueryMetadataList";
@@ -1287,8 +1289,8 @@ export var ConfigExportDeliveryInfo$ = [3, n0, _CEDI,
1287
1289
  ];
1288
1290
  export var ConfigRule$ = [3, n0, _CRo,
1289
1291
  0,
1290
- [_S, _CRN, _CRAo, _CRI, _D, _Sc, _IP, _MEF, _CRS, _CB, _EM],
1291
- [() => Source$, 0, 0, 0, 0, () => Scope$, 0, 0, 0, 0, () => EvaluationModes], 1
1292
+ [_S, _CRN, _CRAo, _CRI, _D, _Sc, _IP, _MEF, _CRS, _CB, _EM, _REV],
1293
+ [() => Source$, 0, 0, 0, 0, () => Scope$, 0, 0, 0, 0, () => EvaluationModes, 0], 1
1292
1294
  ];
1293
1295
  export var ConfigRuleComplianceFilters$ = [3, n0, _CRCF,
1294
1296
  0,
@@ -1587,8 +1589,8 @@ export var DescribeConfigRuleEvaluationStatusResponse$ = [3, n0, _DCRESRe,
1587
1589
  ];
1588
1590
  export var DescribeConfigRulesFilters$ = [3, n0, _DCRF,
1589
1591
  0,
1590
- [_EMv],
1591
- [0]
1592
+ [_EMv, _REV],
1593
+ [0, 0]
1592
1594
  ];
1593
1595
  export var DescribeConfigRulesRequest$ = [3, n0, _DCRRes,
1594
1596
  0,
@@ -2437,8 +2439,8 @@ export var RetentionConfiguration$ = [3, n0, _RCet,
2437
2439
  ];
2438
2440
  export var Scope$ = [3, n0, _Sc,
2439
2441
  0,
2440
- [_CRTo, _TK, _TVa, _CRIo],
2441
- [64 | 0, 0, 0, 0]
2442
+ [_CRTo, _TK, _TVa, _CRIo, _SPe],
2443
+ [64 | 0, 0, 0, 0, 64 | 0]
2442
2444
  ];
2443
2445
  export var SelectAggregateResourceConfigRequest$ = [3, n0, _SARCR,
2444
2446
  0,
@@ -2767,6 +2769,7 @@ var RetentionConfigurationList = [1, n0, _RCL,
2767
2769
  0, () => RetentionConfiguration$
2768
2770
  ];
2769
2771
  var RetentionConfigurationNameList = 64 | 0;
2772
+ var ServicePrincipals = 64 | 0;
2770
2773
  var ServicePrincipalValueList = 64 | 0;
2771
2774
  var SourceDetails = [1, n0, _SDo,
2772
2775
  0, () => SourceDetail$
@@ -45,6 +45,7 @@ declare const DescribeConfigRulesCommand_base: {
45
45
  * NextToken: "STRING_VALUE",
46
46
  * Filters: { // DescribeConfigRulesFilters
47
47
  * EvaluationMode: "DETECTIVE" || "PROACTIVE",
48
+ * RuleEvaluationVisibility: "EXTERNAL" || "INTERNAL",
48
49
  * },
49
50
  * };
50
51
  * const command = new DescribeConfigRulesCommand(input);
@@ -63,6 +64,9 @@ declare const DescribeConfigRulesCommand_base: {
63
64
  * // TagKey: "STRING_VALUE",
64
65
  * // TagValue: "STRING_VALUE",
65
66
  * // ComplianceResourceId: "STRING_VALUE",
67
+ * // ServicePrincipals: [ // ServicePrincipals
68
+ * // "STRING_VALUE",
69
+ * // ],
66
70
  * // },
67
71
  * // Source: { // Source
68
72
  * // Owner: "CUSTOM_LAMBDA" || "AWS" || "CUSTOM_POLICY", // required
@@ -89,6 +93,7 @@ declare const DescribeConfigRulesCommand_base: {
89
93
  * // Mode: "DETECTIVE" || "PROACTIVE",
90
94
  * // },
91
95
  * // ],
96
+ * // RuleEvaluationVisibility: "EXTERNAL" || "INTERNAL",
92
97
  * // },
93
98
  * // ],
94
99
  * // NextToken: "STRING_VALUE",
@@ -97,6 +97,9 @@ declare const PutConfigRuleCommand_base: {
97
97
  * TagKey: "STRING_VALUE",
98
98
  * TagValue: "STRING_VALUE",
99
99
  * ComplianceResourceId: "STRING_VALUE",
100
+ * ServicePrincipals: [ // ServicePrincipals
101
+ * "STRING_VALUE",
102
+ * ],
100
103
  * },
101
104
  * Source: { // Source
102
105
  * Owner: "CUSTOM_LAMBDA" || "AWS" || "CUSTOM_POLICY", // required
@@ -123,6 +126,7 @@ declare const PutConfigRuleCommand_base: {
123
126
  * Mode: "DETECTIVE" || "PROACTIVE",
124
127
  * },
125
128
  * ],
129
+ * RuleEvaluationVisibility: "EXTERNAL" || "INTERNAL",
126
130
  * },
127
131
  * Tags: [ // TagsList
128
132
  * { // Tag
@@ -734,6 +734,18 @@ export declare const MaximumExecutionFrequency: {
734
734
  * @public
735
735
  */
736
736
  export type MaximumExecutionFrequency = (typeof MaximumExecutionFrequency)[keyof typeof MaximumExecutionFrequency];
737
+ /**
738
+ * @public
739
+ * @enum
740
+ */
741
+ export declare const RuleEvaluationVisibility: {
742
+ readonly EXTERNAL: "EXTERNAL";
743
+ readonly INTERNAL: "INTERNAL";
744
+ };
745
+ /**
746
+ * @public
747
+ */
748
+ export type RuleEvaluationVisibility = (typeof RuleEvaluationVisibility)[keyof typeof RuleEvaluationVisibility];
737
749
  /**
738
750
  * @public
739
751
  * @enum
@@ -1,4 +1,4 @@
1
- import type { AggregateConformancePackComplianceSummaryGroupKey, AggregatedSourceStatusType, AggregatedSourceType, AggregatorFilterType, ChronologicalOrder, ComplianceType, ConfigRuleComplianceSummaryGroupKey, ConfigRuleState, ConfigurationItemStatus, ConfigurationRecorderFilterName, ConformancePackComplianceType, ConformancePackState, DeliveryStatus, EvaluationMode, EventSource, MaximumExecutionFrequency, MemberAccountRuleStatus, MessageType, OrganizationConfigRuleTriggerType, OrganizationConfigRuleTriggerTypeNoSN, OrganizationResourceDetailedStatus, OrganizationResourceStatus, OrganizationRuleStatus, Owner, RecorderStatus, RecordingFrequency, RecordingScope, RecordingStrategyType, RemediationExecutionState, RemediationExecutionStepState, RemediationTargetType, ResourceConfigurationSchemaType, ResourceCountGroupKey, ResourceEvaluationStatus, ResourceType, ResourceValueType, SortBy, SortOrder } from "./enums";
1
+ import type { AggregateConformancePackComplianceSummaryGroupKey, AggregatedSourceStatusType, AggregatedSourceType, AggregatorFilterType, ChronologicalOrder, ComplianceType, ConfigRuleComplianceSummaryGroupKey, ConfigRuleState, ConfigurationItemStatus, ConfigurationRecorderFilterName, ConformancePackComplianceType, ConformancePackState, DeliveryStatus, EvaluationMode, EventSource, MaximumExecutionFrequency, MemberAccountRuleStatus, MessageType, OrganizationConfigRuleTriggerType, OrganizationConfigRuleTriggerTypeNoSN, OrganizationResourceDetailedStatus, OrganizationResourceStatus, OrganizationRuleStatus, Owner, RecorderStatus, RecordingFrequency, RecordingScope, RecordingStrategyType, RemediationExecutionState, RemediationExecutionStepState, RemediationTargetType, ResourceConfigurationSchemaType, ResourceCountGroupKey, ResourceEvaluationStatus, ResourceType, ResourceValueType, RuleEvaluationVisibility, SortBy, SortOrder } from "./enums";
2
2
  /**
3
3
  * <p>A collection of accounts and regions.</p>
4
4
  * @public
@@ -1478,6 +1478,14 @@ export interface Scope {
1478
1478
  * @public
1479
1479
  */
1480
1480
  ComplianceResourceId?: string | undefined;
1481
+ /**
1482
+ * <p>The service principals of the Amazon Web Services services for the rule.</p>
1483
+ * <note>
1484
+ * <p>The field is populated only if the service-linked rule is created by a service. The field is empty if you create your own rule.</p>
1485
+ * </note>
1486
+ * @public
1487
+ */
1488
+ ServicePrincipals?: string[] | undefined;
1481
1489
  }
1482
1490
  /**
1483
1491
  * <p>Provides the runtime system, policy definition, and whether debug logging enabled. You can
@@ -1749,6 +1757,11 @@ export interface ConfigRule {
1749
1757
  * @public
1750
1758
  */
1751
1759
  EvaluationModes?: EvaluationModeConfiguration[] | undefined;
1760
+ /**
1761
+ * <p>Indicates whether you can get <a>Evaluation</a>s for the Config rule. You can get <a>Evaluation</a>s for the Amazon Web Services Config rule if this value is <code>EXTERNAL</code>. You cannot get <a>Evaluation</a>s for the Amazon Web Services Config rule if this value is <code>INTERNAL</code>.</p>
1762
+ * @public
1763
+ */
1764
+ RuleEvaluationVisibility?: RuleEvaluationVisibility | undefined;
1752
1765
  }
1753
1766
  /**
1754
1767
  * <p>Filters the compliance results based on account ID, region,
@@ -3340,6 +3353,11 @@ export interface DescribeConfigRulesFilters {
3340
3353
  * @public
3341
3354
  */
3342
3355
  EvaluationMode?: EvaluationMode | undefined;
3356
+ /**
3357
+ * <p>Filters the results by <code>RuleEvaluationVisibility</code>.</p>
3358
+ * @public
3359
+ */
3360
+ RuleEvaluationVisibility?: RuleEvaluationVisibility | undefined;
3343
3361
  }
3344
3362
  /**
3345
3363
  * <p></p>
@@ -637,6 +637,12 @@ export declare const MaximumExecutionFrequency: {
637
637
  };
638
638
  export type MaximumExecutionFrequency =
639
639
  (typeof MaximumExecutionFrequency)[keyof typeof MaximumExecutionFrequency];
640
+ export declare const RuleEvaluationVisibility: {
641
+ readonly EXTERNAL: "EXTERNAL";
642
+ readonly INTERNAL: "INTERNAL";
643
+ };
644
+ export type RuleEvaluationVisibility =
645
+ (typeof RuleEvaluationVisibility)[keyof typeof RuleEvaluationVisibility];
640
646
  export declare const Owner: {
641
647
  readonly Aws: "AWS";
642
648
  readonly Custom_Lambda: "CUSTOM_LAMBDA";
@@ -35,6 +35,7 @@ import {
35
35
  ResourceEvaluationStatus,
36
36
  ResourceType,
37
37
  ResourceValueType,
38
+ RuleEvaluationVisibility,
38
39
  SortBy,
39
40
  SortOrder,
40
41
  } from "./enums";
@@ -254,6 +255,7 @@ export interface Scope {
254
255
  TagKey?: string | undefined;
255
256
  TagValue?: string | undefined;
256
257
  ComplianceResourceId?: string | undefined;
258
+ ServicePrincipals?: string[] | undefined;
257
259
  }
258
260
  export interface CustomPolicyDetails {
259
261
  PolicyRuntime: string | undefined;
@@ -283,6 +285,7 @@ export interface ConfigRule {
283
285
  ConfigRuleState?: ConfigRuleState | undefined;
284
286
  CreatedBy?: string | undefined;
285
287
  EvaluationModes?: EvaluationModeConfiguration[] | undefined;
288
+ RuleEvaluationVisibility?: RuleEvaluationVisibility | undefined;
286
289
  }
287
290
  export interface ConfigRuleComplianceFilters {
288
291
  ConfigRuleName?: string | undefined;
@@ -604,6 +607,7 @@ export interface DescribeConfigRuleEvaluationStatusResponse {
604
607
  }
605
608
  export interface DescribeConfigRulesFilters {
606
609
  EvaluationMode?: EvaluationMode | undefined;
610
+ RuleEvaluationVisibility?: RuleEvaluationVisibility | undefined;
607
611
  }
608
612
  export interface DescribeConfigRulesRequest {
609
613
  ConfigRuleNames?: 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.1060.0",
4
+ "version": "3.1062.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-config-service",
@@ -24,7 +24,7 @@
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
26
  "@aws-sdk/core": "^3.974.17",
27
- "@aws-sdk/credential-provider-node": "^3.972.50",
27
+ "@aws-sdk/credential-provider-node": "^3.972.51",
28
28
  "@aws-sdk/types": "^3.973.10",
29
29
  "@smithy/core": "^3.24.6",
30
30
  "@smithy/fetch-http-handler": "^5.4.6",