@aws-sdk/client-config-service 3.54.0 → 3.56.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.
Files changed (181) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/ConfigService.js +30 -0
  3. package/dist-cjs/ConfigServiceClient.js +13 -13
  4. package/dist-cjs/commands/BatchGetAggregateResourceConfigCommand.js +3 -3
  5. package/dist-cjs/commands/BatchGetResourceConfigCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteAggregationAuthorizationCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteConfigRuleCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteConfigurationAggregatorCommand.js +3 -3
  9. package/dist-cjs/commands/DeleteConfigurationRecorderCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteConformancePackCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteDeliveryChannelCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteEvaluationResultsCommand.js +3 -3
  13. package/dist-cjs/commands/DeleteOrganizationConfigRuleCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteOrganizationConformancePackCommand.js +3 -3
  15. package/dist-cjs/commands/DeletePendingAggregationRequestCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteRemediationConfigurationCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteRemediationExceptionsCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteResourceConfigCommand.js +3 -3
  19. package/dist-cjs/commands/DeleteRetentionConfigurationCommand.js +3 -3
  20. package/dist-cjs/commands/DeleteStoredQueryCommand.js +3 -3
  21. package/dist-cjs/commands/DeliverConfigSnapshotCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeAggregateComplianceByConfigRulesCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeAggregateComplianceByConformancePacksCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeAggregationAuthorizationsCommand.js +3 -3
  25. package/dist-cjs/commands/DescribeComplianceByConfigRuleCommand.js +3 -3
  26. package/dist-cjs/commands/DescribeComplianceByResourceCommand.js +3 -3
  27. package/dist-cjs/commands/DescribeConfigRuleEvaluationStatusCommand.js +3 -3
  28. package/dist-cjs/commands/DescribeConfigRulesCommand.js +3 -3
  29. package/dist-cjs/commands/DescribeConfigurationAggregatorSourcesStatusCommand.js +3 -3
  30. package/dist-cjs/commands/DescribeConfigurationAggregatorsCommand.js +3 -3
  31. package/dist-cjs/commands/DescribeConfigurationRecorderStatusCommand.js +3 -3
  32. package/dist-cjs/commands/DescribeConfigurationRecordersCommand.js +3 -3
  33. package/dist-cjs/commands/DescribeConformancePackComplianceCommand.js +3 -3
  34. package/dist-cjs/commands/DescribeConformancePackStatusCommand.js +3 -3
  35. package/dist-cjs/commands/DescribeConformancePacksCommand.js +3 -3
  36. package/dist-cjs/commands/DescribeDeliveryChannelStatusCommand.js +3 -3
  37. package/dist-cjs/commands/DescribeDeliveryChannelsCommand.js +3 -3
  38. package/dist-cjs/commands/DescribeOrganizationConfigRuleStatusesCommand.js +3 -3
  39. package/dist-cjs/commands/DescribeOrganizationConfigRulesCommand.js +3 -3
  40. package/dist-cjs/commands/DescribeOrganizationConformancePackStatusesCommand.js +3 -3
  41. package/dist-cjs/commands/DescribeOrganizationConformancePacksCommand.js +3 -3
  42. package/dist-cjs/commands/DescribePendingAggregationRequestsCommand.js +3 -3
  43. package/dist-cjs/commands/DescribeRemediationConfigurationsCommand.js +3 -3
  44. package/dist-cjs/commands/DescribeRemediationExceptionsCommand.js +3 -3
  45. package/dist-cjs/commands/DescribeRemediationExecutionStatusCommand.js +3 -3
  46. package/dist-cjs/commands/DescribeRetentionConfigurationsCommand.js +3 -3
  47. package/dist-cjs/commands/GetAggregateComplianceDetailsByConfigRuleCommand.js +3 -3
  48. package/dist-cjs/commands/GetAggregateConfigRuleComplianceSummaryCommand.js +3 -3
  49. package/dist-cjs/commands/GetAggregateConformancePackComplianceSummaryCommand.js +3 -3
  50. package/dist-cjs/commands/GetAggregateDiscoveredResourceCountsCommand.js +3 -3
  51. package/dist-cjs/commands/GetAggregateResourceConfigCommand.js +3 -3
  52. package/dist-cjs/commands/GetComplianceDetailsByConfigRuleCommand.js +3 -3
  53. package/dist-cjs/commands/GetComplianceDetailsByResourceCommand.js +3 -3
  54. package/dist-cjs/commands/GetComplianceSummaryByConfigRuleCommand.js +3 -3
  55. package/dist-cjs/commands/GetComplianceSummaryByResourceTypeCommand.js +3 -3
  56. package/dist-cjs/commands/GetConformancePackComplianceDetailsCommand.js +3 -3
  57. package/dist-cjs/commands/GetConformancePackComplianceSummaryCommand.js +3 -3
  58. package/dist-cjs/commands/GetCustomRulePolicyCommand.js +36 -0
  59. package/dist-cjs/commands/GetDiscoveredResourceCountsCommand.js +3 -3
  60. package/dist-cjs/commands/GetOrganizationConfigRuleDetailedStatusCommand.js +3 -3
  61. package/dist-cjs/commands/GetOrganizationConformancePackDetailedStatusCommand.js +3 -3
  62. package/dist-cjs/commands/GetOrganizationCustomRulePolicyCommand.js +36 -0
  63. package/dist-cjs/commands/GetResourceConfigHistoryCommand.js +3 -3
  64. package/dist-cjs/commands/GetStoredQueryCommand.js +3 -3
  65. package/dist-cjs/commands/ListAggregateDiscoveredResourcesCommand.js +3 -3
  66. package/dist-cjs/commands/ListDiscoveredResourcesCommand.js +3 -3
  67. package/dist-cjs/commands/ListStoredQueriesCommand.js +3 -3
  68. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  69. package/dist-cjs/commands/PutAggregationAuthorizationCommand.js +3 -3
  70. package/dist-cjs/commands/PutConfigRuleCommand.js +3 -3
  71. package/dist-cjs/commands/PutConfigurationAggregatorCommand.js +3 -3
  72. package/dist-cjs/commands/PutConfigurationRecorderCommand.js +3 -3
  73. package/dist-cjs/commands/PutConformancePackCommand.js +3 -3
  74. package/dist-cjs/commands/PutDeliveryChannelCommand.js +3 -3
  75. package/dist-cjs/commands/PutEvaluationsCommand.js +3 -3
  76. package/dist-cjs/commands/PutExternalEvaluationCommand.js +3 -3
  77. package/dist-cjs/commands/PutOrganizationConfigRuleCommand.js +6 -6
  78. package/dist-cjs/commands/PutOrganizationConformancePackCommand.js +6 -6
  79. package/dist-cjs/commands/PutRemediationConfigurationsCommand.js +6 -6
  80. package/dist-cjs/commands/PutRemediationExceptionsCommand.js +6 -6
  81. package/dist-cjs/commands/PutResourceConfigCommand.js +3 -3
  82. package/dist-cjs/commands/PutRetentionConfigurationCommand.js +3 -3
  83. package/dist-cjs/commands/PutStoredQueryCommand.js +3 -3
  84. package/dist-cjs/commands/SelectAggregateResourceConfigCommand.js +3 -3
  85. package/dist-cjs/commands/SelectResourceConfigCommand.js +3 -3
  86. package/dist-cjs/commands/StartConfigRulesEvaluationCommand.js +3 -3
  87. package/dist-cjs/commands/StartConfigurationRecorderCommand.js +3 -3
  88. package/dist-cjs/commands/StartRemediationExecutionCommand.js +3 -3
  89. package/dist-cjs/commands/StopConfigurationRecorderCommand.js +3 -3
  90. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  91. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  92. package/dist-cjs/commands/index.js +2 -0
  93. package/dist-cjs/endpoints.js +1 -1
  94. package/dist-cjs/models/models_0.js +57 -54
  95. package/dist-cjs/models/models_1.js +49 -1
  96. package/dist-cjs/protocols/Aws_json1_1.js +779 -539
  97. package/dist-cjs/runtimeConfig.browser.js +4 -4
  98. package/dist-cjs/runtimeConfig.js +9 -9
  99. package/dist-cjs/runtimeConfig.native.js +1 -1
  100. package/dist-es/ConfigService.js +116 -86
  101. package/dist-es/commands/GetCustomRulePolicyCommand.js +39 -0
  102. package/dist-es/commands/GetOrganizationCustomRulePolicyCommand.js +39 -0
  103. package/dist-es/commands/PutOrganizationConfigRuleCommand.js +1 -1
  104. package/dist-es/commands/PutOrganizationConformancePackCommand.js +1 -1
  105. package/dist-es/commands/PutRemediationConfigurationsCommand.js +1 -1
  106. package/dist-es/commands/PutRemediationExceptionsCommand.js +1 -1
  107. package/dist-es/commands/index.js +2 -0
  108. package/dist-es/models/models_0.js +37 -32
  109. package/dist-es/models/models_1.js +32 -0
  110. package/dist-es/pagination/DescribeAggregateComplianceByConfigRulesPaginator.js +4 -4
  111. package/dist-es/pagination/DescribeAggregateComplianceByConformancePacksPaginator.js +4 -4
  112. package/dist-es/pagination/DescribeAggregationAuthorizationsPaginator.js +4 -4
  113. package/dist-es/pagination/DescribeComplianceByConfigRulePaginator.js +4 -4
  114. package/dist-es/pagination/DescribeComplianceByResourcePaginator.js +4 -4
  115. package/dist-es/pagination/DescribeConfigRuleEvaluationStatusPaginator.js +4 -4
  116. package/dist-es/pagination/DescribeConfigRulesPaginator.js +4 -4
  117. package/dist-es/pagination/DescribeConfigurationAggregatorSourcesStatusPaginator.js +4 -4
  118. package/dist-es/pagination/DescribeConfigurationAggregatorsPaginator.js +4 -4
  119. package/dist-es/pagination/DescribeConformancePackCompliancePaginator.js +4 -4
  120. package/dist-es/pagination/DescribeConformancePackStatusPaginator.js +4 -4
  121. package/dist-es/pagination/DescribeConformancePacksPaginator.js +4 -4
  122. package/dist-es/pagination/DescribeOrganizationConfigRuleStatusesPaginator.js +4 -4
  123. package/dist-es/pagination/DescribeOrganizationConfigRulesPaginator.js +4 -4
  124. package/dist-es/pagination/DescribeOrganizationConformancePackStatusesPaginator.js +4 -4
  125. package/dist-es/pagination/DescribeOrganizationConformancePacksPaginator.js +4 -4
  126. package/dist-es/pagination/DescribePendingAggregationRequestsPaginator.js +4 -4
  127. package/dist-es/pagination/DescribeRemediationExceptionsPaginator.js +4 -4
  128. package/dist-es/pagination/DescribeRemediationExecutionStatusPaginator.js +4 -4
  129. package/dist-es/pagination/DescribeRetentionConfigurationsPaginator.js +4 -4
  130. package/dist-es/pagination/GetAggregateComplianceDetailsByConfigRulePaginator.js +4 -4
  131. package/dist-es/pagination/GetAggregateConfigRuleComplianceSummaryPaginator.js +4 -4
  132. package/dist-es/pagination/GetAggregateConformancePackComplianceSummaryPaginator.js +4 -4
  133. package/dist-es/pagination/GetAggregateDiscoveredResourceCountsPaginator.js +4 -4
  134. package/dist-es/pagination/GetComplianceDetailsByConfigRulePaginator.js +4 -4
  135. package/dist-es/pagination/GetComplianceDetailsByResourcePaginator.js +4 -4
  136. package/dist-es/pagination/GetConformancePackComplianceDetailsPaginator.js +4 -4
  137. package/dist-es/pagination/GetConformancePackComplianceSummaryPaginator.js +4 -4
  138. package/dist-es/pagination/GetDiscoveredResourceCountsPaginator.js +4 -4
  139. package/dist-es/pagination/GetOrganizationConfigRuleDetailedStatusPaginator.js +4 -4
  140. package/dist-es/pagination/GetOrganizationConformancePackDetailedStatusPaginator.js +4 -4
  141. package/dist-es/pagination/GetResourceConfigHistoryPaginator.js +4 -4
  142. package/dist-es/pagination/ListAggregateDiscoveredResourcesPaginator.js +4 -4
  143. package/dist-es/pagination/ListDiscoveredResourcesPaginator.js +4 -4
  144. package/dist-es/pagination/ListStoredQueriesPaginator.js +4 -4
  145. package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
  146. package/dist-es/pagination/SelectAggregateResourceConfigPaginator.js +4 -4
  147. package/dist-es/pagination/SelectResourceConfigPaginator.js +4 -4
  148. package/dist-es/protocols/Aws_json1_1.js +252 -3
  149. package/dist-types/ConfigService.d.ts +29 -15
  150. package/dist-types/ConfigServiceClient.d.ts +4 -2
  151. package/dist-types/commands/DeleteOrganizationConfigRuleCommand.d.ts +2 -2
  152. package/dist-types/commands/DeleteOrganizationConformancePackCommand.d.ts +1 -1
  153. package/dist-types/commands/DescribeOrganizationConfigRuleStatusesCommand.d.ts +4 -4
  154. package/dist-types/commands/DescribeOrganizationConfigRulesCommand.d.ts +3 -3
  155. package/dist-types/commands/GetCustomRulePolicyCommand.d.ts +35 -0
  156. package/dist-types/commands/GetOrganizationConfigRuleDetailedStatusCommand.d.ts +1 -1
  157. package/dist-types/commands/GetOrganizationCustomRulePolicyCommand.d.ts +35 -0
  158. package/dist-types/commands/PutConfigurationAggregatorCommand.d.ts +1 -1
  159. package/dist-types/commands/PutOrganizationConfigRuleCommand.d.ts +4 -4
  160. package/dist-types/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
  161. package/dist-types/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
  162. package/dist-types/commands/PutRemediationExceptionsCommand.d.ts +1 -1
  163. package/dist-types/commands/index.d.ts +2 -0
  164. package/dist-types/models/models_0.d.ts +342 -236
  165. package/dist-types/models/models_1.d.ts +162 -1
  166. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  167. package/dist-types/runtimeConfig.native.d.ts +2 -2
  168. package/dist-types/ts3.4/ConfigService.d.ts +10 -0
  169. package/dist-types/ts3.4/ConfigServiceClient.d.ts +4 -2
  170. package/dist-types/ts3.4/commands/GetCustomRulePolicyCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/GetOrganizationCustomRulePolicyCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/PutOrganizationConfigRuleCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/PutOrganizationConformancePackCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/PutRemediationConfigurationsCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/PutRemediationExceptionsCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  177. package/dist-types/ts3.4/models/models_0.d.ts +121 -90
  178. package/dist-types/ts3.4/models/models_1.d.ts +91 -1
  179. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
  180. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  181. package/package.json +34 -34
@@ -276,6 +276,7 @@ export declare enum ResourceType {
276
276
  DBSubnetGroup = "AWS::RDS::DBSubnetGroup",
277
277
  Distribution = "AWS::CloudFront::Distribution",
278
278
  Domain = "AWS::Elasticsearch::Domain",
279
+ ECRPublicRepository = "AWS::ECR::PublicRepository",
279
280
  ECRRepository = "AWS::ECR::Repository",
280
281
  ECSCluster = "AWS::ECS::Cluster",
281
282
  ECSService = "AWS::ECS::Service",
@@ -292,6 +293,7 @@ export declare enum ResourceType {
292
293
  FlowLog = "AWS::EC2::FlowLog",
293
294
  Function = "AWS::Lambda::Function",
294
295
  Group = "AWS::IAM::Group",
296
+ GuardDutyDetector = "AWS::GuardDuty::Detector",
295
297
  Host = "AWS::EC2::Host",
296
298
  IPSetV2 = "AWS::WAFv2::IPSet",
297
299
  Instance = "AWS::EC2::Instance",
@@ -300,6 +302,7 @@ export declare enum ResourceType {
300
302
  KinesisStream = "AWS::Kinesis::Stream",
301
303
  KinesisStreamConsumer = "AWS::Kinesis::StreamConsumer",
302
304
  LaunchConfiguration = "AWS::AutoScaling::LaunchConfiguration",
305
+ LaunchTemplate = "AWS::EC2::LaunchTemplate",
303
306
  LoadBalancer = "AWS::ElasticLoadBalancing::LoadBalancer",
304
307
  LoadBalancerV2 = "AWS::ElasticLoadBalancingV2::LoadBalancer",
305
308
  ManagedInstanceInventory = "AWS::SSM::ManagedInstanceInventory",
@@ -596,9 +599,23 @@ export declare namespace Scope {
596
599
 
597
600
  const filterSensitiveLog: (obj: Scope) => any;
598
601
  }
602
+
603
+ export interface CustomPolicyDetails {
604
+
605
+ PolicyRuntime: string | undefined;
606
+
607
+ PolicyText: string | undefined;
608
+
609
+ EnableDebugLogDelivery?: boolean;
610
+ }
611
+ export declare namespace CustomPolicyDetails {
612
+
613
+ const filterSensitiveLog: (obj: CustomPolicyDetails) => any;
614
+ }
599
615
  export declare enum Owner {
600
616
  Aws = "AWS",
601
- Custom_Lambda = "CUSTOM_LAMBDA"
617
+ Custom_Lambda = "CUSTOM_LAMBDA",
618
+ Custom_Policy = "CUSTOM_POLICY"
602
619
  }
603
620
  export declare enum EventSource {
604
621
  Aws_Config = "aws.config"
@@ -627,9 +644,11 @@ export interface Source {
627
644
 
628
645
  Owner: Owner | string | undefined;
629
646
 
630
- SourceIdentifier: string | undefined;
647
+ SourceIdentifier?: string;
631
648
 
632
649
  SourceDetails?: SourceDetail[];
650
+
651
+ CustomPolicyDetails?: CustomPolicyDetails;
633
652
  }
634
653
  export declare namespace Source {
635
654
 
@@ -718,6 +737,12 @@ export interface ConfigRuleEvaluationStatus {
718
737
  LastErrorMessage?: string;
719
738
 
720
739
  FirstEvaluationStarted?: boolean;
740
+
741
+ LastDebugLogDeliveryStatus?: string;
742
+
743
+ LastDebugLogDeliveryStatusReason?: string;
744
+
745
+ LastDebugLogDeliveryTime?: Date;
721
746
  }
722
747
  export declare namespace ConfigRuleEvaluationStatus {
723
748
 
@@ -1776,6 +1801,37 @@ export declare namespace DescribeOrganizationConfigRulesRequest {
1776
1801
 
1777
1802
  const filterSensitiveLog: (obj: DescribeOrganizationConfigRulesRequest) => any;
1778
1803
  }
1804
+ export declare enum OrganizationConfigRuleTriggerTypeNoSN {
1805
+ CONFIGURATION_ITEM_CHANGE_NOTIFICATION = "ConfigurationItemChangeNotification",
1806
+ OVERSIZED_CONFIGURATION_ITEM_CHANGE_NOTIFCATION = "OversizedConfigurationItemChangeNotification"
1807
+ }
1808
+
1809
+ export interface OrganizationCustomPolicyRuleMetadataNoPolicy {
1810
+
1811
+ Description?: string;
1812
+
1813
+ OrganizationConfigRuleTriggerTypes?: (OrganizationConfigRuleTriggerTypeNoSN | string)[];
1814
+
1815
+ InputParameters?: string;
1816
+
1817
+ MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
1818
+
1819
+ ResourceTypesScope?: string[];
1820
+
1821
+ ResourceIdScope?: string;
1822
+
1823
+ TagKeyScope?: string;
1824
+
1825
+ TagValueScope?: string;
1826
+
1827
+ PolicyRuntime?: string;
1828
+
1829
+ DebugLogDeliveryAccounts?: string[];
1830
+ }
1831
+ export declare namespace OrganizationCustomPolicyRuleMetadataNoPolicy {
1832
+
1833
+ const filterSensitiveLog: (obj: OrganizationCustomPolicyRuleMetadataNoPolicy) => any;
1834
+ }
1779
1835
  export declare enum OrganizationConfigRuleTriggerType {
1780
1836
  CONFIGURATION_ITEM_CHANGE_NOTIFICATION = "ConfigurationItemChangeNotification",
1781
1837
  OVERSIZED_CONFIGURATION_ITEM_CHANGE_NOTIFCATION = "OversizedConfigurationItemChangeNotification",
@@ -1843,6 +1899,8 @@ export interface OrganizationConfigRule {
1843
1899
  ExcludedAccounts?: string[];
1844
1900
 
1845
1901
  LastUpdateTime?: Date;
1902
+
1903
+ OrganizationCustomPolicyRuleMetadata?: OrganizationCustomPolicyRuleMetadataNoPolicy;
1846
1904
  }
1847
1905
  export declare namespace OrganizationConfigRule {
1848
1906
 
@@ -2665,6 +2723,22 @@ export declare namespace GetConformancePackComplianceSummaryResponse {
2665
2723
 
2666
2724
  const filterSensitiveLog: (obj: GetConformancePackComplianceSummaryResponse) => any;
2667
2725
  }
2726
+ export interface GetCustomRulePolicyRequest {
2727
+
2728
+ ConfigRuleName?: string;
2729
+ }
2730
+ export declare namespace GetCustomRulePolicyRequest {
2731
+
2732
+ const filterSensitiveLog: (obj: GetCustomRulePolicyRequest) => any;
2733
+ }
2734
+ export interface GetCustomRulePolicyResponse {
2735
+
2736
+ PolicyText?: string;
2737
+ }
2738
+ export declare namespace GetCustomRulePolicyResponse {
2739
+
2740
+ const filterSensitiveLog: (obj: GetCustomRulePolicyResponse) => any;
2741
+ }
2668
2742
  export interface GetDiscoveredResourceCountsRequest {
2669
2743
 
2670
2744
  resourceTypes?: string[];
@@ -2830,6 +2904,22 @@ export declare namespace GetOrganizationConformancePackDetailedStatusResponse {
2830
2904
 
2831
2905
  const filterSensitiveLog: (obj: GetOrganizationConformancePackDetailedStatusResponse) => any;
2832
2906
  }
2907
+ export interface GetOrganizationCustomRulePolicyRequest {
2908
+
2909
+ OrganizationConfigRuleName: string | undefined;
2910
+ }
2911
+ export declare namespace GetOrganizationCustomRulePolicyRequest {
2912
+
2913
+ const filterSensitiveLog: (obj: GetOrganizationCustomRulePolicyRequest) => any;
2914
+ }
2915
+ export interface GetOrganizationCustomRulePolicyResponse {
2916
+
2917
+ PolicyText?: string;
2918
+ }
2919
+ export declare namespace GetOrganizationCustomRulePolicyResponse {
2920
+
2921
+ const filterSensitiveLog: (obj: GetOrganizationCustomRulePolicyResponse) => any;
2922
+ }
2833
2923
 
2834
2924
  export interface GetResourceConfigHistoryRequest {
2835
2925
 
@@ -3224,6 +3314,35 @@ export declare class OrganizationConformancePackTemplateValidationException exte
3224
3314
 
3225
3315
  constructor(opts: __ExceptionOptionType<OrganizationConformancePackTemplateValidationException, __BaseException>);
3226
3316
  }
3317
+
3318
+ export interface OrganizationCustomPolicyRuleMetadata {
3319
+
3320
+ Description?: string;
3321
+
3322
+ OrganizationConfigRuleTriggerTypes?: (OrganizationConfigRuleTriggerTypeNoSN | string)[];
3323
+
3324
+ InputParameters?: string;
3325
+
3326
+ MaximumExecutionFrequency?: MaximumExecutionFrequency | string;
3327
+
3328
+ ResourceTypesScope?: string[];
3329
+
3330
+ ResourceIdScope?: string;
3331
+
3332
+ TagKeyScope?: string;
3333
+
3334
+ TagValueScope?: string;
3335
+
3336
+ PolicyRuntime: string | undefined;
3337
+
3338
+ PolicyText: string | undefined;
3339
+
3340
+ DebugLogDeliveryAccounts?: string[];
3341
+ }
3342
+ export declare namespace OrganizationCustomPolicyRuleMetadata {
3343
+
3344
+ const filterSensitiveLog: (obj: OrganizationCustomPolicyRuleMetadata) => any;
3345
+ }
3227
3346
  export interface PutAggregationAuthorizationRequest {
3228
3347
 
3229
3348
  AuthorizedAccountId: string | undefined;
@@ -3358,91 +3477,3 @@ export declare namespace PutExternalEvaluationResponse {
3358
3477
 
3359
3478
  const filterSensitiveLog: (obj: PutExternalEvaluationResponse) => any;
3360
3479
  }
3361
- export interface PutOrganizationConfigRuleRequest {
3362
-
3363
- OrganizationConfigRuleName: string | undefined;
3364
-
3365
- OrganizationManagedRuleMetadata?: OrganizationManagedRuleMetadata;
3366
-
3367
- OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
3368
-
3369
- ExcludedAccounts?: string[];
3370
- }
3371
- export declare namespace PutOrganizationConfigRuleRequest {
3372
-
3373
- const filterSensitiveLog: (obj: PutOrganizationConfigRuleRequest) => any;
3374
- }
3375
- export interface PutOrganizationConfigRuleResponse {
3376
-
3377
- OrganizationConfigRuleArn?: string;
3378
- }
3379
- export declare namespace PutOrganizationConfigRuleResponse {
3380
-
3381
- const filterSensitiveLog: (obj: PutOrganizationConfigRuleResponse) => any;
3382
- }
3383
- export interface PutOrganizationConformancePackRequest {
3384
-
3385
- OrganizationConformancePackName: string | undefined;
3386
-
3387
- TemplateS3Uri?: string;
3388
-
3389
- TemplateBody?: string;
3390
-
3391
- DeliveryS3Bucket?: string;
3392
-
3393
- DeliveryS3KeyPrefix?: string;
3394
-
3395
- ConformancePackInputParameters?: ConformancePackInputParameter[];
3396
-
3397
- ExcludedAccounts?: string[];
3398
- }
3399
- export declare namespace PutOrganizationConformancePackRequest {
3400
-
3401
- const filterSensitiveLog: (obj: PutOrganizationConformancePackRequest) => any;
3402
- }
3403
- export interface PutOrganizationConformancePackResponse {
3404
-
3405
- OrganizationConformancePackArn?: string;
3406
- }
3407
- export declare namespace PutOrganizationConformancePackResponse {
3408
-
3409
- const filterSensitiveLog: (obj: PutOrganizationConformancePackResponse) => any;
3410
- }
3411
- export interface PutRemediationConfigurationsRequest {
3412
-
3413
- RemediationConfigurations: RemediationConfiguration[] | undefined;
3414
- }
3415
- export declare namespace PutRemediationConfigurationsRequest {
3416
-
3417
- const filterSensitiveLog: (obj: PutRemediationConfigurationsRequest) => any;
3418
- }
3419
- export interface PutRemediationConfigurationsResponse {
3420
-
3421
- FailedBatches?: FailedRemediationBatch[];
3422
- }
3423
- export declare namespace PutRemediationConfigurationsResponse {
3424
-
3425
- const filterSensitiveLog: (obj: PutRemediationConfigurationsResponse) => any;
3426
- }
3427
- export interface PutRemediationExceptionsRequest {
3428
-
3429
- ConfigRuleName: string | undefined;
3430
-
3431
- ResourceKeys: RemediationExceptionResourceKey[] | undefined;
3432
-
3433
- Message?: string;
3434
-
3435
- ExpirationTime?: Date;
3436
- }
3437
- export declare namespace PutRemediationExceptionsRequest {
3438
-
3439
- const filterSensitiveLog: (obj: PutRemediationExceptionsRequest) => any;
3440
- }
3441
- export interface PutRemediationExceptionsResponse {
3442
-
3443
- FailedBatches?: FailedRemediationExceptionBatch[];
3444
- }
3445
- export declare namespace PutRemediationExceptionsResponse {
3446
-
3447
- const filterSensitiveLog: (obj: PutRemediationExceptionsResponse) => any;
3448
- }
@@ -1,6 +1,96 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { ConfigServiceServiceException as __BaseException } from "./ConfigServiceServiceException";
3
- import { FieldInfo, ResourceKey, RetentionConfiguration, StoredQuery, Tag } from "./models_0";
3
+ import { ConformancePackInputParameter, FailedRemediationBatch, FailedRemediationExceptionBatch, FieldInfo, OrganizationCustomPolicyRuleMetadata, OrganizationCustomRuleMetadata, OrganizationManagedRuleMetadata, RemediationConfiguration, RemediationExceptionResourceKey, ResourceKey, RetentionConfiguration, StoredQuery, Tag } from "./models_0";
4
+ export interface PutOrganizationConfigRuleRequest {
5
+
6
+ OrganizationConfigRuleName: string | undefined;
7
+
8
+ OrganizationManagedRuleMetadata?: OrganizationManagedRuleMetadata;
9
+
10
+ OrganizationCustomRuleMetadata?: OrganizationCustomRuleMetadata;
11
+
12
+ ExcludedAccounts?: string[];
13
+
14
+ OrganizationCustomPolicyRuleMetadata?: OrganizationCustomPolicyRuleMetadata;
15
+ }
16
+ export declare namespace PutOrganizationConfigRuleRequest {
17
+
18
+ const filterSensitiveLog: (obj: PutOrganizationConfigRuleRequest) => any;
19
+ }
20
+ export interface PutOrganizationConfigRuleResponse {
21
+
22
+ OrganizationConfigRuleArn?: string;
23
+ }
24
+ export declare namespace PutOrganizationConfigRuleResponse {
25
+
26
+ const filterSensitiveLog: (obj: PutOrganizationConfigRuleResponse) => any;
27
+ }
28
+ export interface PutOrganizationConformancePackRequest {
29
+
30
+ OrganizationConformancePackName: string | undefined;
31
+
32
+ TemplateS3Uri?: string;
33
+
34
+ TemplateBody?: string;
35
+
36
+ DeliveryS3Bucket?: string;
37
+
38
+ DeliveryS3KeyPrefix?: string;
39
+
40
+ ConformancePackInputParameters?: ConformancePackInputParameter[];
41
+
42
+ ExcludedAccounts?: string[];
43
+ }
44
+ export declare namespace PutOrganizationConformancePackRequest {
45
+
46
+ const filterSensitiveLog: (obj: PutOrganizationConformancePackRequest) => any;
47
+ }
48
+ export interface PutOrganizationConformancePackResponse {
49
+
50
+ OrganizationConformancePackArn?: string;
51
+ }
52
+ export declare namespace PutOrganizationConformancePackResponse {
53
+
54
+ const filterSensitiveLog: (obj: PutOrganizationConformancePackResponse) => any;
55
+ }
56
+ export interface PutRemediationConfigurationsRequest {
57
+
58
+ RemediationConfigurations: RemediationConfiguration[] | undefined;
59
+ }
60
+ export declare namespace PutRemediationConfigurationsRequest {
61
+
62
+ const filterSensitiveLog: (obj: PutRemediationConfigurationsRequest) => any;
63
+ }
64
+ export interface PutRemediationConfigurationsResponse {
65
+
66
+ FailedBatches?: FailedRemediationBatch[];
67
+ }
68
+ export declare namespace PutRemediationConfigurationsResponse {
69
+
70
+ const filterSensitiveLog: (obj: PutRemediationConfigurationsResponse) => any;
71
+ }
72
+ export interface PutRemediationExceptionsRequest {
73
+
74
+ ConfigRuleName: string | undefined;
75
+
76
+ ResourceKeys: RemediationExceptionResourceKey[] | undefined;
77
+
78
+ Message?: string;
79
+
80
+ ExpirationTime?: Date;
81
+ }
82
+ export declare namespace PutRemediationExceptionsRequest {
83
+
84
+ const filterSensitiveLog: (obj: PutRemediationExceptionsRequest) => any;
85
+ }
86
+ export interface PutRemediationExceptionsResponse {
87
+
88
+ FailedBatches?: FailedRemediationExceptionBatch[];
89
+ }
90
+ export declare namespace PutRemediationExceptionsResponse {
91
+
92
+ const filterSensitiveLog: (obj: PutRemediationExceptionsResponse) => any;
93
+ }
4
94
  export interface PutResourceConfigRequest {
5
95
 
6
96
  ResourceType: string | undefined;
@@ -54,9 +54,11 @@ import { GetComplianceSummaryByConfigRuleCommandInput, GetComplianceSummaryByCon
54
54
  import { GetComplianceSummaryByResourceTypeCommandInput, GetComplianceSummaryByResourceTypeCommandOutput } from "../commands/GetComplianceSummaryByResourceTypeCommand";
55
55
  import { GetConformancePackComplianceDetailsCommandInput, GetConformancePackComplianceDetailsCommandOutput } from "../commands/GetConformancePackComplianceDetailsCommand";
56
56
  import { GetConformancePackComplianceSummaryCommandInput, GetConformancePackComplianceSummaryCommandOutput } from "../commands/GetConformancePackComplianceSummaryCommand";
57
+ import { GetCustomRulePolicyCommandInput, GetCustomRulePolicyCommandOutput } from "../commands/GetCustomRulePolicyCommand";
57
58
  import { GetDiscoveredResourceCountsCommandInput, GetDiscoveredResourceCountsCommandOutput } from "../commands/GetDiscoveredResourceCountsCommand";
58
59
  import { GetOrganizationConfigRuleDetailedStatusCommandInput, GetOrganizationConfigRuleDetailedStatusCommandOutput } from "../commands/GetOrganizationConfigRuleDetailedStatusCommand";
59
60
  import { GetOrganizationConformancePackDetailedStatusCommandInput, GetOrganizationConformancePackDetailedStatusCommandOutput } from "../commands/GetOrganizationConformancePackDetailedStatusCommand";
61
+ import { GetOrganizationCustomRulePolicyCommandInput, GetOrganizationCustomRulePolicyCommandOutput } from "../commands/GetOrganizationCustomRulePolicyCommand";
60
62
  import { GetResourceConfigHistoryCommandInput, GetResourceConfigHistoryCommandOutput } from "../commands/GetResourceConfigHistoryCommand";
61
63
  import { GetStoredQueryCommandInput, GetStoredQueryCommandOutput } from "../commands/GetStoredQueryCommand";
62
64
  import { ListAggregateDiscoveredResourcesCommandInput, ListAggregateDiscoveredResourcesCommandOutput } from "../commands/ListAggregateDiscoveredResourcesCommand";
@@ -140,9 +142,11 @@ export declare const serializeAws_json1_1GetComplianceSummaryByConfigRuleCommand
140
142
  export declare const serializeAws_json1_1GetComplianceSummaryByResourceTypeCommand: (input: GetComplianceSummaryByResourceTypeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
141
143
  export declare const serializeAws_json1_1GetConformancePackComplianceDetailsCommand: (input: GetConformancePackComplianceDetailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
142
144
  export declare const serializeAws_json1_1GetConformancePackComplianceSummaryCommand: (input: GetConformancePackComplianceSummaryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
145
+ export declare const serializeAws_json1_1GetCustomRulePolicyCommand: (input: GetCustomRulePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
143
146
  export declare const serializeAws_json1_1GetDiscoveredResourceCountsCommand: (input: GetDiscoveredResourceCountsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
144
147
  export declare const serializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommand: (input: GetOrganizationConfigRuleDetailedStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
145
148
  export declare const serializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand: (input: GetOrganizationConformancePackDetailedStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
149
+ export declare const serializeAws_json1_1GetOrganizationCustomRulePolicyCommand: (input: GetOrganizationCustomRulePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
146
150
  export declare const serializeAws_json1_1GetResourceConfigHistoryCommand: (input: GetResourceConfigHistoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
147
151
  export declare const serializeAws_json1_1GetStoredQueryCommand: (input: GetStoredQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
148
152
  export declare const serializeAws_json1_1ListAggregateDiscoveredResourcesCommand: (input: ListAggregateDiscoveredResourcesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -226,9 +230,11 @@ export declare const deserializeAws_json1_1GetComplianceSummaryByConfigRuleComma
226
230
  export declare const deserializeAws_json1_1GetComplianceSummaryByResourceTypeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetComplianceSummaryByResourceTypeCommandOutput>;
227
231
  export declare const deserializeAws_json1_1GetConformancePackComplianceDetailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetConformancePackComplianceDetailsCommandOutput>;
228
232
  export declare const deserializeAws_json1_1GetConformancePackComplianceSummaryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetConformancePackComplianceSummaryCommandOutput>;
233
+ export declare const deserializeAws_json1_1GetCustomRulePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCustomRulePolicyCommandOutput>;
229
234
  export declare const deserializeAws_json1_1GetDiscoveredResourceCountsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDiscoveredResourceCountsCommandOutput>;
230
235
  export declare const deserializeAws_json1_1GetOrganizationConfigRuleDetailedStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOrganizationConfigRuleDetailedStatusCommandOutput>;
231
236
  export declare const deserializeAws_json1_1GetOrganizationConformancePackDetailedStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOrganizationConformancePackDetailedStatusCommandOutput>;
237
+ export declare const deserializeAws_json1_1GetOrganizationCustomRulePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOrganizationCustomRulePolicyCommandOutput>;
232
238
  export declare const deserializeAws_json1_1GetResourceConfigHistoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetResourceConfigHistoryCommandOutput>;
233
239
  export declare const deserializeAws_json1_1GetStoredQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetStoredQueryCommandOutput>;
234
240
  export declare const deserializeAws_json1_1ListAggregateDiscoveredResourcesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAggregateDiscoveredResourcesCommandOutput>;
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: ConfigServiceClientConfig) => {
19
19
  useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
20
20
  useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
21
21
  serviceId: string;
22
- region: string | import("@aws-sdk/types").Provider<string> | import("@aws-sdk/types").Provider<any>;
22
+ region: string | import("@aws-sdk/types").Provider<any>;
23
23
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
24
24
  regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
25
25
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
26
- defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
+ defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
27
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
28
28
  tls?: boolean | undefined;
29
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | 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.54.0",
4
+ "version": "3.56.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,47 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.54.0",
22
- "@aws-sdk/config-resolver": "3.54.0",
23
- "@aws-sdk/credential-provider-node": "3.54.0",
24
- "@aws-sdk/fetch-http-handler": "3.54.0",
25
- "@aws-sdk/hash-node": "3.54.0",
26
- "@aws-sdk/invalid-dependency": "3.54.0",
27
- "@aws-sdk/middleware-content-length": "3.54.0",
28
- "@aws-sdk/middleware-host-header": "3.54.0",
29
- "@aws-sdk/middleware-logger": "3.54.0",
30
- "@aws-sdk/middleware-retry": "3.54.0",
31
- "@aws-sdk/middleware-serde": "3.54.0",
32
- "@aws-sdk/middleware-signing": "3.54.0",
33
- "@aws-sdk/middleware-stack": "3.54.0",
34
- "@aws-sdk/middleware-user-agent": "3.54.0",
35
- "@aws-sdk/node-config-provider": "3.54.0",
36
- "@aws-sdk/node-http-handler": "3.54.0",
37
- "@aws-sdk/protocol-http": "3.54.0",
38
- "@aws-sdk/smithy-client": "3.54.0",
39
- "@aws-sdk/types": "3.54.0",
40
- "@aws-sdk/url-parser": "3.54.0",
41
- "@aws-sdk/util-base64-browser": "3.52.0",
42
- "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.54.0",
44
- "@aws-sdk/util-body-length-node": "3.54.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.54.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.54.0",
47
- "@aws-sdk/util-user-agent-browser": "3.54.0",
48
- "@aws-sdk/util-user-agent-node": "3.54.0",
49
- "@aws-sdk/util-utf8-browser": "3.52.0",
50
- "@aws-sdk/util-utf8-node": "3.52.0",
51
- "tslib": "^2.3.0"
21
+ "@aws-sdk/client-sts": "3.56.0",
22
+ "@aws-sdk/config-resolver": "3.56.0",
23
+ "@aws-sdk/credential-provider-node": "3.56.0",
24
+ "@aws-sdk/fetch-http-handler": "3.55.0",
25
+ "@aws-sdk/hash-node": "3.55.0",
26
+ "@aws-sdk/invalid-dependency": "3.55.0",
27
+ "@aws-sdk/middleware-content-length": "3.55.0",
28
+ "@aws-sdk/middleware-host-header": "3.55.0",
29
+ "@aws-sdk/middleware-logger": "3.55.0",
30
+ "@aws-sdk/middleware-retry": "3.56.0",
31
+ "@aws-sdk/middleware-serde": "3.55.0",
32
+ "@aws-sdk/middleware-signing": "3.56.0",
33
+ "@aws-sdk/middleware-stack": "3.55.0",
34
+ "@aws-sdk/middleware-user-agent": "3.55.0",
35
+ "@aws-sdk/node-config-provider": "3.56.0",
36
+ "@aws-sdk/node-http-handler": "3.55.0",
37
+ "@aws-sdk/protocol-http": "3.55.0",
38
+ "@aws-sdk/smithy-client": "3.55.0",
39
+ "@aws-sdk/types": "3.55.0",
40
+ "@aws-sdk/url-parser": "3.55.0",
41
+ "@aws-sdk/util-base64-browser": "3.55.0",
42
+ "@aws-sdk/util-base64-node": "3.55.0",
43
+ "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-node": "3.55.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.55.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.56.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.55.0",
48
+ "@aws-sdk/util-user-agent-node": "3.56.0",
49
+ "@aws-sdk/util-utf8-browser": "3.55.0",
50
+ "@aws-sdk/util-utf8-node": "3.55.0",
51
+ "tslib": "^2.3.1"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.52.0",
54
+ "@aws-sdk/service-client-documentation-generator": "3.55.0",
55
55
  "@tsconfig/recommended": "1.0.1",
56
56
  "@types/node": "^12.7.5",
57
57
  "concurrently": "7.0.0",
58
58
  "downlevel-dts": "0.7.0",
59
59
  "rimraf": "3.0.2",
60
60
  "typedoc": "0.19.2",
61
- "typescript": "~4.3.5"
61
+ "typescript": "~4.6.2"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=12.0.0"