aws-sdk-appsync 1.58.0 → 1.60.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.
@@ -29,6 +29,10 @@ module Aws::AppSync
29
29
  AppSyncRuntime = Shapes::StructureShape.new(name: 'AppSyncRuntime')
30
30
  AssociateApiRequest = Shapes::StructureShape.new(name: 'AssociateApiRequest')
31
31
  AssociateApiResponse = Shapes::StructureShape.new(name: 'AssociateApiResponse')
32
+ AssociateMergedGraphqlApiRequest = Shapes::StructureShape.new(name: 'AssociateMergedGraphqlApiRequest')
33
+ AssociateMergedGraphqlApiResponse = Shapes::StructureShape.new(name: 'AssociateMergedGraphqlApiResponse')
34
+ AssociateSourceGraphqlApiRequest = Shapes::StructureShape.new(name: 'AssociateSourceGraphqlApiRequest')
35
+ AssociateSourceGraphqlApiResponse = Shapes::StructureShape.new(name: 'AssociateSourceGraphqlApiResponse')
32
36
  AssociationStatus = Shapes::StringShape.new(name: 'AssociationStatus')
33
37
  AuthenticationType = Shapes::StringShape.new(name: 'AuthenticationType')
34
38
  AuthorizationConfig = Shapes::StructureShape.new(name: 'AuthorizationConfig')
@@ -74,6 +78,7 @@ module Aws::AppSync
74
78
  DataSource = Shapes::StructureShape.new(name: 'DataSource')
75
79
  DataSourceType = Shapes::StringShape.new(name: 'DataSourceType')
76
80
  DataSources = Shapes::ListShape.new(name: 'DataSources')
81
+ Date = Shapes::TimestampShape.new(name: 'Date')
77
82
  DefaultAction = Shapes::StringShape.new(name: 'DefaultAction')
78
83
  DeleteApiCacheRequest = Shapes::StructureShape.new(name: 'DeleteApiCacheRequest')
79
84
  DeleteApiCacheResponse = Shapes::StructureShape.new(name: 'DeleteApiCacheResponse')
@@ -95,6 +100,10 @@ module Aws::AppSync
95
100
  Description = Shapes::StringShape.new(name: 'Description')
96
101
  DisassociateApiRequest = Shapes::StructureShape.new(name: 'DisassociateApiRequest')
97
102
  DisassociateApiResponse = Shapes::StructureShape.new(name: 'DisassociateApiResponse')
103
+ DisassociateMergedGraphqlApiRequest = Shapes::StructureShape.new(name: 'DisassociateMergedGraphqlApiRequest')
104
+ DisassociateMergedGraphqlApiResponse = Shapes::StructureShape.new(name: 'DisassociateMergedGraphqlApiResponse')
105
+ DisassociateSourceGraphqlApiRequest = Shapes::StructureShape.new(name: 'DisassociateSourceGraphqlApiRequest')
106
+ DisassociateSourceGraphqlApiResponse = Shapes::StructureShape.new(name: 'DisassociateSourceGraphqlApiResponse')
98
107
  DomainName = Shapes::StringShape.new(name: 'DomainName')
99
108
  DomainNameConfig = Shapes::StructureShape.new(name: 'DomainNameConfig')
100
109
  DomainNameConfigs = Shapes::ListShape.new(name: 'DomainNameConfigs')
@@ -133,8 +142,12 @@ module Aws::AppSync
133
142
  GetResolverResponse = Shapes::StructureShape.new(name: 'GetResolverResponse')
134
143
  GetSchemaCreationStatusRequest = Shapes::StructureShape.new(name: 'GetSchemaCreationStatusRequest')
135
144
  GetSchemaCreationStatusResponse = Shapes::StructureShape.new(name: 'GetSchemaCreationStatusResponse')
145
+ GetSourceApiAssociationRequest = Shapes::StructureShape.new(name: 'GetSourceApiAssociationRequest')
146
+ GetSourceApiAssociationResponse = Shapes::StructureShape.new(name: 'GetSourceApiAssociationResponse')
136
147
  GetTypeRequest = Shapes::StructureShape.new(name: 'GetTypeRequest')
137
148
  GetTypeResponse = Shapes::StructureShape.new(name: 'GetTypeResponse')
149
+ GraphQLApiType = Shapes::StringShape.new(name: 'GraphQLApiType')
150
+ GraphQLApiVisibility = Shapes::StringShape.new(name: 'GraphQLApiVisibility')
138
151
  GraphQLSchemaException = Shapes::StructureShape.new(name: 'GraphQLSchemaException')
139
152
  GraphqlApi = Shapes::StructureShape.new(name: 'GraphqlApi')
140
153
  GraphqlApis = Shapes::ListShape.new(name: 'GraphqlApis')
@@ -158,8 +171,12 @@ module Aws::AppSync
158
171
  ListResolversByFunctionResponse = Shapes::StructureShape.new(name: 'ListResolversByFunctionResponse')
159
172
  ListResolversRequest = Shapes::StructureShape.new(name: 'ListResolversRequest')
160
173
  ListResolversResponse = Shapes::StructureShape.new(name: 'ListResolversResponse')
174
+ ListSourceApiAssociationsRequest = Shapes::StructureShape.new(name: 'ListSourceApiAssociationsRequest')
175
+ ListSourceApiAssociationsResponse = Shapes::StructureShape.new(name: 'ListSourceApiAssociationsResponse')
161
176
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
162
177
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
178
+ ListTypesByAssociationRequest = Shapes::StructureShape.new(name: 'ListTypesByAssociationRequest')
179
+ ListTypesByAssociationResponse = Shapes::StructureShape.new(name: 'ListTypesByAssociationResponse')
163
180
  ListTypesRequest = Shapes::StructureShape.new(name: 'ListTypesRequest')
164
181
  ListTypesResponse = Shapes::StructureShape.new(name: 'ListTypesResponse')
165
182
  LogConfig = Shapes::StructureShape.new(name: 'LogConfig')
@@ -169,10 +186,12 @@ module Aws::AppSync
169
186
  MappingTemplate = Shapes::StringShape.new(name: 'MappingTemplate')
170
187
  MaxBatchSize = Shapes::IntegerShape.new(name: 'MaxBatchSize')
171
188
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
189
+ MergeType = Shapes::StringShape.new(name: 'MergeType')
172
190
  NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
173
191
  OpenIDConnectConfig = Shapes::StructureShape.new(name: 'OpenIDConnectConfig')
174
192
  OpenSearchServiceDataSourceConfig = Shapes::StructureShape.new(name: 'OpenSearchServiceDataSourceConfig')
175
193
  OutputType = Shapes::StringShape.new(name: 'OutputType')
194
+ Ownership = Shapes::StringShape.new(name: 'Ownership')
176
195
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
177
196
  PipelineConfig = Shapes::StructureShape.new(name: 'PipelineConfig')
178
197
  RdsHttpEndpointConfig = Shapes::StructureShape.new(name: 'RdsHttpEndpointConfig')
@@ -185,8 +204,15 @@ module Aws::AppSync
185
204
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
186
205
  RuntimeName = Shapes::StringShape.new(name: 'RuntimeName')
187
206
  SchemaStatus = Shapes::StringShape.new(name: 'SchemaStatus')
207
+ SourceApiAssociation = Shapes::StructureShape.new(name: 'SourceApiAssociation')
208
+ SourceApiAssociationConfig = Shapes::StructureShape.new(name: 'SourceApiAssociationConfig')
209
+ SourceApiAssociationStatus = Shapes::StringShape.new(name: 'SourceApiAssociationStatus')
210
+ SourceApiAssociationSummary = Shapes::StructureShape.new(name: 'SourceApiAssociationSummary')
211
+ SourceApiAssociationSummaryList = Shapes::ListShape.new(name: 'SourceApiAssociationSummaryList')
188
212
  StartSchemaCreationRequest = Shapes::StructureShape.new(name: 'StartSchemaCreationRequest')
189
213
  StartSchemaCreationResponse = Shapes::StructureShape.new(name: 'StartSchemaCreationResponse')
214
+ StartSchemaMergeRequest = Shapes::StructureShape.new(name: 'StartSchemaMergeRequest')
215
+ StartSchemaMergeResponse = Shapes::StructureShape.new(name: 'StartSchemaMergeResponse')
190
216
  String = Shapes::StringShape.new(name: 'String')
191
217
  SyncConfig = Shapes::StructureShape.new(name: 'SyncConfig')
192
218
  TTL = Shapes::IntegerShape.new(name: 'TTL')
@@ -217,6 +243,8 @@ module Aws::AppSync
217
243
  UpdateGraphqlApiResponse = Shapes::StructureShape.new(name: 'UpdateGraphqlApiResponse')
218
244
  UpdateResolverRequest = Shapes::StructureShape.new(name: 'UpdateResolverRequest')
219
245
  UpdateResolverResponse = Shapes::StructureShape.new(name: 'UpdateResolverResponse')
246
+ UpdateSourceApiAssociationRequest = Shapes::StructureShape.new(name: 'UpdateSourceApiAssociationRequest')
247
+ UpdateSourceApiAssociationResponse = Shapes::StructureShape.new(name: 'UpdateSourceApiAssociationResponse')
220
248
  UpdateTypeRequest = Shapes::StructureShape.new(name: 'UpdateTypeRequest')
221
249
  UpdateTypeResponse = Shapes::StructureShape.new(name: 'UpdateTypeResponse')
222
250
  UserPoolConfig = Shapes::StructureShape.new(name: 'UserPoolConfig')
@@ -274,6 +302,24 @@ module Aws::AppSync
274
302
  AssociateApiResponse.add_member(:api_association, Shapes::ShapeRef.new(shape: ApiAssociation, location_name: "apiAssociation"))
275
303
  AssociateApiResponse.struct_class = Types::AssociateApiResponse
276
304
 
305
+ AssociateMergedGraphqlApiRequest.add_member(:source_api_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "sourceApiIdentifier"))
306
+ AssociateMergedGraphqlApiRequest.add_member(:merged_api_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "mergedApiIdentifier"))
307
+ AssociateMergedGraphqlApiRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
308
+ AssociateMergedGraphqlApiRequest.add_member(:source_api_association_config, Shapes::ShapeRef.new(shape: SourceApiAssociationConfig, location_name: "sourceApiAssociationConfig"))
309
+ AssociateMergedGraphqlApiRequest.struct_class = Types::AssociateMergedGraphqlApiRequest
310
+
311
+ AssociateMergedGraphqlApiResponse.add_member(:source_api_association, Shapes::ShapeRef.new(shape: SourceApiAssociation, location_name: "sourceApiAssociation"))
312
+ AssociateMergedGraphqlApiResponse.struct_class = Types::AssociateMergedGraphqlApiResponse
313
+
314
+ AssociateSourceGraphqlApiRequest.add_member(:merged_api_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "mergedApiIdentifier"))
315
+ AssociateSourceGraphqlApiRequest.add_member(:source_api_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "sourceApiIdentifier"))
316
+ AssociateSourceGraphqlApiRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
317
+ AssociateSourceGraphqlApiRequest.add_member(:source_api_association_config, Shapes::ShapeRef.new(shape: SourceApiAssociationConfig, location_name: "sourceApiAssociationConfig"))
318
+ AssociateSourceGraphqlApiRequest.struct_class = Types::AssociateSourceGraphqlApiRequest
319
+
320
+ AssociateSourceGraphqlApiResponse.add_member(:source_api_association, Shapes::ShapeRef.new(shape: SourceApiAssociation, location_name: "sourceApiAssociation"))
321
+ AssociateSourceGraphqlApiResponse.struct_class = Types::AssociateSourceGraphqlApiResponse
322
+
277
323
  AuthorizationConfig.add_member(:authorization_type, Shapes::ShapeRef.new(shape: AuthorizationType, required: true, location_name: "authorizationType"))
278
324
  AuthorizationConfig.add_member(:aws_iam_config, Shapes::ShapeRef.new(shape: AwsIamConfig, location_name: "awsIamConfig"))
279
325
  AuthorizationConfig.struct_class = Types::AuthorizationConfig
@@ -385,6 +431,10 @@ module Aws::AppSync
385
431
  CreateGraphqlApiRequest.add_member(:additional_authentication_providers, Shapes::ShapeRef.new(shape: AdditionalAuthenticationProviders, location_name: "additionalAuthenticationProviders"))
386
432
  CreateGraphqlApiRequest.add_member(:xray_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "xrayEnabled"))
387
433
  CreateGraphqlApiRequest.add_member(:lambda_authorizer_config, Shapes::ShapeRef.new(shape: LambdaAuthorizerConfig, location_name: "lambdaAuthorizerConfig"))
434
+ CreateGraphqlApiRequest.add_member(:visibility, Shapes::ShapeRef.new(shape: GraphQLApiVisibility, location_name: "visibility"))
435
+ CreateGraphqlApiRequest.add_member(:api_type, Shapes::ShapeRef.new(shape: GraphQLApiType, location_name: "apiType"))
436
+ CreateGraphqlApiRequest.add_member(:merged_api_execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "mergedApiExecutionRoleArn"))
437
+ CreateGraphqlApiRequest.add_member(:owner_contact, Shapes::ShapeRef.new(shape: String, location_name: "ownerContact"))
388
438
  CreateGraphqlApiRequest.struct_class = Types::CreateGraphqlApiRequest
389
439
 
390
440
  CreateGraphqlApiResponse.add_member(:graphql_api, Shapes::ShapeRef.new(shape: GraphqlApi, location_name: "graphqlApi"))
@@ -488,6 +538,20 @@ module Aws::AppSync
488
538
 
489
539
  DisassociateApiResponse.struct_class = Types::DisassociateApiResponse
490
540
 
541
+ DisassociateMergedGraphqlApiRequest.add_member(:source_api_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "sourceApiIdentifier"))
542
+ DisassociateMergedGraphqlApiRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "associationId"))
543
+ DisassociateMergedGraphqlApiRequest.struct_class = Types::DisassociateMergedGraphqlApiRequest
544
+
545
+ DisassociateMergedGraphqlApiResponse.add_member(:source_api_association_status, Shapes::ShapeRef.new(shape: SourceApiAssociationStatus, location_name: "sourceApiAssociationStatus"))
546
+ DisassociateMergedGraphqlApiResponse.struct_class = Types::DisassociateMergedGraphqlApiResponse
547
+
548
+ DisassociateSourceGraphqlApiRequest.add_member(:merged_api_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "mergedApiIdentifier"))
549
+ DisassociateSourceGraphqlApiRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "associationId"))
550
+ DisassociateSourceGraphqlApiRequest.struct_class = Types::DisassociateSourceGraphqlApiRequest
551
+
552
+ DisassociateSourceGraphqlApiResponse.add_member(:source_api_association_status, Shapes::ShapeRef.new(shape: SourceApiAssociationStatus, location_name: "sourceApiAssociationStatus"))
553
+ DisassociateSourceGraphqlApiResponse.struct_class = Types::DisassociateSourceGraphqlApiResponse
554
+
491
555
  DomainNameConfig.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
492
556
  DomainNameConfig.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
493
557
  DomainNameConfig.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: CertificateArn, location_name: "certificateArn"))
@@ -624,6 +688,13 @@ module Aws::AppSync
624
688
  GetSchemaCreationStatusResponse.add_member(:details, Shapes::ShapeRef.new(shape: String, location_name: "details"))
625
689
  GetSchemaCreationStatusResponse.struct_class = Types::GetSchemaCreationStatusResponse
626
690
 
691
+ GetSourceApiAssociationRequest.add_member(:merged_api_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "mergedApiIdentifier"))
692
+ GetSourceApiAssociationRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "associationId"))
693
+ GetSourceApiAssociationRequest.struct_class = Types::GetSourceApiAssociationRequest
694
+
695
+ GetSourceApiAssociationResponse.add_member(:source_api_association, Shapes::ShapeRef.new(shape: SourceApiAssociation, location_name: "sourceApiAssociation"))
696
+ GetSourceApiAssociationResponse.struct_class = Types::GetSourceApiAssociationResponse
697
+
627
698
  GetTypeRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
628
699
  GetTypeRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "typeName"))
629
700
  GetTypeRequest.add_member(:format, Shapes::ShapeRef.new(shape: TypeDefinitionFormat, required: true, location: "querystring", location_name: "format"))
@@ -648,6 +719,12 @@ module Aws::AppSync
648
719
  GraphqlApi.add_member(:xray_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "xrayEnabled"))
649
720
  GraphqlApi.add_member(:waf_web_acl_arn, Shapes::ShapeRef.new(shape: String, location_name: "wafWebAclArn"))
650
721
  GraphqlApi.add_member(:lambda_authorizer_config, Shapes::ShapeRef.new(shape: LambdaAuthorizerConfig, location_name: "lambdaAuthorizerConfig"))
722
+ GraphqlApi.add_member(:dns, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "dns"))
723
+ GraphqlApi.add_member(:visibility, Shapes::ShapeRef.new(shape: GraphQLApiVisibility, location_name: "visibility"))
724
+ GraphqlApi.add_member(:api_type, Shapes::ShapeRef.new(shape: GraphQLApiType, location_name: "apiType"))
725
+ GraphqlApi.add_member(:merged_api_execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "mergedApiExecutionRoleArn"))
726
+ GraphqlApi.add_member(:owner, Shapes::ShapeRef.new(shape: String, location_name: "owner"))
727
+ GraphqlApi.add_member(:owner_contact, Shapes::ShapeRef.new(shape: String, location_name: "ownerContact"))
651
728
  GraphqlApi.struct_class = Types::GraphqlApi
652
729
 
653
730
  GraphqlApis.member = Shapes::ShapeRef.new(shape: GraphqlApi)
@@ -710,6 +787,8 @@ module Aws::AppSync
710
787
 
711
788
  ListGraphqlApisRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
712
789
  ListGraphqlApisRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
790
+ ListGraphqlApisRequest.add_member(:api_type, Shapes::ShapeRef.new(shape: GraphQLApiType, location: "querystring", location_name: "apiType"))
791
+ ListGraphqlApisRequest.add_member(:owner, Shapes::ShapeRef.new(shape: Ownership, location: "querystring", location_name: "owner"))
713
792
  ListGraphqlApisRequest.struct_class = Types::ListGraphqlApisRequest
714
793
 
715
794
  ListGraphqlApisResponse.add_member(:graphql_apis, Shapes::ShapeRef.new(shape: GraphqlApis, location_name: "graphqlApis"))
@@ -736,12 +815,32 @@ module Aws::AppSync
736
815
  ListResolversResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
737
816
  ListResolversResponse.struct_class = Types::ListResolversResponse
738
817
 
818
+ ListSourceApiAssociationsRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
819
+ ListSourceApiAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
820
+ ListSourceApiAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
821
+ ListSourceApiAssociationsRequest.struct_class = Types::ListSourceApiAssociationsRequest
822
+
823
+ ListSourceApiAssociationsResponse.add_member(:source_api_association_summaries, Shapes::ShapeRef.new(shape: SourceApiAssociationSummaryList, location_name: "sourceApiAssociationSummaries"))
824
+ ListSourceApiAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
825
+ ListSourceApiAssociationsResponse.struct_class = Types::ListSourceApiAssociationsResponse
826
+
739
827
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
740
828
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
741
829
 
742
830
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
743
831
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
744
832
 
833
+ ListTypesByAssociationRequest.add_member(:merged_api_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "mergedApiIdentifier"))
834
+ ListTypesByAssociationRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "associationId"))
835
+ ListTypesByAssociationRequest.add_member(:format, Shapes::ShapeRef.new(shape: TypeDefinitionFormat, required: true, location: "querystring", location_name: "format"))
836
+ ListTypesByAssociationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
837
+ ListTypesByAssociationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
838
+ ListTypesByAssociationRequest.struct_class = Types::ListTypesByAssociationRequest
839
+
840
+ ListTypesByAssociationResponse.add_member(:types, Shapes::ShapeRef.new(shape: TypeList, location_name: "types"))
841
+ ListTypesByAssociationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
842
+ ListTypesByAssociationResponse.struct_class = Types::ListTypesByAssociationResponse
843
+
745
844
  ListTypesRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
746
845
  ListTypesRequest.add_member(:format, Shapes::ShapeRef.new(shape: TypeDefinitionFormat, required: true, location: "querystring", location_name: "format"))
747
846
  ListTypesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
@@ -806,6 +905,33 @@ module Aws::AppSync
806
905
 
807
906
  Resolvers.member = Shapes::ShapeRef.new(shape: Resolver)
808
907
 
908
+ SourceApiAssociation.add_member(:association_id, Shapes::ShapeRef.new(shape: String, location_name: "associationId"))
909
+ SourceApiAssociation.add_member(:association_arn, Shapes::ShapeRef.new(shape: String, location_name: "associationArn"))
910
+ SourceApiAssociation.add_member(:source_api_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceApiId"))
911
+ SourceApiAssociation.add_member(:source_api_arn, Shapes::ShapeRef.new(shape: String, location_name: "sourceApiArn"))
912
+ SourceApiAssociation.add_member(:merged_api_arn, Shapes::ShapeRef.new(shape: String, location_name: "mergedApiArn"))
913
+ SourceApiAssociation.add_member(:merged_api_id, Shapes::ShapeRef.new(shape: String, location_name: "mergedApiId"))
914
+ SourceApiAssociation.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
915
+ SourceApiAssociation.add_member(:source_api_association_config, Shapes::ShapeRef.new(shape: SourceApiAssociationConfig, location_name: "sourceApiAssociationConfig"))
916
+ SourceApiAssociation.add_member(:source_api_association_status, Shapes::ShapeRef.new(shape: SourceApiAssociationStatus, location_name: "sourceApiAssociationStatus"))
917
+ SourceApiAssociation.add_member(:source_api_association_status_detail, Shapes::ShapeRef.new(shape: String, location_name: "sourceApiAssociationStatusDetail"))
918
+ SourceApiAssociation.add_member(:last_successful_merge_date, Shapes::ShapeRef.new(shape: Date, location_name: "lastSuccessfulMergeDate"))
919
+ SourceApiAssociation.struct_class = Types::SourceApiAssociation
920
+
921
+ SourceApiAssociationConfig.add_member(:merge_type, Shapes::ShapeRef.new(shape: MergeType, location_name: "mergeType"))
922
+ SourceApiAssociationConfig.struct_class = Types::SourceApiAssociationConfig
923
+
924
+ SourceApiAssociationSummary.add_member(:association_id, Shapes::ShapeRef.new(shape: String, location_name: "associationId"))
925
+ SourceApiAssociationSummary.add_member(:association_arn, Shapes::ShapeRef.new(shape: String, location_name: "associationArn"))
926
+ SourceApiAssociationSummary.add_member(:source_api_id, Shapes::ShapeRef.new(shape: String, location_name: "sourceApiId"))
927
+ SourceApiAssociationSummary.add_member(:source_api_arn, Shapes::ShapeRef.new(shape: String, location_name: "sourceApiArn"))
928
+ SourceApiAssociationSummary.add_member(:merged_api_id, Shapes::ShapeRef.new(shape: String, location_name: "mergedApiId"))
929
+ SourceApiAssociationSummary.add_member(:merged_api_arn, Shapes::ShapeRef.new(shape: String, location_name: "mergedApiArn"))
930
+ SourceApiAssociationSummary.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
931
+ SourceApiAssociationSummary.struct_class = Types::SourceApiAssociationSummary
932
+
933
+ SourceApiAssociationSummaryList.member = Shapes::ShapeRef.new(shape: SourceApiAssociationSummary)
934
+
809
935
  StartSchemaCreationRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
810
936
  StartSchemaCreationRequest.add_member(:definition, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "definition"))
811
937
  StartSchemaCreationRequest.struct_class = Types::StartSchemaCreationRequest
@@ -813,6 +939,13 @@ module Aws::AppSync
813
939
  StartSchemaCreationResponse.add_member(:status, Shapes::ShapeRef.new(shape: SchemaStatus, location_name: "status"))
814
940
  StartSchemaCreationResponse.struct_class = Types::StartSchemaCreationResponse
815
941
 
942
+ StartSchemaMergeRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "associationId"))
943
+ StartSchemaMergeRequest.add_member(:merged_api_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "mergedApiIdentifier"))
944
+ StartSchemaMergeRequest.struct_class = Types::StartSchemaMergeRequest
945
+
946
+ StartSchemaMergeResponse.add_member(:source_api_association_status, Shapes::ShapeRef.new(shape: SourceApiAssociationStatus, location_name: "sourceApiAssociationStatus"))
947
+ StartSchemaMergeResponse.struct_class = Types::StartSchemaMergeResponse
948
+
816
949
  SyncConfig.add_member(:conflict_handler, Shapes::ShapeRef.new(shape: ConflictHandlerType, location_name: "conflictHandler"))
817
950
  SyncConfig.add_member(:conflict_detection, Shapes::ShapeRef.new(shape: ConflictDetectionType, location_name: "conflictDetection"))
818
951
  SyncConfig.add_member(:lambda_conflict_handler_config, Shapes::ShapeRef.new(shape: LambdaConflictHandlerConfig, location_name: "lambdaConflictHandlerConfig"))
@@ -915,6 +1048,8 @@ module Aws::AppSync
915
1048
  UpdateGraphqlApiRequest.add_member(:additional_authentication_providers, Shapes::ShapeRef.new(shape: AdditionalAuthenticationProviders, location_name: "additionalAuthenticationProviders"))
916
1049
  UpdateGraphqlApiRequest.add_member(:xray_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "xrayEnabled"))
917
1050
  UpdateGraphqlApiRequest.add_member(:lambda_authorizer_config, Shapes::ShapeRef.new(shape: LambdaAuthorizerConfig, location_name: "lambdaAuthorizerConfig"))
1051
+ UpdateGraphqlApiRequest.add_member(:merged_api_execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "mergedApiExecutionRoleArn"))
1052
+ UpdateGraphqlApiRequest.add_member(:owner_contact, Shapes::ShapeRef.new(shape: String, location_name: "ownerContact"))
918
1053
  UpdateGraphqlApiRequest.struct_class = Types::UpdateGraphqlApiRequest
919
1054
 
920
1055
  UpdateGraphqlApiResponse.add_member(:graphql_api, Shapes::ShapeRef.new(shape: GraphqlApi, location_name: "graphqlApi"))
@@ -938,6 +1073,15 @@ module Aws::AppSync
938
1073
  UpdateResolverResponse.add_member(:resolver, Shapes::ShapeRef.new(shape: Resolver, location_name: "resolver"))
939
1074
  UpdateResolverResponse.struct_class = Types::UpdateResolverResponse
940
1075
 
1076
+ UpdateSourceApiAssociationRequest.add_member(:association_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "associationId"))
1077
+ UpdateSourceApiAssociationRequest.add_member(:merged_api_identifier, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "mergedApiIdentifier"))
1078
+ UpdateSourceApiAssociationRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
1079
+ UpdateSourceApiAssociationRequest.add_member(:source_api_association_config, Shapes::ShapeRef.new(shape: SourceApiAssociationConfig, location_name: "sourceApiAssociationConfig"))
1080
+ UpdateSourceApiAssociationRequest.struct_class = Types::UpdateSourceApiAssociationRequest
1081
+
1082
+ UpdateSourceApiAssociationResponse.add_member(:source_api_association, Shapes::ShapeRef.new(shape: SourceApiAssociation, location_name: "sourceApiAssociation"))
1083
+ UpdateSourceApiAssociationResponse.struct_class = Types::UpdateSourceApiAssociationResponse
1084
+
941
1085
  UpdateTypeRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "apiId"))
942
1086
  UpdateTypeRequest.add_member(:type_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "typeName"))
943
1087
  UpdateTypeRequest.add_member(:definition, Shapes::ShapeRef.new(shape: String, location_name: "definition"))
@@ -984,6 +1128,34 @@ module Aws::AppSync
984
1128
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
985
1129
  end)
986
1130
 
1131
+ api.add_operation(:associate_merged_graphql_api, Seahorse::Model::Operation.new.tap do |o|
1132
+ o.name = "AssociateMergedGraphqlApi"
1133
+ o.http_method = "POST"
1134
+ o.http_request_uri = "/v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations"
1135
+ o.input = Shapes::ShapeRef.new(shape: AssociateMergedGraphqlApiRequest)
1136
+ o.output = Shapes::ShapeRef.new(shape: AssociateMergedGraphqlApiResponse)
1137
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1138
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1139
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1140
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1141
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1142
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1143
+ end)
1144
+
1145
+ api.add_operation(:associate_source_graphql_api, Seahorse::Model::Operation.new.tap do |o|
1146
+ o.name = "AssociateSourceGraphqlApi"
1147
+ o.http_method = "POST"
1148
+ o.http_request_uri = "/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations"
1149
+ o.input = Shapes::ShapeRef.new(shape: AssociateSourceGraphqlApiRequest)
1150
+ o.output = Shapes::ShapeRef.new(shape: AssociateSourceGraphqlApiResponse)
1151
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1152
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1153
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1154
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1155
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1156
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1157
+ end)
1158
+
987
1159
  api.add_operation(:create_api_cache, Seahorse::Model::Operation.new.tap do |o|
988
1160
  o.name = "CreateApiCache"
989
1161
  o.http_method = "POST"
@@ -1205,6 +1377,32 @@ module Aws::AppSync
1205
1377
  o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1206
1378
  end)
1207
1379
 
1380
+ api.add_operation(:disassociate_merged_graphql_api, Seahorse::Model::Operation.new.tap do |o|
1381
+ o.name = "DisassociateMergedGraphqlApi"
1382
+ o.http_method = "DELETE"
1383
+ o.http_request_uri = "/v1/sourceApis/{sourceApiIdentifier}/mergedApiAssociations/{associationId}"
1384
+ o.input = Shapes::ShapeRef.new(shape: DisassociateMergedGraphqlApiRequest)
1385
+ o.output = Shapes::ShapeRef.new(shape: DisassociateMergedGraphqlApiResponse)
1386
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1387
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1388
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1389
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1390
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1391
+ end)
1392
+
1393
+ api.add_operation(:disassociate_source_graphql_api, Seahorse::Model::Operation.new.tap do |o|
1394
+ o.name = "DisassociateSourceGraphqlApi"
1395
+ o.http_method = "DELETE"
1396
+ o.http_request_uri = "/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}"
1397
+ o.input = Shapes::ShapeRef.new(shape: DisassociateSourceGraphqlApiRequest)
1398
+ o.output = Shapes::ShapeRef.new(shape: DisassociateSourceGraphqlApiResponse)
1399
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1400
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1401
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1402
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1403
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1404
+ end)
1405
+
1208
1406
  api.add_operation(:evaluate_code, Seahorse::Model::Operation.new.tap do |o|
1209
1407
  o.name = "EvaluateCode"
1210
1408
  o.http_method = "POST"
@@ -1349,6 +1547,18 @@ module Aws::AppSync
1349
1547
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1350
1548
  end)
1351
1549
 
1550
+ api.add_operation(:get_source_api_association, Seahorse::Model::Operation.new.tap do |o|
1551
+ o.name = "GetSourceApiAssociation"
1552
+ o.http_method = "GET"
1553
+ o.http_request_uri = "/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}"
1554
+ o.input = Shapes::ShapeRef.new(shape: GetSourceApiAssociationRequest)
1555
+ o.output = Shapes::ShapeRef.new(shape: GetSourceApiAssociationResponse)
1556
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1557
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1558
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1559
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1560
+ end)
1561
+
1352
1562
  api.add_operation(:get_type, Seahorse::Model::Operation.new.tap do |o|
1353
1563
  o.name = "GetType"
1354
1564
  o.http_method = "GET"
@@ -1444,6 +1654,18 @@ module Aws::AppSync
1444
1654
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1445
1655
  end)
1446
1656
 
1657
+ api.add_operation(:list_source_api_associations, Seahorse::Model::Operation.new.tap do |o|
1658
+ o.name = "ListSourceApiAssociations"
1659
+ o.http_method = "GET"
1660
+ o.http_request_uri = "/v1/apis/{apiId}/sourceApiAssociations"
1661
+ o.input = Shapes::ShapeRef.new(shape: ListSourceApiAssociationsRequest)
1662
+ o.output = Shapes::ShapeRef.new(shape: ListSourceApiAssociationsResponse)
1663
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1664
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1665
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1666
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1667
+ end)
1668
+
1447
1669
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1448
1670
  o.name = "ListTagsForResource"
1449
1671
  o.http_method = "GET"
@@ -1471,6 +1693,19 @@ module Aws::AppSync
1471
1693
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1472
1694
  end)
1473
1695
 
1696
+ api.add_operation(:list_types_by_association, Seahorse::Model::Operation.new.tap do |o|
1697
+ o.name = "ListTypesByAssociation"
1698
+ o.http_method = "GET"
1699
+ o.http_request_uri = "/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/types"
1700
+ o.input = Shapes::ShapeRef.new(shape: ListTypesByAssociationRequest)
1701
+ o.output = Shapes::ShapeRef.new(shape: ListTypesByAssociationResponse)
1702
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1703
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1704
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1705
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1706
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1707
+ end)
1708
+
1474
1709
  api.add_operation(:start_schema_creation, Seahorse::Model::Operation.new.tap do |o|
1475
1710
  o.name = "StartSchemaCreation"
1476
1711
  o.http_method = "POST"
@@ -1484,6 +1719,19 @@ module Aws::AppSync
1484
1719
  o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1485
1720
  end)
1486
1721
 
1722
+ api.add_operation(:start_schema_merge, Seahorse::Model::Operation.new.tap do |o|
1723
+ o.name = "StartSchemaMerge"
1724
+ o.http_method = "POST"
1725
+ o.http_request_uri = "/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}/merge"
1726
+ o.input = Shapes::ShapeRef.new(shape: StartSchemaMergeRequest)
1727
+ o.output = Shapes::ShapeRef.new(shape: StartSchemaMergeResponse)
1728
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1729
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1730
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1731
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1732
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1733
+ end)
1734
+
1487
1735
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1488
1736
  o.name = "TagResource"
1489
1737
  o.http_method = "POST"
@@ -1604,6 +1852,19 @@ module Aws::AppSync
1604
1852
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1605
1853
  end)
1606
1854
 
1855
+ api.add_operation(:update_source_api_association, Seahorse::Model::Operation.new.tap do |o|
1856
+ o.name = "UpdateSourceApiAssociation"
1857
+ o.http_method = "POST"
1858
+ o.http_request_uri = "/v1/mergedApis/{mergedApiIdentifier}/sourceApiAssociations/{associationId}"
1859
+ o.input = Shapes::ShapeRef.new(shape: UpdateSourceApiAssociationRequest)
1860
+ o.output = Shapes::ShapeRef.new(shape: UpdateSourceApiAssociationResponse)
1861
+ o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
1862
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1863
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
1864
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1865
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
1866
+ end)
1867
+
1607
1868
  api.add_operation(:update_type, Seahorse::Model::Operation.new.tap do |o|
1608
1869
  o.name = "UpdateType"
1609
1870
  o.http_method = "POST"
@@ -50,9 +50,6 @@ module Aws::AppSync
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::AppSync
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
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://appsync-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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://appsync-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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://appsync.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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://appsync-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://appsync-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://appsync.#{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
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://appsync.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://appsync.#{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