aws-sdk-securityhub 1.96.0 → 1.97.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -96,6 +96,20 @@ module Aws::SecurityHub
96
96
  end
97
97
  end
98
98
 
99
+ class BatchGetConfigurationPolicyAssociations
100
+ def self.build(context)
101
+ unless context.config.regional_endpoint
102
+ endpoint = context.config.endpoint.to_s
103
+ end
104
+ Aws::SecurityHub::EndpointParameters.new(
105
+ region: context.config.region,
106
+ use_dual_stack: context.config.use_dualstack_endpoint,
107
+ use_fips: context.config.use_fips_endpoint,
108
+ endpoint: endpoint,
109
+ )
110
+ end
111
+ end
112
+
99
113
  class BatchGetSecurityControls
100
114
  def self.build(context)
101
115
  unless context.config.regional_endpoint
@@ -208,6 +222,20 @@ module Aws::SecurityHub
208
222
  end
209
223
  end
210
224
 
225
+ class CreateConfigurationPolicy
226
+ def self.build(context)
227
+ unless context.config.regional_endpoint
228
+ endpoint = context.config.endpoint.to_s
229
+ end
230
+ Aws::SecurityHub::EndpointParameters.new(
231
+ region: context.config.region,
232
+ use_dual_stack: context.config.use_dualstack_endpoint,
233
+ use_fips: context.config.use_fips_endpoint,
234
+ endpoint: endpoint,
235
+ )
236
+ end
237
+ end
238
+
211
239
  class CreateFindingAggregator
212
240
  def self.build(context)
213
241
  unless context.config.regional_endpoint
@@ -278,6 +306,20 @@ module Aws::SecurityHub
278
306
  end
279
307
  end
280
308
 
309
+ class DeleteConfigurationPolicy
310
+ def self.build(context)
311
+ unless context.config.regional_endpoint
312
+ endpoint = context.config.endpoint.to_s
313
+ end
314
+ Aws::SecurityHub::EndpointParameters.new(
315
+ region: context.config.region,
316
+ use_dual_stack: context.config.use_dualstack_endpoint,
317
+ use_fips: context.config.use_fips_endpoint,
318
+ endpoint: endpoint,
319
+ )
320
+ end
321
+ end
322
+
281
323
  class DeleteFindingAggregator
282
324
  def self.build(context)
283
325
  unless context.config.regional_endpoint
@@ -558,6 +600,34 @@ module Aws::SecurityHub
558
600
  end
559
601
  end
560
602
 
603
+ class GetConfigurationPolicy
604
+ def self.build(context)
605
+ unless context.config.regional_endpoint
606
+ endpoint = context.config.endpoint.to_s
607
+ end
608
+ Aws::SecurityHub::EndpointParameters.new(
609
+ region: context.config.region,
610
+ use_dual_stack: context.config.use_dualstack_endpoint,
611
+ use_fips: context.config.use_fips_endpoint,
612
+ endpoint: endpoint,
613
+ )
614
+ end
615
+ end
616
+
617
+ class GetConfigurationPolicyAssociation
618
+ def self.build(context)
619
+ unless context.config.regional_endpoint
620
+ endpoint = context.config.endpoint.to_s
621
+ end
622
+ Aws::SecurityHub::EndpointParameters.new(
623
+ region: context.config.region,
624
+ use_dual_stack: context.config.use_dualstack_endpoint,
625
+ use_fips: context.config.use_fips_endpoint,
626
+ endpoint: endpoint,
627
+ )
628
+ end
629
+ end
630
+
561
631
  class GetEnabledStandards
562
632
  def self.build(context)
563
633
  unless context.config.regional_endpoint
@@ -726,6 +796,34 @@ module Aws::SecurityHub
726
796
  end
727
797
  end
728
798
 
799
+ class ListConfigurationPolicies
800
+ def self.build(context)
801
+ unless context.config.regional_endpoint
802
+ endpoint = context.config.endpoint.to_s
803
+ end
804
+ Aws::SecurityHub::EndpointParameters.new(
805
+ region: context.config.region,
806
+ use_dual_stack: context.config.use_dualstack_endpoint,
807
+ use_fips: context.config.use_fips_endpoint,
808
+ endpoint: endpoint,
809
+ )
810
+ end
811
+ end
812
+
813
+ class ListConfigurationPolicyAssociations
814
+ def self.build(context)
815
+ unless context.config.regional_endpoint
816
+ endpoint = context.config.endpoint.to_s
817
+ end
818
+ Aws::SecurityHub::EndpointParameters.new(
819
+ region: context.config.region,
820
+ use_dual_stack: context.config.use_dualstack_endpoint,
821
+ use_fips: context.config.use_fips_endpoint,
822
+ endpoint: endpoint,
823
+ )
824
+ end
825
+ end
826
+
729
827
  class ListEnabledProductsForImport
730
828
  def self.build(context)
731
829
  unless context.config.regional_endpoint
@@ -838,6 +936,34 @@ module Aws::SecurityHub
838
936
  end
839
937
  end
840
938
 
939
+ class StartConfigurationPolicyAssociation
940
+ def self.build(context)
941
+ unless context.config.regional_endpoint
942
+ endpoint = context.config.endpoint.to_s
943
+ end
944
+ Aws::SecurityHub::EndpointParameters.new(
945
+ region: context.config.region,
946
+ use_dual_stack: context.config.use_dualstack_endpoint,
947
+ use_fips: context.config.use_fips_endpoint,
948
+ endpoint: endpoint,
949
+ )
950
+ end
951
+ end
952
+
953
+ class StartConfigurationPolicyDisassociation
954
+ def self.build(context)
955
+ unless context.config.regional_endpoint
956
+ endpoint = context.config.endpoint.to_s
957
+ end
958
+ Aws::SecurityHub::EndpointParameters.new(
959
+ region: context.config.region,
960
+ use_dual_stack: context.config.use_dualstack_endpoint,
961
+ use_fips: context.config.use_fips_endpoint,
962
+ endpoint: endpoint,
963
+ )
964
+ end
965
+ end
966
+
841
967
  class TagResource
842
968
  def self.build(context)
843
969
  unless context.config.regional_endpoint
@@ -880,6 +1006,20 @@ module Aws::SecurityHub
880
1006
  end
881
1007
  end
882
1008
 
1009
+ class UpdateConfigurationPolicy
1010
+ def self.build(context)
1011
+ unless context.config.regional_endpoint
1012
+ endpoint = context.config.endpoint.to_s
1013
+ end
1014
+ Aws::SecurityHub::EndpointParameters.new(
1015
+ region: context.config.region,
1016
+ use_dual_stack: context.config.use_dualstack_endpoint,
1017
+ use_fips: context.config.use_fips_endpoint,
1018
+ endpoint: endpoint,
1019
+ )
1020
+ end
1021
+ end
1022
+
883
1023
  class UpdateFindingAggregator
884
1024
  def self.build(context)
885
1025
  unless context.config.regional_endpoint
@@ -68,6 +68,8 @@ module Aws::SecurityHub
68
68
  Aws::SecurityHub::Endpoints::BatchEnableStandards.build(context)
69
69
  when :batch_get_automation_rules
70
70
  Aws::SecurityHub::Endpoints::BatchGetAutomationRules.build(context)
71
+ when :batch_get_configuration_policy_associations
72
+ Aws::SecurityHub::Endpoints::BatchGetConfigurationPolicyAssociations.build(context)
71
73
  when :batch_get_security_controls
72
74
  Aws::SecurityHub::Endpoints::BatchGetSecurityControls.build(context)
73
75
  when :batch_get_standards_control_associations
@@ -84,6 +86,8 @@ module Aws::SecurityHub
84
86
  Aws::SecurityHub::Endpoints::CreateActionTarget.build(context)
85
87
  when :create_automation_rule
86
88
  Aws::SecurityHub::Endpoints::CreateAutomationRule.build(context)
89
+ when :create_configuration_policy
90
+ Aws::SecurityHub::Endpoints::CreateConfigurationPolicy.build(context)
87
91
  when :create_finding_aggregator
88
92
  Aws::SecurityHub::Endpoints::CreateFindingAggregator.build(context)
89
93
  when :create_insight
@@ -94,6 +98,8 @@ module Aws::SecurityHub
94
98
  Aws::SecurityHub::Endpoints::DeclineInvitations.build(context)
95
99
  when :delete_action_target
96
100
  Aws::SecurityHub::Endpoints::DeleteActionTarget.build(context)
101
+ when :delete_configuration_policy
102
+ Aws::SecurityHub::Endpoints::DeleteConfigurationPolicy.build(context)
97
103
  when :delete_finding_aggregator
98
104
  Aws::SecurityHub::Endpoints::DeleteFindingAggregator.build(context)
99
105
  when :delete_insight
@@ -134,6 +140,10 @@ module Aws::SecurityHub
134
140
  Aws::SecurityHub::Endpoints::EnableSecurityHub.build(context)
135
141
  when :get_administrator_account
136
142
  Aws::SecurityHub::Endpoints::GetAdministratorAccount.build(context)
143
+ when :get_configuration_policy
144
+ Aws::SecurityHub::Endpoints::GetConfigurationPolicy.build(context)
145
+ when :get_configuration_policy_association
146
+ Aws::SecurityHub::Endpoints::GetConfigurationPolicyAssociation.build(context)
137
147
  when :get_enabled_standards
138
148
  Aws::SecurityHub::Endpoints::GetEnabledStandards.build(context)
139
149
  when :get_finding_aggregator
@@ -158,6 +168,10 @@ module Aws::SecurityHub
158
168
  Aws::SecurityHub::Endpoints::InviteMembers.build(context)
159
169
  when :list_automation_rules
160
170
  Aws::SecurityHub::Endpoints::ListAutomationRules.build(context)
171
+ when :list_configuration_policies
172
+ Aws::SecurityHub::Endpoints::ListConfigurationPolicies.build(context)
173
+ when :list_configuration_policy_associations
174
+ Aws::SecurityHub::Endpoints::ListConfigurationPolicyAssociations.build(context)
161
175
  when :list_enabled_products_for_import
162
176
  Aws::SecurityHub::Endpoints::ListEnabledProductsForImport.build(context)
163
177
  when :list_finding_aggregators
@@ -174,12 +188,18 @@ module Aws::SecurityHub
174
188
  Aws::SecurityHub::Endpoints::ListStandardsControlAssociations.build(context)
175
189
  when :list_tags_for_resource
176
190
  Aws::SecurityHub::Endpoints::ListTagsForResource.build(context)
191
+ when :start_configuration_policy_association
192
+ Aws::SecurityHub::Endpoints::StartConfigurationPolicyAssociation.build(context)
193
+ when :start_configuration_policy_disassociation
194
+ Aws::SecurityHub::Endpoints::StartConfigurationPolicyDisassociation.build(context)
177
195
  when :tag_resource
178
196
  Aws::SecurityHub::Endpoints::TagResource.build(context)
179
197
  when :untag_resource
180
198
  Aws::SecurityHub::Endpoints::UntagResource.build(context)
181
199
  when :update_action_target
182
200
  Aws::SecurityHub::Endpoints::UpdateActionTarget.build(context)
201
+ when :update_configuration_policy
202
+ Aws::SecurityHub::Endpoints::UpdateConfigurationPolicy.build(context)
183
203
  when :update_finding_aggregator
184
204
  Aws::SecurityHub::Endpoints::UpdateFindingAggregator.build(context)
185
205
  when :update_findings