update_location_azure_blob
¶
update_location_azure_blob(
location_arn: LocationArn,
*,
config_overrides: Optional[DataSyncClientConfig] = None,
subdirectory: Optional[AzureBlobSubdirectory] = None,
authentication_type: Optional[AzureBlobAuthenticationType] = None,
sas_configuration: Optional[AzureBlobSasConfiguration] = None,
federated_identity: Optional[AzureFederatedIdentityConfig] = None,
blob_type: Optional[AzureBlobType] = None,
access_tier: Optional[AzureAccessTier] = None,
agent_arns: Optional[AgentArnList] = None,
cmk_secret_config: Optional[CmkSecretConfig] = None,
custom_secret_config: Optional[CustomSecretConfig] = None,
) -> UpdateLocationAzureBlobResponse
Modifies the following configurations of the Microsoft Azure Blob Storage transfer location that you're using with DataSync.
For more information, see Configuring DataSync transfers with Azure Blob Storage.
Parameters:
-
location_arn(LocationArn) –Specifies the ARN of the Azure Blob Storage transfer location that you're updating.
-
subdirectory(Optional[AzureBlobSubdirectory], default:None) –Specifies path segments if you want to limit your transfer to a virtual directory in your container (for example,
/my/images). -
authentication_type(Optional[AzureBlobAuthenticationType], default:None) –Specifies the authentication method DataSync uses to access your Azure Blob Storage. DataSync can access blob storage using a shared access signature (SAS) or an OpenID Connect (OIDC) token.
-
sas_configuration(Optional[AzureBlobSasConfiguration], default:None) –Specifies the SAS configuration that allows DataSync to access your Azure Blob Storage.
-
federated_identity(Optional[AzureFederatedIdentityConfig], default:None) –Specifies the federated identity configuration that allows DataSync to access your Azure Blob Storage using an OpenID Connect (OIDC) token instead of a shared access signature (SAS). Provide either
FederatedIdentityorSasConfiguration, but not both. -
blob_type(Optional[AzureBlobType], default:None) –Specifies the type of blob that you want your objects or files to be when transferring them into Azure Blob Storage. Currently, DataSync only supports moving data into Azure Blob Storage as block blobs. For more information on blob types, see the Azure Blob Storage documentation.
-
access_tier(Optional[AzureAccessTier], default:None) –Specifies the access tier that you want your objects or files transferred into. This only applies when using the location as a transfer destination. For more information, see Access tiers.
-
agent_arns(Optional[AgentArnList], default:None) –(Optional) Specifies the Amazon Resource Name (ARN) of the DataSync agent that can connect with your Azure Blob Storage container. If you are setting up an agentless cross-cloud transfer, you do not need to specify a value for this parameter.
You can specify more than one agent. For more information, see Using multiple agents for your transfer.
You cannot add or remove agents from a storage location after you initially create it.
-
cmk_secret_config(Optional[CmkSecretConfig], default:None) –Specifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed KMS key.
-
custom_secret_config(Optional[CustomSecretConfig], default:None) –Specifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed Identity and Access Management (IAM) role that provides access to the secret.
Raises:
-
InternalException–This exception is thrown when an error occurs in the DataSync service.
-
InvalidRequestException–This exception is thrown when the client submits a malformed request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datasync/_services/data_sync.py
3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 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 | |