create_support_permit
¶
create_support_permit(
permit: Permit,
name: Name,
signing_key_info: SigningKeyInfo,
*,
config_overrides: Optional[SupportAuthZClientConfig] = None,
description: Optional[Description] = None,
support_case_display_id: Optional[SupportCaseDisplayId] = None,
client_token: Optional[ClientToken] = None,
tags: Optional[Tags] = None,
) -> CreateSupportPermitOutput
Creates a support permit that authorizes an AWS support operator to perform specified actions on specified resources. The permit is cryptographically signed using a customer-managed AWS KMS key (ECC_NIST_P384, SIGN_VERIFY) to ensure non-repudiation.
Parameters:
-
permit(Permit) –The permit definition specifying the actions, resources, and time-window conditions that the support operator is authorized to use.
-
name(Name) –A customer-chosen name for the support permit. Must be between 1 and 256 alphanumeric characters.
-
description(Optional[Description], default:None) –A human-readable description of why this permit is being created. Maximum length of 1024 characters.
-
signing_key_info(SigningKeyInfo) –The signing key information used to sign the permit. Must reference an AWS KMS key with key usage SIGN_VERIFY and key spec ECC_NIST_P384.
-
support_case_display_id(Optional[SupportCaseDisplayId], default:None) –The display identifier of the AWS Support case associated with this permit.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service returns the existing permit without creating a duplicate.
-
tags(Optional[Tags], default:None) –The tags to associate with the support permit on creation.
Raises:
-
AccessDeniedException–You don't have sufficient permissions to perform this operation.
-
ConflictException–The request conflicts with the current state of the resource.
-
InternalServerException–An internal service error occurred. Try again later.
-
ServiceQuotaExceededException–The request exceeds a service quota for your account.
-
ThrottlingException–The request rate exceeded the allowed limit. Try again later.
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_supportauthz/_services/support_auth_z.py
180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 | |