update_custom_routing_accelerator_attributes
¶
update_custom_routing_accelerator_attributes(
accelerator_arn: GenericString,
*,
config_overrides: Optional[GlobalAcceleratorClientConfig] = None,
flow_logs_enabled: Optional[GenericBoolean] = None,
flow_logs_s3_bucket: Optional[GenericString] = None,
flow_logs_s3_prefix: Optional[GenericString] = None,
) -> UpdateCustomRoutingAcceleratorAttributesResponse
Update the attributes for a custom routing accelerator.
Parameters:
-
accelerator_arn(GenericString) –The Amazon Resource Name (ARN) of the custom routing accelerator to update attributes for.
-
flow_logs_enabled(Optional[GenericBoolean], default:None) –Update whether flow logs are enabled. The default value is false. If the value is true,
FlowLogsS3BucketandFlowLogsS3Prefixmust be specified.For more information, see Flow logs in the Global Accelerator Developer Guide.
-
flow_logs_s3_bucket(Optional[GenericString], default:None) –The name of the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabledistrue. The bucket must exist and have a bucket policy that grants Global Accelerator permission to write to the bucket. -
flow_logs_s3_prefix(Optional[GenericString], default:None) –Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if
FlowLogsEnabledistrue.If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
DOC-EXAMPLE-BUCKET//AWSLogs/aws_account_id
Raises:
-
AcceleratorNotFoundException–The accelerator that you specified doesn't exist.
-
AccessDeniedException–You don't have access permission.
-
InternalServiceErrorException–There was an internal error for Global Accelerator.
-
InvalidArgumentException–An argument that you specified is invalid.
-
TransactionInProgressException–There's already a transaction in progress. Another transaction can't be processed.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_global_accelerator/_services/global_accelerator.py
3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 | |