update_application
async
¶
update_application(
application_id: __string,
*,
config_overrides: Optional[AsyncServerlessApplicationRepositoryClientConfig] = None,
author: Optional[__string] = None,
description: Optional[__string] = None,
home_page_url: Optional[__string] = None,
labels: Optional[__listOf__string] = None,
readme_body: Optional[__string] = None,
readme_url: Optional[__string] = None,
) -> UpdateApplicationResponse
Updates the specified application.
Parameters:
-
application_id(__string) –The Amazon Resource Name (ARN) of the application.
-
author(Optional[__string], default:None) –The name of the author publishing the app.
Minimum length=1. Maximum length=127.
Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
-
description(Optional[__string], default:None) –The description of the application.
Minimum length=1. Maximum length=256
-
home_page_url(Optional[__string], default:None) –A URL with more information about the application, for example the location of your GitHub repository for the application.
-
labels(Optional[__listOf__string], default:None) –Labels to improve discovery of apps in search results.
Minimum length=1. Maximum length=127. Maximum number of labels: 10
Pattern: "^[a-zA-Z0-9+\\-_:\\/@]+$";
-
readme_body(Optional[__string], default:None) –A text readme file in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
-
readme_url(Optional[__string], default:None) –A link to the readme file in Markdown language that contains a more detailed description of the application and how it works.
Maximum size 5 MB
Raises:
-
BadRequestException–One of the parameters in the request is invalid.
-
ConflictException–The resource already exists.
-
ForbiddenException–The client is not authenticated.
-
InternalServerErrorException–The AWS Serverless Application Repository service encountered an internal error.
-
NotFoundException–The resource (for example, an access policy statement) specified in the request doesn't exist.
-
TooManyRequestsException–The client is sending more than the allowed number of requests per unit of time.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_serverlessapplicationrepository/_services/async_serverless_application_repository.py
1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 | |