aws-sdk-lakeformation 1.62.0 → 1.64.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -54,6 +54,8 @@ module Aws::LakeFormation
54
54
  ContextValue = Shapes::StringShape.new(name: 'ContextValue')
55
55
  CreateDataCellsFilterRequest = Shapes::StructureShape.new(name: 'CreateDataCellsFilterRequest')
56
56
  CreateDataCellsFilterResponse = Shapes::StructureShape.new(name: 'CreateDataCellsFilterResponse')
57
+ CreateLFTagExpressionRequest = Shapes::StructureShape.new(name: 'CreateLFTagExpressionRequest')
58
+ CreateLFTagExpressionResponse = Shapes::StructureShape.new(name: 'CreateLFTagExpressionResponse')
57
59
  CreateLFTagRequest = Shapes::StructureShape.new(name: 'CreateLFTagRequest')
58
60
  CreateLFTagResponse = Shapes::StructureShape.new(name: 'CreateLFTagResponse')
59
61
  CreateLakeFormationIdentityCenterConfigurationRequest = Shapes::StructureShape.new(name: 'CreateLakeFormationIdentityCenterConfigurationRequest')
@@ -75,6 +77,8 @@ module Aws::LakeFormation
75
77
  DateTime = Shapes::TimestampShape.new(name: 'DateTime', timestampFormat: "iso8601")
76
78
  DeleteDataCellsFilterRequest = Shapes::StructureShape.new(name: 'DeleteDataCellsFilterRequest')
77
79
  DeleteDataCellsFilterResponse = Shapes::StructureShape.new(name: 'DeleteDataCellsFilterResponse')
80
+ DeleteLFTagExpressionRequest = Shapes::StructureShape.new(name: 'DeleteLFTagExpressionRequest')
81
+ DeleteLFTagExpressionResponse = Shapes::StructureShape.new(name: 'DeleteLFTagExpressionResponse')
78
82
  DeleteLFTagRequest = Shapes::StructureShape.new(name: 'DeleteLFTagRequest')
79
83
  DeleteLFTagResponse = Shapes::StructureShape.new(name: 'DeleteLFTagResponse')
80
84
  DeleteLakeFormationIdentityCenterConfigurationRequest = Shapes::StructureShape.new(name: 'DeleteLakeFormationIdentityCenterConfigurationRequest')
@@ -117,6 +121,8 @@ module Aws::LakeFormation
117
121
  GetDataLakeSettingsResponse = Shapes::StructureShape.new(name: 'GetDataLakeSettingsResponse')
118
122
  GetEffectivePermissionsForPathRequest = Shapes::StructureShape.new(name: 'GetEffectivePermissionsForPathRequest')
119
123
  GetEffectivePermissionsForPathResponse = Shapes::StructureShape.new(name: 'GetEffectivePermissionsForPathResponse')
124
+ GetLFTagExpressionRequest = Shapes::StructureShape.new(name: 'GetLFTagExpressionRequest')
125
+ GetLFTagExpressionResponse = Shapes::StructureShape.new(name: 'GetLFTagExpressionResponse')
120
126
  GetLFTagRequest = Shapes::StructureShape.new(name: 'GetLFTagRequest')
121
127
  GetLFTagResponse = Shapes::StructureShape.new(name: 'GetLFTagResponse')
122
128
  GetQueryStateRequest = Shapes::StructureShape.new(name: 'GetQueryStateRequest')
@@ -156,6 +162,9 @@ module Aws::LakeFormation
156
162
  LFTag = Shapes::StructureShape.new(name: 'LFTag')
157
163
  LFTagError = Shapes::StructureShape.new(name: 'LFTagError')
158
164
  LFTagErrors = Shapes::ListShape.new(name: 'LFTagErrors')
165
+ LFTagExpression = Shapes::StructureShape.new(name: 'LFTagExpression')
166
+ LFTagExpressionResource = Shapes::StructureShape.new(name: 'LFTagExpressionResource')
167
+ LFTagExpressionsList = Shapes::ListShape.new(name: 'LFTagExpressionsList')
159
168
  LFTagKey = Shapes::StringShape.new(name: 'LFTagKey')
160
169
  LFTagKeyResource = Shapes::StructureShape.new(name: 'LFTagKeyResource')
161
170
  LFTagPair = Shapes::StructureShape.new(name: 'LFTagPair')
@@ -167,6 +176,8 @@ module Aws::LakeFormation
167
176
  LastModifiedTimestamp = Shapes::TimestampShape.new(name: 'LastModifiedTimestamp')
168
177
  ListDataCellsFilterRequest = Shapes::StructureShape.new(name: 'ListDataCellsFilterRequest')
169
178
  ListDataCellsFilterResponse = Shapes::StructureShape.new(name: 'ListDataCellsFilterResponse')
179
+ ListLFTagExpressionsRequest = Shapes::StructureShape.new(name: 'ListLFTagExpressionsRequest')
180
+ ListLFTagExpressionsResponse = Shapes::StructureShape.new(name: 'ListLFTagExpressionsResponse')
170
181
  ListLFTagsRequest = Shapes::StructureShape.new(name: 'ListLFTagsRequest')
171
182
  ListLFTagsResponse = Shapes::StructureShape.new(name: 'ListLFTagsResponse')
172
183
  ListLakeFormationOptInsRequest = Shapes::StructureShape.new(name: 'ListLakeFormationOptInsRequest')
@@ -290,6 +301,8 @@ module Aws::LakeFormation
290
301
  URI = Shapes::StringShape.new(name: 'URI')
291
302
  UpdateDataCellsFilterRequest = Shapes::StructureShape.new(name: 'UpdateDataCellsFilterRequest')
292
303
  UpdateDataCellsFilterResponse = Shapes::StructureShape.new(name: 'UpdateDataCellsFilterResponse')
304
+ UpdateLFTagExpressionRequest = Shapes::StructureShape.new(name: 'UpdateLFTagExpressionRequest')
305
+ UpdateLFTagExpressionResponse = Shapes::StructureShape.new(name: 'UpdateLFTagExpressionResponse')
293
306
  UpdateLFTagRequest = Shapes::StructureShape.new(name: 'UpdateLFTagRequest')
294
307
  UpdateLFTagResponse = Shapes::StructureShape.new(name: 'UpdateLFTagResponse')
295
308
  UpdateLakeFormationIdentityCenterConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateLakeFormationIdentityCenterConfigurationRequest')
@@ -416,6 +429,14 @@ module Aws::LakeFormation
416
429
 
417
430
  CreateDataCellsFilterResponse.struct_class = Types::CreateDataCellsFilterResponse
418
431
 
432
+ CreateLFTagExpressionRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
433
+ CreateLFTagExpressionRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
434
+ CreateLFTagExpressionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
435
+ CreateLFTagExpressionRequest.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Expression"))
436
+ CreateLFTagExpressionRequest.struct_class = Types::CreateLFTagExpressionRequest
437
+
438
+ CreateLFTagExpressionResponse.struct_class = Types::CreateLFTagExpressionResponse
439
+
419
440
  CreateLFTagRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
420
441
  CreateLFTagRequest.add_member(:tag_key, Shapes::ShapeRef.new(shape: LFTagKey, required: true, location_name: "TagKey"))
421
442
  CreateLFTagRequest.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, required: true, location_name: "TagValues"))
@@ -491,6 +512,12 @@ module Aws::LakeFormation
491
512
 
492
513
  DeleteDataCellsFilterResponse.struct_class = Types::DeleteDataCellsFilterResponse
493
514
 
515
+ DeleteLFTagExpressionRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
516
+ DeleteLFTagExpressionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
517
+ DeleteLFTagExpressionRequest.struct_class = Types::DeleteLFTagExpressionRequest
518
+
519
+ DeleteLFTagExpressionResponse.struct_class = Types::DeleteLFTagExpressionResponse
520
+
494
521
  DeleteLFTagRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
495
522
  DeleteLFTagRequest.add_member(:tag_key, Shapes::ShapeRef.new(shape: LFTagKey, required: true, location_name: "TagKey"))
496
523
  DeleteLFTagRequest.struct_class = Types::DeleteLFTagRequest
@@ -616,6 +643,16 @@ module Aws::LakeFormation
616
643
  GetEffectivePermissionsForPathResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
617
644
  GetEffectivePermissionsForPathResponse.struct_class = Types::GetEffectivePermissionsForPathResponse
618
645
 
646
+ GetLFTagExpressionRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
647
+ GetLFTagExpressionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
648
+ GetLFTagExpressionRequest.struct_class = Types::GetLFTagExpressionRequest
649
+
650
+ GetLFTagExpressionResponse.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
651
+ GetLFTagExpressionResponse.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
652
+ GetLFTagExpressionResponse.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
653
+ GetLFTagExpressionResponse.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, location_name: "Expression"))
654
+ GetLFTagExpressionResponse.struct_class = Types::GetLFTagExpressionResponse
655
+
619
656
  GetLFTagRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
620
657
  GetLFTagRequest.add_member(:tag_key, Shapes::ShapeRef.new(shape: LFTagKey, required: true, location_name: "TagKey"))
621
658
  GetLFTagRequest.struct_class = Types::GetLFTagRequest
@@ -742,6 +779,18 @@ module Aws::LakeFormation
742
779
 
743
780
  LFTagErrors.member = Shapes::ShapeRef.new(shape: LFTagError)
744
781
 
782
+ LFTagExpression.add_member(:name, Shapes::ShapeRef.new(shape: NameString, location_name: "Name"))
783
+ LFTagExpression.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
784
+ LFTagExpression.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
785
+ LFTagExpression.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, location_name: "Expression"))
786
+ LFTagExpression.struct_class = Types::LFTagExpression
787
+
788
+ LFTagExpressionResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
789
+ LFTagExpressionResource.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
790
+ LFTagExpressionResource.struct_class = Types::LFTagExpressionResource
791
+
792
+ LFTagExpressionsList.member = Shapes::ShapeRef.new(shape: LFTagExpression)
793
+
745
794
  LFTagKeyResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
746
795
  LFTagKeyResource.add_member(:tag_key, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "TagKey"))
747
796
  LFTagKeyResource.add_member(:tag_values, Shapes::ShapeRef.new(shape: TagValueList, required: true, location_name: "TagValues"))
@@ -754,7 +803,8 @@ module Aws::LakeFormation
754
803
 
755
804
  LFTagPolicyResource.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
756
805
  LFTagPolicyResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
757
- LFTagPolicyResource.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Expression"))
806
+ LFTagPolicyResource.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, location_name: "Expression"))
807
+ LFTagPolicyResource.add_member(:expression_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ExpressionName"))
758
808
  LFTagPolicyResource.struct_class = Types::LFTagPolicyResource
759
809
 
760
810
  LFTagsList.member = Shapes::ShapeRef.new(shape: LFTagPair)
@@ -776,6 +826,15 @@ module Aws::LakeFormation
776
826
  ListDataCellsFilterResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
777
827
  ListDataCellsFilterResponse.struct_class = Types::ListDataCellsFilterResponse
778
828
 
829
+ ListLFTagExpressionsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
830
+ ListLFTagExpressionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
831
+ ListLFTagExpressionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
832
+ ListLFTagExpressionsRequest.struct_class = Types::ListLFTagExpressionsRequest
833
+
834
+ ListLFTagExpressionsResponse.add_member(:lf_tag_expressions, Shapes::ShapeRef.new(shape: LFTagExpressionsList, location_name: "LFTagExpressions"))
835
+ ListLFTagExpressionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
836
+ ListLFTagExpressionsResponse.struct_class = Types::ListLFTagExpressionsResponse
837
+
779
838
  ListLFTagsRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
780
839
  ListLFTagsRequest.add_member(:resource_share_type, Shapes::ShapeRef.new(shape: ResourceShareType, location_name: "ResourceShareType"))
781
840
  ListLFTagsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
@@ -937,6 +996,7 @@ module Aws::LakeFormation
937
996
  Resource.add_member(:data_cells_filter, Shapes::ShapeRef.new(shape: DataCellsFilterResource, location_name: "DataCellsFilter"))
938
997
  Resource.add_member(:lf_tag, Shapes::ShapeRef.new(shape: LFTagKeyResource, location_name: "LFTag"))
939
998
  Resource.add_member(:lf_tag_policy, Shapes::ShapeRef.new(shape: LFTagPolicyResource, location_name: "LFTagPolicy"))
999
+ Resource.add_member(:lf_tag_expression, Shapes::ShapeRef.new(shape: LFTagExpressionResource, location_name: "LFTagExpression"))
940
1000
  Resource.struct_class = Types::Resource
941
1001
 
942
1002
  ResourceInfo.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArnString, location_name: "ResourceArn"))
@@ -1087,6 +1147,14 @@ module Aws::LakeFormation
1087
1147
 
1088
1148
  UpdateDataCellsFilterResponse.struct_class = Types::UpdateDataCellsFilterResponse
1089
1149
 
1150
+ UpdateLFTagExpressionRequest.add_member(:name, Shapes::ShapeRef.new(shape: NameString, required: true, location_name: "Name"))
1151
+ UpdateLFTagExpressionRequest.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "Description"))
1152
+ UpdateLFTagExpressionRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1153
+ UpdateLFTagExpressionRequest.add_member(:expression, Shapes::ShapeRef.new(shape: Expression, required: true, location_name: "Expression"))
1154
+ UpdateLFTagExpressionRequest.struct_class = Types::UpdateLFTagExpressionRequest
1155
+
1156
+ UpdateLFTagExpressionResponse.struct_class = Types::UpdateLFTagExpressionResponse
1157
+
1090
1158
  UpdateLFTagRequest.add_member(:catalog_id, Shapes::ShapeRef.new(shape: CatalogIdString, location_name: "CatalogId"))
1091
1159
  UpdateLFTagRequest.add_member(:tag_key, Shapes::ShapeRef.new(shape: LFTagKey, required: true, location_name: "TagKey"))
1092
1160
  UpdateLFTagRequest.add_member(:tag_values_to_delete, Shapes::ShapeRef.new(shape: TagValueList, location_name: "TagValuesToDelete"))
@@ -1278,6 +1346,20 @@ module Aws::LakeFormation
1278
1346
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1279
1347
  end)
1280
1348
 
1349
+ api.add_operation(:create_lf_tag_expression, Seahorse::Model::Operation.new.tap do |o|
1350
+ o.name = "CreateLFTagExpression"
1351
+ o.http_method = "POST"
1352
+ o.http_request_uri = "/CreateLFTagExpression"
1353
+ o.input = Shapes::ShapeRef.new(shape: CreateLFTagExpressionRequest)
1354
+ o.output = Shapes::ShapeRef.new(shape: CreateLFTagExpressionResponse)
1355
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1356
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
1357
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1358
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
1359
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1360
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1361
+ end)
1362
+
1281
1363
  api.add_operation(:create_lake_formation_identity_center_configuration, Seahorse::Model::Operation.new.tap do |o|
1282
1364
  o.name = "CreateLakeFormationIdentityCenterConfiguration"
1283
1365
  o.http_method = "POST"
@@ -1332,6 +1414,19 @@ module Aws::LakeFormation
1332
1414
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1333
1415
  end)
1334
1416
 
1417
+ api.add_operation(:delete_lf_tag_expression, Seahorse::Model::Operation.new.tap do |o|
1418
+ o.name = "DeleteLFTagExpression"
1419
+ o.http_method = "POST"
1420
+ o.http_request_uri = "/DeleteLFTagExpression"
1421
+ o.input = Shapes::ShapeRef.new(shape: DeleteLFTagExpressionRequest)
1422
+ o.output = Shapes::ShapeRef.new(shape: DeleteLFTagExpressionResponse)
1423
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1424
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1425
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1426
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
1427
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1428
+ end)
1429
+
1335
1430
  api.add_operation(:delete_lake_formation_identity_center_configuration, Seahorse::Model::Operation.new.tap do |o|
1336
1431
  o.name = "DeleteLakeFormationIdentityCenterConfiguration"
1337
1432
  o.http_method = "POST"
@@ -1506,6 +1601,19 @@ module Aws::LakeFormation
1506
1601
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1507
1602
  end)
1508
1603
 
1604
+ api.add_operation(:get_lf_tag_expression, Seahorse::Model::Operation.new.tap do |o|
1605
+ o.name = "GetLFTagExpression"
1606
+ o.http_method = "POST"
1607
+ o.http_request_uri = "/GetLFTagExpression"
1608
+ o.input = Shapes::ShapeRef.new(shape: GetLFTagExpressionRequest)
1609
+ o.output = Shapes::ShapeRef.new(shape: GetLFTagExpressionResponse)
1610
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1611
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1612
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1613
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
1614
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1615
+ end)
1616
+
1509
1617
  api.add_operation(:get_query_state, Seahorse::Model::Operation.new.tap do |o|
1510
1618
  o.name = "GetQueryState"
1511
1619
  o.http_method = "POST"
@@ -1667,6 +1775,25 @@ module Aws::LakeFormation
1667
1775
  )
1668
1776
  end)
1669
1777
 
1778
+ api.add_operation(:list_lf_tag_expressions, Seahorse::Model::Operation.new.tap do |o|
1779
+ o.name = "ListLFTagExpressions"
1780
+ o.http_method = "POST"
1781
+ o.http_request_uri = "/ListLFTagExpressions"
1782
+ o.input = Shapes::ShapeRef.new(shape: ListLFTagExpressionsRequest)
1783
+ o.output = Shapes::ShapeRef.new(shape: ListLFTagExpressionsResponse)
1784
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
1785
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
1786
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
1787
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
1788
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1789
+ o[:pager] = Aws::Pager.new(
1790
+ limit_key: "max_results",
1791
+ tokens: {
1792
+ "next_token" => "next_token"
1793
+ }
1794
+ )
1795
+ end)
1796
+
1670
1797
  api.add_operation(:list_lf_tags, Seahorse::Model::Operation.new.tap do |o|
1671
1798
  o.name = "ListLFTags"
1672
1799
  o.http_method = "POST"
@@ -1917,6 +2044,20 @@ module Aws::LakeFormation
1917
2044
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1918
2045
  end)
1919
2046
 
2047
+ api.add_operation(:update_lf_tag_expression, Seahorse::Model::Operation.new.tap do |o|
2048
+ o.name = "UpdateLFTagExpression"
2049
+ o.http_method = "POST"
2050
+ o.http_request_uri = "/UpdateLFTagExpression"
2051
+ o.input = Shapes::ShapeRef.new(shape: UpdateLFTagExpressionRequest)
2052
+ o.output = Shapes::ShapeRef.new(shape: UpdateLFTagExpressionResponse)
2053
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
2054
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
2055
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
2056
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
2057
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
2058
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2059
+ end)
2060
+
1920
2061
  api.add_operation(:update_lake_formation_identity_center_configuration, Seahorse::Model::Operation.new.tap do |o|
1921
2062
  o.name = "UpdateLakeFormationIdentityCenterConfiguration"
1922
2063
  o.http_method = "POST"
@@ -52,15 +52,18 @@ module Aws::LakeFormation
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end