libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECS.DiscoverPollEndpoint

Description

This action is only used by the Amazon ECS agent, and it is not intended for use outside of the agent.

Returns an endpoint for the Amazon ECS agent to poll for updates.

Synopsis

Creating a Request

data DiscoverPollEndpoint Source #

See: newDiscoverPollEndpoint smart constructor.

Constructors

DiscoverPollEndpoint' 

Fields

  • cluster :: Maybe Text

    The short name or full Amazon Resource Name (ARN) of the cluster to which the container instance belongs.

  • containerInstance :: Maybe Text

    The container instance ID or full ARN of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the Amazon Web Services account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

Instances

Instances details
Eq DiscoverPollEndpoint Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

Read DiscoverPollEndpoint Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

Show DiscoverPollEndpoint Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

Generic DiscoverPollEndpoint Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

Associated Types

type Rep DiscoverPollEndpoint :: Type -> Type #

NFData DiscoverPollEndpoint Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

Methods

rnf :: DiscoverPollEndpoint -> () #

Hashable DiscoverPollEndpoint Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

ToJSON DiscoverPollEndpoint Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

AWSRequest DiscoverPollEndpoint Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

Associated Types

type AWSResponse DiscoverPollEndpoint #

ToHeaders DiscoverPollEndpoint Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

ToPath DiscoverPollEndpoint Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

ToQuery DiscoverPollEndpoint Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

type Rep DiscoverPollEndpoint Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

type Rep DiscoverPollEndpoint = D1 ('MetaData "DiscoverPollEndpoint" "Amazonka.ECS.DiscoverPollEndpoint" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "DiscoverPollEndpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "containerInstance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse DiscoverPollEndpoint Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

newDiscoverPollEndpoint :: DiscoverPollEndpoint Source #

Create a value of DiscoverPollEndpoint with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:cluster:DiscoverPollEndpoint', discoverPollEndpoint_cluster - The short name or full Amazon Resource Name (ARN) of the cluster to which the container instance belongs.

$sel:containerInstance:DiscoverPollEndpoint', discoverPollEndpoint_containerInstance - The container instance ID or full ARN of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the Amazon Web Services account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

Request Lenses

discoverPollEndpoint_cluster :: Lens' DiscoverPollEndpoint (Maybe Text) Source #

The short name or full Amazon Resource Name (ARN) of the cluster to which the container instance belongs.

discoverPollEndpoint_containerInstance :: Lens' DiscoverPollEndpoint (Maybe Text) Source #

The container instance ID or full ARN of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the Region of the container instance, the Amazon Web Services account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID.

Destructuring the Response

data DiscoverPollEndpointResponse Source #

See: newDiscoverPollEndpointResponse smart constructor.

Constructors

DiscoverPollEndpointResponse' 

Fields

Instances

Instances details
Eq DiscoverPollEndpointResponse Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

Read DiscoverPollEndpointResponse Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

Show DiscoverPollEndpointResponse Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

Generic DiscoverPollEndpointResponse Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

Associated Types

type Rep DiscoverPollEndpointResponse :: Type -> Type #

NFData DiscoverPollEndpointResponse Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

type Rep DiscoverPollEndpointResponse Source # 
Instance details

Defined in Amazonka.ECS.DiscoverPollEndpoint

type Rep DiscoverPollEndpointResponse = D1 ('MetaData "DiscoverPollEndpointResponse" "Amazonka.ECS.DiscoverPollEndpoint" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "DiscoverPollEndpointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "telemetryEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDiscoverPollEndpointResponse Source #

Create a value of DiscoverPollEndpointResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:telemetryEndpoint:DiscoverPollEndpointResponse', discoverPollEndpointResponse_telemetryEndpoint - The telemetry endpoint for the Amazon ECS agent.

$sel:endpoint:DiscoverPollEndpointResponse', discoverPollEndpointResponse_endpoint - The endpoint for the Amazon ECS agent to poll.

$sel:httpStatus:DiscoverPollEndpointResponse', discoverPollEndpointResponse_httpStatus - The response's http status code.

Response Lenses