Skip to content

CreateViewRequest

Source code in docs_src/capo_connect/types/create_view_request.py
class CreateViewRequest(TypedDict, closed=True):
    instance_id: "capo_connect.types.views_instance_id.ViewsInstanceId"
    """<p>The identifier of the Connect Customer instance. You can find the instanceId in the ARN of the instance.</p>"""
    client_token: NotRequired["capo_connect.types.views_client_token.ViewsClientToken"]
    """<p>A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.</p>"""
    status: "capo_connect.types.view_status.ViewStatus"
    """<p>Indicates the view status as either <code>SAVED</code> or <code>PUBLISHED</code>. The <code>PUBLISHED</code> status will initiate validation on the content.</p>"""
    content: "capo_connect.types.view_input_content.ViewInputContent"
    """<p>View content containing all content necessary to render a view except for runtime input data.</p> <p>The total uncompressed content has a maximum file size of 400kB.</p>"""
    description: NotRequired["capo_connect.types.view_description.ViewDescription"]
    """<p>The description of the view.</p>"""
    name: "capo_connect.types.view_name.ViewName"
    """<p>The name of the view.</p>"""
    tags: NotRequired["capo_connect.types.tag_map.TagMap"]
    """<p>The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.</p>"""

client_token instance-attribute

client_token: NotRequired[ViewsClientToken]

A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.

content instance-attribute

View content containing all content necessary to render a view except for runtime input data.

The total uncompressed content has a maximum file size of 400kB.

description instance-attribute

description: NotRequired[ViewDescription]

The description of the view.

instance_id instance-attribute

instance_id: ViewsInstanceId

The identifier of the Connect Customer instance. You can find the instanceId in the ARN of the instance.

name instance-attribute

name: ViewName

The name of the view.

status instance-attribute

status: ViewStatus

Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content.

tags instance-attribute

tags: NotRequired[TagMap]

The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.