update_geofence_collection
async
¶
update_geofence_collection(
collection_name: ResourceName,
*,
config_overrides: Optional[AsyncLocationClientConfig] = None,
pricing_plan: Optional[PricingPlan] = None,
pricing_plan_data_source: Optional[str] = None,
description: Optional[ResourceDescription] = None,
) -> UpdateGeofenceCollectionResponse
Updates the specified properties of a given geofence collection.
Parameters:
-
collection_name(ResourceName) –The name of the geofence collection to update.
-
pricing_plan(Optional[PricingPlan], default:None) –No longer used. If included, the only allowed value is
RequestBasedUsage. -
pricing_plan_data_source(Optional[str], default:None) –This parameter is no longer used.
-
description(Optional[ResourceDescription], default:None) –Updates the description for the geofence collection.
Raises:
-
AccessDeniedException–The request was denied because of insufficient access or permissions. Check with an administrator to verify your permissions.
-
InternalServerException–The request has failed to process because of an unknown server error, exception, or failure.
-
ResourceNotFoundException–The resource that you've entered was not found in your AWS account.
-
ThrottlingException–The request was denied because of request throttling.
-
ValidationException–The input failed to meet the constraints specified by the AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_location/_services/async_location.py
1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 | |