@aws-sdk/client-appsync 3.321.1 → 3.326.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.
- package/README.md +2 -2
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +5 -1
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/AppSync.d.ts +2 -2
- package/dist-types/AppSyncClient.d.ts +2 -2
- package/dist-types/commands/AssociateApiCommand.d.ts +15 -3
- package/dist-types/commands/CreateApiCacheCommand.d.ts +19 -5
- package/dist-types/commands/CreateApiKeyCommand.d.ts +15 -3
- package/dist-types/commands/CreateDataSourceCommand.d.ts +63 -5
- package/dist-types/commands/CreateDomainNameCommand.d.ts +14 -2
- package/dist-types/commands/CreateFunctionCommand.d.ts +34 -4
- package/dist-types/commands/CreateGraphqlApiCommand.d.ts +71 -4
- package/dist-types/commands/CreateResolverCommand.d.ts +46 -7
- package/dist-types/commands/CreateTypeCommand.d.ts +18 -5
- package/dist-types/commands/DeleteApiCacheCommand.d.ts +10 -5
- package/dist-types/commands/DeleteApiKeyCommand.d.ts +8 -3
- package/dist-types/commands/DeleteDataSourceCommand.d.ts +10 -5
- package/dist-types/commands/DeleteDomainNameCommand.d.ts +10 -5
- package/dist-types/commands/DeleteFunctionCommand.d.ts +8 -3
- package/dist-types/commands/DeleteGraphqlApiCommand.d.ts +10 -5
- package/dist-types/commands/DeleteResolverCommand.d.ts +10 -5
- package/dist-types/commands/DeleteTypeCommand.d.ts +10 -5
- package/dist-types/commands/DisassociateApiCommand.d.ts +10 -5
- package/dist-types/commands/EvaluateCodeCommand.d.ts +31 -7
- package/dist-types/commands/EvaluateMappingTemplateCommand.d.ts +20 -7
- package/dist-types/commands/FlushApiCacheCommand.d.ts +10 -5
- package/dist-types/commands/GetApiAssociationCommand.d.ts +15 -3
- package/dist-types/commands/GetApiCacheCommand.d.ts +19 -5
- package/dist-types/commands/GetDataSourceCommand.d.ts +63 -5
- package/dist-types/commands/GetDomainNameCommand.d.ts +16 -3
- package/dist-types/commands/GetFunctionCommand.d.ts +32 -3
- package/dist-types/commands/GetGraphqlApiCommand.d.ts +70 -3
- package/dist-types/commands/GetIntrospectionSchemaCommand.d.ts +8 -1
- package/dist-types/commands/GetResolverCommand.d.ts +42 -3
- package/dist-types/commands/GetSchemaCreationStatusCommand.d.ts +11 -3
- package/dist-types/commands/GetTypeCommand.d.ts +18 -5
- package/dist-types/commands/ListApiKeysCommand.d.ts +22 -6
- package/dist-types/commands/ListDataSourcesCommand.d.ts +64 -3
- package/dist-types/commands/ListDomainNamesCommand.d.ts +17 -2
- package/dist-types/commands/ListFunctionsCommand.d.ts +35 -3
- package/dist-types/commands/ListGraphqlApisCommand.d.ts +71 -2
- package/dist-types/commands/ListResolversByFunctionCommand.d.ts +45 -3
- package/dist-types/commands/ListResolversCommand.d.ts +45 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +12 -3
- package/dist-types/commands/ListTypesCommand.d.ts +21 -5
- package/dist-types/commands/StartSchemaCreationCommand.d.ts +14 -7
- package/dist-types/commands/TagResourceCommand.d.ts +8 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -3
- package/dist-types/commands/UpdateApiCacheCommand.d.ts +19 -5
- package/dist-types/commands/UpdateApiKeyCommand.d.ts +15 -3
- package/dist-types/commands/UpdateDataSourceCommand.d.ts +63 -5
- package/dist-types/commands/UpdateDomainNameCommand.d.ts +18 -5
- package/dist-types/commands/UpdateFunctionCommand.d.ts +32 -3
- package/dist-types/commands/UpdateGraphqlApiCommand.d.ts +72 -5
- package/dist-types/commands/UpdateResolverCommand.d.ts +44 -5
- package/dist-types/commands/UpdateTypeCommand.d.ts +18 -5
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +383 -287
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +9 -0
- package/package.json +16 -16
|
@@ -34,6 +34,17 @@ export interface UpdateApiCacheCommandOutput extends UpdateApiCacheResponse, __M
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UpdateApiCacheCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // UpdateApiCacheResponse
|
|
38
|
+
* // apiCache: { // ApiCache
|
|
39
|
+
* // ttl: Number("long"),
|
|
40
|
+
* // apiCachingBehavior: "FULL_REQUEST_CACHING" || "PER_RESOLVER_CACHING",
|
|
41
|
+
* // transitEncryptionEnabled: true || false,
|
|
42
|
+
* // atRestEncryptionEnabled: true || false,
|
|
43
|
+
* // 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",
|
|
44
|
+
* // status: "AVAILABLE" || "CREATING" || "DELETING" || "MODIFYING" || "FAILED",
|
|
45
|
+
* // },
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
37
48
|
* ```
|
|
38
49
|
*
|
|
39
50
|
* @param UpdateApiCacheCommandInput - {@link UpdateApiCacheCommandInput}
|
|
@@ -43,22 +54,25 @@ export interface UpdateApiCacheCommandOutput extends UpdateApiCacheResponse, __M
|
|
|
43
54
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
44
55
|
*
|
|
45
56
|
* @throws {@link BadRequestException} (client fault)
|
|
46
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
47
|
-
* field values, and then try again.</p>
|
|
57
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
58
|
+
* missing. Check the field values, and then try again.</p>
|
|
48
59
|
*
|
|
49
60
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
50
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
51
|
-
* change.</p>
|
|
61
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
62
|
+
* make your change.</p>
|
|
52
63
|
*
|
|
53
64
|
* @throws {@link InternalFailureException} (server fault)
|
|
54
65
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
55
66
|
*
|
|
56
67
|
* @throws {@link NotFoundException} (client fault)
|
|
57
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
68
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
69
|
+
* again.</p>
|
|
58
70
|
*
|
|
59
71
|
* @throws {@link UnauthorizedException} (client fault)
|
|
60
72
|
* <p>You aren't authorized to perform this operation.</p>
|
|
61
73
|
*
|
|
74
|
+
* @throws {@link AppSyncServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
62
76
|
*
|
|
63
77
|
*/
|
|
64
78
|
export declare class UpdateApiCacheCommand extends $Command<UpdateApiCacheCommandInput, UpdateApiCacheCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -34,6 +34,15 @@ export interface UpdateApiKeyCommandOutput extends UpdateApiKeyResponse, __Metad
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UpdateApiKeyCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // UpdateApiKeyResponse
|
|
38
|
+
* // apiKey: { // ApiKey
|
|
39
|
+
* // id: "STRING_VALUE",
|
|
40
|
+
* // description: "STRING_VALUE",
|
|
41
|
+
* // expires: Number("long"),
|
|
42
|
+
* // deletes: Number("long"),
|
|
43
|
+
* // },
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
37
46
|
* ```
|
|
38
47
|
*
|
|
39
48
|
* @param UpdateApiKeyCommandInput - {@link UpdateApiKeyCommandInput}
|
|
@@ -47,8 +56,8 @@ export interface UpdateApiKeyCommandOutput extends UpdateApiKeyResponse, __Metad
|
|
|
47
56
|
* <code>CreateApiKey</code>) or from update (for <code>UpdateApiKey</code>).</p>
|
|
48
57
|
*
|
|
49
58
|
* @throws {@link BadRequestException} (client fault)
|
|
50
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
51
|
-
* field values, and then try again.</p>
|
|
59
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
60
|
+
* missing. Check the field values, and then try again.</p>
|
|
52
61
|
*
|
|
53
62
|
* @throws {@link InternalFailureException} (server fault)
|
|
54
63
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
@@ -57,11 +66,14 @@ export interface UpdateApiKeyCommandOutput extends UpdateApiKeyResponse, __Metad
|
|
|
57
66
|
* <p>The request exceeded a limit. Try your request again.</p>
|
|
58
67
|
*
|
|
59
68
|
* @throws {@link NotFoundException} (client fault)
|
|
60
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
69
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
70
|
+
* again.</p>
|
|
61
71
|
*
|
|
62
72
|
* @throws {@link UnauthorizedException} (client fault)
|
|
63
73
|
* <p>You aren't authorized to perform this operation.</p>
|
|
64
74
|
*
|
|
75
|
+
* @throws {@link AppSyncServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
65
77
|
*
|
|
66
78
|
*/
|
|
67
79
|
export declare class UpdateApiKeyCommand extends $Command<UpdateApiKeyCommandInput, UpdateApiKeyCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -80,6 +80,61 @@ export interface UpdateDataSourceCommandOutput extends UpdateDataSourceResponse,
|
|
|
80
80
|
* };
|
|
81
81
|
* const command = new UpdateDataSourceCommand(input);
|
|
82
82
|
* const response = await client.send(command);
|
|
83
|
+
* // { // UpdateDataSourceResponse
|
|
84
|
+
* // dataSource: { // DataSource
|
|
85
|
+
* // dataSourceArn: "STRING_VALUE",
|
|
86
|
+
* // name: "STRING_VALUE",
|
|
87
|
+
* // description: "STRING_VALUE",
|
|
88
|
+
* // type: "AWS_LAMBDA" || "AMAZON_DYNAMODB" || "AMAZON_ELASTICSEARCH" || "NONE" || "HTTP" || "RELATIONAL_DATABASE" || "AMAZON_OPENSEARCH_SERVICE" || "AMAZON_EVENTBRIDGE",
|
|
89
|
+
* // serviceRoleArn: "STRING_VALUE",
|
|
90
|
+
* // dynamodbConfig: { // DynamodbDataSourceConfig
|
|
91
|
+
* // tableName: "STRING_VALUE", // required
|
|
92
|
+
* // awsRegion: "STRING_VALUE", // required
|
|
93
|
+
* // useCallerCredentials: true || false,
|
|
94
|
+
* // deltaSyncConfig: { // DeltaSyncConfig
|
|
95
|
+
* // baseTableTTL: Number("long"),
|
|
96
|
+
* // deltaSyncTableName: "STRING_VALUE",
|
|
97
|
+
* // deltaSyncTableTTL: Number("long"),
|
|
98
|
+
* // },
|
|
99
|
+
* // versioned: true || false,
|
|
100
|
+
* // },
|
|
101
|
+
* // lambdaConfig: { // LambdaDataSourceConfig
|
|
102
|
+
* // lambdaFunctionArn: "STRING_VALUE", // required
|
|
103
|
+
* // },
|
|
104
|
+
* // elasticsearchConfig: { // ElasticsearchDataSourceConfig
|
|
105
|
+
* // endpoint: "STRING_VALUE", // required
|
|
106
|
+
* // awsRegion: "STRING_VALUE", // required
|
|
107
|
+
* // },
|
|
108
|
+
* // openSearchServiceConfig: { // OpenSearchServiceDataSourceConfig
|
|
109
|
+
* // endpoint: "STRING_VALUE", // required
|
|
110
|
+
* // awsRegion: "STRING_VALUE", // required
|
|
111
|
+
* // },
|
|
112
|
+
* // httpConfig: { // HttpDataSourceConfig
|
|
113
|
+
* // endpoint: "STRING_VALUE",
|
|
114
|
+
* // authorizationConfig: { // AuthorizationConfig
|
|
115
|
+
* // authorizationType: "AWS_IAM", // required
|
|
116
|
+
* // awsIamConfig: { // AwsIamConfig
|
|
117
|
+
* // signingRegion: "STRING_VALUE",
|
|
118
|
+
* // signingServiceName: "STRING_VALUE",
|
|
119
|
+
* // },
|
|
120
|
+
* // },
|
|
121
|
+
* // },
|
|
122
|
+
* // relationalDatabaseConfig: { // RelationalDatabaseDataSourceConfig
|
|
123
|
+
* // relationalDatabaseSourceType: "RDS_HTTP_ENDPOINT",
|
|
124
|
+
* // rdsHttpEndpointConfig: { // RdsHttpEndpointConfig
|
|
125
|
+
* // awsRegion: "STRING_VALUE",
|
|
126
|
+
* // dbClusterIdentifier: "STRING_VALUE",
|
|
127
|
+
* // databaseName: "STRING_VALUE",
|
|
128
|
+
* // schema: "STRING_VALUE",
|
|
129
|
+
* // awsSecretStoreArn: "STRING_VALUE",
|
|
130
|
+
* // },
|
|
131
|
+
* // },
|
|
132
|
+
* // eventBridgeConfig: { // EventBridgeDataSourceConfig
|
|
133
|
+
* // eventBusArn: "STRING_VALUE", // required
|
|
134
|
+
* // },
|
|
135
|
+
* // },
|
|
136
|
+
* // };
|
|
137
|
+
*
|
|
83
138
|
* ```
|
|
84
139
|
*
|
|
85
140
|
* @param UpdateDataSourceCommandInput - {@link UpdateDataSourceCommandInput}
|
|
@@ -89,22 +144,25 @@ export interface UpdateDataSourceCommandOutput extends UpdateDataSourceResponse,
|
|
|
89
144
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
90
145
|
*
|
|
91
146
|
* @throws {@link BadRequestException} (client fault)
|
|
92
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
93
|
-
* field values, and then try again.</p>
|
|
147
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
148
|
+
* missing. Check the field values, and then try again.</p>
|
|
94
149
|
*
|
|
95
150
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
96
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
97
|
-
* change.</p>
|
|
151
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
152
|
+
* make your change.</p>
|
|
98
153
|
*
|
|
99
154
|
* @throws {@link InternalFailureException} (server fault)
|
|
100
155
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
101
156
|
*
|
|
102
157
|
* @throws {@link NotFoundException} (client fault)
|
|
103
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
158
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
159
|
+
* again.</p>
|
|
104
160
|
*
|
|
105
161
|
* @throws {@link UnauthorizedException} (client fault)
|
|
106
162
|
* <p>You aren't authorized to perform this operation.</p>
|
|
107
163
|
*
|
|
164
|
+
* @throws {@link AppSyncServiceException}
|
|
165
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
108
166
|
*
|
|
109
167
|
*/
|
|
110
168
|
export declare class UpdateDataSourceCommand extends $Command<UpdateDataSourceCommandInput, UpdateDataSourceCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -32,6 +32,16 @@ export interface UpdateDomainNameCommandOutput extends UpdateDomainNameResponse,
|
|
|
32
32
|
* };
|
|
33
33
|
* const command = new UpdateDomainNameCommand(input);
|
|
34
34
|
* const response = await client.send(command);
|
|
35
|
+
* // { // UpdateDomainNameResponse
|
|
36
|
+
* // domainNameConfig: { // DomainNameConfig
|
|
37
|
+
* // domainName: "STRING_VALUE",
|
|
38
|
+
* // description: "STRING_VALUE",
|
|
39
|
+
* // certificateArn: "STRING_VALUE",
|
|
40
|
+
* // appsyncDomainName: "STRING_VALUE",
|
|
41
|
+
* // hostedZoneId: "STRING_VALUE",
|
|
42
|
+
* // },
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
35
45
|
* ```
|
|
36
46
|
*
|
|
37
47
|
* @param UpdateDomainNameCommandInput - {@link UpdateDomainNameCommandInput}
|
|
@@ -44,19 +54,22 @@ export interface UpdateDomainNameCommandOutput extends UpdateDomainNameResponse,
|
|
|
44
54
|
* <p>You don't have access to perform this operation on this resource.</p>
|
|
45
55
|
*
|
|
46
56
|
* @throws {@link BadRequestException} (client fault)
|
|
47
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
48
|
-
* field values, and then try again.</p>
|
|
57
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
58
|
+
* missing. Check the field values, and then try again.</p>
|
|
49
59
|
*
|
|
50
60
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
51
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
52
|
-
* change.</p>
|
|
61
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
62
|
+
* make your change.</p>
|
|
53
63
|
*
|
|
54
64
|
* @throws {@link InternalFailureException} (server fault)
|
|
55
65
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
56
66
|
*
|
|
57
67
|
* @throws {@link NotFoundException} (client fault)
|
|
58
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
68
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
69
|
+
* again.</p>
|
|
59
70
|
*
|
|
71
|
+
* @throws {@link AppSyncServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
60
73
|
*
|
|
61
74
|
*/
|
|
62
75
|
export declare class UpdateDomainNameCommand extends $Command<UpdateDomainNameCommandInput, UpdateDomainNameCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -51,6 +51,32 @@ export interface UpdateFunctionCommandOutput extends UpdateFunctionResponse, __M
|
|
|
51
51
|
* };
|
|
52
52
|
* const command = new UpdateFunctionCommand(input);
|
|
53
53
|
* const response = await client.send(command);
|
|
54
|
+
* // { // UpdateFunctionResponse
|
|
55
|
+
* // functionConfiguration: { // FunctionConfiguration
|
|
56
|
+
* // functionId: "STRING_VALUE",
|
|
57
|
+
* // functionArn: "STRING_VALUE",
|
|
58
|
+
* // name: "STRING_VALUE",
|
|
59
|
+
* // description: "STRING_VALUE",
|
|
60
|
+
* // dataSourceName: "STRING_VALUE",
|
|
61
|
+
* // requestMappingTemplate: "STRING_VALUE",
|
|
62
|
+
* // responseMappingTemplate: "STRING_VALUE",
|
|
63
|
+
* // functionVersion: "STRING_VALUE",
|
|
64
|
+
* // syncConfig: { // SyncConfig
|
|
65
|
+
* // conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
|
|
66
|
+
* // conflictDetection: "VERSION" || "NONE",
|
|
67
|
+
* // lambdaConflictHandlerConfig: { // LambdaConflictHandlerConfig
|
|
68
|
+
* // lambdaConflictHandlerArn: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // maxBatchSize: Number("int"),
|
|
72
|
+
* // runtime: { // AppSyncRuntime
|
|
73
|
+
* // name: "APPSYNC_JS", // required
|
|
74
|
+
* // runtimeVersion: "STRING_VALUE", // required
|
|
75
|
+
* // },
|
|
76
|
+
* // code: "STRING_VALUE",
|
|
77
|
+
* // },
|
|
78
|
+
* // };
|
|
79
|
+
*
|
|
54
80
|
* ```
|
|
55
81
|
*
|
|
56
82
|
* @param UpdateFunctionCommandInput - {@link UpdateFunctionCommandInput}
|
|
@@ -60,18 +86,21 @@ export interface UpdateFunctionCommandOutput extends UpdateFunctionResponse, __M
|
|
|
60
86
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
61
87
|
*
|
|
62
88
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
63
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
64
|
-
* change.</p>
|
|
89
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
90
|
+
* make your change.</p>
|
|
65
91
|
*
|
|
66
92
|
* @throws {@link InternalFailureException} (server fault)
|
|
67
93
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
68
94
|
*
|
|
69
95
|
* @throws {@link NotFoundException} (client fault)
|
|
70
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
96
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
97
|
+
* again.</p>
|
|
71
98
|
*
|
|
72
99
|
* @throws {@link UnauthorizedException} (client fault)
|
|
73
100
|
* <p>You aren't authorized to perform this operation.</p>
|
|
74
101
|
*
|
|
102
|
+
* @throws {@link AppSyncServiceException}
|
|
103
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
75
104
|
*
|
|
76
105
|
*/
|
|
77
106
|
export declare class UpdateFunctionCommand extends $Command<UpdateFunctionCommandInput, UpdateFunctionCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -77,6 +77,70 @@ export interface UpdateGraphqlApiCommandOutput extends UpdateGraphqlApiResponse,
|
|
|
77
77
|
* };
|
|
78
78
|
* const command = new UpdateGraphqlApiCommand(input);
|
|
79
79
|
* const response = await client.send(command);
|
|
80
|
+
* // { // UpdateGraphqlApiResponse
|
|
81
|
+
* // graphqlApi: { // GraphqlApi
|
|
82
|
+
* // name: "STRING_VALUE",
|
|
83
|
+
* // apiId: "STRING_VALUE",
|
|
84
|
+
* // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
|
|
85
|
+
* // logConfig: { // LogConfig
|
|
86
|
+
* // fieldLogLevel: "NONE" || "ERROR" || "ALL", // required
|
|
87
|
+
* // cloudWatchLogsRoleArn: "STRING_VALUE", // required
|
|
88
|
+
* // excludeVerboseContent: true || false,
|
|
89
|
+
* // },
|
|
90
|
+
* // userPoolConfig: { // UserPoolConfig
|
|
91
|
+
* // userPoolId: "STRING_VALUE", // required
|
|
92
|
+
* // awsRegion: "STRING_VALUE", // required
|
|
93
|
+
* // defaultAction: "ALLOW" || "DENY", // required
|
|
94
|
+
* // appIdClientRegex: "STRING_VALUE",
|
|
95
|
+
* // },
|
|
96
|
+
* // openIDConnectConfig: { // OpenIDConnectConfig
|
|
97
|
+
* // issuer: "STRING_VALUE", // required
|
|
98
|
+
* // clientId: "STRING_VALUE",
|
|
99
|
+
* // iatTTL: Number("long"),
|
|
100
|
+
* // authTTL: Number("long"),
|
|
101
|
+
* // },
|
|
102
|
+
* // arn: "STRING_VALUE",
|
|
103
|
+
* // uris: { // MapOfStringToString
|
|
104
|
+
* // "<keys>": "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // tags: { // TagMap
|
|
107
|
+
* // "<keys>": "STRING_VALUE",
|
|
108
|
+
* // },
|
|
109
|
+
* // additionalAuthenticationProviders: [ // AdditionalAuthenticationProviders
|
|
110
|
+
* // { // AdditionalAuthenticationProvider
|
|
111
|
+
* // authenticationType: "API_KEY" || "AWS_IAM" || "AMAZON_COGNITO_USER_POOLS" || "OPENID_CONNECT" || "AWS_LAMBDA",
|
|
112
|
+
* // openIDConnectConfig: {
|
|
113
|
+
* // issuer: "STRING_VALUE", // required
|
|
114
|
+
* // clientId: "STRING_VALUE",
|
|
115
|
+
* // iatTTL: Number("long"),
|
|
116
|
+
* // authTTL: Number("long"),
|
|
117
|
+
* // },
|
|
118
|
+
* // userPoolConfig: { // CognitoUserPoolConfig
|
|
119
|
+
* // userPoolId: "STRING_VALUE", // required
|
|
120
|
+
* // awsRegion: "STRING_VALUE", // required
|
|
121
|
+
* // appIdClientRegex: "STRING_VALUE",
|
|
122
|
+
* // },
|
|
123
|
+
* // lambdaAuthorizerConfig: { // LambdaAuthorizerConfig
|
|
124
|
+
* // authorizerResultTtlInSeconds: Number("int"),
|
|
125
|
+
* // authorizerUri: "STRING_VALUE", // required
|
|
126
|
+
* // identityValidationExpression: "STRING_VALUE",
|
|
127
|
+
* // },
|
|
128
|
+
* // },
|
|
129
|
+
* // ],
|
|
130
|
+
* // xrayEnabled: true || false,
|
|
131
|
+
* // wafWebAclArn: "STRING_VALUE",
|
|
132
|
+
* // lambdaAuthorizerConfig: {
|
|
133
|
+
* // authorizerResultTtlInSeconds: Number("int"),
|
|
134
|
+
* // authorizerUri: "STRING_VALUE", // required
|
|
135
|
+
* // identityValidationExpression: "STRING_VALUE",
|
|
136
|
+
* // },
|
|
137
|
+
* // dns: {
|
|
138
|
+
* // "<keys>": "STRING_VALUE",
|
|
139
|
+
* // },
|
|
140
|
+
* // visibility: "GLOBAL" || "PRIVATE",
|
|
141
|
+
* // },
|
|
142
|
+
* // };
|
|
143
|
+
*
|
|
80
144
|
* ```
|
|
81
145
|
*
|
|
82
146
|
* @param UpdateGraphqlApiCommandInput - {@link UpdateGraphqlApiCommandInput}
|
|
@@ -89,22 +153,25 @@ export interface UpdateGraphqlApiCommandOutput extends UpdateGraphqlApiResponse,
|
|
|
89
153
|
* <p>You don't have access to perform this operation on this resource.</p>
|
|
90
154
|
*
|
|
91
155
|
* @throws {@link BadRequestException} (client fault)
|
|
92
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
93
|
-
* field values, and then try again.</p>
|
|
156
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
157
|
+
* missing. Check the field values, and then try again.</p>
|
|
94
158
|
*
|
|
95
159
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
96
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
97
|
-
* change.</p>
|
|
160
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
161
|
+
* make your change.</p>
|
|
98
162
|
*
|
|
99
163
|
* @throws {@link InternalFailureException} (server fault)
|
|
100
164
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
101
165
|
*
|
|
102
166
|
* @throws {@link NotFoundException} (client fault)
|
|
103
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
167
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
168
|
+
* again.</p>
|
|
104
169
|
*
|
|
105
170
|
* @throws {@link UnauthorizedException} (client fault)
|
|
106
171
|
* <p>You aren't authorized to perform this operation.</p>
|
|
107
172
|
*
|
|
173
|
+
* @throws {@link AppSyncServiceException}
|
|
174
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
108
175
|
*
|
|
109
176
|
*/
|
|
110
177
|
export declare class UpdateGraphqlApiCommand extends $Command<UpdateGraphqlApiCommandInput, UpdateGraphqlApiCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -61,6 +61,42 @@ export interface UpdateResolverCommandOutput extends UpdateResolverResponse, __M
|
|
|
61
61
|
* };
|
|
62
62
|
* const command = new UpdateResolverCommand(input);
|
|
63
63
|
* const response = await client.send(command);
|
|
64
|
+
* // { // UpdateResolverResponse
|
|
65
|
+
* // resolver: { // Resolver
|
|
66
|
+
* // typeName: "STRING_VALUE",
|
|
67
|
+
* // fieldName: "STRING_VALUE",
|
|
68
|
+
* // dataSourceName: "STRING_VALUE",
|
|
69
|
+
* // resolverArn: "STRING_VALUE",
|
|
70
|
+
* // requestMappingTemplate: "STRING_VALUE",
|
|
71
|
+
* // responseMappingTemplate: "STRING_VALUE",
|
|
72
|
+
* // kind: "UNIT" || "PIPELINE",
|
|
73
|
+
* // pipelineConfig: { // PipelineConfig
|
|
74
|
+
* // functions: [ // FunctionsIds
|
|
75
|
+
* // "STRING_VALUE",
|
|
76
|
+
* // ],
|
|
77
|
+
* // },
|
|
78
|
+
* // syncConfig: { // SyncConfig
|
|
79
|
+
* // conflictHandler: "OPTIMISTIC_CONCURRENCY" || "LAMBDA" || "AUTOMERGE" || "NONE",
|
|
80
|
+
* // conflictDetection: "VERSION" || "NONE",
|
|
81
|
+
* // lambdaConflictHandlerConfig: { // LambdaConflictHandlerConfig
|
|
82
|
+
* // lambdaConflictHandlerArn: "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // cachingConfig: { // CachingConfig
|
|
86
|
+
* // ttl: Number("long"), // required
|
|
87
|
+
* // cachingKeys: [ // CachingKeys
|
|
88
|
+
* // "STRING_VALUE",
|
|
89
|
+
* // ],
|
|
90
|
+
* // },
|
|
91
|
+
* // maxBatchSize: Number("int"),
|
|
92
|
+
* // runtime: { // AppSyncRuntime
|
|
93
|
+
* // name: "APPSYNC_JS", // required
|
|
94
|
+
* // runtimeVersion: "STRING_VALUE", // required
|
|
95
|
+
* // },
|
|
96
|
+
* // code: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // };
|
|
99
|
+
*
|
|
64
100
|
* ```
|
|
65
101
|
*
|
|
66
102
|
* @param UpdateResolverCommandInput - {@link UpdateResolverCommandInput}
|
|
@@ -70,22 +106,25 @@ export interface UpdateResolverCommandOutput extends UpdateResolverResponse, __M
|
|
|
70
106
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
71
107
|
*
|
|
72
108
|
* @throws {@link BadRequestException} (client fault)
|
|
73
|
-
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
74
|
-
* field values, and then try again.</p>
|
|
109
|
+
* <p>The request is not well formed. For example, a value is invalid or a required field is
|
|
110
|
+
* missing. Check the field values, and then try again.</p>
|
|
75
111
|
*
|
|
76
112
|
* @throws {@link ConcurrentModificationException} (client fault)
|
|
77
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
78
|
-
* change.</p>
|
|
113
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
114
|
+
* make your change.</p>
|
|
79
115
|
*
|
|
80
116
|
* @throws {@link InternalFailureException} (server fault)
|
|
81
117
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
82
118
|
*
|
|
83
119
|
* @throws {@link NotFoundException} (client fault)
|
|
84
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
120
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
121
|
+
* again.</p>
|
|
85
122
|
*
|
|
86
123
|
* @throws {@link UnauthorizedException} (client fault)
|
|
87
124
|
* <p>You aren't authorized to perform this operation.</p>
|
|
88
125
|
*
|
|
126
|
+
* @throws {@link AppSyncServiceException}
|
|
127
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
89
128
|
*
|
|
90
129
|
*/
|
|
91
130
|
export declare class UpdateResolverCommand extends $Command<UpdateResolverCommandInput, UpdateResolverCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -34,6 +34,16 @@ export interface UpdateTypeCommandOutput extends UpdateTypeResponse, __MetadataB
|
|
|
34
34
|
* };
|
|
35
35
|
* const command = new UpdateTypeCommand(input);
|
|
36
36
|
* const response = await client.send(command);
|
|
37
|
+
* // { // UpdateTypeResponse
|
|
38
|
+
* // type: { // Type
|
|
39
|
+
* // name: "STRING_VALUE",
|
|
40
|
+
* // description: "STRING_VALUE",
|
|
41
|
+
* // arn: "STRING_VALUE",
|
|
42
|
+
* // definition: "STRING_VALUE",
|
|
43
|
+
* // format: "SDL" || "JSON",
|
|
44
|
+
* // },
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
37
47
|
* ```
|
|
38
48
|
*
|
|
39
49
|
* @param UpdateTypeCommandInput - {@link UpdateTypeCommandInput}
|
|
@@ -43,22 +53,25 @@ export interface UpdateTypeCommandOutput extends UpdateTypeResponse, __MetadataB
|
|
|
43
53
|
* @see {@link AppSyncClientResolvedConfig | config} for AppSyncClient's `config` shape.
|
|
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
|
|
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 ConcurrentModificationException} (client fault)
|
|
50
|
-
* <p>Another modification is in progress at this time and it must complete before you can
|
|
51
|
-
* change.</p>
|
|
60
|
+
* <p>Another modification is in progress at this time and it must complete before you can
|
|
61
|
+
* make your change.</p>
|
|
52
62
|
*
|
|
53
63
|
* @throws {@link InternalFailureException} (server fault)
|
|
54
64
|
* <p>An internal AppSync error occurred. Try your request again.</p>
|
|
55
65
|
*
|
|
56
66
|
* @throws {@link NotFoundException} (client fault)
|
|
57
|
-
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
67
|
+
* <p>The resource specified in the request was not found. Check the resource, and then try
|
|
68
|
+
* again.</p>
|
|
58
69
|
*
|
|
59
70
|
* @throws {@link UnauthorizedException} (client fault)
|
|
60
71
|
* <p>You aren't authorized to perform this operation.</p>
|
|
61
72
|
*
|
|
73
|
+
* @throws {@link AppSyncServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from AppSync service.</p>
|
|
62
75
|
*
|
|
63
76
|
*/
|
|
64
77
|
export declare class UpdateTypeCommand extends $Command<UpdateTypeCommandInput, UpdateTypeCommandOutput, AppSyncClientResolvedConfig> {
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|