update_custom_routing_accelerator_attributes
async
¶
update_custom_routing_accelerator_attributes(
accelerator_arn: GenericString,
*,
config_overrides: Optional[AsyncGlobalAcceleratorClientConfig] = 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/async_global_accelerator.py
3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 | |