aws-sdk-fms 1.27.1 → 1.32.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -13,16 +15,28 @@ module Aws::FMS
13
15
 
14
16
  AWSAccountId = Shapes::StringShape.new(name: 'AWSAccountId')
15
17
  AccountRoleStatus = Shapes::StringShape.new(name: 'AccountRoleStatus')
18
+ App = Shapes::StructureShape.new(name: 'App')
19
+ AppsList = Shapes::ListShape.new(name: 'AppsList')
20
+ AppsListData = Shapes::StructureShape.new(name: 'AppsListData')
21
+ AppsListDataSummary = Shapes::StructureShape.new(name: 'AppsListDataSummary')
22
+ AppsListsData = Shapes::ListShape.new(name: 'AppsListsData')
16
23
  AssociateAdminAccountRequest = Shapes::StructureShape.new(name: 'AssociateAdminAccountRequest')
24
+ AwsEc2InstanceViolation = Shapes::StructureShape.new(name: 'AwsEc2InstanceViolation')
25
+ AwsEc2NetworkInterfaceViolation = Shapes::StructureShape.new(name: 'AwsEc2NetworkInterfaceViolation')
26
+ AwsEc2NetworkInterfaceViolations = Shapes::ListShape.new(name: 'AwsEc2NetworkInterfaceViolations')
27
+ AwsVPCSecurityGroupViolation = Shapes::StructureShape.new(name: 'AwsVPCSecurityGroupViolation')
17
28
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
29
+ CIDR = Shapes::StringShape.new(name: 'CIDR')
18
30
  ComplianceViolator = Shapes::StructureShape.new(name: 'ComplianceViolator')
19
31
  ComplianceViolators = Shapes::ListShape.new(name: 'ComplianceViolators')
20
32
  CustomerPolicyScopeId = Shapes::StringShape.new(name: 'CustomerPolicyScopeId')
21
33
  CustomerPolicyScopeIdList = Shapes::ListShape.new(name: 'CustomerPolicyScopeIdList')
22
34
  CustomerPolicyScopeIdType = Shapes::StringShape.new(name: 'CustomerPolicyScopeIdType')
23
35
  CustomerPolicyScopeMap = Shapes::MapShape.new(name: 'CustomerPolicyScopeMap')
36
+ DeleteAppsListRequest = Shapes::StructureShape.new(name: 'DeleteAppsListRequest')
24
37
  DeleteNotificationChannelRequest = Shapes::StructureShape.new(name: 'DeleteNotificationChannelRequest')
25
38
  DeletePolicyRequest = Shapes::StructureShape.new(name: 'DeletePolicyRequest')
39
+ DeleteProtocolsListRequest = Shapes::StructureShape.new(name: 'DeleteProtocolsListRequest')
26
40
  DependentServiceName = Shapes::StringShape.new(name: 'DependentServiceName')
27
41
  DetailedInfo = Shapes::StringShape.new(name: 'DetailedInfo')
28
42
  DisassociateAdminAccountRequest = Shapes::StructureShape.new(name: 'DisassociateAdminAccountRequest')
@@ -31,6 +45,8 @@ module Aws::FMS
31
45
  EvaluationResults = Shapes::ListShape.new(name: 'EvaluationResults')
32
46
  GetAdminAccountRequest = Shapes::StructureShape.new(name: 'GetAdminAccountRequest')
33
47
  GetAdminAccountResponse = Shapes::StructureShape.new(name: 'GetAdminAccountResponse')
48
+ GetAppsListRequest = Shapes::StructureShape.new(name: 'GetAppsListRequest')
49
+ GetAppsListResponse = Shapes::StructureShape.new(name: 'GetAppsListResponse')
34
50
  GetComplianceDetailRequest = Shapes::StructureShape.new(name: 'GetComplianceDetailRequest')
35
51
  GetComplianceDetailResponse = Shapes::StructureShape.new(name: 'GetComplianceDetailResponse')
36
52
  GetNotificationChannelRequest = Shapes::StructureShape.new(name: 'GetNotificationChannelRequest')
@@ -39,24 +55,37 @@ module Aws::FMS
39
55
  GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
40
56
  GetProtectionStatusRequest = Shapes::StructureShape.new(name: 'GetProtectionStatusRequest')
41
57
  GetProtectionStatusResponse = Shapes::StructureShape.new(name: 'GetProtectionStatusResponse')
58
+ GetProtocolsListRequest = Shapes::StructureShape.new(name: 'GetProtocolsListRequest')
59
+ GetProtocolsListResponse = Shapes::StructureShape.new(name: 'GetProtocolsListResponse')
60
+ GetViolationDetailsRequest = Shapes::StructureShape.new(name: 'GetViolationDetailsRequest')
61
+ GetViolationDetailsResponse = Shapes::StructureShape.new(name: 'GetViolationDetailsResponse')
62
+ IPPortNumber = Shapes::IntegerShape.new(name: 'IPPortNumber')
42
63
  InternalErrorException = Shapes::StructureShape.new(name: 'InternalErrorException')
43
64
  InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
44
65
  InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
45
66
  InvalidTypeException = Shapes::StructureShape.new(name: 'InvalidTypeException')
46
67
  IssueInfoMap = Shapes::MapShape.new(name: 'IssueInfoMap')
68
+ LengthBoundedString = Shapes::StringShape.new(name: 'LengthBoundedString')
47
69
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
70
+ ListAppsListsRequest = Shapes::StructureShape.new(name: 'ListAppsListsRequest')
71
+ ListAppsListsResponse = Shapes::StructureShape.new(name: 'ListAppsListsResponse')
48
72
  ListComplianceStatusRequest = Shapes::StructureShape.new(name: 'ListComplianceStatusRequest')
49
73
  ListComplianceStatusResponse = Shapes::StructureShape.new(name: 'ListComplianceStatusResponse')
74
+ ListId = Shapes::StringShape.new(name: 'ListId')
50
75
  ListMemberAccountsRequest = Shapes::StructureShape.new(name: 'ListMemberAccountsRequest')
51
76
  ListMemberAccountsResponse = Shapes::StructureShape.new(name: 'ListMemberAccountsResponse')
52
77
  ListPoliciesRequest = Shapes::StructureShape.new(name: 'ListPoliciesRequest')
53
78
  ListPoliciesResponse = Shapes::StructureShape.new(name: 'ListPoliciesResponse')
79
+ ListProtocolsListsRequest = Shapes::StructureShape.new(name: 'ListProtocolsListsRequest')
80
+ ListProtocolsListsResponse = Shapes::StructureShape.new(name: 'ListProtocolsListsResponse')
54
81
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
55
82
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
56
83
  ManagedServiceData = Shapes::StringShape.new(name: 'ManagedServiceData')
57
84
  MemberAccounts = Shapes::ListShape.new(name: 'MemberAccounts')
58
85
  PaginationMaxResults = Shapes::IntegerShape.new(name: 'PaginationMaxResults')
59
86
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
87
+ PartialMatch = Shapes::StructureShape.new(name: 'PartialMatch')
88
+ PartialMatches = Shapes::ListShape.new(name: 'PartialMatches')
60
89
  Policy = Shapes::StructureShape.new(name: 'Policy')
61
90
  PolicyComplianceDetail = Shapes::StructureShape.new(name: 'PolicyComplianceDetail')
62
91
  PolicyComplianceStatus = Shapes::StructureShape.new(name: 'PolicyComplianceStatus')
@@ -66,13 +95,29 @@ module Aws::FMS
66
95
  PolicySummary = Shapes::StructureShape.new(name: 'PolicySummary')
67
96
  PolicySummaryList = Shapes::ListShape.new(name: 'PolicySummaryList')
68
97
  PolicyUpdateToken = Shapes::StringShape.new(name: 'PolicyUpdateToken')
98
+ PreviousAppsList = Shapes::MapShape.new(name: 'PreviousAppsList')
99
+ PreviousListVersion = Shapes::StringShape.new(name: 'PreviousListVersion')
100
+ PreviousProtocolsList = Shapes::MapShape.new(name: 'PreviousProtocolsList')
69
101
  ProtectionData = Shapes::StringShape.new(name: 'ProtectionData')
102
+ Protocol = Shapes::StringShape.new(name: 'Protocol')
103
+ ProtocolsList = Shapes::ListShape.new(name: 'ProtocolsList')
104
+ ProtocolsListData = Shapes::StructureShape.new(name: 'ProtocolsListData')
105
+ ProtocolsListDataSummary = Shapes::StructureShape.new(name: 'ProtocolsListDataSummary')
106
+ ProtocolsListsData = Shapes::ListShape.new(name: 'ProtocolsListsData')
107
+ PutAppsListRequest = Shapes::StructureShape.new(name: 'PutAppsListRequest')
108
+ PutAppsListResponse = Shapes::StructureShape.new(name: 'PutAppsListResponse')
70
109
  PutNotificationChannelRequest = Shapes::StructureShape.new(name: 'PutNotificationChannelRequest')
71
110
  PutPolicyRequest = Shapes::StructureShape.new(name: 'PutPolicyRequest')
72
111
  PutPolicyResponse = Shapes::StructureShape.new(name: 'PutPolicyResponse')
112
+ PutProtocolsListRequest = Shapes::StructureShape.new(name: 'PutProtocolsListRequest')
113
+ PutProtocolsListResponse = Shapes::StructureShape.new(name: 'PutProtocolsListResponse')
114
+ ReferenceRule = Shapes::StringShape.new(name: 'ReferenceRule')
115
+ RemediationActionDescription = Shapes::StringShape.new(name: 'RemediationActionDescription')
116
+ RemediationActionType = Shapes::StringShape.new(name: 'RemediationActionType')
73
117
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
74
118
  ResourceCount = Shapes::IntegerShape.new(name: 'ResourceCount')
75
119
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
120
+ ResourceIdList = Shapes::ListShape.new(name: 'ResourceIdList')
76
121
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
77
122
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
78
123
  ResourceTag = Shapes::StructureShape.new(name: 'ResourceTag')
@@ -81,6 +126,11 @@ module Aws::FMS
81
126
  ResourceTags = Shapes::ListShape.new(name: 'ResourceTags')
82
127
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
83
128
  ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
129
+ ResourceViolation = Shapes::StructureShape.new(name: 'ResourceViolation')
130
+ ResourceViolations = Shapes::ListShape.new(name: 'ResourceViolations')
131
+ SecurityGroupRemediationAction = Shapes::StructureShape.new(name: 'SecurityGroupRemediationAction')
132
+ SecurityGroupRemediationActions = Shapes::ListShape.new(name: 'SecurityGroupRemediationActions')
133
+ SecurityGroupRuleDescription = Shapes::StructureShape.new(name: 'SecurityGroupRuleDescription')
84
134
  SecurityServicePolicyData = Shapes::StructureShape.new(name: 'SecurityServicePolicyData')
85
135
  SecurityServiceType = Shapes::StringShape.new(name: 'SecurityServiceType')
86
136
  Tag = Shapes::StructureShape.new(name: 'Tag')
@@ -90,14 +140,59 @@ module Aws::FMS
90
140
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
91
141
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
92
142
  TagValue = Shapes::StringShape.new(name: 'TagValue')
143
+ TargetViolationReason = Shapes::StringShape.new(name: 'TargetViolationReason')
144
+ TargetViolationReasons = Shapes::ListShape.new(name: 'TargetViolationReasons')
93
145
  TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp')
94
146
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
95
147
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
148
+ UpdateToken = Shapes::StringShape.new(name: 'UpdateToken')
149
+ ViolationDetail = Shapes::StructureShape.new(name: 'ViolationDetail')
96
150
  ViolationReason = Shapes::StringShape.new(name: 'ViolationReason')
151
+ ViolationTarget = Shapes::StringShape.new(name: 'ViolationTarget')
152
+
153
+ App.add_member(:app_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AppName"))
154
+ App.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "Protocol"))
155
+ App.add_member(:port, Shapes::ShapeRef.new(shape: IPPortNumber, required: true, location_name: "Port"))
156
+ App.struct_class = Types::App
157
+
158
+ AppsList.member = Shapes::ShapeRef.new(shape: App)
159
+
160
+ AppsListData.add_member(:list_id, Shapes::ShapeRef.new(shape: ListId, location_name: "ListId"))
161
+ AppsListData.add_member(:list_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ListName"))
162
+ AppsListData.add_member(:list_update_token, Shapes::ShapeRef.new(shape: UpdateToken, location_name: "ListUpdateToken"))
163
+ AppsListData.add_member(:create_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "CreateTime"))
164
+ AppsListData.add_member(:last_update_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdateTime"))
165
+ AppsListData.add_member(:apps_list, Shapes::ShapeRef.new(shape: AppsList, required: true, location_name: "AppsList"))
166
+ AppsListData.add_member(:previous_apps_list, Shapes::ShapeRef.new(shape: PreviousAppsList, location_name: "PreviousAppsList"))
167
+ AppsListData.struct_class = Types::AppsListData
168
+
169
+ AppsListDataSummary.add_member(:list_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ListArn"))
170
+ AppsListDataSummary.add_member(:list_id, Shapes::ShapeRef.new(shape: ListId, location_name: "ListId"))
171
+ AppsListDataSummary.add_member(:list_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ListName"))
172
+ AppsListDataSummary.add_member(:apps_list, Shapes::ShapeRef.new(shape: AppsList, location_name: "AppsList"))
173
+ AppsListDataSummary.struct_class = Types::AppsListDataSummary
174
+
175
+ AppsListsData.member = Shapes::ShapeRef.new(shape: AppsListDataSummary)
97
176
 
98
177
  AssociateAdminAccountRequest.add_member(:admin_account, Shapes::ShapeRef.new(shape: AWSAccountId, required: true, location_name: "AdminAccount"))
99
178
  AssociateAdminAccountRequest.struct_class = Types::AssociateAdminAccountRequest
100
179
 
180
+ AwsEc2InstanceViolation.add_member(:violation_target, Shapes::ShapeRef.new(shape: ViolationTarget, location_name: "ViolationTarget"))
181
+ AwsEc2InstanceViolation.add_member(:aws_ec2_network_interface_violations, Shapes::ShapeRef.new(shape: AwsEc2NetworkInterfaceViolations, location_name: "AwsEc2NetworkInterfaceViolations"))
182
+ AwsEc2InstanceViolation.struct_class = Types::AwsEc2InstanceViolation
183
+
184
+ AwsEc2NetworkInterfaceViolation.add_member(:violation_target, Shapes::ShapeRef.new(shape: ViolationTarget, location_name: "ViolationTarget"))
185
+ AwsEc2NetworkInterfaceViolation.add_member(:violating_security_groups, Shapes::ShapeRef.new(shape: ResourceIdList, location_name: "ViolatingSecurityGroups"))
186
+ AwsEc2NetworkInterfaceViolation.struct_class = Types::AwsEc2NetworkInterfaceViolation
187
+
188
+ AwsEc2NetworkInterfaceViolations.member = Shapes::ShapeRef.new(shape: AwsEc2NetworkInterfaceViolation)
189
+
190
+ AwsVPCSecurityGroupViolation.add_member(:violation_target, Shapes::ShapeRef.new(shape: ViolationTarget, location_name: "ViolationTarget"))
191
+ AwsVPCSecurityGroupViolation.add_member(:violation_target_description, Shapes::ShapeRef.new(shape: LengthBoundedString, location_name: "ViolationTargetDescription"))
192
+ AwsVPCSecurityGroupViolation.add_member(:partial_matches, Shapes::ShapeRef.new(shape: PartialMatches, location_name: "PartialMatches"))
193
+ AwsVPCSecurityGroupViolation.add_member(:possible_security_group_remediation_actions, Shapes::ShapeRef.new(shape: SecurityGroupRemediationActions, location_name: "PossibleSecurityGroupRemediationActions"))
194
+ AwsVPCSecurityGroupViolation.struct_class = Types::AwsVPCSecurityGroupViolation
195
+
101
196
  ComplianceViolator.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
102
197
  ComplianceViolator.add_member(:violation_reason, Shapes::ShapeRef.new(shape: ViolationReason, location_name: "ViolationReason"))
103
198
  ComplianceViolator.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
@@ -110,12 +205,18 @@ module Aws::FMS
110
205
  CustomerPolicyScopeMap.key = Shapes::ShapeRef.new(shape: CustomerPolicyScopeIdType)
111
206
  CustomerPolicyScopeMap.value = Shapes::ShapeRef.new(shape: CustomerPolicyScopeIdList)
112
207
 
208
+ DeleteAppsListRequest.add_member(:list_id, Shapes::ShapeRef.new(shape: ListId, required: true, location_name: "ListId"))
209
+ DeleteAppsListRequest.struct_class = Types::DeleteAppsListRequest
210
+
113
211
  DeleteNotificationChannelRequest.struct_class = Types::DeleteNotificationChannelRequest
114
212
 
115
213
  DeletePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
116
214
  DeletePolicyRequest.add_member(:delete_all_policy_resources, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteAllPolicyResources"))
117
215
  DeletePolicyRequest.struct_class = Types::DeletePolicyRequest
118
216
 
217
+ DeleteProtocolsListRequest.add_member(:list_id, Shapes::ShapeRef.new(shape: ListId, required: true, location_name: "ListId"))
218
+ DeleteProtocolsListRequest.struct_class = Types::DeleteProtocolsListRequest
219
+
119
220
  DisassociateAdminAccountRequest.struct_class = Types::DisassociateAdminAccountRequest
120
221
 
121
222
  EvaluationResult.add_member(:compliance_status, Shapes::ShapeRef.new(shape: PolicyComplianceStatusType, location_name: "ComplianceStatus"))
@@ -131,6 +232,14 @@ module Aws::FMS
131
232
  GetAdminAccountResponse.add_member(:role_status, Shapes::ShapeRef.new(shape: AccountRoleStatus, location_name: "RoleStatus"))
132
233
  GetAdminAccountResponse.struct_class = Types::GetAdminAccountResponse
133
234
 
235
+ GetAppsListRequest.add_member(:list_id, Shapes::ShapeRef.new(shape: ListId, required: true, location_name: "ListId"))
236
+ GetAppsListRequest.add_member(:default_list, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultList"))
237
+ GetAppsListRequest.struct_class = Types::GetAppsListRequest
238
+
239
+ GetAppsListResponse.add_member(:apps_list, Shapes::ShapeRef.new(shape: AppsListData, location_name: "AppsList"))
240
+ GetAppsListResponse.add_member(:apps_list_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "AppsListArn"))
241
+ GetAppsListResponse.struct_class = Types::GetAppsListResponse
242
+
134
243
  GetComplianceDetailRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
135
244
  GetComplianceDetailRequest.add_member(:member_account, Shapes::ShapeRef.new(shape: AWSAccountId, required: true, location_name: "MemberAccount"))
136
245
  GetComplianceDetailRequest.struct_class = Types::GetComplianceDetailRequest
@@ -165,6 +274,23 @@ module Aws::FMS
165
274
  GetProtectionStatusResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
166
275
  GetProtectionStatusResponse.struct_class = Types::GetProtectionStatusResponse
167
276
 
277
+ GetProtocolsListRequest.add_member(:list_id, Shapes::ShapeRef.new(shape: ListId, required: true, location_name: "ListId"))
278
+ GetProtocolsListRequest.add_member(:default_list, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultList"))
279
+ GetProtocolsListRequest.struct_class = Types::GetProtocolsListRequest
280
+
281
+ GetProtocolsListResponse.add_member(:protocols_list, Shapes::ShapeRef.new(shape: ProtocolsListData, location_name: "ProtocolsList"))
282
+ GetProtocolsListResponse.add_member(:protocols_list_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ProtocolsListArn"))
283
+ GetProtocolsListResponse.struct_class = Types::GetProtocolsListResponse
284
+
285
+ GetViolationDetailsRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
286
+ GetViolationDetailsRequest.add_member(:member_account, Shapes::ShapeRef.new(shape: AWSAccountId, required: true, location_name: "MemberAccount"))
287
+ GetViolationDetailsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
288
+ GetViolationDetailsRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
289
+ GetViolationDetailsRequest.struct_class = Types::GetViolationDetailsRequest
290
+
291
+ GetViolationDetailsResponse.add_member(:violation_detail, Shapes::ShapeRef.new(shape: ViolationDetail, location_name: "ViolationDetail"))
292
+ GetViolationDetailsResponse.struct_class = Types::GetViolationDetailsResponse
293
+
168
294
  InternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
169
295
  InternalErrorException.struct_class = Types::InternalErrorException
170
296
 
@@ -183,6 +309,15 @@ module Aws::FMS
183
309
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
184
310
  LimitExceededException.struct_class = Types::LimitExceededException
185
311
 
312
+ ListAppsListsRequest.add_member(:default_lists, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultLists"))
313
+ ListAppsListsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
314
+ ListAppsListsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationMaxResults, required: true, location_name: "MaxResults"))
315
+ ListAppsListsRequest.struct_class = Types::ListAppsListsRequest
316
+
317
+ ListAppsListsResponse.add_member(:apps_lists, Shapes::ShapeRef.new(shape: AppsListsData, location_name: "AppsLists"))
318
+ ListAppsListsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
319
+ ListAppsListsResponse.struct_class = Types::ListAppsListsResponse
320
+
186
321
  ListComplianceStatusRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
187
322
  ListComplianceStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
188
323
  ListComplianceStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationMaxResults, location_name: "MaxResults"))
@@ -208,6 +343,15 @@ module Aws::FMS
208
343
  ListPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
209
344
  ListPoliciesResponse.struct_class = Types::ListPoliciesResponse
210
345
 
346
+ ListProtocolsListsRequest.add_member(:default_lists, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultLists"))
347
+ ListProtocolsListsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
348
+ ListProtocolsListsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationMaxResults, required: true, location_name: "MaxResults"))
349
+ ListProtocolsListsRequest.struct_class = Types::ListProtocolsListsRequest
350
+
351
+ ListProtocolsListsResponse.add_member(:protocols_lists, Shapes::ShapeRef.new(shape: ProtocolsListsData, location_name: "ProtocolsLists"))
352
+ ListProtocolsListsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
353
+ ListProtocolsListsResponse.struct_class = Types::ListProtocolsListsResponse
354
+
211
355
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
212
356
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
213
357
 
@@ -216,6 +360,12 @@ module Aws::FMS
216
360
 
217
361
  MemberAccounts.member = Shapes::ShapeRef.new(shape: AWSAccountId)
218
362
 
363
+ PartialMatch.add_member(:reference, Shapes::ShapeRef.new(shape: ReferenceRule, location_name: "Reference"))
364
+ PartialMatch.add_member(:target_violation_reasons, Shapes::ShapeRef.new(shape: TargetViolationReasons, location_name: "TargetViolationReasons"))
365
+ PartialMatch.struct_class = Types::PartialMatch
366
+
367
+ PartialMatches.member = Shapes::ShapeRef.new(shape: PartialMatch)
368
+
219
369
  Policy.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, location_name: "PolicyId"))
220
370
  Policy.add_member(:policy_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "PolicyName"))
221
371
  Policy.add_member(:policy_update_token, Shapes::ShapeRef.new(shape: PolicyUpdateToken, location_name: "PolicyUpdateToken"))
@@ -259,6 +409,39 @@ module Aws::FMS
259
409
 
260
410
  PolicySummaryList.member = Shapes::ShapeRef.new(shape: PolicySummary)
261
411
 
412
+ PreviousAppsList.key = Shapes::ShapeRef.new(shape: PreviousListVersion)
413
+ PreviousAppsList.value = Shapes::ShapeRef.new(shape: AppsList)
414
+
415
+ PreviousProtocolsList.key = Shapes::ShapeRef.new(shape: PreviousListVersion)
416
+ PreviousProtocolsList.value = Shapes::ShapeRef.new(shape: ProtocolsList)
417
+
418
+ ProtocolsList.member = Shapes::ShapeRef.new(shape: Protocol)
419
+
420
+ ProtocolsListData.add_member(:list_id, Shapes::ShapeRef.new(shape: ListId, location_name: "ListId"))
421
+ ProtocolsListData.add_member(:list_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ListName"))
422
+ ProtocolsListData.add_member(:list_update_token, Shapes::ShapeRef.new(shape: UpdateToken, location_name: "ListUpdateToken"))
423
+ ProtocolsListData.add_member(:create_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "CreateTime"))
424
+ ProtocolsListData.add_member(:last_update_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdateTime"))
425
+ ProtocolsListData.add_member(:protocols_list, Shapes::ShapeRef.new(shape: ProtocolsList, required: true, location_name: "ProtocolsList"))
426
+ ProtocolsListData.add_member(:previous_protocols_list, Shapes::ShapeRef.new(shape: PreviousProtocolsList, location_name: "PreviousProtocolsList"))
427
+ ProtocolsListData.struct_class = Types::ProtocolsListData
428
+
429
+ ProtocolsListDataSummary.add_member(:list_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ListArn"))
430
+ ProtocolsListDataSummary.add_member(:list_id, Shapes::ShapeRef.new(shape: ListId, location_name: "ListId"))
431
+ ProtocolsListDataSummary.add_member(:list_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ListName"))
432
+ ProtocolsListDataSummary.add_member(:protocols_list, Shapes::ShapeRef.new(shape: ProtocolsList, location_name: "ProtocolsList"))
433
+ ProtocolsListDataSummary.struct_class = Types::ProtocolsListDataSummary
434
+
435
+ ProtocolsListsData.member = Shapes::ShapeRef.new(shape: ProtocolsListDataSummary)
436
+
437
+ PutAppsListRequest.add_member(:apps_list, Shapes::ShapeRef.new(shape: AppsListData, required: true, location_name: "AppsList"))
438
+ PutAppsListRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
439
+ PutAppsListRequest.struct_class = Types::PutAppsListRequest
440
+
441
+ PutAppsListResponse.add_member(:apps_list, Shapes::ShapeRef.new(shape: AppsListData, location_name: "AppsList"))
442
+ PutAppsListResponse.add_member(:apps_list_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "AppsListArn"))
443
+ PutAppsListResponse.struct_class = Types::PutAppsListResponse
444
+
262
445
  PutNotificationChannelRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "SnsTopicArn"))
263
446
  PutNotificationChannelRequest.add_member(:sns_role_name, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "SnsRoleName"))
264
447
  PutNotificationChannelRequest.struct_class = Types::PutNotificationChannelRequest
@@ -271,6 +454,16 @@ module Aws::FMS
271
454
  PutPolicyResponse.add_member(:policy_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "PolicyArn"))
272
455
  PutPolicyResponse.struct_class = Types::PutPolicyResponse
273
456
 
457
+ PutProtocolsListRequest.add_member(:protocols_list, Shapes::ShapeRef.new(shape: ProtocolsListData, required: true, location_name: "ProtocolsList"))
458
+ PutProtocolsListRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
459
+ PutProtocolsListRequest.struct_class = Types::PutProtocolsListRequest
460
+
461
+ PutProtocolsListResponse.add_member(:protocols_list, Shapes::ShapeRef.new(shape: ProtocolsListData, location_name: "ProtocolsList"))
462
+ PutProtocolsListResponse.add_member(:protocols_list_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ProtocolsListArn"))
463
+ PutProtocolsListResponse.struct_class = Types::PutProtocolsListResponse
464
+
465
+ ResourceIdList.member = Shapes::ShapeRef.new(shape: ResourceId)
466
+
274
467
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
275
468
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
276
469
 
@@ -282,6 +475,29 @@ module Aws::FMS
282
475
 
283
476
  ResourceTypeList.member = Shapes::ShapeRef.new(shape: ResourceType)
284
477
 
478
+ ResourceViolation.add_member(:aws_vpc_security_group_violation, Shapes::ShapeRef.new(shape: AwsVPCSecurityGroupViolation, location_name: "AwsVPCSecurityGroupViolation"))
479
+ ResourceViolation.add_member(:aws_ec2_network_interface_violation, Shapes::ShapeRef.new(shape: AwsEc2NetworkInterfaceViolation, location_name: "AwsEc2NetworkInterfaceViolation"))
480
+ ResourceViolation.add_member(:aws_ec2_instance_violation, Shapes::ShapeRef.new(shape: AwsEc2InstanceViolation, location_name: "AwsEc2InstanceViolation"))
481
+ ResourceViolation.struct_class = Types::ResourceViolation
482
+
483
+ ResourceViolations.member = Shapes::ShapeRef.new(shape: ResourceViolation)
484
+
485
+ SecurityGroupRemediationAction.add_member(:remediation_action_type, Shapes::ShapeRef.new(shape: RemediationActionType, location_name: "RemediationActionType"))
486
+ SecurityGroupRemediationAction.add_member(:description, Shapes::ShapeRef.new(shape: RemediationActionDescription, location_name: "Description"))
487
+ SecurityGroupRemediationAction.add_member(:remediation_result, Shapes::ShapeRef.new(shape: SecurityGroupRuleDescription, location_name: "RemediationResult"))
488
+ SecurityGroupRemediationAction.add_member(:is_default_action, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefaultAction"))
489
+ SecurityGroupRemediationAction.struct_class = Types::SecurityGroupRemediationAction
490
+
491
+ SecurityGroupRemediationActions.member = Shapes::ShapeRef.new(shape: SecurityGroupRemediationAction)
492
+
493
+ SecurityGroupRuleDescription.add_member(:ipv4_range, Shapes::ShapeRef.new(shape: CIDR, location_name: "IPV4Range"))
494
+ SecurityGroupRuleDescription.add_member(:ipv6_range, Shapes::ShapeRef.new(shape: CIDR, location_name: "IPV6Range"))
495
+ SecurityGroupRuleDescription.add_member(:prefix_list_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "PrefixListId"))
496
+ SecurityGroupRuleDescription.add_member(:protocol, Shapes::ShapeRef.new(shape: LengthBoundedString, location_name: "Protocol"))
497
+ SecurityGroupRuleDescription.add_member(:from_port, Shapes::ShapeRef.new(shape: IPPortNumber, location_name: "FromPort"))
498
+ SecurityGroupRuleDescription.add_member(:to_port, Shapes::ShapeRef.new(shape: IPPortNumber, location_name: "ToPort"))
499
+ SecurityGroupRuleDescription.struct_class = Types::SecurityGroupRuleDescription
500
+
285
501
  SecurityServicePolicyData.add_member(:type, Shapes::ShapeRef.new(shape: SecurityServiceType, required: true, location_name: "Type"))
286
502
  SecurityServicePolicyData.add_member(:managed_service_data, Shapes::ShapeRef.new(shape: ManagedServiceData, location_name: "ManagedServiceData"))
287
503
  SecurityServicePolicyData.struct_class = Types::SecurityServicePolicyData
@@ -300,12 +516,23 @@ module Aws::FMS
300
516
 
301
517
  TagResourceResponse.struct_class = Types::TagResourceResponse
302
518
 
519
+ TargetViolationReasons.member = Shapes::ShapeRef.new(shape: TargetViolationReason)
520
+
303
521
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
304
522
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
305
523
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
306
524
 
307
525
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
308
526
 
527
+ ViolationDetail.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
528
+ ViolationDetail.add_member(:member_account, Shapes::ShapeRef.new(shape: AWSAccountId, required: true, location_name: "MemberAccount"))
529
+ ViolationDetail.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
530
+ ViolationDetail.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
531
+ ViolationDetail.add_member(:resource_violations, Shapes::ShapeRef.new(shape: ResourceViolations, required: true, location_name: "ResourceViolations"))
532
+ ViolationDetail.add_member(:resource_tags, Shapes::ShapeRef.new(shape: TagList, location_name: "ResourceTags"))
533
+ ViolationDetail.add_member(:resource_description, Shapes::ShapeRef.new(shape: LengthBoundedString, location_name: "ResourceDescription"))
534
+ ViolationDetail.struct_class = Types::ViolationDetail
535
+
309
536
 
310
537
  # @api private
311
538
  API = Seahorse::Model::Api.new.tap do |api|
@@ -337,6 +564,17 @@ module Aws::FMS
337
564
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
338
565
  end)
339
566
 
567
+ api.add_operation(:delete_apps_list, Seahorse::Model::Operation.new.tap do |o|
568
+ o.name = "DeleteAppsList"
569
+ o.http_method = "POST"
570
+ o.http_request_uri = "/"
571
+ o.input = Shapes::ShapeRef.new(shape: DeleteAppsListRequest)
572
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
573
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
574
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
575
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
576
+ end)
577
+
340
578
  api.add_operation(:delete_notification_channel, Seahorse::Model::Operation.new.tap do |o|
341
579
  o.name = "DeleteNotificationChannel"
342
580
  o.http_method = "POST"
@@ -359,6 +597,17 @@ module Aws::FMS
359
597
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
360
598
  end)
361
599
 
600
+ api.add_operation(:delete_protocols_list, Seahorse::Model::Operation.new.tap do |o|
601
+ o.name = "DeleteProtocolsList"
602
+ o.http_method = "POST"
603
+ o.http_request_uri = "/"
604
+ o.input = Shapes::ShapeRef.new(shape: DeleteProtocolsListRequest)
605
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
606
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
607
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
608
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
609
+ end)
610
+
362
611
  api.add_operation(:disassociate_admin_account, Seahorse::Model::Operation.new.tap do |o|
363
612
  o.name = "DisassociateAdminAccount"
364
613
  o.http_method = "POST"
@@ -381,6 +630,17 @@ module Aws::FMS
381
630
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
382
631
  end)
383
632
 
633
+ api.add_operation(:get_apps_list, Seahorse::Model::Operation.new.tap do |o|
634
+ o.name = "GetAppsList"
635
+ o.http_method = "POST"
636
+ o.http_request_uri = "/"
637
+ o.input = Shapes::ShapeRef.new(shape: GetAppsListRequest)
638
+ o.output = Shapes::ShapeRef.new(shape: GetAppsListResponse)
639
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
640
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
641
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
642
+ end)
643
+
384
644
  api.add_operation(:get_compliance_detail, Seahorse::Model::Operation.new.tap do |o|
385
645
  o.name = "GetComplianceDetail"
386
646
  o.http_method = "POST"
@@ -389,6 +649,8 @@ module Aws::FMS
389
649
  o.output = Shapes::ShapeRef.new(shape: GetComplianceDetailResponse)
390
650
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
391
651
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
652
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
653
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
392
654
  end)
393
655
 
394
656
  api.add_operation(:get_notification_channel, Seahorse::Model::Operation.new.tap do |o|
@@ -425,6 +687,40 @@ module Aws::FMS
425
687
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
426
688
  end)
427
689
 
690
+ api.add_operation(:get_protocols_list, Seahorse::Model::Operation.new.tap do |o|
691
+ o.name = "GetProtocolsList"
692
+ o.http_method = "POST"
693
+ o.http_request_uri = "/"
694
+ o.input = Shapes::ShapeRef.new(shape: GetProtocolsListRequest)
695
+ o.output = Shapes::ShapeRef.new(shape: GetProtocolsListResponse)
696
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
697
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
698
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
699
+ end)
700
+
701
+ api.add_operation(:get_violation_details, Seahorse::Model::Operation.new.tap do |o|
702
+ o.name = "GetViolationDetails"
703
+ o.http_method = "POST"
704
+ o.http_request_uri = "/"
705
+ o.input = Shapes::ShapeRef.new(shape: GetViolationDetailsRequest)
706
+ o.output = Shapes::ShapeRef.new(shape: GetViolationDetailsResponse)
707
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
708
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
709
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
710
+ end)
711
+
712
+ api.add_operation(:list_apps_lists, Seahorse::Model::Operation.new.tap do |o|
713
+ o.name = "ListAppsLists"
714
+ o.http_method = "POST"
715
+ o.http_request_uri = "/"
716
+ o.input = Shapes::ShapeRef.new(shape: ListAppsListsRequest)
717
+ o.output = Shapes::ShapeRef.new(shape: ListAppsListsResponse)
718
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
719
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
720
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
721
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
722
+ end)
723
+
428
724
  api.add_operation(:list_compliance_status, Seahorse::Model::Operation.new.tap do |o|
429
725
  o.name = "ListComplianceStatus"
430
726
  o.http_method = "POST"
@@ -475,6 +771,17 @@ module Aws::FMS
475
771
  )
476
772
  end)
477
773
 
774
+ api.add_operation(:list_protocols_lists, Seahorse::Model::Operation.new.tap do |o|
775
+ o.name = "ListProtocolsLists"
776
+ o.http_method = "POST"
777
+ o.http_request_uri = "/"
778
+ o.input = Shapes::ShapeRef.new(shape: ListProtocolsListsRequest)
779
+ o.output = Shapes::ShapeRef.new(shape: ListProtocolsListsResponse)
780
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
781
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
782
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
783
+ end)
784
+
478
785
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
479
786
  o.name = "ListTagsForResource"
480
787
  o.http_method = "POST"
@@ -487,6 +794,19 @@ module Aws::FMS
487
794
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
488
795
  end)
489
796
 
797
+ api.add_operation(:put_apps_list, Seahorse::Model::Operation.new.tap do |o|
798
+ o.name = "PutAppsList"
799
+ o.http_method = "POST"
800
+ o.http_request_uri = "/"
801
+ o.input = Shapes::ShapeRef.new(shape: PutAppsListRequest)
802
+ o.output = Shapes::ShapeRef.new(shape: PutAppsListResponse)
803
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
804
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
805
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
806
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
807
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
808
+ end)
809
+
490
810
  api.add_operation(:put_notification_channel, Seahorse::Model::Operation.new.tap do |o|
491
811
  o.name = "PutNotificationChannel"
492
812
  o.http_method = "POST"
@@ -512,6 +832,19 @@ module Aws::FMS
512
832
  o.errors << Shapes::ShapeRef.new(shape: InvalidTypeException)
513
833
  end)
514
834
 
835
+ api.add_operation(:put_protocols_list, Seahorse::Model::Operation.new.tap do |o|
836
+ o.name = "PutProtocolsList"
837
+ o.http_method = "POST"
838
+ o.http_request_uri = "/"
839
+ o.input = Shapes::ShapeRef.new(shape: PutProtocolsListRequest)
840
+ o.output = Shapes::ShapeRef.new(shape: PutProtocolsListResponse)
841
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
842
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
843
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
844
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
845
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
846
+ end)
847
+
515
848
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
516
849
  o.name = "TagResource"
517
850
  o.http_method = "POST"