Smaws_Client_NetworkFirewall.CreateContainerAssociationCreates a container association for Network Firewall. A container association links container clusters (ECS or EKS) to Network Firewall, enabling dynamic IP resolution for firewall rules based on container attributes.
To manage a container association's tags, use the standard Amazon Web Services resource tagging operations, ListTagsForResource, TagResource, and UntagResource.
To retrieve information about container associations, use ListContainerAssociations and DescribeContainerAssociation.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InsufficientCapacityException of Types.insufficient_capacity_exception
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ThrottlingException of Types.throttling_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_container_association_request ->
(Types.create_container_association_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InsufficientCapacityException of Types.insufficient_capacity_exception
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ThrottlingException of Types.throttling_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_container_association_request ->
(Types.create_container_association_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InsufficientCapacityException of Types.insufficient_capacity_exception
| `InternalServerError of Types.internal_server_error
| `InvalidRequestException of Types.invalid_request_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `ThrottlingException of Types.throttling_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result