aws-sdk 2.1383.0 → 2.1385.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.
@@ -388,7 +388,7 @@ declare namespace ApplicationAutoScaling {
388
388
  export type MetricNamespace = string;
389
389
  export type MetricScale = number;
390
390
  export type MetricStatistic = "Average"|"Minimum"|"Maximum"|"SampleCount"|"Sum"|string;
391
- export type MetricType = "DynamoDBReadCapacityUtilization"|"DynamoDBWriteCapacityUtilization"|"ALBRequestCountPerTarget"|"RDSReaderAverageCPUUtilization"|"RDSReaderAverageDatabaseConnections"|"EC2SpotFleetRequestAverageCPUUtilization"|"EC2SpotFleetRequestAverageNetworkIn"|"EC2SpotFleetRequestAverageNetworkOut"|"SageMakerVariantInvocationsPerInstance"|"ECSServiceAverageCPUUtilization"|"ECSServiceAverageMemoryUtilization"|"AppStreamAverageCapacityUtilization"|"ComprehendInferenceUtilization"|"LambdaProvisionedConcurrencyUtilization"|"CassandraReadCapacityUtilization"|"CassandraWriteCapacityUtilization"|"KafkaBrokerStorageUtilization"|"ElastiCachePrimaryEngineCPUUtilization"|"ElastiCacheReplicaEngineCPUUtilization"|"ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage"|"NeptuneReaderAverageCPUUtilization"|"SageMakerVariantProvisionedConcurrencyUtilization"|string;
391
+ export type MetricType = "DynamoDBReadCapacityUtilization"|"DynamoDBWriteCapacityUtilization"|"ALBRequestCountPerTarget"|"RDSReaderAverageCPUUtilization"|"RDSReaderAverageDatabaseConnections"|"EC2SpotFleetRequestAverageCPUUtilization"|"EC2SpotFleetRequestAverageNetworkIn"|"EC2SpotFleetRequestAverageNetworkOut"|"SageMakerVariantInvocationsPerInstance"|"ECSServiceAverageCPUUtilization"|"ECSServiceAverageMemoryUtilization"|"AppStreamAverageCapacityUtilization"|"ComprehendInferenceUtilization"|"LambdaProvisionedConcurrencyUtilization"|"CassandraReadCapacityUtilization"|"CassandraWriteCapacityUtilization"|"KafkaBrokerStorageUtilization"|"ElastiCachePrimaryEngineCPUUtilization"|"ElastiCacheReplicaEngineCPUUtilization"|"ElastiCacheDatabaseMemoryUsageCountedForEvictPercentage"|"NeptuneReaderAverageCPUUtilization"|"SageMakerVariantProvisionedConcurrencyUtilization"|"ElastiCacheDatabaseCapacityUsageCountedForEvictPercentage"|string;
392
392
  export type MetricUnit = string;
393
393
  export type MinAdjustmentMagnitude = number;
394
394
  export interface NotScaledReason {
@@ -516,7 +516,7 @@ declare namespace ApplicationAutoScaling {
516
516
  */
517
517
  ScalableDimension: ScalableDimension;
518
518
  /**
519
- * The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand. This property is required when registering a new scalable target. For the following resources, the minimum value allowed is 0. AppStream 2.0 fleets Aurora DB clusters ECS services EMR clusters Lambda provisioned concurrency SageMaker Serverless endpoint provisioned concurrency SageMaker endpoint variants Spot Fleets custom resources It's strongly recommended that you specify a value greater than 0. A value greater than 0 means that data points are continuously reported to CloudWatch that scaling policies can use to scale on a metric like average CPU utilization. For all other resources, the minimum allowed value depends on the type of resource that you are using. If you provide a value that is lower than what a resource can accept, an error occurs. In which case, the error message will provide the minimum value that the resource can accept.
519
+ * The minimum value that you plan to scale in to. When a scaling policy is in effect, Application Auto Scaling can scale in (contract) as needed to the minimum capacity limit in response to changing demand. This property is required when registering a new scalable target. For the following resources, the minimum value allowed is 0. AppStream 2.0 fleets Aurora DB clusters ECS services EMR clusters Lambda provisioned concurrency SageMaker endpoint variants SageMaker Serverless endpoint provisioned concurrency Spot Fleets custom resources It's strongly recommended that you specify a value greater than 0. A value greater than 0 means that data points are continuously reported to CloudWatch that scaling policies can use to scale on a metric like average CPU utilization. For all other resources, the minimum allowed value depends on the type of resource that you are using. If you provide a value that is lower than what a resource can accept, an error occurs. In which case, the error message will provide the minimum value that the resource can accept.
520
520
  */
521
521
  MinCapacity?: ResourceCapacity;
522
522
  /**
@@ -754,7 +754,7 @@ declare namespace ApplicationAutoScaling {
754
754
  */
755
755
  MetricIntervalUpperBound?: MetricScale;
756
756
  /**
757
- * The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a positive value.
757
+ * The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a non-negative value.
758
758
  */
759
759
  ScalingAdjustment: ScalingAdjustment;
760
760
  }
@@ -773,7 +773,7 @@ declare namespace ApplicationAutoScaling {
773
773
  */
774
774
  MinAdjustmentMagnitude?: MinAdjustmentMagnitude;
775
775
  /**
776
- * The amount of time, in seconds, to wait for a previous scaling activity to take effect. With scale-out policies, the intention is to continuously (but not excessively) scale out. After Application Auto Scaling successfully scales out using a step scaling policy, it starts to calculate the cooldown time. The scaling policy won't increase the desired capacity again unless either a larger scale out is triggered or the cooldown period ends. While the cooldown period is in effect, capacity added by the initiating scale-out activity is calculated as part of the desired capacity for the next scale-out activity. For example, when an alarm triggers a step scaling policy to increase the capacity by 2, the scaling activity completes successfully, and a cooldown period starts. If the alarm triggers again during the cooldown period but at a more aggressive step adjustment of 3, the previous increase of 2 is considered part of the current capacity. Therefore, only 1 is added to the capacity. With scale-in policies, the intention is to scale in conservatively to protect your application’s availability, so scale-in activities are blocked until the cooldown period has expired. However, if another alarm triggers a scale-out activity during the cooldown period after a scale-in activity, Application Auto Scaling scales out the target immediately. In this case, the cooldown period for the scale-in activity stops and doesn't complete. Application Auto Scaling provides a default value of 600 for Amazon ElastiCache replication groups and a default value of 300 for the following scalable targets: AppStream 2.0 fleets Aurora DB clusters ECS services EMR clusters Neptune clusters SageMaker Serverless endpoint provisioned concurrency SageMaker endpoint variants Spot Fleets Custom resources For all other scalable targets, the default value is 0: Amazon Comprehend document classification and entity recognizer endpoints DynamoDB tables and global secondary indexes Amazon Keyspaces tables Lambda provisioned concurrency Amazon MSK broker storage
776
+ * The amount of time, in seconds, to wait for a previous scaling activity to take effect. If not specified, the default value is 300. For more information, see Cooldown period in the Application Auto Scaling User Guide.
777
777
  */
778
778
  Cooldown?: Cooldown;
779
779
  /**
@@ -892,11 +892,11 @@ declare namespace ApplicationAutoScaling {
892
892
  */
893
893
  CustomizedMetricSpecification?: CustomizedMetricSpecification;
894
894
  /**
895
- * The amount of time, in seconds, to wait for a previous scale-out activity to take effect. With the scale-out cooldown period, the intention is to continuously (but not excessively) scale out. After Application Auto Scaling successfully scales out using a target tracking scaling policy, it starts to calculate the cooldown time. The scaling policy won't increase the desired capacity again unless either a larger scale out is triggered or the cooldown period ends. While the cooldown period is in effect, the capacity added by the initiating scale-out activity is calculated as part of the desired capacity for the next scale-out activity. Application Auto Scaling provides a default value of 600 for Amazon ElastiCache replication groups and a default value of 300 for the following scalable targets: AppStream 2.0 fleets Aurora DB clusters ECS services EMR clusters Neptune clusters SageMaker Serverless endpoint provisioned concurrency SageMaker endpoint variants Spot Fleets Custom resources For all other scalable targets, the default value is 0: Amazon Comprehend document classification and entity recognizer endpoints DynamoDB tables and global secondary indexes Amazon Keyspaces tables Lambda provisioned concurrency Amazon MSK broker storage
895
+ * The amount of time, in seconds, to wait for a previous scale-out activity to take effect. For more information and for default values, see Define cooldown periods in the Application Auto Scaling User Guide.
896
896
  */
897
897
  ScaleOutCooldown?: Cooldown;
898
898
  /**
899
- * The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. With the scale-in cooldown period, the intention is to scale in conservatively to protect your application’s availability, so scale-in activities are blocked until the cooldown period has expired. However, if another alarm triggers a scale-out activity during the scale-in cooldown period, Application Auto Scaling scales out the target immediately. In this case, the scale-in cooldown period stops and doesn't complete. Application Auto Scaling provides a default value of 600 for Amazon ElastiCache replication groups and a default value of 300 for the following scalable targets: AppStream 2.0 fleets Aurora DB clusters ECS services EMR clusters Neptune clusters SageMaker Serverless endpoint provisioned concurrency SageMaker endpoint variants Spot Fleets Custom resources For all other scalable targets, the default value is 0: Amazon Comprehend document classification and entity recognizer endpoints DynamoDB tables and global secondary indexes Amazon Keyspaces tables Lambda provisioned concurrency Amazon MSK broker storage
899
+ * The amount of time, in seconds, after a scale-in activity completes before another scale-in activity can start. For more information and for default values, see Define cooldown periods in the Application Auto Scaling User Guide.
900
900
  */
901
901
  ScaleInCooldown?: Cooldown;
902
902
  /**
@@ -19,6 +19,22 @@ declare class AppSync extends Service {
19
19
  * Maps an endpoint to your custom domain.
20
20
  */
21
21
  associateApi(callback?: (err: AWSError, data: AppSync.Types.AssociateApiResponse) => void): Request<AppSync.Types.AssociateApiResponse, AWSError>;
22
+ /**
23
+ * Creates an association between a Merged API and source API using the source API's identifier.
24
+ */
25
+ associateMergedGraphqlApi(params: AppSync.Types.AssociateMergedGraphqlApiRequest, callback?: (err: AWSError, data: AppSync.Types.AssociateMergedGraphqlApiResponse) => void): Request<AppSync.Types.AssociateMergedGraphqlApiResponse, AWSError>;
26
+ /**
27
+ * Creates an association between a Merged API and source API using the source API's identifier.
28
+ */
29
+ associateMergedGraphqlApi(callback?: (err: AWSError, data: AppSync.Types.AssociateMergedGraphqlApiResponse) => void): Request<AppSync.Types.AssociateMergedGraphqlApiResponse, AWSError>;
30
+ /**
31
+ * Creates an association between a Merged API and source API using the Merged API's identifier.
32
+ */
33
+ associateSourceGraphqlApi(params: AppSync.Types.AssociateSourceGraphqlApiRequest, callback?: (err: AWSError, data: AppSync.Types.AssociateSourceGraphqlApiResponse) => void): Request<AppSync.Types.AssociateSourceGraphqlApiResponse, AWSError>;
34
+ /**
35
+ * Creates an association between a Merged API and source API using the Merged API's identifier.
36
+ */
37
+ associateSourceGraphqlApi(callback?: (err: AWSError, data: AppSync.Types.AssociateSourceGraphqlApiResponse) => void): Request<AppSync.Types.AssociateSourceGraphqlApiResponse, AWSError>;
22
38
  /**
23
39
  * Creates a cache for the GraphQL API.
24
40
  */
@@ -155,6 +171,22 @@ declare class AppSync extends Service {
155
171
  * Removes an ApiAssociation object from a custom domain.
156
172
  */
157
173
  disassociateApi(callback?: (err: AWSError, data: AppSync.Types.DisassociateApiResponse) => void): Request<AppSync.Types.DisassociateApiResponse, AWSError>;
174
+ /**
175
+ * Deletes an association between a Merged API and source API using the source API's identifier and the association ID.
176
+ */
177
+ disassociateMergedGraphqlApi(params: AppSync.Types.DisassociateMergedGraphqlApiRequest, callback?: (err: AWSError, data: AppSync.Types.DisassociateMergedGraphqlApiResponse) => void): Request<AppSync.Types.DisassociateMergedGraphqlApiResponse, AWSError>;
178
+ /**
179
+ * Deletes an association between a Merged API and source API using the source API's identifier and the association ID.
180
+ */
181
+ disassociateMergedGraphqlApi(callback?: (err: AWSError, data: AppSync.Types.DisassociateMergedGraphqlApiResponse) => void): Request<AppSync.Types.DisassociateMergedGraphqlApiResponse, AWSError>;
182
+ /**
183
+ * Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.
184
+ */
185
+ disassociateSourceGraphqlApi(params: AppSync.Types.DisassociateSourceGraphqlApiRequest, callback?: (err: AWSError, data: AppSync.Types.DisassociateSourceGraphqlApiResponse) => void): Request<AppSync.Types.DisassociateSourceGraphqlApiResponse, AWSError>;
186
+ /**
187
+ * Deletes an association between a Merged API and source API using the Merged API's identifier and the association ID.
188
+ */
189
+ disassociateSourceGraphqlApi(callback?: (err: AWSError, data: AppSync.Types.DisassociateSourceGraphqlApiResponse) => void): Request<AppSync.Types.DisassociateSourceGraphqlApiResponse, AWSError>;
158
190
  /**
159
191
  * Evaluates the given code and returns the response. The code definition requirements depend on the specified runtime. For APPSYNC_JS runtimes, the code defines the request and response functions. The request function takes the incoming request after a GraphQL operation is parsed and converts it into a request configuration for the selected data source operation. The response function interprets responses from the data source and maps it to the shape of the GraphQL field output type.
160
192
  */
@@ -251,6 +283,14 @@ declare class AppSync extends Service {
251
283
  * Retrieves the current status of a schema creation operation.
252
284
  */
253
285
  getSchemaCreationStatus(callback?: (err: AWSError, data: AppSync.Types.GetSchemaCreationStatusResponse) => void): Request<AppSync.Types.GetSchemaCreationStatusResponse, AWSError>;
286
+ /**
287
+ * Retrieves a SourceApiAssociation object.
288
+ */
289
+ getSourceApiAssociation(params: AppSync.Types.GetSourceApiAssociationRequest, callback?: (err: AWSError, data: AppSync.Types.GetSourceApiAssociationResponse) => void): Request<AppSync.Types.GetSourceApiAssociationResponse, AWSError>;
290
+ /**
291
+ * Retrieves a SourceApiAssociation object.
292
+ */
293
+ getSourceApiAssociation(callback?: (err: AWSError, data: AppSync.Types.GetSourceApiAssociationResponse) => void): Request<AppSync.Types.GetSourceApiAssociationResponse, AWSError>;
254
294
  /**
255
295
  * Retrieves a Type object.
256
296
  */
@@ -315,6 +355,14 @@ declare class AppSync extends Service {
315
355
  * List the resolvers that are associated with a specific function.
316
356
  */
317
357
  listResolversByFunction(callback?: (err: AWSError, data: AppSync.Types.ListResolversByFunctionResponse) => void): Request<AppSync.Types.ListResolversByFunctionResponse, AWSError>;
358
+ /**
359
+ * Lists the SourceApiAssociationSummary data.
360
+ */
361
+ listSourceApiAssociations(params: AppSync.Types.ListSourceApiAssociationsRequest, callback?: (err: AWSError, data: AppSync.Types.ListSourceApiAssociationsResponse) => void): Request<AppSync.Types.ListSourceApiAssociationsResponse, AWSError>;
362
+ /**
363
+ * Lists the SourceApiAssociationSummary data.
364
+ */
365
+ listSourceApiAssociations(callback?: (err: AWSError, data: AppSync.Types.ListSourceApiAssociationsResponse) => void): Request<AppSync.Types.ListSourceApiAssociationsResponse, AWSError>;
318
366
  /**
319
367
  * Lists the tags for a resource.
320
368
  */
@@ -331,6 +379,14 @@ declare class AppSync extends Service {
331
379
  * Lists the types for a given API.
332
380
  */
333
381
  listTypes(callback?: (err: AWSError, data: AppSync.Types.ListTypesResponse) => void): Request<AppSync.Types.ListTypesResponse, AWSError>;
382
+ /**
383
+ * Lists Type objects by the source API association ID.
384
+ */
385
+ listTypesByAssociation(params: AppSync.Types.ListTypesByAssociationRequest, callback?: (err: AWSError, data: AppSync.Types.ListTypesByAssociationResponse) => void): Request<AppSync.Types.ListTypesByAssociationResponse, AWSError>;
386
+ /**
387
+ * Lists Type objects by the source API association ID.
388
+ */
389
+ listTypesByAssociation(callback?: (err: AWSError, data: AppSync.Types.ListTypesByAssociationResponse) => void): Request<AppSync.Types.ListTypesByAssociationResponse, AWSError>;
334
390
  /**
335
391
  * Adds a new schema to your GraphQL API. This operation is asynchronous. Use to determine when it has completed.
336
392
  */
@@ -339,6 +395,14 @@ declare class AppSync extends Service {
339
395
  * Adds a new schema to your GraphQL API. This operation is asynchronous. Use to determine when it has completed.
340
396
  */
341
397
  startSchemaCreation(callback?: (err: AWSError, data: AppSync.Types.StartSchemaCreationResponse) => void): Request<AppSync.Types.StartSchemaCreationResponse, AWSError>;
398
+ /**
399
+ * Initiates a merge operation. Returns a status that shows the result of the merge operation.
400
+ */
401
+ startSchemaMerge(params: AppSync.Types.StartSchemaMergeRequest, callback?: (err: AWSError, data: AppSync.Types.StartSchemaMergeResponse) => void): Request<AppSync.Types.StartSchemaMergeResponse, AWSError>;
402
+ /**
403
+ * Initiates a merge operation. Returns a status that shows the result of the merge operation.
404
+ */
405
+ startSchemaMerge(callback?: (err: AWSError, data: AppSync.Types.StartSchemaMergeResponse) => void): Request<AppSync.Types.StartSchemaMergeResponse, AWSError>;
342
406
  /**
343
407
  * Tags a resource with user-supplied tags.
344
408
  */
@@ -411,6 +475,14 @@ declare class AppSync extends Service {
411
475
  * Updates a Resolver object.
412
476
  */
413
477
  updateResolver(callback?: (err: AWSError, data: AppSync.Types.UpdateResolverResponse) => void): Request<AppSync.Types.UpdateResolverResponse, AWSError>;
478
+ /**
479
+ * Updates some of the configuration choices of a particular source API association.
480
+ */
481
+ updateSourceApiAssociation(params: AppSync.Types.UpdateSourceApiAssociationRequest, callback?: (err: AWSError, data: AppSync.Types.UpdateSourceApiAssociationResponse) => void): Request<AppSync.Types.UpdateSourceApiAssociationResponse, AWSError>;
482
+ /**
483
+ * Updates some of the configuration choices of a particular source API association.
484
+ */
485
+ updateSourceApiAssociation(callback?: (err: AWSError, data: AppSync.Types.UpdateSourceApiAssociationResponse) => void): Request<AppSync.Types.UpdateSourceApiAssociationResponse, AWSError>;
414
486
  /**
415
487
  * Updates a Type object.
416
488
  */
@@ -532,6 +604,54 @@ declare namespace AppSync {
532
604
  */
533
605
  apiAssociation?: ApiAssociation;
534
606
  }
607
+ export interface AssociateMergedGraphqlApiRequest {
608
+ /**
609
+ * The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.
610
+ */
611
+ sourceApiIdentifier: String;
612
+ /**
613
+ * The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
614
+ */
615
+ mergedApiIdentifier: String;
616
+ /**
617
+ * The description field.
618
+ */
619
+ description?: String;
620
+ /**
621
+ * The SourceApiAssociationConfig object data.
622
+ */
623
+ sourceApiAssociationConfig?: SourceApiAssociationConfig;
624
+ }
625
+ export interface AssociateMergedGraphqlApiResponse {
626
+ /**
627
+ * The SourceApiAssociation object data.
628
+ */
629
+ sourceApiAssociation?: SourceApiAssociation;
630
+ }
631
+ export interface AssociateSourceGraphqlApiRequest {
632
+ /**
633
+ * The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
634
+ */
635
+ mergedApiIdentifier: String;
636
+ /**
637
+ * The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.
638
+ */
639
+ sourceApiIdentifier: String;
640
+ /**
641
+ * The description field.
642
+ */
643
+ description?: String;
644
+ /**
645
+ * The SourceApiAssociationConfig object data.
646
+ */
647
+ sourceApiAssociationConfig?: SourceApiAssociationConfig;
648
+ }
649
+ export interface AssociateSourceGraphqlApiResponse {
650
+ /**
651
+ * The SourceApiAssociation object data.
652
+ */
653
+ sourceApiAssociation?: SourceApiAssociation;
654
+ }
535
655
  export type AssociationStatus = "PROCESSING"|"FAILED"|"SUCCESS"|string;
536
656
  export type AuthenticationType = "API_KEY"|"AWS_IAM"|"AMAZON_COGNITO_USER_POOLS"|"OPENID_CONNECT"|"AWS_LAMBDA"|string;
537
657
  export interface AuthorizationConfig {
@@ -835,6 +955,18 @@ declare namespace AppSync {
835
955
  * Sets the value of the GraphQL API to public (GLOBAL) or private (PRIVATE). If no value is provided, the visibility will be set to GLOBAL by default. This value cannot be changed once the API has been created.
836
956
  */
837
957
  visibility?: GraphQLApiVisibility;
958
+ /**
959
+ * The value that indicates whether the GraphQL API is a standard API (GRAPHQL) or merged API (MERGED).
960
+ */
961
+ apiType?: GraphQLApiType;
962
+ /**
963
+ * The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this role on behalf of the Merged API to validate access to source APIs at runtime and to prompt the AUTO_MERGE to update the merged API endpoint with the source API changes automatically.
964
+ */
965
+ mergedApiExecutionRoleArn?: String;
966
+ /**
967
+ * The owner contact information for an API resource. This field accepts any string input with a length of 0 - 256 characters.
968
+ */
969
+ ownerContact?: String;
838
970
  }
839
971
  export interface CreateGraphqlApiResponse {
840
972
  /**
@@ -971,6 +1103,7 @@ declare namespace AppSync {
971
1103
  }
972
1104
  export type DataSourceType = "AWS_LAMBDA"|"AMAZON_DYNAMODB"|"AMAZON_ELASTICSEARCH"|"NONE"|"HTTP"|"RELATIONAL_DATABASE"|"AMAZON_OPENSEARCH_SERVICE"|"AMAZON_EVENTBRIDGE"|string;
973
1105
  export type DataSources = DataSource[];
1106
+ export type _Date = Date;
974
1107
  export type DefaultAction = "ALLOW"|"DENY"|string;
975
1108
  export interface DeleteApiCacheRequest {
976
1109
  /**
@@ -1083,6 +1216,38 @@ declare namespace AppSync {
1083
1216
  }
1084
1217
  export interface DisassociateApiResponse {
1085
1218
  }
1219
+ export interface DisassociateMergedGraphqlApiRequest {
1220
+ /**
1221
+ * The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.
1222
+ */
1223
+ sourceApiIdentifier: String;
1224
+ /**
1225
+ * The ID generated by the AppSync service for the source API association.
1226
+ */
1227
+ associationId: String;
1228
+ }
1229
+ export interface DisassociateMergedGraphqlApiResponse {
1230
+ /**
1231
+ * The state of the source API association.
1232
+ */
1233
+ sourceApiAssociationStatus?: SourceApiAssociationStatus;
1234
+ }
1235
+ export interface DisassociateSourceGraphqlApiRequest {
1236
+ /**
1237
+ * The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
1238
+ */
1239
+ mergedApiIdentifier: String;
1240
+ /**
1241
+ * The ID generated by the AppSync service for the source API association.
1242
+ */
1243
+ associationId: String;
1244
+ }
1245
+ export interface DisassociateSourceGraphqlApiResponse {
1246
+ /**
1247
+ * The state of the source API association.
1248
+ */
1249
+ sourceApiAssociationStatus?: SourceApiAssociationStatus;
1250
+ }
1086
1251
  export type DomainName = string;
1087
1252
  export interface DomainNameConfig {
1088
1253
  /**
@@ -1410,6 +1575,22 @@ declare namespace AppSync {
1410
1575
  */
1411
1576
  details?: String;
1412
1577
  }
1578
+ export interface GetSourceApiAssociationRequest {
1579
+ /**
1580
+ * The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
1581
+ */
1582
+ mergedApiIdentifier: String;
1583
+ /**
1584
+ * The ID generated by the AppSync service for the source API association.
1585
+ */
1586
+ associationId: String;
1587
+ }
1588
+ export interface GetSourceApiAssociationResponse {
1589
+ /**
1590
+ * The SourceApiAssociation object data.
1591
+ */
1592
+ sourceApiAssociation?: SourceApiAssociation;
1593
+ }
1413
1594
  export interface GetTypeRequest {
1414
1595
  /**
1415
1596
  * The API ID.
@@ -1430,6 +1611,7 @@ declare namespace AppSync {
1430
1611
  */
1431
1612
  type?: Type;
1432
1613
  }
1614
+ export type GraphQLApiType = "GRAPHQL"|"MERGED"|string;
1433
1615
  export type GraphQLApiVisibility = "GLOBAL"|"PRIVATE"|string;
1434
1616
  export interface GraphqlApi {
1435
1617
  /**
@@ -1492,6 +1674,22 @@ declare namespace AppSync {
1492
1674
  * Sets the value of the GraphQL API to public (GLOBAL) or private (PRIVATE). If no value is provided, the visibility will be set to GLOBAL by default. This value cannot be changed once the API has been created.
1493
1675
  */
1494
1676
  visibility?: GraphQLApiVisibility;
1677
+ /**
1678
+ * The value that indicates whether the GraphQL API is a standard API (GRAPHQL) or merged API (MERGED).
1679
+ */
1680
+ apiType?: GraphQLApiType;
1681
+ /**
1682
+ * The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this role on behalf of the Merged API to validate access to source APIs at runtime and to prompt the AUTO_MERGE to update the merged API endpoint with the source API changes automatically.
1683
+ */
1684
+ mergedApiExecutionRoleArn?: String;
1685
+ /**
1686
+ * The account owner of the GraphQL API.
1687
+ */
1688
+ owner?: String;
1689
+ /**
1690
+ * The owner contact information for an API resource. This field accepts any string input with a length of 0 - 256 characters.
1691
+ */
1692
+ ownerContact?: String;
1495
1693
  }
1496
1694
  export type GraphqlApis = GraphqlApi[];
1497
1695
  export interface HttpDataSourceConfig {
@@ -1580,7 +1778,7 @@ declare namespace AppSync {
1580
1778
  }
1581
1779
  export interface ListDomainNamesRequest {
1582
1780
  /**
1583
- * The API token.
1781
+ * An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
1584
1782
  */
1585
1783
  nextToken?: PaginationToken;
1586
1784
  /**
@@ -1594,7 +1792,7 @@ declare namespace AppSync {
1594
1792
  */
1595
1793
  domainNameConfigs?: DomainNameConfigs;
1596
1794
  /**
1597
- * The API token.
1795
+ * An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
1598
1796
  */
1599
1797
  nextToken?: PaginationToken;
1600
1798
  }
@@ -1631,6 +1829,14 @@ declare namespace AppSync {
1631
1829
  * The maximum number of results that you want the request to return.
1632
1830
  */
1633
1831
  maxResults?: MaxResults;
1832
+ /**
1833
+ * The value that indicates whether the GraphQL API is a standard API (GRAPHQL) or merged API (MERGED).
1834
+ */
1835
+ apiType?: GraphQLApiType;
1836
+ /**
1837
+ * The account owner of the GraphQL API.
1838
+ */
1839
+ owner?: Ownership;
1634
1840
  }
1635
1841
  export interface ListGraphqlApisResponse {
1636
1842
  /**
@@ -1698,6 +1904,30 @@ declare namespace AppSync {
1698
1904
  */
1699
1905
  nextToken?: PaginationToken;
1700
1906
  }
1907
+ export interface ListSourceApiAssociationsRequest {
1908
+ /**
1909
+ * The API ID.
1910
+ */
1911
+ apiId: String;
1912
+ /**
1913
+ * An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
1914
+ */
1915
+ nextToken?: PaginationToken;
1916
+ /**
1917
+ * The maximum number of results that you want the request to return.
1918
+ */
1919
+ maxResults?: MaxResults;
1920
+ }
1921
+ export interface ListSourceApiAssociationsResponse {
1922
+ /**
1923
+ * The SourceApiAssociationSummary object data.
1924
+ */
1925
+ sourceApiAssociationSummaries?: SourceApiAssociationSummaryList;
1926
+ /**
1927
+ * An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
1928
+ */
1929
+ nextToken?: PaginationToken;
1930
+ }
1701
1931
  export interface ListTagsForResourceRequest {
1702
1932
  /**
1703
1933
  * The GraphqlApi Amazon Resource Name (ARN).
@@ -1710,6 +1940,38 @@ declare namespace AppSync {
1710
1940
  */
1711
1941
  tags?: TagMap;
1712
1942
  }
1943
+ export interface ListTypesByAssociationRequest {
1944
+ /**
1945
+ * The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
1946
+ */
1947
+ mergedApiIdentifier: String;
1948
+ /**
1949
+ * The ID generated by the AppSync service for the source API association.
1950
+ */
1951
+ associationId: String;
1952
+ /**
1953
+ * The format type.
1954
+ */
1955
+ format: TypeDefinitionFormat;
1956
+ /**
1957
+ * An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
1958
+ */
1959
+ nextToken?: PaginationToken;
1960
+ /**
1961
+ * The maximum number of results that you want the request to return.
1962
+ */
1963
+ maxResults?: MaxResults;
1964
+ }
1965
+ export interface ListTypesByAssociationResponse {
1966
+ /**
1967
+ * The Type objects.
1968
+ */
1969
+ types?: TypeList;
1970
+ /**
1971
+ * An identifier that was returned from the previous call to this operation, which you can use to return the next set of items in the list.
1972
+ */
1973
+ nextToken?: PaginationToken;
1974
+ }
1713
1975
  export interface ListTypesRequest {
1714
1976
  /**
1715
1977
  * The API ID.
@@ -1758,6 +2020,7 @@ declare namespace AppSync {
1758
2020
  export type MappingTemplate = string;
1759
2021
  export type MaxBatchSize = number;
1760
2022
  export type MaxResults = number;
2023
+ export type MergeType = "MANUAL_MERGE"|"AUTO_MERGE"|string;
1761
2024
  export interface OpenIDConnectConfig {
1762
2025
  /**
1763
2026
  * The issuer for the OIDC configuration. The issuer returned by discovery must exactly match the value of iss in the ID token.
@@ -1787,6 +2050,7 @@ declare namespace AppSync {
1787
2050
  awsRegion: String;
1788
2051
  }
1789
2052
  export type OutputType = "SDL"|"JSON"|string;
2053
+ export type Ownership = "CURRENT_ACCOUNT"|"OTHER_ACCOUNTS"|string;
1790
2054
  export type PaginationToken = string;
1791
2055
  export interface PipelineConfig {
1792
2056
  /**
@@ -1884,6 +2148,90 @@ declare namespace AppSync {
1884
2148
  export type ResourceName = string;
1885
2149
  export type RuntimeName = "APPSYNC_JS"|string;
1886
2150
  export type SchemaStatus = "PROCESSING"|"ACTIVE"|"DELETING"|"FAILED"|"SUCCESS"|"NOT_APPLICABLE"|string;
2151
+ export interface SourceApiAssociation {
2152
+ /**
2153
+ * The ID generated by the AppSync service for the source API association.
2154
+ */
2155
+ associationId?: String;
2156
+ /**
2157
+ * The Amazon Resource Name (ARN) of the source API association.
2158
+ */
2159
+ associationArn?: String;
2160
+ /**
2161
+ * The ID of the AppSync source API.
2162
+ */
2163
+ sourceApiId?: String;
2164
+ /**
2165
+ * The Amazon Resource Name (ARN) of the AppSync source API.
2166
+ */
2167
+ sourceApiArn?: String;
2168
+ /**
2169
+ * The Amazon Resource Name (ARN) of the AppSync Merged API.
2170
+ */
2171
+ mergedApiArn?: String;
2172
+ /**
2173
+ * The ID of the AppSync Merged API.
2174
+ */
2175
+ mergedApiId?: String;
2176
+ /**
2177
+ * The description field.
2178
+ */
2179
+ description?: String;
2180
+ /**
2181
+ * The SourceApiAssociationConfig object data.
2182
+ */
2183
+ sourceApiAssociationConfig?: SourceApiAssociationConfig;
2184
+ /**
2185
+ * The state of the source API association.
2186
+ */
2187
+ sourceApiAssociationStatus?: SourceApiAssociationStatus;
2188
+ /**
2189
+ * The detailed message related to the current state of the source API association.
2190
+ */
2191
+ sourceApiAssociationStatusDetail?: String;
2192
+ /**
2193
+ * The datetime value of the last successful merge of the source API association. The result will be in UTC format and your local time zone.
2194
+ */
2195
+ lastSuccessfulMergeDate?: _Date;
2196
+ }
2197
+ export interface SourceApiAssociationConfig {
2198
+ /**
2199
+ * The property that indicates which merging option is enabled in the source API association. Valid merge types are MANUAL_MERGE (default) and AUTO_MERGE. Manual merges are the default behavior and require the user to trigger any changes from the source APIs to the merged API manually. Auto merges subscribe the merged API to the changes performed on the source APIs so that any change in the source APIs are also made to the merged API. Auto merges use MergedApiExecutionRoleArn to perform merge operations.
2200
+ */
2201
+ mergeType?: MergeType;
2202
+ }
2203
+ export type SourceApiAssociationStatus = "MERGE_SCHEDULED"|"MERGE_FAILED"|"MERGE_SUCCESS"|"MERGE_IN_PROGRESS"|"AUTO_MERGE_SCHEDULE_FAILED"|"DELETION_SCHEDULED"|"DELETION_IN_PROGRESS"|"DELETION_FAILED"|string;
2204
+ export interface SourceApiAssociationSummary {
2205
+ /**
2206
+ * The ID generated by the AppSync service for the source API association.
2207
+ */
2208
+ associationId?: String;
2209
+ /**
2210
+ * The Amazon Resource Name (ARN) of the source API association.
2211
+ */
2212
+ associationArn?: String;
2213
+ /**
2214
+ * The ID of the AppSync source API.
2215
+ */
2216
+ sourceApiId?: String;
2217
+ /**
2218
+ * The Amazon Resource Name (ARN) of the AppSync Source API.
2219
+ */
2220
+ sourceApiArn?: String;
2221
+ /**
2222
+ * The ID of the AppSync Merged API.
2223
+ */
2224
+ mergedApiId?: String;
2225
+ /**
2226
+ * The Amazon Resource Name (ARN) of the AppSync Merged API.
2227
+ */
2228
+ mergedApiArn?: String;
2229
+ /**
2230
+ * The description field.
2231
+ */
2232
+ description?: String;
2233
+ }
2234
+ export type SourceApiAssociationSummaryList = SourceApiAssociationSummary[];
1887
2235
  export interface StartSchemaCreationRequest {
1888
2236
  /**
1889
2237
  * The API ID.
@@ -1900,6 +2248,22 @@ declare namespace AppSync {
1900
2248
  */
1901
2249
  status?: SchemaStatus;
1902
2250
  }
2251
+ export interface StartSchemaMergeRequest {
2252
+ /**
2253
+ * The ID generated by the AppSync service for the source API association.
2254
+ */
2255
+ associationId: String;
2256
+ /**
2257
+ * The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
2258
+ */
2259
+ mergedApiIdentifier: String;
2260
+ }
2261
+ export interface StartSchemaMergeResponse {
2262
+ /**
2263
+ * The state of the source API association.
2264
+ */
2265
+ sourceApiAssociationStatus?: SourceApiAssociationStatus;
2266
+ }
1903
2267
  export type String = string;
1904
2268
  export interface SyncConfig {
1905
2269
  /**
@@ -2176,6 +2540,14 @@ declare namespace AppSync {
2176
2540
  * Configuration for Lambda function authorization.
2177
2541
  */
2178
2542
  lambdaAuthorizerConfig?: LambdaAuthorizerConfig;
2543
+ /**
2544
+ * The Identity and Access Management service role ARN for a merged API. The AppSync service assumes this role on behalf of the Merged API to validate access to source APIs at runtime and to prompt the AUTO_MERGE to update the merged API endpoint with the source API changes automatically.
2545
+ */
2546
+ mergedApiExecutionRoleArn?: String;
2547
+ /**
2548
+ * The owner contact information for an API resource. This field accepts any string input with a length of 0 - 256 characters.
2549
+ */
2550
+ ownerContact?: String;
2179
2551
  }
2180
2552
  export interface UpdateGraphqlApiResponse {
2181
2553
  /**
@@ -2240,6 +2612,30 @@ declare namespace AppSync {
2240
2612
  */
2241
2613
  resolver?: Resolver;
2242
2614
  }
2615
+ export interface UpdateSourceApiAssociationRequest {
2616
+ /**
2617
+ * The ID generated by the AppSync service for the source API association.
2618
+ */
2619
+ associationId: String;
2620
+ /**
2621
+ * The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs in other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.
2622
+ */
2623
+ mergedApiIdentifier: String;
2624
+ /**
2625
+ * The description field.
2626
+ */
2627
+ description?: String;
2628
+ /**
2629
+ * The SourceApiAssociationConfig object data.
2630
+ */
2631
+ sourceApiAssociationConfig?: SourceApiAssociationConfig;
2632
+ }
2633
+ export interface UpdateSourceApiAssociationResponse {
2634
+ /**
2635
+ * The SourceApiAssociation object data.
2636
+ */
2637
+ sourceApiAssociation?: SourceApiAssociation;
2638
+ }
2243
2639
  export interface UpdateTypeRequest {
2244
2640
  /**
2245
2641
  * The API ID.