aws-sdk-appsync 1.58.0 → 1.60.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appsync/client.rb +552 -25
- data/lib/aws-sdk-appsync/client_api.rb +261 -0
- data/lib/aws-sdk-appsync/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-appsync/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-appsync/endpoints.rb +126 -0
- data/lib/aws-sdk-appsync/plugins/endpoints.rb +18 -0
- data/lib/aws-sdk-appsync/types.rb +708 -77
- data/lib/aws-sdk-appsync.rb +1 -1
- metadata +2 -2
@@ -25,6 +25,34 @@ module Aws::AppSync
|
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
|
+
class AssociateMergedGraphqlApi
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::AppSync::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class AssociateSourceGraphqlApi
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::AppSync::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
28
56
|
class CreateApiCache
|
29
57
|
def self.build(context)
|
30
58
|
unless context.config.regional_endpoint
|
@@ -263,6 +291,34 @@ module Aws::AppSync
|
|
263
291
|
end
|
264
292
|
end
|
265
293
|
|
294
|
+
class DisassociateMergedGraphqlApi
|
295
|
+
def self.build(context)
|
296
|
+
unless context.config.regional_endpoint
|
297
|
+
endpoint = context.config.endpoint.to_s
|
298
|
+
end
|
299
|
+
Aws::AppSync::EndpointParameters.new(
|
300
|
+
region: context.config.region,
|
301
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
302
|
+
use_fips: context.config.use_fips_endpoint,
|
303
|
+
endpoint: endpoint,
|
304
|
+
)
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
class DisassociateSourceGraphqlApi
|
309
|
+
def self.build(context)
|
310
|
+
unless context.config.regional_endpoint
|
311
|
+
endpoint = context.config.endpoint.to_s
|
312
|
+
end
|
313
|
+
Aws::AppSync::EndpointParameters.new(
|
314
|
+
region: context.config.region,
|
315
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
316
|
+
use_fips: context.config.use_fips_endpoint,
|
317
|
+
endpoint: endpoint,
|
318
|
+
)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
266
322
|
class EvaluateCode
|
267
323
|
def self.build(context)
|
268
324
|
unless context.config.regional_endpoint
|
@@ -431,6 +487,20 @@ module Aws::AppSync
|
|
431
487
|
end
|
432
488
|
end
|
433
489
|
|
490
|
+
class GetSourceApiAssociation
|
491
|
+
def self.build(context)
|
492
|
+
unless context.config.regional_endpoint
|
493
|
+
endpoint = context.config.endpoint.to_s
|
494
|
+
end
|
495
|
+
Aws::AppSync::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
|
+
|
434
504
|
class GetType
|
435
505
|
def self.build(context)
|
436
506
|
unless context.config.regional_endpoint
|
@@ -543,6 +613,20 @@ module Aws::AppSync
|
|
543
613
|
end
|
544
614
|
end
|
545
615
|
|
616
|
+
class ListSourceApiAssociations
|
617
|
+
def self.build(context)
|
618
|
+
unless context.config.regional_endpoint
|
619
|
+
endpoint = context.config.endpoint.to_s
|
620
|
+
end
|
621
|
+
Aws::AppSync::EndpointParameters.new(
|
622
|
+
region: context.config.region,
|
623
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
624
|
+
use_fips: context.config.use_fips_endpoint,
|
625
|
+
endpoint: endpoint,
|
626
|
+
)
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
546
630
|
class ListTagsForResource
|
547
631
|
def self.build(context)
|
548
632
|
unless context.config.regional_endpoint
|
@@ -571,6 +655,20 @@ module Aws::AppSync
|
|
571
655
|
end
|
572
656
|
end
|
573
657
|
|
658
|
+
class ListTypesByAssociation
|
659
|
+
def self.build(context)
|
660
|
+
unless context.config.regional_endpoint
|
661
|
+
endpoint = context.config.endpoint.to_s
|
662
|
+
end
|
663
|
+
Aws::AppSync::EndpointParameters.new(
|
664
|
+
region: context.config.region,
|
665
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
666
|
+
use_fips: context.config.use_fips_endpoint,
|
667
|
+
endpoint: endpoint,
|
668
|
+
)
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
574
672
|
class StartSchemaCreation
|
575
673
|
def self.build(context)
|
576
674
|
unless context.config.regional_endpoint
|
@@ -585,6 +683,20 @@ module Aws::AppSync
|
|
585
683
|
end
|
586
684
|
end
|
587
685
|
|
686
|
+
class StartSchemaMerge
|
687
|
+
def self.build(context)
|
688
|
+
unless context.config.regional_endpoint
|
689
|
+
endpoint = context.config.endpoint.to_s
|
690
|
+
end
|
691
|
+
Aws::AppSync::EndpointParameters.new(
|
692
|
+
region: context.config.region,
|
693
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
694
|
+
use_fips: context.config.use_fips_endpoint,
|
695
|
+
endpoint: endpoint,
|
696
|
+
)
|
697
|
+
end
|
698
|
+
end
|
699
|
+
|
588
700
|
class TagResource
|
589
701
|
def self.build(context)
|
590
702
|
unless context.config.regional_endpoint
|
@@ -711,6 +823,20 @@ module Aws::AppSync
|
|
711
823
|
end
|
712
824
|
end
|
713
825
|
|
826
|
+
class UpdateSourceApiAssociation
|
827
|
+
def self.build(context)
|
828
|
+
unless context.config.regional_endpoint
|
829
|
+
endpoint = context.config.endpoint.to_s
|
830
|
+
end
|
831
|
+
Aws::AppSync::EndpointParameters.new(
|
832
|
+
region: context.config.region,
|
833
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
834
|
+
use_fips: context.config.use_fips_endpoint,
|
835
|
+
endpoint: endpoint,
|
836
|
+
)
|
837
|
+
end
|
838
|
+
end
|
839
|
+
|
714
840
|
class UpdateType
|
715
841
|
def self.build(context)
|
716
842
|
unless context.config.regional_endpoint
|
@@ -58,6 +58,10 @@ module Aws::AppSync
|
|
58
58
|
case context.operation_name
|
59
59
|
when :associate_api
|
60
60
|
Aws::AppSync::Endpoints::AssociateApi.build(context)
|
61
|
+
when :associate_merged_graphql_api
|
62
|
+
Aws::AppSync::Endpoints::AssociateMergedGraphqlApi.build(context)
|
63
|
+
when :associate_source_graphql_api
|
64
|
+
Aws::AppSync::Endpoints::AssociateSourceGraphqlApi.build(context)
|
61
65
|
when :create_api_cache
|
62
66
|
Aws::AppSync::Endpoints::CreateApiCache.build(context)
|
63
67
|
when :create_api_key
|
@@ -92,6 +96,10 @@ module Aws::AppSync
|
|
92
96
|
Aws::AppSync::Endpoints::DeleteType.build(context)
|
93
97
|
when :disassociate_api
|
94
98
|
Aws::AppSync::Endpoints::DisassociateApi.build(context)
|
99
|
+
when :disassociate_merged_graphql_api
|
100
|
+
Aws::AppSync::Endpoints::DisassociateMergedGraphqlApi.build(context)
|
101
|
+
when :disassociate_source_graphql_api
|
102
|
+
Aws::AppSync::Endpoints::DisassociateSourceGraphqlApi.build(context)
|
95
103
|
when :evaluate_code
|
96
104
|
Aws::AppSync::Endpoints::EvaluateCode.build(context)
|
97
105
|
when :evaluate_mapping_template
|
@@ -116,6 +124,8 @@ module Aws::AppSync
|
|
116
124
|
Aws::AppSync::Endpoints::GetResolver.build(context)
|
117
125
|
when :get_schema_creation_status
|
118
126
|
Aws::AppSync::Endpoints::GetSchemaCreationStatus.build(context)
|
127
|
+
when :get_source_api_association
|
128
|
+
Aws::AppSync::Endpoints::GetSourceApiAssociation.build(context)
|
119
129
|
when :get_type
|
120
130
|
Aws::AppSync::Endpoints::GetType.build(context)
|
121
131
|
when :list_api_keys
|
@@ -132,12 +142,18 @@ module Aws::AppSync
|
|
132
142
|
Aws::AppSync::Endpoints::ListResolvers.build(context)
|
133
143
|
when :list_resolvers_by_function
|
134
144
|
Aws::AppSync::Endpoints::ListResolversByFunction.build(context)
|
145
|
+
when :list_source_api_associations
|
146
|
+
Aws::AppSync::Endpoints::ListSourceApiAssociations.build(context)
|
135
147
|
when :list_tags_for_resource
|
136
148
|
Aws::AppSync::Endpoints::ListTagsForResource.build(context)
|
137
149
|
when :list_types
|
138
150
|
Aws::AppSync::Endpoints::ListTypes.build(context)
|
151
|
+
when :list_types_by_association
|
152
|
+
Aws::AppSync::Endpoints::ListTypesByAssociation.build(context)
|
139
153
|
when :start_schema_creation
|
140
154
|
Aws::AppSync::Endpoints::StartSchemaCreation.build(context)
|
155
|
+
when :start_schema_merge
|
156
|
+
Aws::AppSync::Endpoints::StartSchemaMerge.build(context)
|
141
157
|
when :tag_resource
|
142
158
|
Aws::AppSync::Endpoints::TagResource.build(context)
|
143
159
|
when :untag_resource
|
@@ -156,6 +172,8 @@ module Aws::AppSync
|
|
156
172
|
Aws::AppSync::Endpoints::UpdateGraphqlApi.build(context)
|
157
173
|
when :update_resolver
|
158
174
|
Aws::AppSync::Endpoints::UpdateResolver.build(context)
|
175
|
+
when :update_source_api_association
|
176
|
+
Aws::AppSync::Endpoints::UpdateSourceApiAssociation.build(context)
|
159
177
|
when :update_type
|
160
178
|
Aws::AppSync::Endpoints::UpdateType.build(context)
|
161
179
|
end
|