update_application
¶
update_application(
application_id: __string,
*,
config_overrides: Optional[ServerlessApplicationRepositoryClientConfig] = 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/serverless_application_repository.py
1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 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 | |