update_source_api_association
async
¶
update_source_api_association(
association_id: String,
merged_api_identifier: String,
*,
config_overrides: Optional[AsyncAppSyncClientConfig] = None,
description: Optional[String] = None,
source_api_association_config: Optional[SourceApiAssociationConfig] = None,
) -> UpdateSourceApiAssociationResponse
Updates some of the configuration choices of a particular source API association.
Parameters:
-
association_id(String) –The ID generated by the AppSync service for the source API association.
-
merged_api_identifier(String) –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.
-
description(Optional[String], default:None) –The description field.
-
source_api_association_config(Optional[SourceApiAssociationConfig], default:None) –The
SourceApiAssociationConfigobject data.
Raises:
-
BadRequestException–The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
-
ConcurrentModificationException–Another modification is in progress at this time and it must complete before you can make your change.
-
InternalFailureException–An internal AppSync error occurred. Try your request again.
-
NotFoundException–The resource specified in the request was not found. Check the resource, and then try again.
-
UnauthorizedException–You aren't authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_appsync/_services/async_app_sync.py
5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 | |