libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect
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.MediaConnect.RemoveFlowSource

Description

Removes a source from an existing flow. This request can be made only if there is more than one source on the flow.

Synopsis

Creating a Request

data RemoveFlowSource Source #

See: newRemoveFlowSource smart constructor.

Constructors

RemoveFlowSource' 

Fields

  • flowArn :: Text

    The flow that you want to remove a source from.

  • sourceArn :: Text

    The ARN of the source that you want to remove.

Instances

Instances details
Eq RemoveFlowSource Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

Read RemoveFlowSource Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

Show RemoveFlowSource Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

Generic RemoveFlowSource Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

Associated Types

type Rep RemoveFlowSource :: Type -> Type #

NFData RemoveFlowSource Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

Methods

rnf :: RemoveFlowSource -> () #

Hashable RemoveFlowSource Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

AWSRequest RemoveFlowSource Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

Associated Types

type AWSResponse RemoveFlowSource #

ToHeaders RemoveFlowSource Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

ToPath RemoveFlowSource Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

ToQuery RemoveFlowSource Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

type Rep RemoveFlowSource Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

type Rep RemoveFlowSource = D1 ('MetaData "RemoveFlowSource" "Amazonka.MediaConnect.RemoveFlowSource" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "RemoveFlowSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "sourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse RemoveFlowSource Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

newRemoveFlowSource Source #

Create a value of RemoveFlowSource 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:flowArn:RemoveFlowSource', removeFlowSource_flowArn - The flow that you want to remove a source from.

$sel:sourceArn:RemoveFlowSource', removeFlowSource_sourceArn - The ARN of the source that you want to remove.

Request Lenses

removeFlowSource_flowArn :: Lens' RemoveFlowSource Text Source #

The flow that you want to remove a source from.

removeFlowSource_sourceArn :: Lens' RemoveFlowSource Text Source #

The ARN of the source that you want to remove.

Destructuring the Response

data RemoveFlowSourceResponse Source #

See: newRemoveFlowSourceResponse smart constructor.

Constructors

RemoveFlowSourceResponse' 

Fields

Instances

Instances details
Eq RemoveFlowSourceResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

Read RemoveFlowSourceResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

Show RemoveFlowSourceResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

Generic RemoveFlowSourceResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

Associated Types

type Rep RemoveFlowSourceResponse :: Type -> Type #

NFData RemoveFlowSourceResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

type Rep RemoveFlowSourceResponse Source # 
Instance details

Defined in Amazonka.MediaConnect.RemoveFlowSource

type Rep RemoveFlowSourceResponse = D1 ('MetaData "RemoveFlowSourceResponse" "Amazonka.MediaConnect.RemoveFlowSource" "libZSservicesZSamazonka-mediaconnectZSamazonka-mediaconnect" 'False) (C1 ('MetaCons "RemoveFlowSourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "flowArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sourceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRemoveFlowSourceResponse Source #

Create a value of RemoveFlowSourceResponse 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:flowArn:RemoveFlowSource', removeFlowSourceResponse_flowArn - The ARN of the flow that is associated with the source you removed.

$sel:sourceArn:RemoveFlowSource', removeFlowSourceResponse_sourceArn - The ARN of the source that was removed.

$sel:httpStatus:RemoveFlowSourceResponse', removeFlowSourceResponse_httpStatus - The response's http status code.

Response Lenses

removeFlowSourceResponse_flowArn :: Lens' RemoveFlowSourceResponse (Maybe Text) Source #

The ARN of the flow that is associated with the source you removed.