libZSservicesZSamazonka-ssmZSamazonka-ssm
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.SSM.UnlabelParameterVersion

Description

Remove a label or labels from a parameter.

Synopsis

Creating a Request

data UnlabelParameterVersion Source #

See: newUnlabelParameterVersion smart constructor.

Constructors

UnlabelParameterVersion' 

Fields

  • name :: Text

    The name of the parameter from which you want to delete one or more labels.

  • parameterVersion :: Integer

    The specific version of the parameter which you want to delete one or more labels from. If it isn't present, the call will fail.

  • labels :: NonEmpty Text

    One or more labels to delete from the specified parameter version.

Instances

Instances details
Eq UnlabelParameterVersion Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

Read UnlabelParameterVersion Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

Show UnlabelParameterVersion Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

Generic UnlabelParameterVersion Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

Associated Types

type Rep UnlabelParameterVersion :: Type -> Type #

NFData UnlabelParameterVersion Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

Methods

rnf :: UnlabelParameterVersion -> () #

Hashable UnlabelParameterVersion Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

ToJSON UnlabelParameterVersion Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

AWSRequest UnlabelParameterVersion Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

ToHeaders UnlabelParameterVersion Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

ToPath UnlabelParameterVersion Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

ToQuery UnlabelParameterVersion Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

type Rep UnlabelParameterVersion Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

type Rep UnlabelParameterVersion = D1 ('MetaData "UnlabelParameterVersion" "Amazonka.SSM.UnlabelParameterVersion" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "UnlabelParameterVersion'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "parameterVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: S1 ('MetaSel ('Just "labels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)))))
type AWSResponse UnlabelParameterVersion Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

newUnlabelParameterVersion Source #

Create a value of UnlabelParameterVersion 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:name:UnlabelParameterVersion', unlabelParameterVersion_name - The name of the parameter from which you want to delete one or more labels.

$sel:parameterVersion:UnlabelParameterVersion', unlabelParameterVersion_parameterVersion - The specific version of the parameter which you want to delete one or more labels from. If it isn't present, the call will fail.

$sel:labels:UnlabelParameterVersion', unlabelParameterVersion_labels - One or more labels to delete from the specified parameter version.

Request Lenses

unlabelParameterVersion_name :: Lens' UnlabelParameterVersion Text Source #

The name of the parameter from which you want to delete one or more labels.

unlabelParameterVersion_parameterVersion :: Lens' UnlabelParameterVersion Integer Source #

The specific version of the parameter which you want to delete one or more labels from. If it isn't present, the call will fail.

unlabelParameterVersion_labels :: Lens' UnlabelParameterVersion (NonEmpty Text) Source #

One or more labels to delete from the specified parameter version.

Destructuring the Response

data UnlabelParameterVersionResponse Source #

See: newUnlabelParameterVersionResponse smart constructor.

Constructors

UnlabelParameterVersionResponse' 

Fields

Instances

Instances details
Eq UnlabelParameterVersionResponse Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

Read UnlabelParameterVersionResponse Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

Show UnlabelParameterVersionResponse Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

Generic UnlabelParameterVersionResponse Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

Associated Types

type Rep UnlabelParameterVersionResponse :: Type -> Type #

NFData UnlabelParameterVersionResponse Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

type Rep UnlabelParameterVersionResponse Source # 
Instance details

Defined in Amazonka.SSM.UnlabelParameterVersion

type Rep UnlabelParameterVersionResponse = D1 ('MetaData "UnlabelParameterVersionResponse" "Amazonka.SSM.UnlabelParameterVersion" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "UnlabelParameterVersionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "invalidLabels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "removedLabels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUnlabelParameterVersionResponse Source #

Create a value of UnlabelParameterVersionResponse 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:invalidLabels:UnlabelParameterVersionResponse', unlabelParameterVersionResponse_invalidLabels - The labels that aren't attached to the given parameter version.

$sel:removedLabels:UnlabelParameterVersionResponse', unlabelParameterVersionResponse_removedLabels - A list of all labels deleted from the parameter.

$sel:httpStatus:UnlabelParameterVersionResponse', unlabelParameterVersionResponse_httpStatus - The response's http status code.

Response Lenses

unlabelParameterVersionResponse_invalidLabels :: Lens' UnlabelParameterVersionResponse (Maybe (NonEmpty Text)) Source #

The labels that aren't attached to the given parameter version.