Skip to content
Start here

Data Localization Suite

Data Localization SuiteRegions

List DLS regions for an account
dls.regions.list(RegionListParams**kwargs) -> SyncCursorPagination[RegionListResponse]
GET/accounts/{account_id}/dls/regions
Get a DLS region
dls.regions.get(strregion_id, RegionGetParams**kwargs) -> RegionGetResponse
GET/accounts/{account_id}/dls/regions/{region_id}
ModelsExpand Collapse
class RegionListResponse:
id: str
created_on: datetime
formatdate-time
modified_on: datetime
formatdate-time
name: str
region_key: str
maxLength128
minLength1
version: int
version_created_on: datetime
formatdate-time
class RegionGetResponse:
id: str
created_on: datetime
formatdate-time
modified_on: datetime
formatdate-time
name: str
region_key: str
maxLength128
minLength1
version: int
version_created_on: datetime
formatdate-time

Data Localization SuiteRegional Services

Data Localization SuiteRegional ServicesPrefix Bindings

List DLS prefix bindings for an account
dls.regional_services.prefix_bindings.list(PrefixBindingListParams**kwargs) -> SyncCursorPagination[PrefixBindingListResponse]
GET/accounts/{account_id}/dls/regional_services/prefix_bindings
Get a DLS prefix binding
dls.regional_services.prefix_bindings.get(strbinding_id, PrefixBindingGetParams**kwargs) -> PrefixBindingGetResponse
GET/accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}
Create a DLS prefix binding
dls.regional_services.prefix_bindings.create(PrefixBindingCreateParams**kwargs) -> PrefixBindingCreateResponse
POST/accounts/{account_id}/dls/regional_services/prefix_bindings
Update a DLS prefix binding
dls.regional_services.prefix_bindings.edit(strbinding_id, PrefixBindingEditParams**kwargs) -> PrefixBindingEditResponse
PATCH/accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}
Delete a DLS prefix binding
dls.regional_services.prefix_bindings.delete(strbinding_id, PrefixBindingDeleteParams**kwargs) -> PrefixBindingDeleteResponse
DELETE/accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}
ModelsExpand Collapse
class PrefixBindingListResponse:
id: str

The ID of the binding.

cidr: str

The CIDR that is bound.

prefix_id: str

The ID of the parent prefix.

region_key: str

The region key used for the binding.

maxLength128
minLength1
class PrefixBindingGetResponse:
id: str

The ID of the binding.

cidr: str

The CIDR that is bound.

prefix_id: str

The ID of the parent prefix.

region_key: str

The region key used for the binding.

maxLength128
minLength1
class PrefixBindingCreateResponse:
id: str

The ID of the binding.

cidr: str

The CIDR that is bound.

prefix_id: str

The ID of the parent prefix.

region_key: str

The region key used for the binding.

maxLength128
minLength1
class PrefixBindingEditResponse:
id: str

The ID of the binding.

cidr: str

The CIDR that is bound.

prefix_id: str

The ID of the parent prefix.

region_key: str

The region key used for the binding.

maxLength128
minLength1
class PrefixBindingDeleteResponse:
messages: List[ResponseInfo]
code: int
minimum1000
message: str
documentation_url: Optional[str]
source: Optional[Source]
pointer: Optional[str]
success: bool
errors: Optional[List[ResponseInfo]]
maxLength0
code: int
minimum1000
message: str
documentation_url: Optional[str]
source: Optional[Source]
pointer: Optional[str]