Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Remove a label or labels from a parameter.
Synopsis
- data UnlabelParameterVersion = UnlabelParameterVersion' {}
- newUnlabelParameterVersion :: Text -> Integer -> NonEmpty Text -> UnlabelParameterVersion
- unlabelParameterVersion_name :: Lens' UnlabelParameterVersion Text
- unlabelParameterVersion_parameterVersion :: Lens' UnlabelParameterVersion Integer
- unlabelParameterVersion_labels :: Lens' UnlabelParameterVersion (NonEmpty Text)
- data UnlabelParameterVersionResponse = UnlabelParameterVersionResponse' {
- invalidLabels :: Maybe (NonEmpty Text)
- removedLabels :: Maybe (NonEmpty Text)
- httpStatus :: Int
- newUnlabelParameterVersionResponse :: Int -> UnlabelParameterVersionResponse
- unlabelParameterVersionResponse_invalidLabels :: Lens' UnlabelParameterVersionResponse (Maybe (NonEmpty Text))
- unlabelParameterVersionResponse_removedLabels :: Lens' UnlabelParameterVersionResponse (Maybe (NonEmpty Text))
- unlabelParameterVersionResponse_httpStatus :: Lens' UnlabelParameterVersionResponse Int
Creating a Request
data UnlabelParameterVersion Source #
See: newUnlabelParameterVersion
smart constructor.
UnlabelParameterVersion' | |
|
Instances
newUnlabelParameterVersion Source #
:: Text | |
-> Integer | |
-> NonEmpty Text | |
-> UnlabelParameterVersion |
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.
UnlabelParameterVersionResponse' | |
|
Instances
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.
unlabelParameterVersionResponse_removedLabels :: Lens' UnlabelParameterVersionResponse (Maybe (NonEmpty Text)) Source #
A list of all labels deleted from the parameter.
unlabelParameterVersionResponse_httpStatus :: Lens' UnlabelParameterVersionResponse Int Source #
The response's http status code.