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.CreateOpsMetadata

Description

If you create a new application in Application Manager, Amazon Web Services Systems Manager calls this API operation to specify information about the new application, including the application type.

Synopsis

Creating a Request

data CreateOpsMetadata Source #

See: newCreateOpsMetadata smart constructor.

Constructors

CreateOpsMetadata' 

Fields

  • metadata :: Maybe (HashMap Text MetadataValue)

    Metadata for a new Application Manager application.

  • tags :: Maybe [Tag]

    Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:

    • Key=Environment,Value=Production
    • Key=Region,Value=us-east-2
  • resourceId :: Text

    A resource ID for a new Application Manager application.

Instances

Instances details
Eq CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Read CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Show CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Generic CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Associated Types

type Rep CreateOpsMetadata :: Type -> Type #

NFData CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Methods

rnf :: CreateOpsMetadata -> () #

Hashable CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

ToJSON CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

AWSRequest CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Associated Types

type AWSResponse CreateOpsMetadata #

ToHeaders CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

ToPath CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

ToQuery CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

type Rep CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

type Rep CreateOpsMetadata = D1 ('MetaData "CreateOpsMetadata" "Amazonka.SSM.CreateOpsMetadata" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "CreateOpsMetadata'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text MetadataValue))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

newCreateOpsMetadata Source #

Create a value of CreateOpsMetadata 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:metadata:CreateOpsMetadata', createOpsMetadata_metadata - Metadata for a new Application Manager application.

$sel:tags:CreateOpsMetadata', createOpsMetadata_tags - Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:

  • Key=Environment,Value=Production
  • Key=Region,Value=us-east-2

$sel:resourceId:CreateOpsMetadata', createOpsMetadata_resourceId - A resource ID for a new Application Manager application.

Request Lenses

createOpsMetadata_metadata :: Lens' CreateOpsMetadata (Maybe (HashMap Text MetadataValue)) Source #

Metadata for a new Application Manager application.

createOpsMetadata_tags :: Lens' CreateOpsMetadata (Maybe [Tag]) Source #

Optional metadata that you assign to a resource. You can specify a maximum of five tags for an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:

  • Key=Environment,Value=Production
  • Key=Region,Value=us-east-2

createOpsMetadata_resourceId :: Lens' CreateOpsMetadata Text Source #

A resource ID for a new Application Manager application.

Destructuring the Response

data CreateOpsMetadataResponse Source #

See: newCreateOpsMetadataResponse smart constructor.

Constructors

CreateOpsMetadataResponse' 

Fields

Instances

Instances details
Eq CreateOpsMetadataResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Read CreateOpsMetadataResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Show CreateOpsMetadataResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Generic CreateOpsMetadataResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Associated Types

type Rep CreateOpsMetadataResponse :: Type -> Type #

NFData CreateOpsMetadataResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

type Rep CreateOpsMetadataResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

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

newCreateOpsMetadataResponse Source #

Create a value of CreateOpsMetadataResponse 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:opsMetadataArn:CreateOpsMetadataResponse', createOpsMetadataResponse_opsMetadataArn - The Amazon Resource Name (ARN) of the OpsMetadata Object or blob created by the call.

$sel:httpStatus:CreateOpsMetadataResponse', createOpsMetadataResponse_httpStatus - The response's http status code.

Response Lenses

createOpsMetadataResponse_opsMetadataArn :: Lens' CreateOpsMetadataResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the OpsMetadata Object or blob created by the call.