create_context_store
¶
create_context_store(
global_network_id: GlobalNetworkId,
*,
config_overrides: Optional[NetworkManagerClientConfig] = None,
description: Optional[ConstrainedString] = None,
tags: Optional[TagList] = None,
client_token: Optional[ClientToken] = None,
) -> CreateContextStoreResponse
Creates a context store in a global network. A context store maintains context entries, such as security groups, subnets, and attachments, for the resources connected to the transit gateways that you associate with it.
The context store is in the PENDING state when it's created, and changes to AVAILABLE when it's ready to use.
Parameters:
-
global_network_id(GlobalNetworkId) –The ID of the global network to create the context store in.
-
description(Optional[ConstrainedString], default:None) –A description of the context store.
Constraints: Maximum length of 256 characters. Only printable ASCII characters are allowed.
-
tags(Optional[TagList], default:None) –The tags to apply to the context store during creation.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
-
InternalServerException–The request has failed due to an internal error.
-
ResourceNotFoundException–The specified resource could not be found.
-
ServiceQuotaExceededException–A service limit was exceeded.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_networkmanager/_services/network_manager.py
1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 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 | |