aws-sdk-shield 1.44.0 → 1.45.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.
@@ -15,6 +15,8 @@ module Aws::Shield
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  AccessDeniedForDependencyException = Shapes::StructureShape.new(name: 'AccessDeniedForDependencyException')
18
+ ApplicationLayerAutomaticResponseConfiguration = Shapes::StructureShape.new(name: 'ApplicationLayerAutomaticResponseConfiguration')
19
+ ApplicationLayerAutomaticResponseStatus = Shapes::StringShape.new(name: 'ApplicationLayerAutomaticResponseStatus')
18
20
  AssociateDRTLogBucketRequest = Shapes::StructureShape.new(name: 'AssociateDRTLogBucketRequest')
19
21
  AssociateDRTLogBucketResponse = Shapes::StructureShape.new(name: 'AssociateDRTLogBucketResponse')
20
22
  AssociateDRTRoleRequest = Shapes::StructureShape.new(name: 'AssociateDRTRoleRequest')
@@ -39,8 +41,10 @@ module Aws::Shield
39
41
  AttackVolume = Shapes::StructureShape.new(name: 'AttackVolume')
40
42
  AttackVolumeStatistics = Shapes::StructureShape.new(name: 'AttackVolumeStatistics')
41
43
  AutoRenew = Shapes::StringShape.new(name: 'AutoRenew')
44
+ BlockAction = Shapes::StructureShape.new(name: 'BlockAction')
42
45
  ContactNotes = Shapes::StringShape.new(name: 'ContactNotes')
43
46
  Contributor = Shapes::StructureShape.new(name: 'Contributor')
47
+ CountAction = Shapes::StructureShape.new(name: 'CountAction')
44
48
  CreateProtectionGroupRequest = Shapes::StructureShape.new(name: 'CreateProtectionGroupRequest')
45
49
  CreateProtectionGroupResponse = Shapes::StructureShape.new(name: 'CreateProtectionGroupResponse')
46
50
  CreateProtectionRequest = Shapes::StructureShape.new(name: 'CreateProtectionRequest')
@@ -67,6 +71,8 @@ module Aws::Shield
67
71
  DescribeProtectionResponse = Shapes::StructureShape.new(name: 'DescribeProtectionResponse')
68
72
  DescribeSubscriptionRequest = Shapes::StructureShape.new(name: 'DescribeSubscriptionRequest')
69
73
  DescribeSubscriptionResponse = Shapes::StructureShape.new(name: 'DescribeSubscriptionResponse')
74
+ DisableApplicationLayerAutomaticResponseRequest = Shapes::StructureShape.new(name: 'DisableApplicationLayerAutomaticResponseRequest')
75
+ DisableApplicationLayerAutomaticResponseResponse = Shapes::StructureShape.new(name: 'DisableApplicationLayerAutomaticResponseResponse')
70
76
  DisableProactiveEngagementRequest = Shapes::StructureShape.new(name: 'DisableProactiveEngagementRequest')
71
77
  DisableProactiveEngagementResponse = Shapes::StructureShape.new(name: 'DisableProactiveEngagementResponse')
72
78
  DisassociateDRTLogBucketRequest = Shapes::StructureShape.new(name: 'DisassociateDRTLogBucketRequest')
@@ -80,6 +86,8 @@ module Aws::Shield
80
86
  EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
81
87
  EmergencyContact = Shapes::StructureShape.new(name: 'EmergencyContact')
82
88
  EmergencyContactList = Shapes::ListShape.new(name: 'EmergencyContactList')
89
+ EnableApplicationLayerAutomaticResponseRequest = Shapes::StructureShape.new(name: 'EnableApplicationLayerAutomaticResponseRequest')
90
+ EnableApplicationLayerAutomaticResponseResponse = Shapes::StructureShape.new(name: 'EnableApplicationLayerAutomaticResponseResponse')
83
91
  EnableProactiveEngagementRequest = Shapes::StructureShape.new(name: 'EnableProactiveEngagementRequest')
84
92
  EnableProactiveEngagementResponse = Shapes::StructureShape.new(name: 'EnableProactiveEngagementResponse')
85
93
  GetSubscriptionStateRequest = Shapes::StructureShape.new(name: 'GetSubscriptionStateRequest')
@@ -139,6 +147,7 @@ module Aws::Shield
139
147
  ResourceArnFilterList = Shapes::ListShape.new(name: 'ResourceArnFilterList')
140
148
  ResourceArnList = Shapes::ListShape.new(name: 'ResourceArnList')
141
149
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
150
+ ResponseAction = Shapes::StructureShape.new(name: 'ResponseAction')
142
151
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
143
152
  String = Shapes::StringShape.new(name: 'String')
144
153
  SubResourceSummary = Shapes::StructureShape.new(name: 'SubResourceSummary')
@@ -165,6 +174,8 @@ module Aws::Shield
165
174
  Unit = Shapes::StringShape.new(name: 'Unit')
166
175
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
167
176
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
177
+ UpdateApplicationLayerAutomaticResponseRequest = Shapes::StructureShape.new(name: 'UpdateApplicationLayerAutomaticResponseRequest')
178
+ UpdateApplicationLayerAutomaticResponseResponse = Shapes::StructureShape.new(name: 'UpdateApplicationLayerAutomaticResponseResponse')
168
179
  UpdateEmergencyContactSettingsRequest = Shapes::StructureShape.new(name: 'UpdateEmergencyContactSettingsRequest')
169
180
  UpdateEmergencyContactSettingsResponse = Shapes::StructureShape.new(name: 'UpdateEmergencyContactSettingsResponse')
170
181
  UpdateProtectionGroupRequest = Shapes::StructureShape.new(name: 'UpdateProtectionGroupRequest')
@@ -182,6 +193,10 @@ module Aws::Shield
182
193
  AccessDeniedForDependencyException.add_member(:message, Shapes::ShapeRef.new(shape: errorMessage, location_name: "message"))
183
194
  AccessDeniedForDependencyException.struct_class = Types::AccessDeniedForDependencyException
184
195
 
196
+ ApplicationLayerAutomaticResponseConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: ApplicationLayerAutomaticResponseStatus, required: true, location_name: "Status"))
197
+ ApplicationLayerAutomaticResponseConfiguration.add_member(:action, Shapes::ShapeRef.new(shape: ResponseAction, required: true, location_name: "Action"))
198
+ ApplicationLayerAutomaticResponseConfiguration.struct_class = Types::ApplicationLayerAutomaticResponseConfiguration
199
+
185
200
  AssociateDRTLogBucketRequest.add_member(:log_bucket, Shapes::ShapeRef.new(shape: LogBucket, required: true, location_name: "LogBucket"))
186
201
  AssociateDRTLogBucketRequest.struct_class = Types::AssociateDRTLogBucketRequest
187
202
 
@@ -250,10 +265,14 @@ module Aws::Shield
250
265
  AttackVolumeStatistics.add_member(:max, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "Max"))
251
266
  AttackVolumeStatistics.struct_class = Types::AttackVolumeStatistics
252
267
 
268
+ BlockAction.struct_class = Types::BlockAction
269
+
253
270
  Contributor.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
254
271
  Contributor.add_member(:value, Shapes::ShapeRef.new(shape: Long, location_name: "Value"))
255
272
  Contributor.struct_class = Types::Contributor
256
273
 
274
+ CountAction.struct_class = Types::CountAction
275
+
257
276
  CreateProtectionGroupRequest.add_member(:protection_group_id, Shapes::ShapeRef.new(shape: ProtectionGroupId, required: true, location_name: "ProtectionGroupId"))
258
277
  CreateProtectionGroupRequest.add_member(:aggregation, Shapes::ShapeRef.new(shape: ProtectionGroupAggregation, required: true, location_name: "Aggregation"))
259
278
  CreateProtectionGroupRequest.add_member(:pattern, Shapes::ShapeRef.new(shape: ProtectionGroupPattern, required: true, location_name: "Pattern"))
@@ -331,6 +350,11 @@ module Aws::Shield
331
350
  DescribeSubscriptionResponse.add_member(:subscription, Shapes::ShapeRef.new(shape: Subscription, location_name: "Subscription"))
332
351
  DescribeSubscriptionResponse.struct_class = Types::DescribeSubscriptionResponse
333
352
 
353
+ DisableApplicationLayerAutomaticResponseRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
354
+ DisableApplicationLayerAutomaticResponseRequest.struct_class = Types::DisableApplicationLayerAutomaticResponseRequest
355
+
356
+ DisableApplicationLayerAutomaticResponseResponse.struct_class = Types::DisableApplicationLayerAutomaticResponseResponse
357
+
334
358
  DisableProactiveEngagementRequest.struct_class = Types::DisableProactiveEngagementRequest
335
359
 
336
360
  DisableProactiveEngagementResponse.struct_class = Types::DisableProactiveEngagementResponse
@@ -357,6 +381,12 @@ module Aws::Shield
357
381
 
358
382
  EmergencyContactList.member = Shapes::ShapeRef.new(shape: EmergencyContact)
359
383
 
384
+ EnableApplicationLayerAutomaticResponseRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
385
+ EnableApplicationLayerAutomaticResponseRequest.add_member(:action, Shapes::ShapeRef.new(shape: ResponseAction, required: true, location_name: "Action"))
386
+ EnableApplicationLayerAutomaticResponseRequest.struct_class = Types::EnableApplicationLayerAutomaticResponseRequest
387
+
388
+ EnableApplicationLayerAutomaticResponseResponse.struct_class = Types::EnableApplicationLayerAutomaticResponseResponse
389
+
360
390
  EnableProactiveEngagementRequest.struct_class = Types::EnableProactiveEngagementRequest
361
391
 
362
392
  EnableProactiveEngagementResponse.struct_class = Types::EnableProactiveEngagementResponse
@@ -459,6 +489,7 @@ module Aws::Shield
459
489
  Protection.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
460
490
  Protection.add_member(:health_check_ids, Shapes::ShapeRef.new(shape: HealthCheckIds, location_name: "HealthCheckIds"))
461
491
  Protection.add_member(:protection_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ProtectionArn"))
492
+ Protection.add_member(:application_layer_automatic_response_configuration, Shapes::ShapeRef.new(shape: ApplicationLayerAutomaticResponseConfiguration, location_name: "ApplicationLayerAutomaticResponseConfiguration"))
462
493
  Protection.struct_class = Types::Protection
463
494
 
464
495
  ProtectionGroup.add_member(:protection_group_id, Shapes::ShapeRef.new(shape: ProtectionGroupId, required: true, location_name: "ProtectionGroupId"))
@@ -500,6 +531,10 @@ module Aws::Shield
500
531
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
501
532
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
502
533
 
534
+ ResponseAction.add_member(:block, Shapes::ShapeRef.new(shape: BlockAction, location_name: "Block"))
535
+ ResponseAction.add_member(:count, Shapes::ShapeRef.new(shape: CountAction, location_name: "Count"))
536
+ ResponseAction.struct_class = Types::ResponseAction
537
+
503
538
  SubResourceSummary.add_member(:type, Shapes::ShapeRef.new(shape: SubResourceType, location_name: "Type"))
504
539
  SubResourceSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "Id"))
505
540
  SubResourceSummary.add_member(:attack_vectors, Shapes::ShapeRef.new(shape: SummarizedAttackVectorList, location_name: "AttackVectors"))
@@ -552,8 +587,8 @@ module Aws::Shield
552
587
 
553
588
  TagResourceResponse.struct_class = Types::TagResourceResponse
554
589
 
555
- TimeRange.add_member(:from_inclusive, Shapes::ShapeRef.new(shape: AttackTimestamp, location_name: "FromInclusive"))
556
- TimeRange.add_member(:to_exclusive, Shapes::ShapeRef.new(shape: AttackTimestamp, location_name: "ToExclusive"))
590
+ TimeRange.add_member(:from_inclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "FromInclusive"))
591
+ TimeRange.add_member(:to_exclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ToExclusive"))
557
592
  TimeRange.struct_class = Types::TimeRange
558
593
 
559
594
  TopContributors.member = Shapes::ShapeRef.new(shape: Contributor)
@@ -564,6 +599,12 @@ module Aws::Shield
564
599
 
565
600
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
566
601
 
602
+ UpdateApplicationLayerAutomaticResponseRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
603
+ UpdateApplicationLayerAutomaticResponseRequest.add_member(:action, Shapes::ShapeRef.new(shape: ResponseAction, required: true, location_name: "Action"))
604
+ UpdateApplicationLayerAutomaticResponseRequest.struct_class = Types::UpdateApplicationLayerAutomaticResponseRequest
605
+
606
+ UpdateApplicationLayerAutomaticResponseResponse.struct_class = Types::UpdateApplicationLayerAutomaticResponseResponse
607
+
567
608
  UpdateEmergencyContactSettingsRequest.add_member(:emergency_contact_list, Shapes::ShapeRef.new(shape: EmergencyContactList, location_name: "EmergencyContactList"))
568
609
  UpdateEmergencyContactSettingsRequest.struct_class = Types::UpdateEmergencyContactSettingsRequest
569
610
 
@@ -649,6 +690,7 @@ module Aws::Shield
649
690
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
650
691
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
651
692
  o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
693
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
652
694
  end)
653
695
 
654
696
  api.add_operation(:associate_proactive_engagement_details, Seahorse::Model::Operation.new.tap do |o|
@@ -808,6 +850,19 @@ module Aws::Shield
808
850
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
809
851
  end)
810
852
 
853
+ api.add_operation(:disable_application_layer_automatic_response, Seahorse::Model::Operation.new.tap do |o|
854
+ o.name = "DisableApplicationLayerAutomaticResponse"
855
+ o.http_method = "POST"
856
+ o.http_request_uri = "/"
857
+ o.input = Shapes::ShapeRef.new(shape: DisableApplicationLayerAutomaticResponseRequest)
858
+ o.output = Shapes::ShapeRef.new(shape: DisableApplicationLayerAutomaticResponseResponse)
859
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
860
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
861
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
862
+ o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
863
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
864
+ end)
865
+
811
866
  api.add_operation(:disable_proactive_engagement, Seahorse::Model::Operation.new.tap do |o|
812
867
  o.name = "DisableProactiveEngagement"
813
868
  o.http_method = "POST"
@@ -857,6 +912,21 @@ module Aws::Shield
857
912
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
858
913
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
859
914
  o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
915
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceException)
916
+ end)
917
+
918
+ api.add_operation(:enable_application_layer_automatic_response, Seahorse::Model::Operation.new.tap do |o|
919
+ o.name = "EnableApplicationLayerAutomaticResponse"
920
+ o.http_method = "POST"
921
+ o.http_request_uri = "/"
922
+ o.input = Shapes::ShapeRef.new(shape: EnableApplicationLayerAutomaticResponseRequest)
923
+ o.output = Shapes::ShapeRef.new(shape: EnableApplicationLayerAutomaticResponseResponse)
924
+ o.errors << Shapes::ShapeRef.new(shape: LimitsExceededException)
925
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
926
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
927
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
928
+ o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
929
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
860
930
  end)
861
931
 
862
932
  api.add_operation(:enable_proactive_engagement, Seahorse::Model::Operation.new.tap do |o|
@@ -984,6 +1054,19 @@ module Aws::Shield
984
1054
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
985
1055
  end)
986
1056
 
1057
+ api.add_operation(:update_application_layer_automatic_response, Seahorse::Model::Operation.new.tap do |o|
1058
+ o.name = "UpdateApplicationLayerAutomaticResponse"
1059
+ o.http_method = "POST"
1060
+ o.http_request_uri = "/"
1061
+ o.input = Shapes::ShapeRef.new(shape: UpdateApplicationLayerAutomaticResponseRequest)
1062
+ o.output = Shapes::ShapeRef.new(shape: UpdateApplicationLayerAutomaticResponseResponse)
1063
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
1064
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1065
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1066
+ o.errors << Shapes::ShapeRef.new(shape: OptimisticLockException)
1067
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
1068
+ end)
1069
+
987
1070
  api.add_operation(:update_emergency_contact_settings, Seahorse::Model::Operation.new.tap do |o|
988
1071
  o.name = "UpdateEmergencyContactSettings"
989
1072
  o.http_method = "POST"