aws-sdk-fms 1.3.0 → 1.4.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9745f6b8c96f0388e32039f81817bbb09da2c877
4
- data.tar.gz: c1d15ea394daefa49a38cbcfab6e1b98180c1ccb
3
+ metadata.gz: 44d1a01d16b9786cf8849a7daed311c55d8b482a
4
+ data.tar.gz: 2d6e433459dbee81e684357749469112105b8fcd
5
5
  SHA512:
6
- metadata.gz: e4be8a3b42cbc2d98f1db7e322ffc6aabffcb1039480d2b320ef9c2b9bac32769a4b0c918dac359153843ba661e716f571a69ba89544f0ccecad234f6fb924f5
7
- data.tar.gz: 2355054d86aa5468a60f6d2f7410001412bb0ea330d8756615fda2b84aa55bc755a8233e4c2949a38c5a4971c5eafc19b88950b1aa3bdd17b64463ab1e064512
6
+ metadata.gz: 9e6242fa04df16258d4d1b4dc79576e670e9df177061ee5e1c91cca5fb1777069b863f2b3274a96a9f6951822e1ace2c55bba992e352c5398a5083b1a223e094
7
+ data.tar.gz: 433f23d68908946ee15357911f16397201e677be6fbccc8e4cd5efab9132781fb2b5da587d579db02301c38afbebd21771ba4a8f5f702e4193f46c5d22245333
@@ -187,14 +187,14 @@ module Aws::FMS
187
187
  # @!group API Operations
188
188
 
189
189
  # Sets the AWS Firewall Manager administrator account. AWS Firewall
190
- # Manager must be associated with a master account in AWS Organizations
191
- # or associated with a member account that has the appropriate
192
- # permissions. If the account ID that you submit is not an AWS
193
- # Organizations master account, AWS Firewall Manager will set the
190
+ # Manager must be associated with the master account your AWS
191
+ # organization or associated with a member account that has the
192
+ # appropriate permissions. If the account ID that you submit is not an
193
+ # AWS Organizations master account, AWS Firewall Manager will set the
194
194
  # appropriate permissions for the given member account.
195
195
  #
196
196
  # The account that you associate with AWS Firewall Manager is called the
197
- # AWS Firewall manager administrator account.
197
+ # AWS Firewall Manager administrator account.
198
198
  #
199
199
  # @option params [required, String] :admin_account
200
200
  # The AWS account ID to associate with AWS Firewall Manager as the AWS
@@ -284,10 +284,12 @@ module Aws::FMS
284
284
  # @return [Types::GetAdminAccountResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
285
285
  #
286
286
  # * {Types::GetAdminAccountResponse#admin_account #admin_account} => String
287
+ # * {Types::GetAdminAccountResponse#role_status #role_status} => String
287
288
  #
288
289
  # @example Response structure
289
290
  #
290
291
  # resp.admin_account #=> String
292
+ # resp.role_status #=> String, one of "READY", "CREATING", "PENDING_DELETION", "DELETING", "DELETED"
291
293
  #
292
294
  # @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetAdminAccount AWS API Documentation
293
295
  #
@@ -333,6 +335,8 @@ module Aws::FMS
333
335
  # resp.policy_compliance_detail.violators[0].resource_type #=> String
334
336
  # resp.policy_compliance_detail.evaluation_limit_exceeded #=> Boolean
335
337
  # resp.policy_compliance_detail.expired_at #=> Time
338
+ # resp.policy_compliance_detail.issue_info_map #=> Hash
339
+ # resp.policy_compliance_detail.issue_info_map["DependentServiceName"] #=> String
336
340
  #
337
341
  # @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetComplianceDetail AWS API Documentation
338
342
  #
@@ -395,6 +399,12 @@ module Aws::FMS
395
399
  # resp.policy.resource_tags[0].value #=> String
396
400
  # resp.policy.exclude_resource_tags #=> Boolean
397
401
  # resp.policy.remediation_enabled #=> Boolean
402
+ # resp.policy.include_map #=> Hash
403
+ # resp.policy.include_map["CustomerPolicyScopeIdType"] #=> Array
404
+ # resp.policy.include_map["CustomerPolicyScopeIdType"][0] #=> String
405
+ # resp.policy.exclude_map #=> Hash
406
+ # resp.policy.exclude_map["CustomerPolicyScopeIdType"] #=> Array
407
+ # resp.policy.exclude_map["CustomerPolicyScopeIdType"][0] #=> String
398
408
  # resp.policy_arn #=> String
399
409
  #
400
410
  # @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetPolicy AWS API Documentation
@@ -456,6 +466,8 @@ module Aws::FMS
456
466
  # resp.policy_compliance_status_list[0].evaluation_results[0].violator_count #=> Integer
457
467
  # resp.policy_compliance_status_list[0].evaluation_results[0].evaluation_limit_exceeded #=> Boolean
458
468
  # resp.policy_compliance_status_list[0].last_updated #=> Time
469
+ # resp.policy_compliance_status_list[0].issue_info_map #=> Hash
470
+ # resp.policy_compliance_status_list[0].issue_info_map["DependentServiceName"] #=> String
459
471
  # resp.next_token #=> String
460
472
  #
461
473
  # @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListComplianceStatus AWS API Documentation
@@ -467,6 +479,55 @@ module Aws::FMS
467
479
  req.send_request(options)
468
480
  end
469
481
 
482
+ # Returns a `MemberAccounts` object that lists the member accounts in
483
+ # the administrator's AWS organization.
484
+ #
485
+ # The `ListMemberAccounts` must be submitted by the account that is set
486
+ # as the AWS Firewall Manager administrator.
487
+ #
488
+ # @option params [String] :next_token
489
+ # If you specify a value for `MaxResults` and you have more account IDs
490
+ # than the number that you specify for `MaxResults`, AWS Firewall
491
+ # Manager returns a `NextToken` value in the response that allows you to
492
+ # list another group of IDs. For the second and subsequent
493
+ # `ListMemberAccountsRequest` requests, specify the value of `NextToken`
494
+ # from the previous response to get information about another batch of
495
+ # member account IDs.
496
+ #
497
+ # @option params [Integer] :max_results
498
+ # Specifies the number of member account IDs that you want AWS Firewall
499
+ # Manager to return for this request. If you have more IDs than the
500
+ # number that you specify for `MaxResults`, the response includes a
501
+ # `NextToken` value that you can use to get another batch of member
502
+ # account IDs. The maximum value for `MaxResults` is 100.
503
+ #
504
+ # @return [Types::ListMemberAccountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
505
+ #
506
+ # * {Types::ListMemberAccountsResponse#member_accounts #member_accounts} => Array<String>
507
+ # * {Types::ListMemberAccountsResponse#next_token #next_token} => String
508
+ #
509
+ # @example Request syntax with placeholder values
510
+ #
511
+ # resp = client.list_member_accounts({
512
+ # next_token: "PaginationToken",
513
+ # max_results: 1,
514
+ # })
515
+ #
516
+ # @example Response structure
517
+ #
518
+ # resp.member_accounts #=> Array
519
+ # resp.member_accounts[0] #=> String
520
+ # resp.next_token #=> String
521
+ #
522
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListMemberAccounts AWS API Documentation
523
+ #
524
+ # @overload list_member_accounts(params = {})
525
+ # @param [Hash] params ({})
526
+ def list_member_accounts(params = {}, options = {})
527
+ req = build_request(:list_member_accounts, params)
528
+ req.send_request(options)
529
+ end
530
+
470
531
  # Returns an array of `PolicySummary` objects in the response.
471
532
  #
472
533
  # @option params [String] :next_token
@@ -576,6 +637,12 @@ module Aws::FMS
576
637
  # ],
577
638
  # exclude_resource_tags: false, # required
578
639
  # remediation_enabled: false, # required
640
+ # include_map: {
641
+ # "ACCOUNT" => ["CustomerPolicyScopeId"],
642
+ # },
643
+ # exclude_map: {
644
+ # "ACCOUNT" => ["CustomerPolicyScopeId"],
645
+ # },
579
646
  # },
580
647
  # })
581
648
  #
@@ -592,6 +659,12 @@ module Aws::FMS
592
659
  # resp.policy.resource_tags[0].value #=> String
593
660
  # resp.policy.exclude_resource_tags #=> Boolean
594
661
  # resp.policy.remediation_enabled #=> Boolean
662
+ # resp.policy.include_map #=> Hash
663
+ # resp.policy.include_map["CustomerPolicyScopeIdType"] #=> Array
664
+ # resp.policy.include_map["CustomerPolicyScopeIdType"][0] #=> String
665
+ # resp.policy.exclude_map #=> Hash
666
+ # resp.policy.exclude_map["CustomerPolicyScopeIdType"] #=> Array
667
+ # resp.policy.exclude_map["CustomerPolicyScopeIdType"][0] #=> String
595
668
  # resp.policy_arn #=> String
596
669
  #
597
670
  # @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PutPolicy AWS API Documentation
@@ -616,7 +689,7 @@ module Aws::FMS
616
689
  params: params,
617
690
  config: config)
618
691
  context[:gem_name] = 'aws-sdk-fms'
619
- context[:gem_version] = '1.3.0'
692
+ context[:gem_version] = '1.4.0'
620
693
  Seahorse::Client::Request.new(handlers, context)
621
694
  end
622
695
 
@@ -12,12 +12,19 @@ module Aws::FMS
12
12
  include Seahorse::Model
13
13
 
14
14
  AWSAccountId = Shapes::StringShape.new(name: 'AWSAccountId')
15
+ AccountRoleStatus = Shapes::StringShape.new(name: 'AccountRoleStatus')
15
16
  AssociateAdminAccountRequest = Shapes::StructureShape.new(name: 'AssociateAdminAccountRequest')
16
17
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
17
18
  ComplianceViolator = Shapes::StructureShape.new(name: 'ComplianceViolator')
18
19
  ComplianceViolators = Shapes::ListShape.new(name: 'ComplianceViolators')
20
+ CustomerPolicyScopeId = Shapes::StringShape.new(name: 'CustomerPolicyScopeId')
21
+ CustomerPolicyScopeIdList = Shapes::ListShape.new(name: 'CustomerPolicyScopeIdList')
22
+ CustomerPolicyScopeIdType = Shapes::StringShape.new(name: 'CustomerPolicyScopeIdType')
23
+ CustomerPolicyScopeMap = Shapes::MapShape.new(name: 'CustomerPolicyScopeMap')
19
24
  DeleteNotificationChannelRequest = Shapes::StructureShape.new(name: 'DeleteNotificationChannelRequest')
20
25
  DeletePolicyRequest = Shapes::StructureShape.new(name: 'DeletePolicyRequest')
26
+ DependentServiceName = Shapes::StringShape.new(name: 'DependentServiceName')
27
+ DetailedInfo = Shapes::StringShape.new(name: 'DetailedInfo')
21
28
  DisassociateAdminAccountRequest = Shapes::StructureShape.new(name: 'DisassociateAdminAccountRequest')
22
29
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
23
30
  EvaluationResult = Shapes::StructureShape.new(name: 'EvaluationResult')
@@ -33,12 +40,17 @@ module Aws::FMS
33
40
  InternalErrorException = Shapes::StructureShape.new(name: 'InternalErrorException')
34
41
  InvalidInputException = Shapes::StructureShape.new(name: 'InvalidInputException')
35
42
  InvalidOperationException = Shapes::StructureShape.new(name: 'InvalidOperationException')
43
+ InvalidTypeException = Shapes::StructureShape.new(name: 'InvalidTypeException')
44
+ IssueInfoMap = Shapes::MapShape.new(name: 'IssueInfoMap')
36
45
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
37
46
  ListComplianceStatusRequest = Shapes::StructureShape.new(name: 'ListComplianceStatusRequest')
38
47
  ListComplianceStatusResponse = Shapes::StructureShape.new(name: 'ListComplianceStatusResponse')
48
+ ListMemberAccountsRequest = Shapes::StructureShape.new(name: 'ListMemberAccountsRequest')
49
+ ListMemberAccountsResponse = Shapes::StructureShape.new(name: 'ListMemberAccountsResponse')
39
50
  ListPoliciesRequest = Shapes::StructureShape.new(name: 'ListPoliciesRequest')
40
51
  ListPoliciesResponse = Shapes::StructureShape.new(name: 'ListPoliciesResponse')
41
52
  ManagedServiceData = Shapes::StringShape.new(name: 'ManagedServiceData')
53
+ MemberAccounts = Shapes::ListShape.new(name: 'MemberAccounts')
42
54
  PaginationMaxResults = Shapes::IntegerShape.new(name: 'PaginationMaxResults')
43
55
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
44
56
  Policy = Shapes::StructureShape.new(name: 'Policy')
@@ -78,6 +90,11 @@ module Aws::FMS
78
90
 
79
91
  ComplianceViolators.member = Shapes::ShapeRef.new(shape: ComplianceViolator)
80
92
 
93
+ CustomerPolicyScopeIdList.member = Shapes::ShapeRef.new(shape: CustomerPolicyScopeId)
94
+
95
+ CustomerPolicyScopeMap.key = Shapes::ShapeRef.new(shape: CustomerPolicyScopeIdType)
96
+ CustomerPolicyScopeMap.value = Shapes::ShapeRef.new(shape: CustomerPolicyScopeIdList)
97
+
81
98
  DeleteNotificationChannelRequest.struct_class = Types::DeleteNotificationChannelRequest
82
99
 
83
100
  DeletePolicyRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
@@ -95,6 +112,7 @@ module Aws::FMS
95
112
  GetAdminAccountRequest.struct_class = Types::GetAdminAccountRequest
96
113
 
97
114
  GetAdminAccountResponse.add_member(:admin_account, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "AdminAccount"))
115
+ GetAdminAccountResponse.add_member(:role_status, Shapes::ShapeRef.new(shape: AccountRoleStatus, location_name: "RoleStatus"))
98
116
  GetAdminAccountResponse.struct_class = Types::GetAdminAccountResponse
99
117
 
100
118
  GetComplianceDetailRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
@@ -117,6 +135,9 @@ module Aws::FMS
117
135
  GetPolicyResponse.add_member(:policy_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "PolicyArn"))
118
136
  GetPolicyResponse.struct_class = Types::GetPolicyResponse
119
137
 
138
+ IssueInfoMap.key = Shapes::ShapeRef.new(shape: DependentServiceName)
139
+ IssueInfoMap.value = Shapes::ShapeRef.new(shape: DetailedInfo)
140
+
120
141
  ListComplianceStatusRequest.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, required: true, location_name: "PolicyId"))
121
142
  ListComplianceStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
122
143
  ListComplianceStatusRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationMaxResults, location_name: "MaxResults"))
@@ -126,6 +147,14 @@ module Aws::FMS
126
147
  ListComplianceStatusResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
127
148
  ListComplianceStatusResponse.struct_class = Types::ListComplianceStatusResponse
128
149
 
150
+ ListMemberAccountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
151
+ ListMemberAccountsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationMaxResults, location_name: "MaxResults"))
152
+ ListMemberAccountsRequest.struct_class = Types::ListMemberAccountsRequest
153
+
154
+ ListMemberAccountsResponse.add_member(:member_accounts, Shapes::ShapeRef.new(shape: MemberAccounts, location_name: "MemberAccounts"))
155
+ ListMemberAccountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
156
+ ListMemberAccountsResponse.struct_class = Types::ListMemberAccountsResponse
157
+
129
158
  ListPoliciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
130
159
  ListPoliciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationMaxResults, location_name: "MaxResults"))
131
160
  ListPoliciesRequest.struct_class = Types::ListPoliciesRequest
@@ -134,6 +163,8 @@ module Aws::FMS
134
163
  ListPoliciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
135
164
  ListPoliciesResponse.struct_class = Types::ListPoliciesResponse
136
165
 
166
+ MemberAccounts.member = Shapes::ShapeRef.new(shape: AWSAccountId)
167
+
137
168
  Policy.add_member(:policy_id, Shapes::ShapeRef.new(shape: PolicyId, location_name: "PolicyId"))
138
169
  Policy.add_member(:policy_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "PolicyName"))
139
170
  Policy.add_member(:policy_update_token, Shapes::ShapeRef.new(shape: PolicyUpdateToken, location_name: "PolicyUpdateToken"))
@@ -142,6 +173,8 @@ module Aws::FMS
142
173
  Policy.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTags, location_name: "ResourceTags"))
143
174
  Policy.add_member(:exclude_resource_tags, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ExcludeResourceTags"))
144
175
  Policy.add_member(:remediation_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "RemediationEnabled"))
176
+ Policy.add_member(:include_map, Shapes::ShapeRef.new(shape: CustomerPolicyScopeMap, location_name: "IncludeMap"))
177
+ Policy.add_member(:exclude_map, Shapes::ShapeRef.new(shape: CustomerPolicyScopeMap, location_name: "ExcludeMap"))
145
178
  Policy.struct_class = Types::Policy
146
179
 
147
180
  PolicyComplianceDetail.add_member(:policy_owner, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "PolicyOwner"))
@@ -150,6 +183,7 @@ module Aws::FMS
150
183
  PolicyComplianceDetail.add_member(:violators, Shapes::ShapeRef.new(shape: ComplianceViolators, location_name: "Violators"))
151
184
  PolicyComplianceDetail.add_member(:evaluation_limit_exceeded, Shapes::ShapeRef.new(shape: Boolean, location_name: "EvaluationLimitExceeded"))
152
185
  PolicyComplianceDetail.add_member(:expired_at, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "ExpiredAt"))
186
+ PolicyComplianceDetail.add_member(:issue_info_map, Shapes::ShapeRef.new(shape: IssueInfoMap, location_name: "IssueInfoMap"))
153
187
  PolicyComplianceDetail.struct_class = Types::PolicyComplianceDetail
154
188
 
155
189
  PolicyComplianceStatus.add_member(:policy_owner, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "PolicyOwner"))
@@ -158,6 +192,7 @@ module Aws::FMS
158
192
  PolicyComplianceStatus.add_member(:member_account, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "MemberAccount"))
159
193
  PolicyComplianceStatus.add_member(:evaluation_results, Shapes::ShapeRef.new(shape: EvaluationResults, location_name: "EvaluationResults"))
160
194
  PolicyComplianceStatus.add_member(:last_updated, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdated"))
195
+ PolicyComplianceStatus.add_member(:issue_info_map, Shapes::ShapeRef.new(shape: IssueInfoMap, location_name: "IssueInfoMap"))
161
196
  PolicyComplianceStatus.struct_class = Types::PolicyComplianceStatus
162
197
 
163
198
  PolicyComplianceStatusList.member = Shapes::ShapeRef.new(shape: PolicyComplianceStatus)
@@ -298,6 +333,7 @@ module Aws::FMS
298
333
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
299
334
  o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
300
335
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
336
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTypeException)
301
337
  end)
302
338
 
303
339
  api.add_operation(:list_compliance_status, Seahorse::Model::Operation.new.tap do |o|
@@ -310,6 +346,16 @@ module Aws::FMS
310
346
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
311
347
  end)
312
348
 
349
+ api.add_operation(:list_member_accounts, Seahorse::Model::Operation.new.tap do |o|
350
+ o.name = "ListMemberAccounts"
351
+ o.http_method = "POST"
352
+ o.http_request_uri = "/"
353
+ o.input = Shapes::ShapeRef.new(shape: ListMemberAccountsRequest)
354
+ o.output = Shapes::ShapeRef.new(shape: ListMemberAccountsResponse)
355
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
356
+ o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
357
+ end)
358
+
313
359
  api.add_operation(:list_policies, Seahorse::Model::Operation.new.tap do |o|
314
360
  o.name = "ListPolicies"
315
361
  o.http_method = "POST"
@@ -342,7 +388,9 @@ module Aws::FMS
342
388
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
343
389
  o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
344
390
  o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
391
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
345
392
  o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
393
+ o.errors << Shapes::ShapeRef.new(shape: InvalidTypeException)
346
394
  end)
347
395
  end
348
396
 
@@ -135,10 +135,16 @@ module Aws::FMS
135
135
  # administrator.
136
136
  # @return [String]
137
137
  #
138
+ # @!attribute [rw] role_status
139
+ # The status of the AWS account that you set as the AWS Firewall
140
+ # Manager administrator.
141
+ # @return [String]
142
+ #
138
143
  # @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/GetAdminAccountResponse AWS API Documentation
139
144
  #
140
145
  class GetAdminAccountResponse < Struct.new(
141
- :admin_account)
146
+ :admin_account,
147
+ :role_status)
142
148
  include Aws::Structure
143
149
  end
144
150
 
@@ -302,6 +308,60 @@ module Aws::FMS
302
308
  include Aws::Structure
303
309
  end
304
310
 
311
+ # @note When making an API call, you may pass ListMemberAccountsRequest
312
+ # data as a hash:
313
+ #
314
+ # {
315
+ # next_token: "PaginationToken",
316
+ # max_results: 1,
317
+ # }
318
+ #
319
+ # @!attribute [rw] next_token
320
+ # If you specify a value for `MaxResults` and you have more account
321
+ # IDs than the number that you specify for `MaxResults`, AWS Firewall
322
+ # Manager returns a `NextToken` value in the response that allows you
323
+ # to list another group of IDs. For the second and subsequent
324
+ # `ListMemberAccountsRequest` requests, specify the value of
325
+ # `NextToken` from the previous response to get information about
326
+ # another batch of member account IDs.
327
+ # @return [String]
328
+ #
329
+ # @!attribute [rw] max_results
330
+ # Specifies the number of member account IDs that you want AWS
331
+ # Firewall Manager to return for this request. If you have more IDs
332
+ # than the number that you specify for `MaxResults`, the response
333
+ # includes a `NextToken` value that you can use to get another batch
334
+ # of member account IDs. The maximum value for `MaxResults` is 100.
335
+ # @return [Integer]
336
+ #
337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListMemberAccountsRequest AWS API Documentation
338
+ #
339
+ class ListMemberAccountsRequest < Struct.new(
340
+ :next_token,
341
+ :max_results)
342
+ include Aws::Structure
343
+ end
344
+
345
+ # @!attribute [rw] member_accounts
346
+ # An array of account IDs.
347
+ # @return [Array<String>]
348
+ #
349
+ # @!attribute [rw] next_token
350
+ # If you have more member account IDs than the number that you
351
+ # specified for `MaxResults` in the request, the response includes a
352
+ # `NextToken` value. To list more IDs, submit another
353
+ # `ListMemberAccounts` request, and specify the `NextToken` value from
354
+ # the response in the `NextToken` value in the next request.
355
+ # @return [String]
356
+ #
357
+ # @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/ListMemberAccountsResponse AWS API Documentation
358
+ #
359
+ class ListMemberAccountsResponse < Struct.new(
360
+ :member_accounts,
361
+ :next_token)
362
+ include Aws::Structure
363
+ end
364
+
305
365
  # @note When making an API call, you may pass ListPoliciesRequest
306
366
  # data as a hash:
307
367
  #
@@ -379,6 +439,12 @@ module Aws::FMS
379
439
  # ],
380
440
  # exclude_resource_tags: false, # required
381
441
  # remediation_enabled: false, # required
442
+ # include_map: {
443
+ # "ACCOUNT" => ["CustomerPolicyScopeId"],
444
+ # },
445
+ # exclude_map: {
446
+ # "ACCOUNT" => ["CustomerPolicyScopeId"],
447
+ # },
382
448
  # }
383
449
  #
384
450
  # @!attribute [rw] policy_id
@@ -430,6 +496,27 @@ module Aws::FMS
430
496
  # resources.
431
497
  # @return [Boolean]
432
498
  #
499
+ # @!attribute [rw] include_map
500
+ # Specifies the AWS account IDs to include in the policy. If
501
+ # `IncludeMap` is null, all accounts in the AWS Organization are
502
+ # included in the policy. If `IncludeMap` is not null, only values
503
+ # listed in `IncludeMap` will be included in the policy.
504
+ #
505
+ # The key to the map is `ACCOUNT`. For example, a valid `IncludeMap`
506
+ # would be `\{“ACCOUNT” : [“accountID1”, “accountID2”]\}`.
507
+ # @return [Hash<String,Array<String>>]
508
+ #
509
+ # @!attribute [rw] exclude_map
510
+ # Specifies the AWS account IDs to exclude from the policy. The
511
+ # `IncludeMap` values are evaluated first, with all of the appropriate
512
+ # account IDs added to the policy. Then the accounts listed in
513
+ # `ExcludeMap` are removed, resulting in the final list of accounts to
514
+ # add to the policy.
515
+ #
516
+ # The key to the map is `ACCOUNT`. For example, a valid `ExcludeMap`
517
+ # would be `\{“ACCOUNT” : [“accountID1”, “accountID2”]\}`.
518
+ # @return [Hash<String,Array<String>>]
519
+ #
433
520
  # @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/Policy AWS API Documentation
434
521
  #
435
522
  class Policy < Struct.new(
@@ -440,7 +527,9 @@ module Aws::FMS
440
527
  :resource_type,
441
528
  :resource_tags,
442
529
  :exclude_resource_tags,
443
- :remediation_enabled)
530
+ :remediation_enabled,
531
+ :include_map,
532
+ :exclude_map)
444
533
  include Aws::Structure
445
534
  end
446
535
 
@@ -475,6 +564,13 @@ module Aws::FMS
475
564
  # considered out-of-date.
476
565
  # @return [Time]
477
566
  #
567
+ # @!attribute [rw] issue_info_map
568
+ # Details about problems with dependent services, such as AWS WAF or
569
+ # AWS Config, that are causing a resource to be non-compliant. The
570
+ # details include the name of the dependent service and the error
571
+ # message recieved indicating the problem with the service.
572
+ # @return [Hash<String,String>]
573
+ #
478
574
  # @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PolicyComplianceDetail AWS API Documentation
479
575
  #
480
576
  class PolicyComplianceDetail < Struct.new(
@@ -483,7 +579,8 @@ module Aws::FMS
483
579
  :member_account,
484
580
  :violators,
485
581
  :evaluation_limit_exceeded,
486
- :expired_at)
582
+ :expired_at,
583
+ :issue_info_map)
487
584
  include Aws::Structure
488
585
  end
489
586
 
@@ -515,6 +612,13 @@ module Aws::FMS
515
612
  # Time stamp of the last update to the `EvaluationResult` objects.
516
613
  # @return [Time]
517
614
  #
615
+ # @!attribute [rw] issue_info_map
616
+ # Details about problems with dependent services, such as AWS WAF or
617
+ # AWS Config, that are causing a resource to be non-compliant. The
618
+ # details include the name of the dependent service and the error
619
+ # message recieved indicating the problem with the service.
620
+ # @return [Hash<String,String>]
621
+ #
518
622
  # @see http://docs.aws.amazon.com/goto/WebAPI/fms-2018-01-01/PolicyComplianceStatus AWS API Documentation
519
623
  #
520
624
  class PolicyComplianceStatus < Struct.new(
@@ -523,7 +627,8 @@ module Aws::FMS
523
627
  :policy_name,
524
628
  :member_account,
525
629
  :evaluation_results,
526
- :last_updated)
630
+ :last_updated,
631
+ :issue_info_map)
527
632
  include Aws::Structure
528
633
  end
529
634
 
@@ -622,6 +727,12 @@ module Aws::FMS
622
727
  # ],
623
728
  # exclude_resource_tags: false, # required
624
729
  # remediation_enabled: false, # required
730
+ # include_map: {
731
+ # "ACCOUNT" => ["CustomerPolicyScopeId"],
732
+ # },
733
+ # exclude_map: {
734
+ # "ACCOUNT" => ["CustomerPolicyScopeId"],
735
+ # },
625
736
  # },
626
737
  # }
627
738
  #
data/lib/aws-sdk-fms.rb CHANGED
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-fms/customizations'
42
42
  # @service
43
43
  module Aws::FMS
44
44
 
45
- GEM_VERSION = '1.3.0'
45
+ GEM_VERSION = '1.4.0'
46
46
 
47
47
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-fms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-06 00:00:00.000000000 Z
11
+ date: 2018-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core