@aws-sdk/client-appsync 3.325.0 → 3.327.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.
Files changed (65) hide show
  1. package/README.md +2 -2
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-cjs/models/models_0.js +5 -1
  4. package/dist-cjs/protocols/Aws_restJson1.js +1 -0
  5. package/dist-es/endpoint/ruleset.js +3 -3
  6. package/dist-es/models/models_0.js +4 -0
  7. package/dist-es/protocols/Aws_restJson1.js +1 -0
  8. package/dist-types/AppSync.d.ts +2 -2
  9. package/dist-types/AppSyncClient.d.ts +2 -2
  10. package/dist-types/commands/AssociateApiCommand.d.ts +15 -3
  11. package/dist-types/commands/CreateApiCacheCommand.d.ts +19 -5
  12. package/dist-types/commands/CreateApiKeyCommand.d.ts +15 -3
  13. package/dist-types/commands/CreateDataSourceCommand.d.ts +63 -5
  14. package/dist-types/commands/CreateDomainNameCommand.d.ts +14 -2
  15. package/dist-types/commands/CreateFunctionCommand.d.ts +34 -4
  16. package/dist-types/commands/CreateGraphqlApiCommand.d.ts +71 -4
  17. package/dist-types/commands/CreateResolverCommand.d.ts +46 -7
  18. package/dist-types/commands/CreateTypeCommand.d.ts +18 -5
  19. package/dist-types/commands/DeleteApiCacheCommand.d.ts +10 -5
  20. package/dist-types/commands/DeleteApiKeyCommand.d.ts +8 -3
  21. package/dist-types/commands/DeleteDataSourceCommand.d.ts +10 -5
  22. package/dist-types/commands/DeleteDomainNameCommand.d.ts +10 -5
  23. package/dist-types/commands/DeleteFunctionCommand.d.ts +8 -3
  24. package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +10 -5
  25. package/dist-types/commands/DeleteResolverCommand.d.ts +10 -5
  26. package/dist-types/commands/DeleteTypeCommand.d.ts +10 -5
  27. package/dist-types/commands/DisassociateApiCommand.d.ts +10 -5
  28. package/dist-types/commands/EvaluateCodeCommand.d.ts +31 -7
  29. package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +20 -7
  30. package/dist-types/commands/FlushApiCacheCommand.d.ts +10 -5
  31. package/dist-types/commands/GetApiAssociationCommand.d.ts +15 -3
  32. package/dist-types/commands/GetApiCacheCommand.d.ts +19 -5
  33. package/dist-types/commands/GetDataSourceCommand.d.ts +63 -5
  34. package/dist-types/commands/GetDomainNameCommand.d.ts +16 -3
  35. package/dist-types/commands/GetFunctionCommand.d.ts +32 -3
  36. package/dist-types/commands/GetGraphqlApiCommand.d.ts +70 -3
  37. package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +8 -1
  38. package/dist-types/commands/GetResolverCommand.d.ts +42 -3
  39. package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +11 -3
  40. package/dist-types/commands/GetTypeCommand.d.ts +18 -5
  41. package/dist-types/commands/ListApiKeysCommand.d.ts +22 -6
  42. package/dist-types/commands/ListDataSourcesCommand.d.ts +64 -3
  43. package/dist-types/commands/ListDomainNamesCommand.d.ts +17 -2
  44. package/dist-types/commands/ListFunctionsCommand.d.ts +35 -3
  45. package/dist-types/commands/ListGraphqlApisCommand.d.ts +71 -2
  46. package/dist-types/commands/ListResolversByFunctionCommand.d.ts +45 -3
  47. package/dist-types/commands/ListResolversCommand.d.ts +45 -3
  48. package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -3
  49. package/dist-types/commands/ListTypesCommand.d.ts +21 -5
  50. package/dist-types/commands/StartSchemaCreationCommand.d.ts +14 -7
  51. package/dist-types/commands/TagResourceCommand.d.ts +8 -3
  52. package/dist-types/commands/UntagResourceCommand.d.ts +8 -3
  53. package/dist-types/commands/UpdateApiCacheCommand.d.ts +19 -5
  54. package/dist-types/commands/UpdateApiKeyCommand.d.ts +15 -3
  55. package/dist-types/commands/UpdateDataSourceCommand.d.ts +63 -5
  56. package/dist-types/commands/UpdateDomainNameCommand.d.ts +18 -5
  57. package/dist-types/commands/UpdateFunctionCommand.d.ts +32 -3
  58. package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +72 -5
  59. package/dist-types/commands/UpdateResolverCommand.d.ts +44 -5
  60. package/dist-types/commands/UpdateTypeCommand.d.ts +18 -5
  61. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  62. package/dist-types/models/models_0.d.ts +383 -287
  63. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  64. package/dist-types/ts3.4/models/models_0.d.ts +9 -0
  65. package/package.json +7 -7
@@ -31,6 +31,15 @@ export interface GetApiAssociationCommandOutput extends GetApiAssociationRespons
31
31
  * };
32
32
  * const command = new GetApiAssociationCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetApiAssociationResponse
35
+ * // apiAssociation: { // ApiAssociation
36
+ * // domainName: "STRING_VALUE",
37
+ * // apiId: "STRING_VALUE",
38
+ * // associationStatus: "PROCESSING" || "FAILED" || "SUCCESS",
39
+ * // deploymentDetail: "STRING_VALUE",
40
+ * // },
41
+ * // };
42
+ *
34
43
  * ```
35
44
  *
36
45
  * @param GetApiAssociationCommandInput - {@link GetApiAssociationCommandInput}
@@ -43,15 +52,18 @@ export interface GetApiAssociationCommandOutput extends GetApiAssociationRespons
43
52
  * <p>You don't have access to perform this operation on this resource.</p>
44
53
  *
45
54
  * @throws {@link BadRequestException} (client fault)
46
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
47
- * field values, and then try again.</p>
55
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
56
+ * missing. Check the field values, and then try again.</p>
48
57
  *
49
58
  * @throws {@link InternalFailureException} (server fault)
50
59
  * <p>An internal AppSync error occurred. Try your request again.</p>
51
60
  *
52
61
  * @throws {@link NotFoundException} (client fault)
53
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
62
+ * <p>The resource specified in the request was not found. Check the resource, and then try
63
+ * again.</p>
54
64
  *
65
+ * @throws {@link AppSyncServiceException}
66
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
55
67
  *
56
68
  */
57
69
  export declare class GetApiAssociationCommand extends $Command<GetApiAssociationCommandInput, GetApiAssociationCommandOutput, AppSyncClientResolvedConfig> {
@@ -31,6 +31,17 @@ export interface GetApiCacheCommandOutput extends GetApiCacheResponse, __Metadat
31
31
  * };
32
32
  * const command = new GetApiCacheCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetApiCacheResponse
35
+ * // apiCache: { // ApiCache
36
+ * // ttl: Number("long"),
37
+ * // apiCachingBehavior: "FULL_REQUEST_CACHING" || "PER_RESOLVER_CACHING",
38
+ * // transitEncryptionEnabled: true || false,
39
+ * // atRestEncryptionEnabled: true || false,
40
+ * // type: "T2_SMALL" || "T2_MEDIUM" || "R4_LARGE" || "R4_XLARGE" || "R4_2XLARGE" || "R4_4XLARGE" || "R4_8XLARGE" || "SMALL" || "MEDIUM" || "LARGE" || "XLARGE" || "LARGE_2X" || "LARGE_4X" || "LARGE_8X" || "LARGE_12X",
41
+ * // status: "AVAILABLE" || "CREATING" || "DELETING" || "MODIFYING" || "FAILED",
42
+ * // },
43
+ * // };
44
+ *
34
45
  * ```
35
46
  *
36
47
  * @param GetApiCacheCommandInput - {@link GetApiCacheCommandInput}
@@ -40,22 +51,25 @@ export interface GetApiCacheCommandOutput extends GetApiCacheResponse, __Metadat
40
51
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
41
52
  *
42
53
  * @throws {@link BadRequestException} (client fault)
43
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
44
- * field values, and then try again.</p>
54
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
55
+ * missing. Check the field values, and then try again.</p>
45
56
  *
46
57
  * @throws {@link ConcurrentModificationException} (client fault)
47
- * <p>Another modification is in progress at this time and it must complete before you can make your
48
- * change.</p>
58
+ * <p>Another modification is in progress at this time and it must complete before you can
59
+ * make your change.</p>
49
60
  *
50
61
  * @throws {@link InternalFailureException} (server fault)
51
62
  * <p>An internal AppSync error occurred. Try your request again.</p>
52
63
  *
53
64
  * @throws {@link NotFoundException} (client fault)
54
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
65
+ * <p>The resource specified in the request was not found. Check the resource, and then try
66
+ * again.</p>
55
67
  *
56
68
  * @throws {@link UnauthorizedException} (client fault)
57
69
  * <p>You aren't authorized to perform this operation.</p>
58
70
  *
71
+ * @throws {@link AppSyncServiceException}
72
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
59
73
  *
60
74
  */
61
75
  export declare class GetApiCacheCommand extends $Command<GetApiCacheCommandInput, GetApiCacheCommandOutput, AppSyncClientResolvedConfig> {
@@ -32,6 +32,61 @@ export interface GetDataSourceCommandOutput extends GetDataSourceResponse, __Met
32
32
  * };
33
33
  * const command = new GetDataSourceCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetDataSourceResponse
36
+ * // dataSource: { // DataSource
37
+ * // dataSourceArn: "STRING_VALUE",
38
+ * // name: "STRING_VALUE",
39
+ * // description: "STRING_VALUE",
40
+ * // type: "AWS_LAMBDA" || "AMAZON_DYNAMODB" || "AMAZON_ELASTICSEARCH" || "NONE" || "HTTP" || "RELATIONAL_DATABASE" || "AMAZON_OPENSEARCH_SERVICE" || "AMAZON_EVENTBRIDGE",
41
+ * // serviceRoleArn: "STRING_VALUE",
42
+ * // dynamodbConfig: { // DynamodbDataSourceConfig
43
+ * // tableName: "STRING_VALUE", // required
44
+ * // awsRegion: "STRING_VALUE", // required
45
+ * // useCallerCredentials: true || false,
46
+ * // deltaSyncConfig: { // DeltaSyncConfig
47
+ * // baseTableTTL: Number("long"),
48
+ * // deltaSyncTableName: "STRING_VALUE",
49
+ * // deltaSyncTableTTL: Number("long"),
50
+ * // },
51
+ * // versioned: true || false,
52
+ * // },
53
+ * // lambdaConfig: { // LambdaDataSourceConfig
54
+ * // lambdaFunctionArn: "STRING_VALUE", // required
55
+ * // },
56
+ * // elasticsearchConfig: { // ElasticsearchDataSourceConfig
57
+ * // endpoint: "STRING_VALUE", // required
58
+ * // awsRegion: "STRING_VALUE", // required
59
+ * // },
60
+ * // openSearchServiceConfig: { // OpenSearchServiceDataSourceConfig
61
+ * // endpoint: "STRING_VALUE", // required
62
+ * // awsRegion: "STRING_VALUE", // required
63
+ * // },
64
+ * // httpConfig: { // HttpDataSourceConfig
65
+ * // endpoint: "STRING_VALUE",
66
+ * // authorizationConfig: { // AuthorizationConfig
67
+ * // authorizationType: "AWS_IAM", // required
68
+ * // awsIamConfig: { // AwsIamConfig
69
+ * // signingRegion: "STRING_VALUE",
70
+ * // signingServiceName: "STRING_VALUE",
71
+ * // },
72
+ * // },
73
+ * // },
74
+ * // relationalDatabaseConfig: { // RelationalDatabaseDataSourceConfig
75
+ * // relationalDatabaseSourceType: "RDS_HTTP_ENDPOINT",
76
+ * // rdsHttpEndpointConfig: { // RdsHttpEndpointConfig
77
+ * // awsRegion: "STRING_VALUE",
78
+ * // dbClusterIdentifier: "STRING_VALUE",
79
+ * // databaseName: "STRING_VALUE",
80
+ * // schema: "STRING_VALUE",
81
+ * // awsSecretStoreArn: "STRING_VALUE",
82
+ * // },
83
+ * // },
84
+ * // eventBridgeConfig: { // EventBridgeDataSourceConfig
85
+ * // eventBusArn: "STRING_VALUE", // required
86
+ * // },
87
+ * // },
88
+ * // };
89
+ *
35
90
  * ```
36
91
  *
37
92
  * @param GetDataSourceCommandInput - {@link GetDataSourceCommandInput}
@@ -41,22 +96,25 @@ export interface GetDataSourceCommandOutput extends GetDataSourceResponse, __Met
41
96
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
42
97
  *
43
98
  * @throws {@link BadRequestException} (client fault)
44
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
45
- * field values, and then try again.</p>
99
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
100
+ * missing. Check the field values, and then try again.</p>
46
101
  *
47
102
  * @throws {@link ConcurrentModificationException} (client fault)
48
- * <p>Another modification is in progress at this time and it must complete before you can make your
49
- * change.</p>
103
+ * <p>Another modification is in progress at this time and it must complete before you can
104
+ * make your change.</p>
50
105
  *
51
106
  * @throws {@link InternalFailureException} (server fault)
52
107
  * <p>An internal AppSync error occurred. Try your request again.</p>
53
108
  *
54
109
  * @throws {@link NotFoundException} (client fault)
55
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
110
+ * <p>The resource specified in the request was not found. Check the resource, and then try
111
+ * again.</p>
56
112
  *
57
113
  * @throws {@link UnauthorizedException} (client fault)
58
114
  * <p>You aren't authorized to perform this operation.</p>
59
115
  *
116
+ * @throws {@link AppSyncServiceException}
117
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
60
118
  *
61
119
  */
62
120
  export declare class GetDataSourceCommand extends $Command<GetDataSourceCommandInput, GetDataSourceCommandOutput, AppSyncClientResolvedConfig> {
@@ -31,6 +31,16 @@ export interface GetDomainNameCommandOutput extends GetDomainNameResponse, __Met
31
31
  * };
32
32
  * const command = new GetDomainNameCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetDomainNameResponse
35
+ * // domainNameConfig: { // DomainNameConfig
36
+ * // domainName: "STRING_VALUE",
37
+ * // description: "STRING_VALUE",
38
+ * // certificateArn: "STRING_VALUE",
39
+ * // appsyncDomainName: "STRING_VALUE",
40
+ * // hostedZoneId: "STRING_VALUE",
41
+ * // },
42
+ * // };
43
+ *
34
44
  * ```
35
45
  *
36
46
  * @param GetDomainNameCommandInput - {@link GetDomainNameCommandInput}
@@ -43,15 +53,18 @@ export interface GetDomainNameCommandOutput extends GetDomainNameResponse, __Met
43
53
  * <p>You don't have access to perform this operation on this resource.</p>
44
54
  *
45
55
  * @throws {@link BadRequestException} (client fault)
46
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
47
- * field values, and then try again.</p>
56
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
57
+ * missing. Check the field values, and then try again.</p>
48
58
  *
49
59
  * @throws {@link InternalFailureException} (server fault)
50
60
  * <p>An internal AppSync error occurred. Try your request again.</p>
51
61
  *
52
62
  * @throws {@link NotFoundException} (client fault)
53
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
63
+ * <p>The resource specified in the request was not found. Check the resource, and then try
64
+ * again.</p>
54
65
  *
66
+ * @throws {@link AppSyncServiceException}
67
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
55
68
  *
56
69
  */
57
70
  export declare class GetDomainNameCommand extends $Command<GetDomainNameCommandInput, GetDomainNameCommandOutput, AppSyncClientResolvedConfig> {
@@ -32,6 +32,32 @@ export interface GetFunctionCommandOutput extends GetFunctionResponse, __Metadat
32
32
  * };
33
33
  * const command = new GetFunctionCommand(input);
34
34
  * const response = await client.send(command);
35
+ * // { // GetFunctionResponse
36
+ * // functionConfiguration: { // FunctionConfiguration
37
+ * // functionId: "STRING_VALUE",
38
+ * // functionArn: "STRING_VALUE",
39
+ * // name: "STRING_VALUE",
40
+ * // description: "STRING_VALUE",
41
+ * // dataSourceName: "STRING_VALUE",
42
+ * // requestMappingTemplate: "STRING_VALUE",
43
+ * // responseMappingTemplate: "STRING_VALUE",
44
+ * // functionVersion: "STRING_VALUE",
45
+ * // syncConfig: { // SyncConfig
46
+ * // conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
47
+ * // conflictDetection: "VERSION" || "NONE",
48
+ * // lambdaConflictHandlerConfig: { // LambdaConflictHandlerConfig
49
+ * // lambdaConflictHandlerArn: "STRING_VALUE",
50
+ * // },
51
+ * // },
52
+ * // maxBatchSize: Number("int"),
53
+ * // runtime: { // AppSyncRuntime
54
+ * // name: "APPSYNC_JS", // required
55
+ * // runtimeVersion: "STRING_VALUE", // required
56
+ * // },
57
+ * // code: "STRING_VALUE",
58
+ * // },
59
+ * // };
60
+ *
35
61
  * ```
36
62
  *
37
63
  * @param GetFunctionCommandInput - {@link GetFunctionCommandInput}
@@ -41,15 +67,18 @@ export interface GetFunctionCommandOutput extends GetFunctionResponse, __Metadat
41
67
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
42
68
  *
43
69
  * @throws {@link ConcurrentModificationException} (client fault)
44
- * <p>Another modification is in progress at this time and it must complete before you can make your
45
- * change.</p>
70
+ * <p>Another modification is in progress at this time and it must complete before you can
71
+ * make your change.</p>
46
72
  *
47
73
  * @throws {@link NotFoundException} (client fault)
48
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
74
+ * <p>The resource specified in the request was not found. Check the resource, and then try
75
+ * again.</p>
49
76
  *
50
77
  * @throws {@link UnauthorizedException} (client fault)
51
78
  * <p>You aren't authorized to perform this operation.</p>
52
79
  *
80
+ * @throws {@link AppSyncServiceException}
81
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
53
82
  *
54
83
  */
55
84
  export declare class GetFunctionCommand extends $Command<GetFunctionCommandInput, GetFunctionCommandOutput, AppSyncClientResolvedConfig> {
@@ -31,6 +31,70 @@ export interface GetGraphqlApiCommandOutput extends GetGraphqlApiResponse, __Met
31
31
  * };
32
32
  * const command = new GetGraphqlApiCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetGraphqlApiResponse
35
+ * // graphqlApi: { // GraphqlApi
36
+ * // name: "STRING_VALUE",
37
+ * // apiId: "STRING_VALUE",
38
+ * // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
39
+ * // logConfig: { // LogConfig
40
+ * // fieldLogLevel: "NONE" || "ERROR" || "ALL", // required
41
+ * // cloudWatchLogsRoleArn: "STRING_VALUE", // required
42
+ * // excludeVerboseContent: true || false,
43
+ * // },
44
+ * // userPoolConfig: { // UserPoolConfig
45
+ * // userPoolId: "STRING_VALUE", // required
46
+ * // awsRegion: "STRING_VALUE", // required
47
+ * // defaultAction: "ALLOW" || "DENY", // required
48
+ * // appIdClientRegex: "STRING_VALUE",
49
+ * // },
50
+ * // openIDConnectConfig: { // OpenIDConnectConfig
51
+ * // issuer: "STRING_VALUE", // required
52
+ * // clientId: "STRING_VALUE",
53
+ * // iatTTL: Number("long"),
54
+ * // authTTL: Number("long"),
55
+ * // },
56
+ * // arn: "STRING_VALUE",
57
+ * // uris: { // MapOfStringToString
58
+ * // "<keys>": "STRING_VALUE",
59
+ * // },
60
+ * // tags: { // TagMap
61
+ * // "<keys>": "STRING_VALUE",
62
+ * // },
63
+ * // additionalAuthenticationProviders: [ // AdditionalAuthenticationProviders
64
+ * // { // AdditionalAuthenticationProvider
65
+ * // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
66
+ * // openIDConnectConfig: {
67
+ * // issuer: "STRING_VALUE", // required
68
+ * // clientId: "STRING_VALUE",
69
+ * // iatTTL: Number("long"),
70
+ * // authTTL: Number("long"),
71
+ * // },
72
+ * // userPoolConfig: { // CognitoUserPoolConfig
73
+ * // userPoolId: "STRING_VALUE", // required
74
+ * // awsRegion: "STRING_VALUE", // required
75
+ * // appIdClientRegex: "STRING_VALUE",
76
+ * // },
77
+ * // lambdaAuthorizerConfig: { // LambdaAuthorizerConfig
78
+ * // authorizerResultTtlInSeconds: Number("int"),
79
+ * // authorizerUri: "STRING_VALUE", // required
80
+ * // identityValidationExpression: "STRING_VALUE",
81
+ * // },
82
+ * // },
83
+ * // ],
84
+ * // xrayEnabled: true || false,
85
+ * // wafWebAclArn: "STRING_VALUE",
86
+ * // lambdaAuthorizerConfig: {
87
+ * // authorizerResultTtlInSeconds: Number("int"),
88
+ * // authorizerUri: "STRING_VALUE", // required
89
+ * // identityValidationExpression: "STRING_VALUE",
90
+ * // },
91
+ * // dns: {
92
+ * // "<keys>": "STRING_VALUE",
93
+ * // },
94
+ * // visibility: "GLOBAL" || "PRIVATE",
95
+ * // },
96
+ * // };
97
+ *
34
98
  * ```
35
99
  *
36
100
  * @param GetGraphqlApiCommandInput - {@link GetGraphqlApiCommandInput}
@@ -43,18 +107,21 @@ export interface GetGraphqlApiCommandOutput extends GetGraphqlApiResponse, __Met
43
107
  * <p>You don't have access to perform this operation on this resource.</p>
44
108
  *
45
109
  * @throws {@link BadRequestException} (client fault)
46
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
47
- * field values, and then try again.</p>
110
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
111
+ * missing. Check the field values, and then try again.</p>
48
112
  *
49
113
  * @throws {@link InternalFailureException} (server fault)
50
114
  * <p>An internal AppSync error occurred. Try your request again.</p>
51
115
  *
52
116
  * @throws {@link NotFoundException} (client fault)
53
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
117
+ * <p>The resource specified in the request was not found. Check the resource, and then try
118
+ * again.</p>
54
119
  *
55
120
  * @throws {@link UnauthorizedException} (client fault)
56
121
  * <p>You aren't authorized to perform this operation.</p>
57
122
  *
123
+ * @throws {@link AppSyncServiceException}
124
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
58
125
  *
59
126
  */
60
127
  export declare class GetGraphqlApiCommand extends $Command<GetGraphqlApiCommandInput, GetGraphqlApiCommandOutput, AppSyncClientResolvedConfig> {
@@ -33,6 +33,10 @@ export interface GetIntrospectionSchemaCommandOutput extends GetIntrospectionSch
33
33
  * };
34
34
  * const command = new GetIntrospectionSchemaCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetIntrospectionSchemaResponse
37
+ * // schema: "BLOB_VALUE",
38
+ * // };
39
+ *
36
40
  * ```
37
41
  *
38
42
  * @param GetIntrospectionSchemaCommandInput - {@link GetIntrospectionSchemaCommandInput}
@@ -48,11 +52,14 @@ export interface GetIntrospectionSchemaCommandOutput extends GetIntrospectionSch
48
52
  * <p>An internal AppSync error occurred. Try your request again.</p>
49
53
  *
50
54
  * @throws {@link NotFoundException} (client fault)
51
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
55
+ * <p>The resource specified in the request was not found. Check the resource, and then try
56
+ * again.</p>
52
57
  *
53
58
  * @throws {@link UnauthorizedException} (client fault)
54
59
  * <p>You aren't authorized to perform this operation.</p>
55
60
  *
61
+ * @throws {@link AppSyncServiceException}
62
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
56
63
  *
57
64
  */
58
65
  export declare class GetIntrospectionSchemaCommand extends $Command<GetIntrospectionSchemaCommandInput, GetIntrospectionSchemaCommandOutput, AppSyncClientResolvedConfig> {
@@ -33,6 +33,42 @@ export interface GetResolverCommandOutput extends GetResolverResponse, __Metadat
33
33
  * };
34
34
  * const command = new GetResolverCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetResolverResponse
37
+ * // resolver: { // Resolver
38
+ * // typeName: "STRING_VALUE",
39
+ * // fieldName: "STRING_VALUE",
40
+ * // dataSourceName: "STRING_VALUE",
41
+ * // resolverArn: "STRING_VALUE",
42
+ * // requestMappingTemplate: "STRING_VALUE",
43
+ * // responseMappingTemplate: "STRING_VALUE",
44
+ * // kind: "UNIT" || "PIPELINE",
45
+ * // pipelineConfig: { // PipelineConfig
46
+ * // functions: [ // FunctionsIds
47
+ * // "STRING_VALUE",
48
+ * // ],
49
+ * // },
50
+ * // syncConfig: { // SyncConfig
51
+ * // conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
52
+ * // conflictDetection: "VERSION" || "NONE",
53
+ * // lambdaConflictHandlerConfig: { // LambdaConflictHandlerConfig
54
+ * // lambdaConflictHandlerArn: "STRING_VALUE",
55
+ * // },
56
+ * // },
57
+ * // cachingConfig: { // CachingConfig
58
+ * // ttl: Number("long"), // required
59
+ * // cachingKeys: [ // CachingKeys
60
+ * // "STRING_VALUE",
61
+ * // ],
62
+ * // },
63
+ * // maxBatchSize: Number("int"),
64
+ * // runtime: { // AppSyncRuntime
65
+ * // name: "APPSYNC_JS", // required
66
+ * // runtimeVersion: "STRING_VALUE", // required
67
+ * // },
68
+ * // code: "STRING_VALUE",
69
+ * // },
70
+ * // };
71
+ *
36
72
  * ```
37
73
  *
38
74
  * @param GetResolverCommandInput - {@link GetResolverCommandInput}
@@ -42,15 +78,18 @@ export interface GetResolverCommandOutput extends GetResolverResponse, __Metadat
42
78
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
43
79
  *
44
80
  * @throws {@link ConcurrentModificationException} (client fault)
45
- * <p>Another modification is in progress at this time and it must complete before you can make your
46
- * change.</p>
81
+ * <p>Another modification is in progress at this time and it must complete before you can
82
+ * make your change.</p>
47
83
  *
48
84
  * @throws {@link NotFoundException} (client fault)
49
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
85
+ * <p>The resource specified in the request was not found. Check the resource, and then try
86
+ * again.</p>
50
87
  *
51
88
  * @throws {@link UnauthorizedException} (client fault)
52
89
  * <p>You aren't authorized to perform this operation.</p>
53
90
  *
91
+ * @throws {@link AppSyncServiceException}
92
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
54
93
  *
55
94
  */
56
95
  export declare class GetResolverCommand extends $Command<GetResolverCommandInput, GetResolverCommandOutput, AppSyncClientResolvedConfig> {
@@ -31,6 +31,11 @@ export interface GetSchemaCreationStatusCommandOutput extends GetSchemaCreationS
31
31
  * };
32
32
  * const command = new GetSchemaCreationStatusCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // GetSchemaCreationStatusResponse
35
+ * // status: "PROCESSING" || "ACTIVE" || "DELETING" || "FAILED" || "SUCCESS" || "NOT_APPLICABLE",
36
+ * // details: "STRING_VALUE",
37
+ * // };
38
+ *
34
39
  * ```
35
40
  *
36
41
  * @param GetSchemaCreationStatusCommandInput - {@link GetSchemaCreationStatusCommandInput}
@@ -40,18 +45,21 @@ export interface GetSchemaCreationStatusCommandOutput extends GetSchemaCreationS
40
45
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
41
46
  *
42
47
  * @throws {@link BadRequestException} (client fault)
43
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
44
- * field values, and then try again.</p>
48
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
49
+ * missing. Check the field values, and then try again.</p>
45
50
  *
46
51
  * @throws {@link InternalFailureException} (server fault)
47
52
  * <p>An internal AppSync error occurred. Try your request again.</p>
48
53
  *
49
54
  * @throws {@link NotFoundException} (client fault)
50
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
55
+ * <p>The resource specified in the request was not found. Check the resource, and then try
56
+ * again.</p>
51
57
  *
52
58
  * @throws {@link UnauthorizedException} (client fault)
53
59
  * <p>You aren't authorized to perform this operation.</p>
54
60
  *
61
+ * @throws {@link AppSyncServiceException}
62
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
55
63
  *
56
64
  */
57
65
  export declare class GetSchemaCreationStatusCommand extends $Command<GetSchemaCreationStatusCommandInput, GetSchemaCreationStatusCommandOutput, AppSyncClientResolvedConfig> {
@@ -33,6 +33,16 @@ export interface GetTypeCommandOutput extends GetTypeResponse, __MetadataBearer
33
33
  * };
34
34
  * const command = new GetTypeCommand(input);
35
35
  * const response = await client.send(command);
36
+ * // { // GetTypeResponse
37
+ * // type: { // Type
38
+ * // name: "STRING_VALUE",
39
+ * // description: "STRING_VALUE",
40
+ * // arn: "STRING_VALUE",
41
+ * // definition: "STRING_VALUE",
42
+ * // format: "SDL" || "JSON",
43
+ * // },
44
+ * // };
45
+ *
36
46
  * ```
37
47
  *
38
48
  * @param GetTypeCommandInput - {@link GetTypeCommandInput}
@@ -42,22 +52,25 @@ export interface GetTypeCommandOutput extends GetTypeResponse, __MetadataBearer
42
52
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
43
53
  *
44
54
  * @throws {@link BadRequestException} (client fault)
45
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
46
- * field values, and then try again.</p>
55
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
56
+ * missing. Check the field values, and then try again.</p>
47
57
  *
48
58
  * @throws {@link ConcurrentModificationException} (client fault)
49
- * <p>Another modification is in progress at this time and it must complete before you can make your
50
- * change.</p>
59
+ * <p>Another modification is in progress at this time and it must complete before you can
60
+ * make your change.</p>
51
61
  *
52
62
  * @throws {@link InternalFailureException} (server fault)
53
63
  * <p>An internal AppSync error occurred. Try your request again.</p>
54
64
  *
55
65
  * @throws {@link NotFoundException} (client fault)
56
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
66
+ * <p>The resource specified in the request was not found. Check the resource, and then try
67
+ * again.</p>
57
68
  *
58
69
  * @throws {@link UnauthorizedException} (client fault)
59
70
  * <p>You aren't authorized to perform this operation.</p>
60
71
  *
72
+ * @throws {@link AppSyncServiceException}
73
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
61
74
  *
62
75
  */
63
76
  export declare class GetTypeCommand extends $Command<GetTypeCommandInput, GetTypeCommandOutput, AppSyncClientResolvedConfig> {
@@ -21,9 +21,10 @@ export interface ListApiKeysCommandOutput extends ListApiKeysResponse, __Metadat
21
21
  * @public
22
22
  * <p>Lists the API keys for a given API.</p>
23
23
  * <note>
24
- * <p>API keys are deleted automatically 60 days after they expire. However, they may still be included in the
25
- * response until they have actually been deleted. You can safely call <code>DeleteApiKey</code> to manually
26
- * delete a key before it's automatically deleted.</p>
24
+ * <p>API keys are deleted automatically 60 days after they expire. However, they may still
25
+ * be included in the response until they have actually been deleted. You can safely call
26
+ * <code>DeleteApiKey</code> to manually delete a key before it's automatically
27
+ * deleted.</p>
27
28
  * </note>
28
29
  * @example
29
30
  * Use a bare-bones client and the command you need to make an API call.
@@ -38,6 +39,18 @@ export interface ListApiKeysCommandOutput extends ListApiKeysResponse, __Metadat
38
39
  * };
39
40
  * const command = new ListApiKeysCommand(input);
40
41
  * const response = await client.send(command);
42
+ * // { // ListApiKeysResponse
43
+ * // apiKeys: [ // ApiKeys
44
+ * // { // ApiKey
45
+ * // id: "STRING_VALUE",
46
+ * // description: "STRING_VALUE",
47
+ * // expires: Number("long"),
48
+ * // deletes: Number("long"),
49
+ * // },
50
+ * // ],
51
+ * // nextToken: "STRING_VALUE",
52
+ * // };
53
+ *
41
54
  * ```
42
55
  *
43
56
  * @param ListApiKeysCommandInput - {@link ListApiKeysCommandInput}
@@ -47,18 +60,21 @@ export interface ListApiKeysCommandOutput extends ListApiKeysResponse, __Metadat
47
60
  * @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
48
61
  *
49
62
  * @throws {@link BadRequestException} (client fault)
50
- * <p>The request is not well formed. For example, a value is invalid or a required field is missing. Check the
51
- * field values, and then try again.</p>
63
+ * <p>The request is not well formed. For example, a value is invalid or a required field is
64
+ * missing. Check the field values, and then try again.</p>
52
65
  *
53
66
  * @throws {@link InternalFailureException} (server fault)
54
67
  * <p>An internal AppSync error occurred. Try your request again.</p>
55
68
  *
56
69
  * @throws {@link NotFoundException} (client fault)
57
- * <p>The resource specified in the request was not found. Check the resource, and then try again.</p>
70
+ * <p>The resource specified in the request was not found. Check the resource, and then try
71
+ * again.</p>
58
72
  *
59
73
  * @throws {@link UnauthorizedException} (client fault)
60
74
  * <p>You aren't authorized to perform this operation.</p>
61
75
  *
76
+ * @throws {@link AppSyncServiceException}
77
+ * <p>Base exception class for all service exceptions from AppSync service.</p>
62
78
  *
63
79
  */
64
80
  export declare class ListApiKeysCommand extends $Command<ListApiKeysCommandInput, ListApiKeysCommandOutput, AppSyncClientResolvedConfig> {