Skip to content

ServiceInstance

Source code in docs_src/capo_proton/types/service_instance.py
class ServiceInstance(TypedDict, closed=True):
    name: "capo_proton.types.resource_name.ResourceName"
    """<p>The name of the service instance.</p>"""
    arn: "capo_proton.types.service_instance_arn.ServiceInstanceArn"
    """<p>The Amazon Resource Name (ARN) of the service instance.</p>"""
    created_at: "datetime.datetime"
    """<p>The time when the service instance was created.</p>"""
    last_deployment_attempted_at: "datetime.datetime"
    """<p>The time when a deployment of the service instance was last attempted.</p>"""
    last_deployment_succeeded_at: "datetime.datetime"
    """<p>The time when the service instance was last deployed successfully.</p>"""
    service_name: "capo_proton.types.resource_name.ResourceName"
    """<p>The name of the service that the service instance belongs to.</p>"""
    environment_name: "capo_proton.types.resource_name.ResourceName"
    """<p>The name of the environment that the service instance was deployed into.</p>"""
    template_name: "capo_proton.types.resource_name.ResourceName"
    """<p>The name of the service template that was used to create the service instance.</p>"""
    template_major_version: (
        "capo_proton.types.template_version_part.TemplateVersionPart"
    )
    """<p>The major version of the service template that was used to create the service instance.</p>"""
    template_minor_version: (
        "capo_proton.types.template_version_part.TemplateVersionPart"
    )
    """<p>The minor version of the service template that was used to create the service instance.</p>"""
    deployment_status: "capo_proton.types.deployment_status.DeploymentStatus"
    """<p>The service instance deployment status.</p>"""
    deployment_status_message: NotRequired[
        "capo_proton.types.status_message.StatusMessage"
    ]
    """<p>The message associated with the service instance deployment status.</p>"""
    spec: NotRequired["capo_proton.types.spec_contents.SpecContents"]
    """<p>The service spec that was used to create the service instance.</p>"""
    last_client_request_token: NotRequired["str"]
    """<p>The last client request token received.</p>"""
    last_attempted_deployment_id: NotRequired[
        "capo_proton.types.deployment_id.DeploymentId"
    ]
    """<p>The ID of the last attempted deployment of this service instance.</p>"""
    last_succeeded_deployment_id: NotRequired[
        "capo_proton.types.deployment_id.DeploymentId"
    ]
    """<p>The ID of the last successful deployment of this service instance.</p>"""

arn instance-attribute

The Amazon Resource Name (ARN) of the service instance.

created_at instance-attribute

created_at: datetime

The time when the service instance was created.

deployment_status instance-attribute

deployment_status: DeploymentStatus

The service instance deployment status.

deployment_status_message instance-attribute

deployment_status_message: NotRequired[StatusMessage]

The message associated with the service instance deployment status.

environment_name instance-attribute

environment_name: ResourceName

The name of the environment that the service instance was deployed into.

last_attempted_deployment_id instance-attribute

last_attempted_deployment_id: NotRequired[DeploymentId]

The ID of the last attempted deployment of this service instance.

last_client_request_token instance-attribute

last_client_request_token: NotRequired[str]

The last client request token received.

last_deployment_attempted_at instance-attribute

last_deployment_attempted_at: datetime

The time when a deployment of the service instance was last attempted.

last_deployment_succeeded_at instance-attribute

last_deployment_succeeded_at: datetime

The time when the service instance was last deployed successfully.

last_succeeded_deployment_id instance-attribute

last_succeeded_deployment_id: NotRequired[DeploymentId]

The ID of the last successful deployment of this service instance.

name instance-attribute

The name of the service instance.

service_name instance-attribute

service_name: ResourceName

The name of the service that the service instance belongs to.

spec instance-attribute

spec: NotRequired[SpecContents]

The service spec that was used to create the service instance.

template_major_version instance-attribute

template_major_version: TemplateVersionPart

The major version of the service template that was used to create the service instance.

template_minor_version instance-attribute

template_minor_version: TemplateVersionPart

The minor version of the service template that was used to create the service instance.

template_name instance-attribute

template_name: ResourceName

The name of the service template that was used to create the service instance.