Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Specify the default version of an extension. The default version of an extension will be used in CloudFormation operations.
Synopsis
- data SetTypeDefaultVersion = SetTypeDefaultVersion' {}
- newSetTypeDefaultVersion :: SetTypeDefaultVersion
- setTypeDefaultVersion_arn :: Lens' SetTypeDefaultVersion (Maybe Text)
- setTypeDefaultVersion_type :: Lens' SetTypeDefaultVersion (Maybe RegistryType)
- setTypeDefaultVersion_typeName :: Lens' SetTypeDefaultVersion (Maybe Text)
- setTypeDefaultVersion_versionId :: Lens' SetTypeDefaultVersion (Maybe Text)
- data SetTypeDefaultVersionResponse = SetTypeDefaultVersionResponse' {
- httpStatus :: Int
- newSetTypeDefaultVersionResponse :: Int -> SetTypeDefaultVersionResponse
- setTypeDefaultVersionResponse_httpStatus :: Lens' SetTypeDefaultVersionResponse Int
Creating a Request
data SetTypeDefaultVersion Source #
See: newSetTypeDefaultVersion
smart constructor.
SetTypeDefaultVersion' | |
|
Instances
newSetTypeDefaultVersion :: SetTypeDefaultVersion Source #
Create a value of SetTypeDefaultVersion
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:
SetTypeDefaultVersion
, setTypeDefaultVersion_arn
- The Amazon Resource Name (ARN) of the extension for which you want
version summary information.
Conditional: You must specify either TypeName
and Type
, or Arn
.
SetTypeDefaultVersion
, setTypeDefaultVersion_type
- The kind of extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
SetTypeDefaultVersion
, setTypeDefaultVersion_typeName
- The name of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
SetTypeDefaultVersion
, setTypeDefaultVersion_versionId
- The ID of a specific version of the extension. The version ID is the
value at the end of the Amazon Resource Name (ARN) assigned to the
extension version when it is registered.
Request Lenses
setTypeDefaultVersion_arn :: Lens' SetTypeDefaultVersion (Maybe Text) Source #
The Amazon Resource Name (ARN) of the extension for which you want version summary information.
Conditional: You must specify either TypeName
and Type
, or Arn
.
setTypeDefaultVersion_type :: Lens' SetTypeDefaultVersion (Maybe RegistryType) Source #
The kind of extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
setTypeDefaultVersion_typeName :: Lens' SetTypeDefaultVersion (Maybe Text) Source #
The name of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
setTypeDefaultVersion_versionId :: Lens' SetTypeDefaultVersion (Maybe Text) Source #
The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.
Destructuring the Response
data SetTypeDefaultVersionResponse Source #
See: newSetTypeDefaultVersionResponse
smart constructor.
SetTypeDefaultVersionResponse' | |
|
Instances
newSetTypeDefaultVersionResponse Source #
Create a value of SetTypeDefaultVersionResponse
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:httpStatus:SetTypeDefaultVersionResponse'
, setTypeDefaultVersionResponse_httpStatus
- The response's http status code.
Response Lenses
setTypeDefaultVersionResponse_httpStatus :: Lens' SetTypeDefaultVersionResponse Int Source #
The response's http status code.