libZSservicesZSamazonka-chimeZSamazonka-chime
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.Chime.UpdateSipRule

Description

Updates the details of the specified SIP rule.

Synopsis

Creating a Request

data UpdateSipRule Source #

See: newUpdateSipRule smart constructor.

Constructors

UpdateSipRule' 

Fields

Instances

Instances details
Eq UpdateSipRule Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

Read UpdateSipRule Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

Show UpdateSipRule Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

Generic UpdateSipRule Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

Associated Types

type Rep UpdateSipRule :: Type -> Type #

NFData UpdateSipRule Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

Methods

rnf :: UpdateSipRule -> () #

Hashable UpdateSipRule Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

ToJSON UpdateSipRule Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

AWSRequest UpdateSipRule Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

Associated Types

type AWSResponse UpdateSipRule #

ToHeaders UpdateSipRule Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

ToPath UpdateSipRule Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

ToQuery UpdateSipRule Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

type Rep UpdateSipRule Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

type Rep UpdateSipRule = D1 ('MetaData "UpdateSipRule" "Amazonka.Chime.UpdateSipRule" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "UpdateSipRule'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "disabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "targetApplications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty SipRuleTargetApplication)))) :*: (S1 ('MetaSel ('Just "sipRuleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateSipRule Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

newUpdateSipRule Source #

Create a value of UpdateSipRule 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:disabled:UpdateSipRule', updateSipRule_disabled - The new value specified to indicate whether the rule is disabled.

$sel:targetApplications:UpdateSipRule', updateSipRule_targetApplications - The new value of the list of target applications.

$sel:sipRuleId:UpdateSipRule', updateSipRule_sipRuleId - The SIP rule ID.

$sel:name:UpdateSipRule', updateSipRule_name - The new name for the specified SIP rule.

Request Lenses

updateSipRule_disabled :: Lens' UpdateSipRule (Maybe Bool) Source #

The new value specified to indicate whether the rule is disabled.

updateSipRule_targetApplications :: Lens' UpdateSipRule (Maybe (NonEmpty SipRuleTargetApplication)) Source #

The new value of the list of target applications.

updateSipRule_name :: Lens' UpdateSipRule Text Source #

The new name for the specified SIP rule.

Destructuring the Response

data UpdateSipRuleResponse Source #

See: newUpdateSipRuleResponse smart constructor.

Constructors

UpdateSipRuleResponse' 

Fields

Instances

Instances details
Eq UpdateSipRuleResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

Read UpdateSipRuleResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

Show UpdateSipRuleResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

Generic UpdateSipRuleResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

Associated Types

type Rep UpdateSipRuleResponse :: Type -> Type #

NFData UpdateSipRuleResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

Methods

rnf :: UpdateSipRuleResponse -> () #

type Rep UpdateSipRuleResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateSipRule

type Rep UpdateSipRuleResponse = D1 ('MetaData "UpdateSipRuleResponse" "Amazonka.Chime.UpdateSipRule" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "UpdateSipRuleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sipRule") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SipRule)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateSipRuleResponse Source #

Create a value of UpdateSipRuleResponse 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:sipRule:UpdateSipRuleResponse', updateSipRuleResponse_sipRule - Updated SIP rule details.

$sel:httpStatus:UpdateSipRuleResponse', updateSipRuleResponse_httpStatus - The response's http status code.

Response Lenses