| 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 |
Amazonka.CloudFormation.SetTypeDefaultVersion
Description
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_versionId :: Lens' SetTypeDefaultVersion (Maybe Text)
- setTypeDefaultVersion_typeName :: Lens' SetTypeDefaultVersion (Maybe Text)
- setTypeDefaultVersion_arn :: Lens' SetTypeDefaultVersion (Maybe Text)
- setTypeDefaultVersion_type :: Lens' SetTypeDefaultVersion (Maybe RegistryType)
- data SetTypeDefaultVersionResponse = SetTypeDefaultVersionResponse' {
- httpStatus :: Int
- newSetTypeDefaultVersionResponse :: Int -> SetTypeDefaultVersionResponse
- setTypeDefaultVersionResponse_httpStatus :: Lens' SetTypeDefaultVersionResponse Int
Creating a Request
data SetTypeDefaultVersion Source #
See: newSetTypeDefaultVersion smart constructor.
Constructors
| SetTypeDefaultVersion' | |
Fields
| |
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:
$sel:versionId: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.
$sel:typeName:SetTypeDefaultVersion', setTypeDefaultVersion_typeName - The name of the extension.
Conditional: You must specify either TypeName and Type, or Arn.
$sel:arn: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.
$sel:type':SetTypeDefaultVersion', setTypeDefaultVersion_type - The kind of extension.
Conditional: You must specify either TypeName and Type, or Arn.
Request Lenses
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.
setTypeDefaultVersion_typeName :: Lens' SetTypeDefaultVersion (Maybe Text) Source #
The name of the extension.
Conditional: You must specify either TypeName and Type, or Arn.
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.
Destructuring the Response
data SetTypeDefaultVersionResponse Source #
See: newSetTypeDefaultVersionResponse smart constructor.
Constructors
| SetTypeDefaultVersionResponse' | |
Fields
| |
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.