Skip to content

PutEndpointPolicyRequest

Source code in docs_src/capo_sagemaker/types/put_endpoint_policy_request.py
class PutEndpointPolicyRequest(TypedDict, closed=True):
    endpoint_name: NotRequired["capo_sagemaker.types.endpoint_name.EndpointName"]
    """<p>The name of the endpoint. The endpoint must be in your account and in the current Amazon Web Services Region.</p>"""
    resource_policy: NotRequired[
        "capo_sagemaker.types.endpoint_policy_document.EndpointPolicyDocument"
    ]
    """<p>The endpoint policy, as a JSON policy document. The policy can contain only ASCII characters. For information about the policy rules, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/inference-router-cross-account.html">Use destinations in other accounts</a>.</p>"""

endpoint_name instance-attribute

endpoint_name: NotRequired[EndpointName]

The name of the endpoint. The endpoint must be in your account and in the current Amazon Web Services Region.

resource_policy instance-attribute

resource_policy: NotRequired[EndpointPolicyDocument]

The endpoint policy, as a JSON policy document. The policy can contain only ASCII characters. For information about the policy rules, see Use destinations in other accounts.