Accessor: client.numbers_v2_bundle_copy · Source: twilio_sdk/apis/numbers_v2_bundle_copy.py · 2 operations
Each ### block is one operation and assumes sdk-map.md is loaded: blocks omit what its invariants table covers and are otherwise self-contained, so chunk at block level. Signatures are the sync parsed spelling; the async and raw spellings take the same parameters (see sdk-map.md). Type sources names the module declaring each type an operation mentions, so resolving a body, return or error payload is a lookup rather than a search; the runtime types RawError and ApiResult are excluded.
- Route:
POST /v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies - Auth:
account_sid_auth_token - Server:
default5 - Signature:
def create_bundle_copy(bundle_sid: str, *, friendly_name: str | None = None, request_options: RequestOptionsOrDict | None = None)- required, positional:
bundle_sid
- required, positional:
- Params:
bundle_sid— pathBundleSid·friendly_name— form fieldFriendlyName - Returns (parsed):
NumbersV2RegulatoryComplianceBundleBundleCopy - Returns (raw):
ApiResult[NumbersV2RegulatoryComplianceBundleBundleCopy, RawError] - Error:
RawError— Case B
| Type | Source |
|---|---|
NumbersV2RegulatoryComplianceBundleBundleCopy |
twilio_sdk/models/numbers_v2_regulatory_compliance_bundle_bundle_copy.py |
- Route:
GET /v2/RegulatoryCompliance/Bundles/{BundleSid}/Copies - Auth:
account_sid_auth_token - Server:
default5 - Signature:
def list_bundle_copy(bundle_sid: str, *, page_size: int | None = None, page: int | None = None, page_token: str | None = None, request_options: RequestOptionsOrDict | None = None)- required, positional:
bundle_sid
- required, positional:
- Params:
bundle_sid— pathBundleSid·page_size— queryPageSize·page— queryPage·page_token— queryPageToken - Returns (parsed):
ListBundleCopyResponse - Returns (raw):
ApiResult[ListBundleCopyResponse, RawError] - Error:
RawError— Case B
| Type | Source |
|---|---|
ListBundleCopyResponse |
twilio_sdk/models/list_bundle_copy_response.py |