amazonka-ssm-2.0: Amazon Simple Systems Manager (SSM) SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.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

AWSRequest CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Associated Types

type AWSResponse CreateOpsMetadata #

Generic CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Associated Types

type Rep CreateOpsMetadata :: Type -> Type #

Read CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Show CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

NFData CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Methods

rnf :: CreateOpsMetadata -> () #

Eq CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Hashable CreateOpsMetadata Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

type AWSResponse 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" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" '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))))

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.

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

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
Generic CreateOpsMetadataResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Associated Types

type Rep CreateOpsMetadataResponse :: Type -> Type #

Read CreateOpsMetadataResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Show CreateOpsMetadataResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

NFData CreateOpsMetadataResponse Source # 
Instance details

Defined in Amazonka.SSM.CreateOpsMetadata

Eq 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" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" '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:

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.