libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2
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.GreengrassV2.GetComponentVersionArtifact

Description

Gets the pre-signed URL to download a public component artifact. Core devices call this operation to identify the URL that they can use to download an artifact to install.

Synopsis

Creating a Request

data GetComponentVersionArtifact Source #

See: newGetComponentVersionArtifact smart constructor.

Constructors

GetComponentVersionArtifact' 

Fields

  • arn :: Text

    The ARN of the component version. Specify the ARN of a public component version.

  • artifactName :: Text

    The name of the artifact.

    You can use the GetComponent operation to download the component recipe, which includes the URI of the artifact. The artifact name is the section of the URI after the scheme. For example, in the artifact URI greengrass:SomeArtifact.zip, the artifact name is SomeArtifact.zip.

Instances

Instances details
Eq GetComponentVersionArtifact Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

Read GetComponentVersionArtifact Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

Show GetComponentVersionArtifact Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

Generic GetComponentVersionArtifact Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

Associated Types

type Rep GetComponentVersionArtifact :: Type -> Type #

NFData GetComponentVersionArtifact Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

Hashable GetComponentVersionArtifact Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

AWSRequest GetComponentVersionArtifact Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

ToHeaders GetComponentVersionArtifact Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

ToPath GetComponentVersionArtifact Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

ToQuery GetComponentVersionArtifact Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

type Rep GetComponentVersionArtifact Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

type Rep GetComponentVersionArtifact = D1 ('MetaData "GetComponentVersionArtifact" "Amazonka.GreengrassV2.GetComponentVersionArtifact" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "GetComponentVersionArtifact'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "artifactName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetComponentVersionArtifact Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

newGetComponentVersionArtifact Source #

Create a value of GetComponentVersionArtifact 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:arn:GetComponentVersionArtifact', getComponentVersionArtifact_arn - The ARN of the component version. Specify the ARN of a public component version.

$sel:artifactName:GetComponentVersionArtifact', getComponentVersionArtifact_artifactName - The name of the artifact.

You can use the GetComponent operation to download the component recipe, which includes the URI of the artifact. The artifact name is the section of the URI after the scheme. For example, in the artifact URI greengrass:SomeArtifact.zip, the artifact name is SomeArtifact.zip.

Request Lenses

getComponentVersionArtifact_arn :: Lens' GetComponentVersionArtifact Text Source #

The ARN of the component version. Specify the ARN of a public component version.

getComponentVersionArtifact_artifactName :: Lens' GetComponentVersionArtifact Text Source #

The name of the artifact.

You can use the GetComponent operation to download the component recipe, which includes the URI of the artifact. The artifact name is the section of the URI after the scheme. For example, in the artifact URI greengrass:SomeArtifact.zip, the artifact name is SomeArtifact.zip.

Destructuring the Response

data GetComponentVersionArtifactResponse Source #

Constructors

GetComponentVersionArtifactResponse' 

Fields

Instances

Instances details
Eq GetComponentVersionArtifactResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

Read GetComponentVersionArtifactResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

Show GetComponentVersionArtifactResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

Generic GetComponentVersionArtifactResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

NFData GetComponentVersionArtifactResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

type Rep GetComponentVersionArtifactResponse Source # 
Instance details

Defined in Amazonka.GreengrassV2.GetComponentVersionArtifact

type Rep GetComponentVersionArtifactResponse = D1 ('MetaData "GetComponentVersionArtifactResponse" "Amazonka.GreengrassV2.GetComponentVersionArtifact" "libZSservicesZSamazonka-greengrassv2ZSamazonka-greengrassv2" 'False) (C1 ('MetaCons "GetComponentVersionArtifactResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "preSignedUrl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

Response Lenses