aws-sdk-fms 1.28.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,16 +15,28 @@ module Aws::FMS
15
15
 
16
16
  AWSAccountId = Shapes::StringShape.new(name: 'AWSAccountId')
17
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')
18
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')
19
28
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
29
+ CIDR = Shapes::StringShape.new(name: 'CIDR')
20
30
  ComplianceViolator = Shapes::StructureShape.new(name: 'ComplianceViolator')
21
31
  ComplianceViolators = Shapes::ListShape.new(name: 'ComplianceViolators')
22
32
  CustomerPolicyScopeId = Shapes::StringShape.new(name: 'CustomerPolicyScopeId')
23
33
  CustomerPolicyScopeIdList = Shapes::ListShape.new(name: 'CustomerPolicyScopeIdList')
24
34
  CustomerPolicyScopeIdType = Shapes::StringShape.new(name: 'CustomerPolicyScopeIdType')
25
35
  CustomerPolicyScopeMap = Shapes::MapShape.new(name: 'CustomerPolicyScopeMap')
36
+ DeleteAppsListRequest = Shapes::StructureShape.new(name: 'DeleteAppsListRequest')
26
37
  DeleteNotificationChannelRequest = Shapes::StructureShape.new(name: 'DeleteNotificationChannelRequest')
27
38
  DeletePolicyRequest = Shapes::StructureShape.new(name: 'DeletePolicyRequest')
39
+ DeleteProtocolsListRequest = Shapes::StructureShape.new(name: 'DeleteProtocolsListRequest')
28
40
  DependentServiceName = Shapes::StringShape.new(name: 'DependentServiceName')
29
41
  DetailedInfo = Shapes::StringShape.new(name: 'DetailedInfo')
30
42
  DisassociateAdminAccountRequest = Shapes::StructureShape.new(name: 'DisassociateAdminAccountRequest')
@@ -33,6 +45,8 @@ module Aws::FMS
33
45
  EvaluationResults = Shapes::ListShape.new(name: 'EvaluationResults')
34
46
  GetAdminAccountRequest = Shapes::StructureShape.new(name: 'GetAdminAccountRequest')
35
47
  GetAdminAccountResponse = Shapes::StructureShape.new(name: 'GetAdminAccountResponse')
48
+ GetAppsListRequest = Shapes::StructureShape.new(name: 'GetAppsListRequest')
49
+ GetAppsListResponse = Shapes::StructureShape.new(name: 'GetAppsListResponse')
36
50
  GetComplianceDetailRequest = Shapes::StructureShape.new(name: 'GetComplianceDetailRequest')
37
51
  GetComplianceDetailResponse = Shapes::StructureShape.new(name: 'GetComplianceDetailResponse')
38
52
  GetNotificationChannelRequest = Shapes::StructureShape.new(name: 'GetNotificationChannelRequest')
@@ -41,24 +55,37 @@ module Aws::FMS
41
55
  GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
42
56
  GetProtectionStatusRequest = Shapes::StructureShape.new(name: 'GetProtectionStatusRequest')
43
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')
44
63
  InternalErrorException = Shapes::StructureShape.new(name: 'InternalErrorException')
45
64
  InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
46
65
  InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
47
66
  InvalidTypeException = Shapes::StructureShape.new(name: 'InvalidTypeException')
48
67
  IssueInfoMap = Shapes::MapShape.new(name: 'IssueInfoMap')
68
+ LengthBoundedString = Shapes::StringShape.new(name: 'LengthBoundedString')
49
69
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
70
+ ListAppsListsRequest = Shapes::StructureShape.new(name: 'ListAppsListsRequest')
71
+ ListAppsListsResponse = Shapes::StructureShape.new(name: 'ListAppsListsResponse')
50
72
  ListComplianceStatusRequest = Shapes::StructureShape.new(name: 'ListComplianceStatusRequest')
51
73
  ListComplianceStatusResponse = Shapes::StructureShape.new(name: 'ListComplianceStatusResponse')
74
+ ListId = Shapes::StringShape.new(name: 'ListId')
52
75
  ListMemberAccountsRequest = Shapes::StructureShape.new(name: 'ListMemberAccountsRequest')
53
76
  ListMemberAccountsResponse = Shapes::StructureShape.new(name: 'ListMemberAccountsResponse')
54
77
  ListPoliciesRequest = Shapes::StructureShape.new(name: 'ListPoliciesRequest')
55
78
  ListPoliciesResponse = Shapes::StructureShape.new(name: 'ListPoliciesResponse')
79
+ ListProtocolsListsRequest = Shapes::StructureShape.new(name: 'ListProtocolsListsRequest')
80
+ ListProtocolsListsResponse = Shapes::StructureShape.new(name: 'ListProtocolsListsResponse')
56
81
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
57
82
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
58
83
  ManagedServiceData = Shapes::StringShape.new(name: 'ManagedServiceData')
59
84
  MemberAccounts = Shapes::ListShape.new(name: 'MemberAccounts')
60
85
  PaginationMaxResults = Shapes::IntegerShape.new(name: 'PaginationMaxResults')
61
86
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
87
+ PartialMatch = Shapes::StructureShape.new(name: 'PartialMatch')
88
+ PartialMatches = Shapes::ListShape.new(name: 'PartialMatches')
62
89
  Policy = Shapes::StructureShape.new(name: 'Policy')
63
90
  PolicyComplianceDetail = Shapes::StructureShape.new(name: 'PolicyComplianceDetail')
64
91
  PolicyComplianceStatus = Shapes::StructureShape.new(name: 'PolicyComplianceStatus')
@@ -68,13 +95,29 @@ module Aws::FMS
68
95
  PolicySummary = Shapes::StructureShape.new(name: 'PolicySummary')
69
96
  PolicySummaryList = Shapes::ListShape.new(name: 'PolicySummaryList')
70
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')
71
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')
72
109
  PutNotificationChannelRequest = Shapes::StructureShape.new(name: 'PutNotificationChannelRequest')
73
110
  PutPolicyRequest = Shapes::StructureShape.new(name: 'PutPolicyRequest')
74
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')
75
117
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
76
118
  ResourceCount = Shapes::IntegerShape.new(name: 'ResourceCount')
77
119
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
120
+ ResourceIdList = Shapes::ListShape.new(name: 'ResourceIdList')
78
121
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
79
122
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
80
123
  ResourceTag = Shapes::StructureShape.new(name: 'ResourceTag')
@@ -83,6 +126,11 @@ module Aws::FMS
83
126
  ResourceTags = Shapes::ListShape.new(name: 'ResourceTags')
84
127
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
85
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')
86
134
  SecurityServicePolicyData = Shapes::StructureShape.new(name: 'SecurityServicePolicyData')
87
135
  SecurityServiceType = Shapes::StringShape.new(name: 'SecurityServiceType')
88
136
  Tag = Shapes::StructureShape.new(name: 'Tag')
@@ -92,14 +140,59 @@ module Aws::FMS
92
140
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
93
141
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
94
142
  TagValue = Shapes::StringShape.new(name: 'TagValue')
143
+ TargetViolationReason = Shapes::StringShape.new(name: 'TargetViolationReason')
144
+ TargetViolationReasons = Shapes::ListShape.new(name: 'TargetViolationReasons')
95
145
  TimeStamp = Shapes::TimestampShape.new(name: 'TimeStamp')
96
146
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
97
147
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
148
+ UpdateToken = Shapes::StringShape.new(name: 'UpdateToken')
149
+ ViolationDetail = Shapes::StructureShape.new(name: 'ViolationDetail')
98
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)
99
176
 
100
177
  AssociateAdminAccountRequest.add_member(:admin_account, Shapes::ShapeRef.new(shape: AWSAccountId, required: true, location_name: "AdminAccount"))
101
178
  AssociateAdminAccountRequest.struct_class = Types::AssociateAdminAccountRequest
102
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
+
103
196
  ComplianceViolator.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
104
197
  ComplianceViolator.add_member(:violation_reason, Shapes::ShapeRef.new(shape: ViolationReason, location_name: "ViolationReason"))
105
198
  ComplianceViolator.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
@@ -112,12 +205,18 @@ module Aws::FMS
112
205
  CustomerPolicyScopeMap.key = Shapes::ShapeRef.new(shape: CustomerPolicyScopeIdType)
113
206
  CustomerPolicyScopeMap.value = Shapes::ShapeRef.new(shape: CustomerPolicyScopeIdList)
114
207
 
208
+ DeleteAppsListRequest.add_member(:list_id, Shapes::ShapeRef.new(shape: ListId, required: true, location_name: "ListId"))
209
+ DeleteAppsListRequest.struct_class = Types::DeleteAppsListRequest
210
+
115
211
  DeleteNotificationChannelRequest.struct_class = Types::DeleteNotificationChannelRequest
116
212
 
117
213
  DeletePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
118
214
  DeletePolicyRequest.add_member(:delete_all_policy_resources, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteAllPolicyResources"))
119
215
  DeletePolicyRequest.struct_class = Types::DeletePolicyRequest
120
216
 
217
+ DeleteProtocolsListRequest.add_member(:list_id, Shapes::ShapeRef.new(shape: ListId, required: true, location_name: "ListId"))
218
+ DeleteProtocolsListRequest.struct_class = Types::DeleteProtocolsListRequest
219
+
121
220
  DisassociateAdminAccountRequest.struct_class = Types::DisassociateAdminAccountRequest
122
221
 
123
222
  EvaluationResult.add_member(:compliance_status, Shapes::ShapeRef.new(shape: PolicyComplianceStatusType, location_name: "ComplianceStatus"))
@@ -133,6 +232,14 @@ module Aws::FMS
133
232
  GetAdminAccountResponse.add_member(:role_status, Shapes::ShapeRef.new(shape: AccountRoleStatus, location_name: "RoleStatus"))
134
233
  GetAdminAccountResponse.struct_class = Types::GetAdminAccountResponse
135
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
+
136
243
  GetComplianceDetailRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
137
244
  GetComplianceDetailRequest.add_member(:member_account, Shapes::ShapeRef.new(shape: AWSAccountId, required: true, location_name: "MemberAccount"))
138
245
  GetComplianceDetailRequest.struct_class = Types::GetComplianceDetailRequest
@@ -167,6 +274,23 @@ module Aws::FMS
167
274
  GetProtectionStatusResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
168
275
  GetProtectionStatusResponse.struct_class = Types::GetProtectionStatusResponse
169
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
+
170
294
  InternalErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
171
295
  InternalErrorException.struct_class = Types::InternalErrorException
172
296
 
@@ -185,6 +309,15 @@ module Aws::FMS
185
309
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
186
310
  LimitExceededException.struct_class = Types::LimitExceededException
187
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
+
188
321
  ListComplianceStatusRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
189
322
  ListComplianceStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
190
323
  ListComplianceStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationMaxResults, location_name: "MaxResults"))
@@ -210,6 +343,15 @@ module Aws::FMS
210
343
  ListPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
211
344
  ListPoliciesResponse.struct_class = Types::ListPoliciesResponse
212
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
+
213
355
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
214
356
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
215
357
 
@@ -218,6 +360,12 @@ module Aws::FMS
218
360
 
219
361
  MemberAccounts.member = Shapes::ShapeRef.new(shape: AWSAccountId)
220
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
+
221
369
  Policy.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, location_name: "PolicyId"))
222
370
  Policy.add_member(:policy_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "PolicyName"))
223
371
  Policy.add_member(:policy_update_token, Shapes::ShapeRef.new(shape: PolicyUpdateToken, location_name: "PolicyUpdateToken"))
@@ -261,6 +409,39 @@ module Aws::FMS
261
409
 
262
410
  PolicySummaryList.member = Shapes::ShapeRef.new(shape: PolicySummary)
263
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
+
264
445
  PutNotificationChannelRequest.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "SnsTopicArn"))
265
446
  PutNotificationChannelRequest.add_member(:sns_role_name, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "SnsRoleName"))
266
447
  PutNotificationChannelRequest.struct_class = Types::PutNotificationChannelRequest
@@ -273,6 +454,16 @@ module Aws::FMS
273
454
  PutPolicyResponse.add_member(:policy_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "PolicyArn"))
274
455
  PutPolicyResponse.struct_class = Types::PutPolicyResponse
275
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
+
276
467
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
277
468
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
278
469
 
@@ -284,6 +475,29 @@ module Aws::FMS
284
475
 
285
476
  ResourceTypeList.member = Shapes::ShapeRef.new(shape: ResourceType)
286
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
+
287
501
  SecurityServicePolicyData.add_member(:type, Shapes::ShapeRef.new(shape: SecurityServiceType, required: true, location_name: "Type"))
288
502
  SecurityServicePolicyData.add_member(:managed_service_data, Shapes::ShapeRef.new(shape: ManagedServiceData, location_name: "ManagedServiceData"))
289
503
  SecurityServicePolicyData.struct_class = Types::SecurityServicePolicyData
@@ -302,12 +516,23 @@ module Aws::FMS
302
516
 
303
517
  TagResourceResponse.struct_class = Types::TagResourceResponse
304
518
 
519
+ TargetViolationReasons.member = Shapes::ShapeRef.new(shape: TargetViolationReason)
520
+
305
521
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
306
522
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeys"))
307
523
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
308
524
 
309
525
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
310
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
+
311
536
 
312
537
  # @api private
313
538
  API = Seahorse::Model::Api.new.tap do |api|
@@ -339,6 +564,17 @@ module Aws::FMS
339
564
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
340
565
  end)
341
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
+
342
578
  api.add_operation(:delete_notification_channel, Seahorse::Model::Operation.new.tap do |o|
343
579
  o.name = "DeleteNotificationChannel"
344
580
  o.http_method = "POST"
@@ -361,6 +597,17 @@ module Aws::FMS
361
597
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
362
598
  end)
363
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
+
364
611
  api.add_operation(:disassociate_admin_account, Seahorse::Model::Operation.new.tap do |o|
365
612
  o.name = "DisassociateAdminAccount"
366
613
  o.http_method = "POST"
@@ -383,6 +630,17 @@ module Aws::FMS
383
630
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
384
631
  end)
385
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
+
386
644
  api.add_operation(:get_compliance_detail, Seahorse::Model::Operation.new.tap do |o|
387
645
  o.name = "GetComplianceDetail"
388
646
  o.http_method = "POST"
@@ -391,6 +649,8 @@ module Aws::FMS
391
649
  o.output = Shapes::ShapeRef.new(shape: GetComplianceDetailResponse)
392
650
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
393
651
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
652
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
653
+ o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
394
654
  end)
395
655
 
396
656
  api.add_operation(:get_notification_channel, Seahorse::Model::Operation.new.tap do |o|
@@ -427,6 +687,40 @@ module Aws::FMS
427
687
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
428
688
  end)
429
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
+
430
724
  api.add_operation(:list_compliance_status, Seahorse::Model::Operation.new.tap do |o|
431
725
  o.name = "ListComplianceStatus"
432
726
  o.http_method = "POST"
@@ -477,6 +771,17 @@ module Aws::FMS
477
771
  )
478
772
  end)
479
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
+
480
785
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
481
786
  o.name = "ListTagsForResource"
482
787
  o.http_method = "POST"
@@ -489,6 +794,19 @@ module Aws::FMS
489
794
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
490
795
  end)
491
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
+
492
810
  api.add_operation(:put_notification_channel, Seahorse::Model::Operation.new.tap do |o|
493
811
  o.name = "PutNotificationChannel"
494
812
  o.http_method = "POST"
@@ -514,6 +832,19 @@ module Aws::FMS
514
832
  o.errors << Shapes::ShapeRef.new(shape: InvalidTypeException)
515
833
  end)
516
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
+
517
848
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
518
849
  o.name = "TagResource"
519
850
  o.http_method = "POST"