aws-sdk-fms 1.55.0 → 1.56.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fms/client.rb +271 -31
- data/lib/aws-sdk-fms/client_api.rb +151 -0
- data/lib/aws-sdk-fms/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-fms/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-fms/endpoints.rb +56 -0
- data/lib/aws-sdk-fms/plugins/endpoints.rb +8 -0
- data/lib/aws-sdk-fms/types.rb +568 -31
- data/lib/aws-sdk-fms.rb +1 -1
- metadata +2 -2
@@ -15,8 +15,15 @@ module Aws::FMS
|
|
15
15
|
|
16
16
|
AWSAccountId = Shapes::StringShape.new(name: 'AWSAccountId')
|
17
17
|
AWSAccountIdList = Shapes::ListShape.new(name: 'AWSAccountIdList')
|
18
|
+
AWSRegion = Shapes::StringShape.new(name: 'AWSRegion')
|
19
|
+
AWSRegionList = Shapes::ListShape.new(name: 'AWSRegionList')
|
20
|
+
AccountIdList = Shapes::ListShape.new(name: 'AccountIdList')
|
18
21
|
AccountRoleStatus = Shapes::StringShape.new(name: 'AccountRoleStatus')
|
22
|
+
AccountScope = Shapes::StructureShape.new(name: 'AccountScope')
|
19
23
|
ActionTarget = Shapes::StructureShape.new(name: 'ActionTarget')
|
24
|
+
AdminAccountSummary = Shapes::StructureShape.new(name: 'AdminAccountSummary')
|
25
|
+
AdminAccountSummaryList = Shapes::ListShape.new(name: 'AdminAccountSummaryList')
|
26
|
+
AdminScope = Shapes::StructureShape.new(name: 'AdminScope')
|
20
27
|
App = Shapes::StructureShape.new(name: 'App')
|
21
28
|
AppsList = Shapes::ListShape.new(name: 'AppsList')
|
22
29
|
AppsListData = Shapes::StructureShape.new(name: 'AppsListData')
|
@@ -44,6 +51,7 @@ module Aws::FMS
|
|
44
51
|
CustomerPolicyScopeIdList = Shapes::ListShape.new(name: 'CustomerPolicyScopeIdList')
|
45
52
|
CustomerPolicyScopeIdType = Shapes::StringShape.new(name: 'CustomerPolicyScopeIdType')
|
46
53
|
CustomerPolicyScopeMap = Shapes::MapShape.new(name: 'CustomerPolicyScopeMap')
|
54
|
+
CustomerPolicyStatus = Shapes::StringShape.new(name: 'CustomerPolicyStatus')
|
47
55
|
DeleteAppsListRequest = Shapes::StructureShape.new(name: 'DeleteAppsListRequest')
|
48
56
|
DeleteNotificationChannelRequest = Shapes::StructureShape.new(name: 'DeleteNotificationChannelRequest')
|
49
57
|
DeletePolicyRequest = Shapes::StructureShape.new(name: 'DeletePolicyRequest')
|
@@ -86,6 +94,8 @@ module Aws::FMS
|
|
86
94
|
FirewallSubnetMissingVPCEndpointViolation = Shapes::StructureShape.new(name: 'FirewallSubnetMissingVPCEndpointViolation')
|
87
95
|
GetAdminAccountRequest = Shapes::StructureShape.new(name: 'GetAdminAccountRequest')
|
88
96
|
GetAdminAccountResponse = Shapes::StructureShape.new(name: 'GetAdminAccountResponse')
|
97
|
+
GetAdminScopeRequest = Shapes::StructureShape.new(name: 'GetAdminScopeRequest')
|
98
|
+
GetAdminScopeResponse = Shapes::StructureShape.new(name: 'GetAdminScopeResponse')
|
89
99
|
GetAppsListRequest = Shapes::StructureShape.new(name: 'GetAppsListRequest')
|
90
100
|
GetAppsListResponse = Shapes::StructureShape.new(name: 'GetAppsListResponse')
|
91
101
|
GetComplianceDetailRequest = Shapes::StructureShape.new(name: 'GetComplianceDetailRequest')
|
@@ -115,6 +125,10 @@ module Aws::FMS
|
|
115
125
|
LengthBoundedString = Shapes::StringShape.new(name: 'LengthBoundedString')
|
116
126
|
LengthBoundedStringList = Shapes::ListShape.new(name: 'LengthBoundedStringList')
|
117
127
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
128
|
+
ListAdminAccountsForOrganizationRequest = Shapes::StructureShape.new(name: 'ListAdminAccountsForOrganizationRequest')
|
129
|
+
ListAdminAccountsForOrganizationResponse = Shapes::StructureShape.new(name: 'ListAdminAccountsForOrganizationResponse')
|
130
|
+
ListAdminsManagingAccountRequest = Shapes::StructureShape.new(name: 'ListAdminsManagingAccountRequest')
|
131
|
+
ListAdminsManagingAccountResponse = Shapes::StructureShape.new(name: 'ListAdminsManagingAccountResponse')
|
118
132
|
ListAppsListsRequest = Shapes::StructureShape.new(name: 'ListAppsListsRequest')
|
119
133
|
ListAppsListsResponse = Shapes::StructureShape.new(name: 'ListAppsListsResponse')
|
120
134
|
ListComplianceStatusRequest = Shapes::StructureShape.new(name: 'ListComplianceStatusRequest')
|
@@ -158,6 +172,10 @@ module Aws::FMS
|
|
158
172
|
NetworkFirewallUnexpectedFirewallRoutesViolation = Shapes::StructureShape.new(name: 'NetworkFirewallUnexpectedFirewallRoutesViolation')
|
159
173
|
NetworkFirewallUnexpectedGatewayRoutesViolation = Shapes::StructureShape.new(name: 'NetworkFirewallUnexpectedGatewayRoutesViolation')
|
160
174
|
OrderedRemediationActions = Shapes::ListShape.new(name: 'OrderedRemediationActions')
|
175
|
+
OrganizationStatus = Shapes::StringShape.new(name: 'OrganizationStatus')
|
176
|
+
OrganizationalUnitId = Shapes::StringShape.new(name: 'OrganizationalUnitId')
|
177
|
+
OrganizationalUnitIdList = Shapes::ListShape.new(name: 'OrganizationalUnitIdList')
|
178
|
+
OrganizationalUnitScope = Shapes::StructureShape.new(name: 'OrganizationalUnitScope')
|
161
179
|
PaginationMaxResults = Shapes::IntegerShape.new(name: 'PaginationMaxResults')
|
162
180
|
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
|
163
181
|
PartialMatch = Shapes::StructureShape.new(name: 'PartialMatch')
|
@@ -171,6 +189,7 @@ module Aws::FMS
|
|
171
189
|
PolicyOption = Shapes::StructureShape.new(name: 'PolicyOption')
|
172
190
|
PolicySummary = Shapes::StructureShape.new(name: 'PolicySummary')
|
173
191
|
PolicySummaryList = Shapes::ListShape.new(name: 'PolicySummaryList')
|
192
|
+
PolicyTypeScope = Shapes::StructureShape.new(name: 'PolicyTypeScope')
|
174
193
|
PolicyUpdateToken = Shapes::StringShape.new(name: 'PolicyUpdateToken')
|
175
194
|
PossibleRemediationAction = Shapes::StructureShape.new(name: 'PossibleRemediationAction')
|
176
195
|
PossibleRemediationActionList = Shapes::ListShape.new(name: 'PossibleRemediationActionList')
|
@@ -185,6 +204,7 @@ module Aws::FMS
|
|
185
204
|
ProtocolsListData = Shapes::StructureShape.new(name: 'ProtocolsListData')
|
186
205
|
ProtocolsListDataSummary = Shapes::StructureShape.new(name: 'ProtocolsListDataSummary')
|
187
206
|
ProtocolsListsData = Shapes::ListShape.new(name: 'ProtocolsListsData')
|
207
|
+
PutAdminAccountRequest = Shapes::StructureShape.new(name: 'PutAdminAccountRequest')
|
188
208
|
PutAppsListRequest = Shapes::StructureShape.new(name: 'PutAppsListRequest')
|
189
209
|
PutAppsListResponse = Shapes::StructureShape.new(name: 'PutAppsListResponse')
|
190
210
|
PutNotificationChannelRequest = Shapes::StructureShape.new(name: 'PutNotificationChannelRequest')
|
@@ -195,6 +215,7 @@ module Aws::FMS
|
|
195
215
|
PutResourceSetRequest = Shapes::StructureShape.new(name: 'PutResourceSetRequest')
|
196
216
|
PutResourceSetResponse = Shapes::StructureShape.new(name: 'PutResourceSetResponse')
|
197
217
|
ReferenceRule = Shapes::StringShape.new(name: 'ReferenceRule')
|
218
|
+
RegionScope = Shapes::StructureShape.new(name: 'RegionScope')
|
198
219
|
RemediationAction = Shapes::StructureShape.new(name: 'RemediationAction')
|
199
220
|
RemediationActionDescription = Shapes::StringShape.new(name: 'RemediationActionDescription')
|
200
221
|
RemediationActionType = Shapes::StringShape.new(name: 'RemediationActionType')
|
@@ -210,6 +231,7 @@ module Aws::FMS
|
|
210
231
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
211
232
|
ResourceSet = Shapes::StructureShape.new(name: 'ResourceSet')
|
212
233
|
ResourceSetIds = Shapes::ListShape.new(name: 'ResourceSetIds')
|
234
|
+
ResourceSetStatus = Shapes::StringShape.new(name: 'ResourceSetStatus')
|
213
235
|
ResourceSetSummary = Shapes::StructureShape.new(name: 'ResourceSetSummary')
|
214
236
|
ResourceSetSummaryList = Shapes::ListShape.new(name: 'ResourceSetSummaryList')
|
215
237
|
ResourceTag = Shapes::StructureShape.new(name: 'ResourceTag')
|
@@ -229,6 +251,7 @@ module Aws::FMS
|
|
229
251
|
SecurityGroupRuleDescription = Shapes::StructureShape.new(name: 'SecurityGroupRuleDescription')
|
230
252
|
SecurityServicePolicyData = Shapes::StructureShape.new(name: 'SecurityServicePolicyData')
|
231
253
|
SecurityServiceType = Shapes::StringShape.new(name: 'SecurityServiceType')
|
254
|
+
SecurityServiceTypeList = Shapes::ListShape.new(name: 'SecurityServiceTypeList')
|
232
255
|
StatefulEngineOptions = Shapes::StructureShape.new(name: 'StatefulEngineOptions')
|
233
256
|
StatefulRuleGroup = Shapes::StructureShape.new(name: 'StatefulRuleGroup')
|
234
257
|
StatefulRuleGroupList = Shapes::ListShape.new(name: 'StatefulRuleGroupList')
|
@@ -263,10 +286,32 @@ module Aws::FMS
|
|
263
286
|
|
264
287
|
AWSAccountIdList.member = Shapes::ShapeRef.new(shape: AWSAccountId)
|
265
288
|
|
289
|
+
AWSRegionList.member = Shapes::ShapeRef.new(shape: AWSRegion)
|
290
|
+
|
291
|
+
AccountIdList.member = Shapes::ShapeRef.new(shape: AWSAccountId)
|
292
|
+
|
293
|
+
AccountScope.add_member(:accounts, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "Accounts"))
|
294
|
+
AccountScope.add_member(:all_accounts_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllAccountsEnabled"))
|
295
|
+
AccountScope.add_member(:exclude_specified_accounts, Shapes::ShapeRef.new(shape: Boolean, location_name: "ExcludeSpecifiedAccounts"))
|
296
|
+
AccountScope.struct_class = Types::AccountScope
|
297
|
+
|
266
298
|
ActionTarget.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "ResourceId"))
|
267
299
|
ActionTarget.add_member(:description, Shapes::ShapeRef.new(shape: LengthBoundedString, location_name: "Description"))
|
268
300
|
ActionTarget.struct_class = Types::ActionTarget
|
269
301
|
|
302
|
+
AdminAccountSummary.add_member(:admin_account, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "AdminAccount"))
|
303
|
+
AdminAccountSummary.add_member(:default_admin, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultAdmin"))
|
304
|
+
AdminAccountSummary.add_member(:status, Shapes::ShapeRef.new(shape: OrganizationStatus, location_name: "Status"))
|
305
|
+
AdminAccountSummary.struct_class = Types::AdminAccountSummary
|
306
|
+
|
307
|
+
AdminAccountSummaryList.member = Shapes::ShapeRef.new(shape: AdminAccountSummary)
|
308
|
+
|
309
|
+
AdminScope.add_member(:account_scope, Shapes::ShapeRef.new(shape: AccountScope, location_name: "AccountScope"))
|
310
|
+
AdminScope.add_member(:organizational_unit_scope, Shapes::ShapeRef.new(shape: OrganizationalUnitScope, location_name: "OrganizationalUnitScope"))
|
311
|
+
AdminScope.add_member(:region_scope, Shapes::ShapeRef.new(shape: RegionScope, location_name: "RegionScope"))
|
312
|
+
AdminScope.add_member(:policy_type_scope, Shapes::ShapeRef.new(shape: PolicyTypeScope, location_name: "PolicyTypeScope"))
|
313
|
+
AdminScope.struct_class = Types::AdminScope
|
314
|
+
|
270
315
|
App.add_member(:app_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "AppName"))
|
271
316
|
App.add_member(:protocol, Shapes::ShapeRef.new(shape: Protocol, required: true, location_name: "Protocol"))
|
272
317
|
App.add_member(:port, Shapes::ShapeRef.new(shape: IPPortNumber, required: true, location_name: "Port"))
|
@@ -487,6 +532,13 @@ module Aws::FMS
|
|
487
532
|
GetAdminAccountResponse.add_member(:role_status, Shapes::ShapeRef.new(shape: AccountRoleStatus, location_name: "RoleStatus"))
|
488
533
|
GetAdminAccountResponse.struct_class = Types::GetAdminAccountResponse
|
489
534
|
|
535
|
+
GetAdminScopeRequest.add_member(:admin_account, Shapes::ShapeRef.new(shape: AWSAccountId, required: true, location_name: "AdminAccount"))
|
536
|
+
GetAdminScopeRequest.struct_class = Types::GetAdminScopeRequest
|
537
|
+
|
538
|
+
GetAdminScopeResponse.add_member(:admin_scope, Shapes::ShapeRef.new(shape: AdminScope, location_name: "AdminScope"))
|
539
|
+
GetAdminScopeResponse.add_member(:status, Shapes::ShapeRef.new(shape: OrganizationStatus, location_name: "Status"))
|
540
|
+
GetAdminScopeResponse.struct_class = Types::GetAdminScopeResponse
|
541
|
+
|
490
542
|
GetAppsListRequest.add_member(:list_id, Shapes::ShapeRef.new(shape: ListId, required: true, location_name: "ListId"))
|
491
543
|
GetAppsListRequest.add_member(:default_list, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultList"))
|
492
544
|
GetAppsListRequest.struct_class = Types::GetAppsListRequest
|
@@ -582,6 +634,22 @@ module Aws::FMS
|
|
582
634
|
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
583
635
|
LimitExceededException.struct_class = Types::LimitExceededException
|
584
636
|
|
637
|
+
ListAdminAccountsForOrganizationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
638
|
+
ListAdminAccountsForOrganizationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationMaxResults, location_name: "MaxResults"))
|
639
|
+
ListAdminAccountsForOrganizationRequest.struct_class = Types::ListAdminAccountsForOrganizationRequest
|
640
|
+
|
641
|
+
ListAdminAccountsForOrganizationResponse.add_member(:admin_accounts, Shapes::ShapeRef.new(shape: AdminAccountSummaryList, location_name: "AdminAccounts"))
|
642
|
+
ListAdminAccountsForOrganizationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
643
|
+
ListAdminAccountsForOrganizationResponse.struct_class = Types::ListAdminAccountsForOrganizationResponse
|
644
|
+
|
645
|
+
ListAdminsManagingAccountRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
646
|
+
ListAdminsManagingAccountRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationMaxResults, location_name: "MaxResults"))
|
647
|
+
ListAdminsManagingAccountRequest.struct_class = Types::ListAdminsManagingAccountRequest
|
648
|
+
|
649
|
+
ListAdminsManagingAccountResponse.add_member(:admin_accounts, Shapes::ShapeRef.new(shape: AccountIdList, location_name: "AdminAccounts"))
|
650
|
+
ListAdminsManagingAccountResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
651
|
+
ListAdminsManagingAccountResponse.struct_class = Types::ListAdminsManagingAccountResponse
|
652
|
+
|
585
653
|
ListAppsListsRequest.add_member(:default_lists, Shapes::ShapeRef.new(shape: Boolean, location_name: "DefaultLists"))
|
586
654
|
ListAppsListsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
587
655
|
ListAppsListsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PaginationMaxResults, required: true, location_name: "MaxResults"))
|
@@ -771,6 +839,13 @@ module Aws::FMS
|
|
771
839
|
|
772
840
|
OrderedRemediationActions.member = Shapes::ShapeRef.new(shape: RemediationActionWithOrder)
|
773
841
|
|
842
|
+
OrganizationalUnitIdList.member = Shapes::ShapeRef.new(shape: OrganizationalUnitId)
|
843
|
+
|
844
|
+
OrganizationalUnitScope.add_member(:organizational_units, Shapes::ShapeRef.new(shape: OrganizationalUnitIdList, location_name: "OrganizationalUnits"))
|
845
|
+
OrganizationalUnitScope.add_member(:all_organizational_units_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllOrganizationalUnitsEnabled"))
|
846
|
+
OrganizationalUnitScope.add_member(:exclude_specified_organizational_units, Shapes::ShapeRef.new(shape: Boolean, location_name: "ExcludeSpecifiedOrganizationalUnits"))
|
847
|
+
OrganizationalUnitScope.struct_class = Types::OrganizationalUnitScope
|
848
|
+
|
774
849
|
PartialMatch.add_member(:reference, Shapes::ShapeRef.new(shape: ReferenceRule, location_name: "Reference"))
|
775
850
|
PartialMatch.add_member(:target_violation_reasons, Shapes::ShapeRef.new(shape: TargetViolationReasons, location_name: "TargetViolationReasons"))
|
776
851
|
PartialMatch.struct_class = Types::PartialMatch
|
@@ -791,6 +866,7 @@ module Aws::FMS
|
|
791
866
|
Policy.add_member(:exclude_map, Shapes::ShapeRef.new(shape: CustomerPolicyScopeMap, location_name: "ExcludeMap"))
|
792
867
|
Policy.add_member(:resource_set_ids, Shapes::ShapeRef.new(shape: ResourceSetIds, location_name: "ResourceSetIds"))
|
793
868
|
Policy.add_member(:policy_description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "PolicyDescription"))
|
869
|
+
Policy.add_member(:policy_status, Shapes::ShapeRef.new(shape: CustomerPolicyStatus, location_name: "PolicyStatus"))
|
794
870
|
Policy.struct_class = Types::Policy
|
795
871
|
|
796
872
|
PolicyComplianceDetail.add_member(:policy_owner, Shapes::ShapeRef.new(shape: AWSAccountId, location_name: "PolicyOwner"))
|
@@ -824,10 +900,15 @@ module Aws::FMS
|
|
824
900
|
PolicySummary.add_member(:security_service_type, Shapes::ShapeRef.new(shape: SecurityServiceType, location_name: "SecurityServiceType"))
|
825
901
|
PolicySummary.add_member(:remediation_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "RemediationEnabled"))
|
826
902
|
PolicySummary.add_member(:delete_unused_fm_managed_resources, Shapes::ShapeRef.new(shape: Boolean, location_name: "DeleteUnusedFMManagedResources"))
|
903
|
+
PolicySummary.add_member(:policy_status, Shapes::ShapeRef.new(shape: CustomerPolicyStatus, location_name: "PolicyStatus"))
|
827
904
|
PolicySummary.struct_class = Types::PolicySummary
|
828
905
|
|
829
906
|
PolicySummaryList.member = Shapes::ShapeRef.new(shape: PolicySummary)
|
830
907
|
|
908
|
+
PolicyTypeScope.add_member(:policy_types, Shapes::ShapeRef.new(shape: SecurityServiceTypeList, location_name: "PolicyTypes"))
|
909
|
+
PolicyTypeScope.add_member(:all_policy_types_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllPolicyTypesEnabled"))
|
910
|
+
PolicyTypeScope.struct_class = Types::PolicyTypeScope
|
911
|
+
|
831
912
|
PossibleRemediationAction.add_member(:description, Shapes::ShapeRef.new(shape: LengthBoundedString, location_name: "Description"))
|
832
913
|
PossibleRemediationAction.add_member(:ordered_remediation_actions, Shapes::ShapeRef.new(shape: OrderedRemediationActions, required: true, location_name: "OrderedRemediationActions"))
|
833
914
|
PossibleRemediationAction.add_member(:is_default_action, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsDefaultAction"))
|
@@ -864,6 +945,10 @@ module Aws::FMS
|
|
864
945
|
|
865
946
|
ProtocolsListsData.member = Shapes::ShapeRef.new(shape: ProtocolsListDataSummary)
|
866
947
|
|
948
|
+
PutAdminAccountRequest.add_member(:admin_account, Shapes::ShapeRef.new(shape: AWSAccountId, required: true, location_name: "AdminAccount"))
|
949
|
+
PutAdminAccountRequest.add_member(:admin_scope, Shapes::ShapeRef.new(shape: AdminScope, location_name: "AdminScope"))
|
950
|
+
PutAdminAccountRequest.struct_class = Types::PutAdminAccountRequest
|
951
|
+
|
867
952
|
PutAppsListRequest.add_member(:apps_list, Shapes::ShapeRef.new(shape: AppsListData, required: true, location_name: "AppsList"))
|
868
953
|
PutAppsListRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
|
869
954
|
PutAppsListRequest.struct_class = Types::PutAppsListRequest
|
@@ -900,6 +985,10 @@ module Aws::FMS
|
|
900
985
|
PutResourceSetResponse.add_member(:resource_set_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceSetArn"))
|
901
986
|
PutResourceSetResponse.struct_class = Types::PutResourceSetResponse
|
902
987
|
|
988
|
+
RegionScope.add_member(:regions, Shapes::ShapeRef.new(shape: AWSRegionList, location_name: "Regions"))
|
989
|
+
RegionScope.add_member(:all_regions_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AllRegionsEnabled"))
|
990
|
+
RegionScope.struct_class = Types::RegionScope
|
991
|
+
|
903
992
|
RemediationAction.add_member(:description, Shapes::ShapeRef.new(shape: LengthBoundedString, location_name: "Description"))
|
904
993
|
RemediationAction.add_member(:ec2_create_route_action, Shapes::ShapeRef.new(shape: EC2CreateRouteAction, location_name: "EC2CreateRouteAction"))
|
905
994
|
RemediationAction.add_member(:ec2_replace_route_action, Shapes::ShapeRef.new(shape: EC2ReplaceRouteAction, location_name: "EC2ReplaceRouteAction"))
|
@@ -932,6 +1021,7 @@ module Aws::FMS
|
|
932
1021
|
ResourceSet.add_member(:update_token, Shapes::ShapeRef.new(shape: UpdateToken, location_name: "UpdateToken"))
|
933
1022
|
ResourceSet.add_member(:resource_type_list, Shapes::ShapeRef.new(shape: ResourceTypeList, required: true, location_name: "ResourceTypeList"))
|
934
1023
|
ResourceSet.add_member(:last_update_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdateTime"))
|
1024
|
+
ResourceSet.add_member(:resource_set_status, Shapes::ShapeRef.new(shape: ResourceSetStatus, location_name: "ResourceSetStatus"))
|
935
1025
|
ResourceSet.struct_class = Types::ResourceSet
|
936
1026
|
|
937
1027
|
ResourceSetIds.member = Shapes::ShapeRef.new(shape: Base62Id)
|
@@ -940,6 +1030,7 @@ module Aws::FMS
|
|
940
1030
|
ResourceSetSummary.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
|
941
1031
|
ResourceSetSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
|
942
1032
|
ResourceSetSummary.add_member(:last_update_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "LastUpdateTime"))
|
1033
|
+
ResourceSetSummary.add_member(:resource_set_status, Shapes::ShapeRef.new(shape: ResourceSetStatus, location_name: "ResourceSetStatus"))
|
943
1034
|
ResourceSetSummary.struct_class = Types::ResourceSetSummary
|
944
1035
|
|
945
1036
|
ResourceSetSummaryList.member = Shapes::ShapeRef.new(shape: ResourceSetSummary)
|
@@ -1022,6 +1113,8 @@ module Aws::FMS
|
|
1022
1113
|
SecurityServicePolicyData.add_member(:policy_option, Shapes::ShapeRef.new(shape: PolicyOption, location_name: "PolicyOption"))
|
1023
1114
|
SecurityServicePolicyData.struct_class = Types::SecurityServicePolicyData
|
1024
1115
|
|
1116
|
+
SecurityServiceTypeList.member = Shapes::ShapeRef.new(shape: SecurityServiceType)
|
1117
|
+
|
1025
1118
|
StatefulEngineOptions.add_member(:rule_order, Shapes::ShapeRef.new(shape: RuleOrder, location_name: "RuleOrder"))
|
1026
1119
|
StatefulEngineOptions.struct_class = Types::StatefulEngineOptions
|
1027
1120
|
|
@@ -1260,6 +1353,18 @@ module Aws::FMS
|
|
1260
1353
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
1261
1354
|
end)
|
1262
1355
|
|
1356
|
+
api.add_operation(:get_admin_scope, Seahorse::Model::Operation.new.tap do |o|
|
1357
|
+
o.name = "GetAdminScope"
|
1358
|
+
o.http_method = "POST"
|
1359
|
+
o.http_request_uri = "/"
|
1360
|
+
o.input = Shapes::ShapeRef.new(shape: GetAdminScopeRequest)
|
1361
|
+
o.output = Shapes::ShapeRef.new(shape: GetAdminScopeResponse)
|
1362
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
|
1363
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1364
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1365
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
1366
|
+
end)
|
1367
|
+
|
1263
1368
|
api.add_operation(:get_apps_list, Seahorse::Model::Operation.new.tap do |o|
|
1264
1369
|
o.name = "GetAppsList"
|
1265
1370
|
o.http_method = "POST"
|
@@ -1363,6 +1468,40 @@ module Aws::FMS
|
|
1363
1468
|
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
1364
1469
|
end)
|
1365
1470
|
|
1471
|
+
api.add_operation(:list_admin_accounts_for_organization, Seahorse::Model::Operation.new.tap do |o|
|
1472
|
+
o.name = "ListAdminAccountsForOrganization"
|
1473
|
+
o.http_method = "POST"
|
1474
|
+
o.http_request_uri = "/"
|
1475
|
+
o.input = Shapes::ShapeRef.new(shape: ListAdminAccountsForOrganizationRequest)
|
1476
|
+
o.output = Shapes::ShapeRef.new(shape: ListAdminAccountsForOrganizationResponse)
|
1477
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
|
1478
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1479
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
1480
|
+
o[:pager] = Aws::Pager.new(
|
1481
|
+
limit_key: "max_results",
|
1482
|
+
tokens: {
|
1483
|
+
"next_token" => "next_token"
|
1484
|
+
}
|
1485
|
+
)
|
1486
|
+
end)
|
1487
|
+
|
1488
|
+
api.add_operation(:list_admins_managing_account, Seahorse::Model::Operation.new.tap do |o|
|
1489
|
+
o.name = "ListAdminsManagingAccount"
|
1490
|
+
o.http_method = "POST"
|
1491
|
+
o.http_request_uri = "/"
|
1492
|
+
o.input = Shapes::ShapeRef.new(shape: ListAdminsManagingAccountRequest)
|
1493
|
+
o.output = Shapes::ShapeRef.new(shape: ListAdminsManagingAccountResponse)
|
1494
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1495
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1496
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
1497
|
+
o[:pager] = Aws::Pager.new(
|
1498
|
+
limit_key: "max_results",
|
1499
|
+
tokens: {
|
1500
|
+
"next_token" => "next_token"
|
1501
|
+
}
|
1502
|
+
)
|
1503
|
+
end)
|
1504
|
+
|
1366
1505
|
api.add_operation(:list_apps_lists, Seahorse::Model::Operation.new.tap do |o|
|
1367
1506
|
o.name = "ListAppsLists"
|
1368
1507
|
o.http_method = "POST"
|
@@ -1512,6 +1651,18 @@ module Aws::FMS
|
|
1512
1651
|
)
|
1513
1652
|
end)
|
1514
1653
|
|
1654
|
+
api.add_operation(:put_admin_account, Seahorse::Model::Operation.new.tap do |o|
|
1655
|
+
o.name = "PutAdminAccount"
|
1656
|
+
o.http_method = "POST"
|
1657
|
+
o.http_request_uri = "/"
|
1658
|
+
o.input = Shapes::ShapeRef.new(shape: PutAdminAccountRequest)
|
1659
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
1660
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidOperationException)
|
1661
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1662
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
|
1663
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
1664
|
+
end)
|
1665
|
+
|
1515
1666
|
api.add_operation(:put_apps_list, Seahorse::Model::Operation.new.tap do |o|
|
1516
1667
|
o.name = "PutAppsList"
|
1517
1668
|
o.http_method = "POST"
|
@@ -50,9 +50,6 @@ module Aws::FMS
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::FMS
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://fms-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://fms-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://fms-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://fms-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://fms.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://fms.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://fms.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -179,6 +179,20 @@ module Aws::FMS
|
|
179
179
|
end
|
180
180
|
end
|
181
181
|
|
182
|
+
class GetAdminScope
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::FMS::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
182
196
|
class GetAppsList
|
183
197
|
def self.build(context)
|
184
198
|
unless context.config.regional_endpoint
|
@@ -305,6 +319,34 @@ module Aws::FMS
|
|
305
319
|
end
|
306
320
|
end
|
307
321
|
|
322
|
+
class ListAdminAccountsForOrganization
|
323
|
+
def self.build(context)
|
324
|
+
unless context.config.regional_endpoint
|
325
|
+
endpoint = context.config.endpoint.to_s
|
326
|
+
end
|
327
|
+
Aws::FMS::EndpointParameters.new(
|
328
|
+
region: context.config.region,
|
329
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
330
|
+
use_fips: context.config.use_fips_endpoint,
|
331
|
+
endpoint: endpoint,
|
332
|
+
)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
class ListAdminsManagingAccount
|
337
|
+
def self.build(context)
|
338
|
+
unless context.config.regional_endpoint
|
339
|
+
endpoint = context.config.endpoint.to_s
|
340
|
+
end
|
341
|
+
Aws::FMS::EndpointParameters.new(
|
342
|
+
region: context.config.region,
|
343
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
344
|
+
use_fips: context.config.use_fips_endpoint,
|
345
|
+
endpoint: endpoint,
|
346
|
+
)
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
308
350
|
class ListAppsLists
|
309
351
|
def self.build(context)
|
310
352
|
unless context.config.regional_endpoint
|
@@ -445,6 +487,20 @@ module Aws::FMS
|
|
445
487
|
end
|
446
488
|
end
|
447
489
|
|
490
|
+
class PutAdminAccount
|
491
|
+
def self.build(context)
|
492
|
+
unless context.config.regional_endpoint
|
493
|
+
endpoint = context.config.endpoint.to_s
|
494
|
+
end
|
495
|
+
Aws::FMS::EndpointParameters.new(
|
496
|
+
region: context.config.region,
|
497
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
498
|
+
use_fips: context.config.use_fips_endpoint,
|
499
|
+
endpoint: endpoint,
|
500
|
+
)
|
501
|
+
end
|
502
|
+
end
|
503
|
+
|
448
504
|
class PutAppsList
|
449
505
|
def self.build(context)
|
450
506
|
unless context.config.regional_endpoint
|
@@ -80,6 +80,8 @@ module Aws::FMS
|
|
80
80
|
Aws::FMS::Endpoints::DisassociateThirdPartyFirewall.build(context)
|
81
81
|
when :get_admin_account
|
82
82
|
Aws::FMS::Endpoints::GetAdminAccount.build(context)
|
83
|
+
when :get_admin_scope
|
84
|
+
Aws::FMS::Endpoints::GetAdminScope.build(context)
|
83
85
|
when :get_apps_list
|
84
86
|
Aws::FMS::Endpoints::GetAppsList.build(context)
|
85
87
|
when :get_compliance_detail
|
@@ -98,6 +100,10 @@ module Aws::FMS
|
|
98
100
|
Aws::FMS::Endpoints::GetThirdPartyFirewallAssociationStatus.build(context)
|
99
101
|
when :get_violation_details
|
100
102
|
Aws::FMS::Endpoints::GetViolationDetails.build(context)
|
103
|
+
when :list_admin_accounts_for_organization
|
104
|
+
Aws::FMS::Endpoints::ListAdminAccountsForOrganization.build(context)
|
105
|
+
when :list_admins_managing_account
|
106
|
+
Aws::FMS::Endpoints::ListAdminsManagingAccount.build(context)
|
101
107
|
when :list_apps_lists
|
102
108
|
Aws::FMS::Endpoints::ListAppsLists.build(context)
|
103
109
|
when :list_compliance_status
|
@@ -118,6 +124,8 @@ module Aws::FMS
|
|
118
124
|
Aws::FMS::Endpoints::ListTagsForResource.build(context)
|
119
125
|
when :list_third_party_firewall_firewall_policies
|
120
126
|
Aws::FMS::Endpoints::ListThirdPartyFirewallFirewallPolicies.build(context)
|
127
|
+
when :put_admin_account
|
128
|
+
Aws::FMS::Endpoints::PutAdminAccount.build(context)
|
121
129
|
when :put_apps_list
|
122
130
|
Aws::FMS::Endpoints::PutAppsList.build(context)
|
123
131
|
when :put_notification_channel
|