Skip to content

UpdateContainerAssociationResponse

Source code in docs_src/capo_network_firewall/types/update_container_association_response.py
class UpdateContainerAssociationResponse(TypedDict, closed=True):
    container_association_name: NotRequired[
        "capo_network_firewall.types.resource_name.ResourceName"
    ]
    """<p>The descriptive name of the container association.</p>"""
    container_association_arn: NotRequired[
        "capo_network_firewall.types.resource_arn.ResourceArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the container association.</p>"""
    description: NotRequired["capo_network_firewall.types.description.Description"]
    """<p>A description of the container association.</p>"""
    type: NotRequired[
        "capo_network_firewall.types.container_monitoring_type.ContainerMonitoringType"
    ]
    """<p>The container type. Valid values:</p> <ul> <li> <p> <code>ECS</code> - Amazon Elastic Container Service</p> </li> <li> <p> <code>EKS</code> - Amazon Elastic Kubernetes Service</p> </li> </ul>"""
    container_monitoring_configurations: NotRequired[
        "capo_network_firewall.types.container_monitoring_configurations.ContainerMonitoringConfigurations"
    ]
    """<p>The monitoring configurations for the container association.</p>"""
    status: NotRequired[
        "capo_network_firewall.types.container_association_status.ContainerAssociationStatus"
    ]
    """<p>The current status of the container association.</p>"""
    tags: NotRequired["capo_network_firewall.types.tag_list.TagList"]
    """<p>The key:value pairs to associate with the resource.</p>"""
    update_token: NotRequired["capo_network_firewall.types.update_token.UpdateToken"]
    """<p>A token used for optimistic locking. Network Firewall returns a token to your requests that access the container association. The token marks the state of the container association resource at the time of the request.</p> <p>To make changes to the container association, you provide the token in your request. Network Firewall uses the token to ensure that the container association hasn't changed since you last retrieved it. If it has changed, the operation fails with an <code>InvalidTokenException</code>. If this happens, retrieve the container association again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.</p>"""

container_association_arn instance-attribute

container_association_arn: NotRequired[ResourceArn]

The Amazon Resource Name (ARN) of the container association.

container_association_name instance-attribute

container_association_name: NotRequired[ResourceName]

The descriptive name of the container association.

container_monitoring_configurations instance-attribute

container_monitoring_configurations: NotRequired[ContainerMonitoringConfigurations]

The monitoring configurations for the container association.

description instance-attribute

description: NotRequired[Description]

A description of the container association.

status instance-attribute

status: NotRequired[ContainerAssociationStatus]

The current status of the container association.

tags instance-attribute

tags: NotRequired[TagList]

The key:value pairs to associate with the resource.

type instance-attribute

type: NotRequired[ContainerMonitoringType]

The container type. Valid values:

  • ECS - Amazon Elastic Container Service

  • EKS - Amazon Elastic Kubernetes Service

update_token instance-attribute

update_token: NotRequired[UpdateToken]

A token used for optimistic locking. Network Firewall returns a token to your requests that access the container association. The token marks the state of the container association resource at the time of the request.

To make changes to the container association, you provide the token in your request. Network Firewall uses the token to ensure that the container association hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException. If this happens, retrieve the container association again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.