-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon CodeArtifact SDK.
--
-- Derived from API version 2018-09-22 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information, sending requests, and receiving responses.
--
-- It is recommended to use generic lenses or optics from packages such
-- as generic-lens or optics to modify optional fields and
-- deconstruct responses.
--
-- Generated lenses can be found in Amazonka.CodeArtifact.Lens and
-- are suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.CodeArtifact and the AWS documentation to
-- get started.
@package amazonka-codeartifact
@version 2.0
module Amazonka.CodeArtifact.Types.AllowPublish
newtype AllowPublish
AllowPublish' :: Text -> AllowPublish
[fromAllowPublish] :: AllowPublish -> Text
pattern AllowPublish_ALLOW :: AllowPublish
pattern AllowPublish_BLOCK :: AllowPublish
instance Amazonka.Data.XML.ToXML Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance Amazonka.Data.XML.FromXML Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance Amazonka.Data.Log.ToLog Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance Amazonka.Data.Text.ToText Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance Amazonka.Data.Text.FromText Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance GHC.Classes.Ord Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance GHC.Read.Read Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
instance GHC.Show.Show Amazonka.CodeArtifact.Types.AllowPublish.AllowPublish
module Amazonka.CodeArtifact.Types.AllowUpstream
newtype AllowUpstream
AllowUpstream' :: Text -> AllowUpstream
[fromAllowUpstream] :: AllowUpstream -> Text
pattern AllowUpstream_ALLOW :: AllowUpstream
pattern AllowUpstream_BLOCK :: AllowUpstream
instance Amazonka.Data.XML.ToXML Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance Amazonka.Data.XML.FromXML Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance Amazonka.Data.Log.ToLog Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance Amazonka.Data.Text.ToText Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance Amazonka.Data.Text.FromText Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance GHC.Classes.Ord Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance GHC.Read.Read Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
instance GHC.Show.Show Amazonka.CodeArtifact.Types.AllowUpstream.AllowUpstream
module Amazonka.CodeArtifact.Types.DomainEntryPoint
-- | Information about how a package originally entered the CodeArtifact
-- domain. For packages published directly to CodeArtifact, the entry
-- point is the repository it was published to. For packages ingested
-- from an external repository, the entry point is the external
-- connection that it was ingested from. An external connection is a
-- CodeArtifact repository that is connected to an external repository
-- such as the npm registry or NuGet gallery.
--
-- See: newDomainEntryPoint smart constructor.
data DomainEntryPoint
DomainEntryPoint' :: Maybe Text -> Maybe Text -> DomainEntryPoint
-- | The name of the external connection that a package was ingested from.
[$sel:externalConnectionName:DomainEntryPoint'] :: DomainEntryPoint -> Maybe Text
-- | The name of the repository that a package was originally published to.
[$sel:repositoryName:DomainEntryPoint'] :: DomainEntryPoint -> Maybe Text
-- | Create a value of DomainEntryPoint 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:externalConnectionName:DomainEntryPoint',
-- domainEntryPoint_externalConnectionName - The name of the
-- external connection that a package was ingested from.
--
-- $sel:repositoryName:DomainEntryPoint',
-- domainEntryPoint_repositoryName - The name of the repository
-- that a package was originally published to.
newDomainEntryPoint :: DomainEntryPoint
-- | The name of the external connection that a package was ingested from.
domainEntryPoint_externalConnectionName :: Lens' DomainEntryPoint (Maybe Text)
-- | The name of the repository that a package was originally published to.
domainEntryPoint_repositoryName :: Lens' DomainEntryPoint (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.DomainEntryPoint.DomainEntryPoint
instance GHC.Show.Show Amazonka.CodeArtifact.Types.DomainEntryPoint.DomainEntryPoint
instance GHC.Read.Read Amazonka.CodeArtifact.Types.DomainEntryPoint.DomainEntryPoint
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.DomainEntryPoint.DomainEntryPoint
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.DomainEntryPoint.DomainEntryPoint
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.DomainEntryPoint.DomainEntryPoint
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.DomainEntryPoint.DomainEntryPoint
module Amazonka.CodeArtifact.Types.DomainStatus
newtype DomainStatus
DomainStatus' :: Text -> DomainStatus
[fromDomainStatus] :: DomainStatus -> Text
pattern DomainStatus_Active :: DomainStatus
pattern DomainStatus_Deleted :: DomainStatus
instance Amazonka.Data.XML.ToXML Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance Amazonka.Data.XML.FromXML Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance Amazonka.Data.Log.ToLog Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance Amazonka.Data.Text.ToText Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance Amazonka.Data.Text.FromText Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance GHC.Classes.Ord Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance GHC.Read.Read Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
instance GHC.Show.Show Amazonka.CodeArtifact.Types.DomainStatus.DomainStatus
module Amazonka.CodeArtifact.Types.DomainDescription
-- | Information about a domain. A domain is a container for repositories.
-- When you create a domain, it is empty until you add one or more
-- repositories.
--
-- See: newDomainDescription smart constructor.
data DomainDescription
DomainDescription' :: Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe DomainStatus -> DomainDescription
-- | The Amazon Resource Name (ARN) of the domain.
[$sel:arn:DomainDescription'] :: DomainDescription -> Maybe Text
-- | The total size of all assets in the domain.
[$sel:assetSizeBytes:DomainDescription'] :: DomainDescription -> Maybe Integer
-- | A timestamp that represents the date and time the domain was created.
[$sel:createdTime:DomainDescription'] :: DomainDescription -> Maybe POSIX
-- | The ARN of an Key Management Service (KMS) key associated with a
-- domain.
[$sel:encryptionKey:DomainDescription'] :: DomainDescription -> Maybe Text
-- | The name of the domain.
[$sel:name:DomainDescription'] :: DomainDescription -> Maybe Text
-- | The Amazon Web Services account ID that owns the domain.
[$sel:owner:DomainDescription'] :: DomainDescription -> Maybe Text
-- | The number of repositories in the domain.
[$sel:repositoryCount:DomainDescription'] :: DomainDescription -> Maybe Int
-- | The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to
-- store package assets in the domain.
[$sel:s3BucketArn:DomainDescription'] :: DomainDescription -> Maybe Text
-- | The current status of a domain.
[$sel:status:DomainDescription'] :: DomainDescription -> Maybe DomainStatus
-- | Create a value of DomainDescription 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:DomainDescription', domainDescription_arn - The
-- Amazon Resource Name (ARN) of the domain.
--
-- $sel:assetSizeBytes:DomainDescription',
-- domainDescription_assetSizeBytes - The total size of all assets
-- in the domain.
--
-- $sel:createdTime:DomainDescription',
-- domainDescription_createdTime - A timestamp that represents the
-- date and time the domain was created.
--
-- $sel:encryptionKey:DomainDescription',
-- domainDescription_encryptionKey - The ARN of an Key Management
-- Service (KMS) key associated with a domain.
--
-- $sel:name:DomainDescription', domainDescription_name -
-- The name of the domain.
--
-- $sel:owner:DomainDescription', domainDescription_owner -
-- The Amazon Web Services account ID that owns the domain.
--
-- $sel:repositoryCount:DomainDescription',
-- domainDescription_repositoryCount - The number of repositories
-- in the domain.
--
-- $sel:s3BucketArn:DomainDescription',
-- domainDescription_s3BucketArn - The Amazon Resource Name (ARN)
-- of the Amazon S3 bucket that is used to store package assets in the
-- domain.
--
-- $sel:status:DomainDescription', domainDescription_status
-- - The current status of a domain.
newDomainDescription :: DomainDescription
-- | The Amazon Resource Name (ARN) of the domain.
domainDescription_arn :: Lens' DomainDescription (Maybe Text)
-- | The total size of all assets in the domain.
domainDescription_assetSizeBytes :: Lens' DomainDescription (Maybe Integer)
-- | A timestamp that represents the date and time the domain was created.
domainDescription_createdTime :: Lens' DomainDescription (Maybe UTCTime)
-- | The ARN of an Key Management Service (KMS) key associated with a
-- domain.
domainDescription_encryptionKey :: Lens' DomainDescription (Maybe Text)
-- | The name of the domain.
domainDescription_name :: Lens' DomainDescription (Maybe Text)
-- | The Amazon Web Services account ID that owns the domain.
domainDescription_owner :: Lens' DomainDescription (Maybe Text)
-- | The number of repositories in the domain.
domainDescription_repositoryCount :: Lens' DomainDescription (Maybe Int)
-- | The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to
-- store package assets in the domain.
domainDescription_s3BucketArn :: Lens' DomainDescription (Maybe Text)
-- | The current status of a domain.
domainDescription_status :: Lens' DomainDescription (Maybe DomainStatus)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.DomainDescription.DomainDescription
instance GHC.Show.Show Amazonka.CodeArtifact.Types.DomainDescription.DomainDescription
instance GHC.Read.Read Amazonka.CodeArtifact.Types.DomainDescription.DomainDescription
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.DomainDescription.DomainDescription
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.DomainDescription.DomainDescription
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.DomainDescription.DomainDescription
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.DomainDescription.DomainDescription
module Amazonka.CodeArtifact.Types.DomainSummary
-- | Information about a domain, including its name, Amazon Resource Name
-- (ARN), and status. The ListDomains operation returns a list of
-- DomainSummary objects.
--
-- See: newDomainSummary smart constructor.
data DomainSummary
DomainSummary' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DomainStatus -> DomainSummary
-- | The ARN of the domain.
[$sel:arn:DomainSummary'] :: DomainSummary -> Maybe Text
-- | A timestamp that contains the date and time the domain was created.
[$sel:createdTime:DomainSummary'] :: DomainSummary -> Maybe POSIX
-- | The key used to encrypt the domain.
[$sel:encryptionKey:DomainSummary'] :: DomainSummary -> Maybe Text
-- | The name of the domain.
[$sel:name:DomainSummary'] :: DomainSummary -> Maybe Text
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:owner:DomainSummary'] :: DomainSummary -> Maybe Text
-- | A string that contains the status of the domain.
[$sel:status:DomainSummary'] :: DomainSummary -> Maybe DomainStatus
-- | Create a value of DomainSummary 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:DomainSummary', domainSummary_arn - The ARN of
-- the domain.
--
-- $sel:createdTime:DomainSummary',
-- domainSummary_createdTime - A timestamp that contains the date
-- and time the domain was created.
--
-- $sel:encryptionKey:DomainSummary',
-- domainSummary_encryptionKey - The key used to encrypt the
-- domain.
--
-- $sel:name:DomainSummary', domainSummary_name - The name
-- of the domain.
--
-- $sel:owner:DomainSummary', domainSummary_owner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- $sel:status:DomainSummary', domainSummary_status - A
-- string that contains the status of the domain.
newDomainSummary :: DomainSummary
-- | The ARN of the domain.
domainSummary_arn :: Lens' DomainSummary (Maybe Text)
-- | A timestamp that contains the date and time the domain was created.
domainSummary_createdTime :: Lens' DomainSummary (Maybe UTCTime)
-- | The key used to encrypt the domain.
domainSummary_encryptionKey :: Lens' DomainSummary (Maybe Text)
-- | The name of the domain.
domainSummary_name :: Lens' DomainSummary (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
domainSummary_owner :: Lens' DomainSummary (Maybe Text)
-- | A string that contains the status of the domain.
domainSummary_status :: Lens' DomainSummary (Maybe DomainStatus)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.DomainSummary.DomainSummary
instance GHC.Show.Show Amazonka.CodeArtifact.Types.DomainSummary.DomainSummary
instance GHC.Read.Read Amazonka.CodeArtifact.Types.DomainSummary.DomainSummary
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.DomainSummary.DomainSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.DomainSummary.DomainSummary
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.DomainSummary.DomainSummary
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.DomainSummary.DomainSummary
module Amazonka.CodeArtifact.Types.ExternalConnectionStatus
newtype ExternalConnectionStatus
ExternalConnectionStatus' :: Text -> ExternalConnectionStatus
[fromExternalConnectionStatus] :: ExternalConnectionStatus -> Text
pattern ExternalConnectionStatus_Available :: ExternalConnectionStatus
instance Amazonka.Data.XML.ToXML Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance Amazonka.Data.XML.FromXML Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance Amazonka.Data.Log.ToLog Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance Amazonka.Data.Text.ToText Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance Amazonka.Data.Text.FromText Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance GHC.Classes.Ord Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance GHC.Read.Read Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
instance GHC.Show.Show Amazonka.CodeArtifact.Types.ExternalConnectionStatus.ExternalConnectionStatus
module Amazonka.CodeArtifact.Types.HashAlgorithm
newtype HashAlgorithm
HashAlgorithm' :: Text -> HashAlgorithm
[fromHashAlgorithm] :: HashAlgorithm -> Text
pattern HashAlgorithm_MD5 :: HashAlgorithm
pattern HashAlgorithm_SHA_1 :: HashAlgorithm
pattern HashAlgorithm_SHA_256 :: HashAlgorithm
pattern HashAlgorithm_SHA_512 :: HashAlgorithm
instance Amazonka.Data.XML.ToXML Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance Amazonka.Data.XML.FromXML Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance Amazonka.Data.Log.ToLog Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance Amazonka.Data.Text.ToText Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance Amazonka.Data.Text.FromText Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance GHC.Classes.Ord Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance GHC.Read.Read Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
instance GHC.Show.Show Amazonka.CodeArtifact.Types.HashAlgorithm.HashAlgorithm
module Amazonka.CodeArtifact.Types.AssetSummary
-- | Contains details about a package version asset.
--
-- See: newAssetSummary smart constructor.
data AssetSummary
AssetSummary' :: Maybe (HashMap HashAlgorithm Text) -> Maybe Integer -> Text -> AssetSummary
-- | The hashes of the asset.
[$sel:hashes:AssetSummary'] :: AssetSummary -> Maybe (HashMap HashAlgorithm Text)
-- | The size of the asset.
[$sel:size:AssetSummary'] :: AssetSummary -> Maybe Integer
-- | The name of the asset.
[$sel:name:AssetSummary'] :: AssetSummary -> Text
-- | Create a value of AssetSummary 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:hashes:AssetSummary', assetSummary_hashes - The
-- hashes of the asset.
--
-- $sel:size:AssetSummary', assetSummary_size - The size of
-- the asset.
--
-- $sel:name:AssetSummary', assetSummary_name - The name of
-- the asset.
newAssetSummary :: Text -> AssetSummary
-- | The hashes of the asset.
assetSummary_hashes :: Lens' AssetSummary (Maybe (HashMap HashAlgorithm Text))
-- | The size of the asset.
assetSummary_size :: Lens' AssetSummary (Maybe Integer)
-- | The name of the asset.
assetSummary_name :: Lens' AssetSummary Text
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.AssetSummary.AssetSummary
instance GHC.Show.Show Amazonka.CodeArtifact.Types.AssetSummary.AssetSummary
instance GHC.Read.Read Amazonka.CodeArtifact.Types.AssetSummary.AssetSummary
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.AssetSummary.AssetSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.AssetSummary.AssetSummary
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.AssetSummary.AssetSummary
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.AssetSummary.AssetSummary
module Amazonka.CodeArtifact.Types.LicenseInfo
-- | Details of the license data.
--
-- See: newLicenseInfo smart constructor.
data LicenseInfo
LicenseInfo' :: Maybe Text -> Maybe Text -> LicenseInfo
-- | Name of the license.
[$sel:name:LicenseInfo'] :: LicenseInfo -> Maybe Text
-- | The URL for license data.
[$sel:url:LicenseInfo'] :: LicenseInfo -> Maybe Text
-- | Create a value of LicenseInfo 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:name:LicenseInfo', licenseInfo_name - Name of the
-- license.
--
-- $sel:url:LicenseInfo', licenseInfo_url - The URL for
-- license data.
newLicenseInfo :: LicenseInfo
-- | Name of the license.
licenseInfo_name :: Lens' LicenseInfo (Maybe Text)
-- | The URL for license data.
licenseInfo_url :: Lens' LicenseInfo (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.LicenseInfo.LicenseInfo
instance GHC.Show.Show Amazonka.CodeArtifact.Types.LicenseInfo.LicenseInfo
instance GHC.Read.Read Amazonka.CodeArtifact.Types.LicenseInfo.LicenseInfo
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.LicenseInfo.LicenseInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.LicenseInfo.LicenseInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.LicenseInfo.LicenseInfo
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.LicenseInfo.LicenseInfo
module Amazonka.CodeArtifact.Types.PackageDependency
-- | Details about a package dependency.
--
-- See: newPackageDependency smart constructor.
data PackageDependency
PackageDependency' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PackageDependency
-- | The type of a package dependency. The possible values depend on the
-- package type. Example types are compile, runtime,
-- and test for Maven packages, and dev, prod,
-- and optional for npm packages.
[$sel:dependencyType:PackageDependency'] :: PackageDependency -> Maybe Text
-- | The namespace of the package that this package depends on. The package
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
[$sel:namespace:PackageDependency'] :: PackageDependency -> Maybe Text
-- | The name of the package that this package depends on.
[$sel:package:PackageDependency'] :: PackageDependency -> Maybe Text
-- | The required version, or version range, of the package that this
-- package depends on. The version format is specific to the package
-- type. For example, the following are possible valid required versions:
-- 1.2.3, ^2.3.4, or 4.x.
[$sel:versionRequirement:PackageDependency'] :: PackageDependency -> Maybe Text
-- | Create a value of PackageDependency 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:dependencyType:PackageDependency',
-- packageDependency_dependencyType - The type of a package
-- dependency. The possible values depend on the package type. Example
-- types are compile, runtime, and test for
-- Maven packages, and dev, prod, and optional
-- for npm packages.
--
-- $sel:namespace:PackageDependency',
-- packageDependency_namespace - The namespace of the package that
-- this package depends on. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- $sel:package:PackageDependency',
-- packageDependency_package - The name of the package that this
-- package depends on.
--
-- $sel:versionRequirement:PackageDependency',
-- packageDependency_versionRequirement - The required version, or
-- version range, of the package that this package depends on. The
-- version format is specific to the package type. For example, the
-- following are possible valid required versions: 1.2.3,
-- ^2.3.4, or 4.x.
newPackageDependency :: PackageDependency
-- | The type of a package dependency. The possible values depend on the
-- package type. Example types are compile, runtime,
-- and test for Maven packages, and dev, prod,
-- and optional for npm packages.
packageDependency_dependencyType :: Lens' PackageDependency (Maybe Text)
-- | The namespace of the package that this package depends on. The package
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
packageDependency_namespace :: Lens' PackageDependency (Maybe Text)
-- | The name of the package that this package depends on.
packageDependency_package :: Lens' PackageDependency (Maybe Text)
-- | The required version, or version range, of the package that this
-- package depends on. The version format is specific to the package
-- type. For example, the following are possible valid required versions:
-- 1.2.3, ^2.3.4, or 4.x.
packageDependency_versionRequirement :: Lens' PackageDependency (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageDependency.PackageDependency
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageDependency.PackageDependency
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageDependency.PackageDependency
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageDependency.PackageDependency
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageDependency.PackageDependency
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageDependency.PackageDependency
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageDependency.PackageDependency
module Amazonka.CodeArtifact.Types.PackageFormat
newtype PackageFormat
PackageFormat' :: Text -> PackageFormat
[fromPackageFormat] :: PackageFormat -> Text
pattern PackageFormat_Maven :: PackageFormat
pattern PackageFormat_Npm :: PackageFormat
pattern PackageFormat_Nuget :: PackageFormat
pattern PackageFormat_Pypi :: PackageFormat
instance Amazonka.Data.XML.ToXML Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance Amazonka.Data.XML.FromXML Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance Amazonka.Data.Log.ToLog Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance Amazonka.Data.Text.ToText Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance Amazonka.Data.Text.FromText Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance GHC.Classes.Ord Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageFormat.PackageFormat
module Amazonka.CodeArtifact.Types.PackageOriginRestrictions
-- | Details about the origin restrictions set on the package. The package
-- origin restrictions determine how new versions of a package can be
-- added to a specific repository.
--
-- See: newPackageOriginRestrictions smart constructor.
data PackageOriginRestrictions
PackageOriginRestrictions' :: AllowPublish -> AllowUpstream -> PackageOriginRestrictions
-- | The package origin configuration that determines if new versions of
-- the package can be published directly to the repository.
[$sel:publish:PackageOriginRestrictions'] :: PackageOriginRestrictions -> AllowPublish
-- | The package origin configuration that determines if new versions of
-- the package can be added to the repository from an external connection
-- or upstream source.
[$sel:upstream:PackageOriginRestrictions'] :: PackageOriginRestrictions -> AllowUpstream
-- | Create a value of PackageOriginRestrictions 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:publish:PackageOriginRestrictions',
-- packageOriginRestrictions_publish - The package origin
-- configuration that determines if new versions of the package can be
-- published directly to the repository.
--
-- $sel:upstream:PackageOriginRestrictions',
-- packageOriginRestrictions_upstream - The package origin
-- configuration that determines if new versions of the package can be
-- added to the repository from an external connection or upstream
-- source.
newPackageOriginRestrictions :: AllowPublish -> AllowUpstream -> PackageOriginRestrictions
-- | The package origin configuration that determines if new versions of
-- the package can be published directly to the repository.
packageOriginRestrictions_publish :: Lens' PackageOriginRestrictions AllowPublish
-- | The package origin configuration that determines if new versions of
-- the package can be added to the repository from an external connection
-- or upstream source.
packageOriginRestrictions_upstream :: Lens' PackageOriginRestrictions AllowUpstream
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageOriginRestrictions.PackageOriginRestrictions
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageOriginRestrictions.PackageOriginRestrictions
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageOriginRestrictions.PackageOriginRestrictions
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageOriginRestrictions.PackageOriginRestrictions
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageOriginRestrictions.PackageOriginRestrictions
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageOriginRestrictions.PackageOriginRestrictions
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageOriginRestrictions.PackageOriginRestrictions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.Types.PackageOriginRestrictions.PackageOriginRestrictions
module Amazonka.CodeArtifact.Types.PackageOriginConfiguration
-- | Details about the package origin configuration of a package.
--
-- See: newPackageOriginConfiguration smart constructor.
data PackageOriginConfiguration
PackageOriginConfiguration' :: Maybe PackageOriginRestrictions -> PackageOriginConfiguration
-- | A PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin configuration for the
-- package.
[$sel:restrictions:PackageOriginConfiguration'] :: PackageOriginConfiguration -> Maybe PackageOriginRestrictions
-- | Create a value of PackageOriginConfiguration 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:restrictions:PackageOriginConfiguration',
-- packageOriginConfiguration_restrictions - A
-- PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin configuration for the
-- package.
newPackageOriginConfiguration :: PackageOriginConfiguration
-- | A PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin configuration for the
-- package.
packageOriginConfiguration_restrictions :: Lens' PackageOriginConfiguration (Maybe PackageOriginRestrictions)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageOriginConfiguration.PackageOriginConfiguration
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageOriginConfiguration.PackageOriginConfiguration
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageOriginConfiguration.PackageOriginConfiguration
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageOriginConfiguration.PackageOriginConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageOriginConfiguration.PackageOriginConfiguration
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageOriginConfiguration.PackageOriginConfiguration
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageOriginConfiguration.PackageOriginConfiguration
module Amazonka.CodeArtifact.Types.PackageDescription
-- | Details about a package.
--
-- See: newPackageDescription smart constructor.
data PackageDescription
PackageDescription' :: Maybe PackageFormat -> Maybe Text -> Maybe Text -> Maybe PackageOriginConfiguration -> PackageDescription
-- | A format that specifies the type of the package.
[$sel:format:PackageDescription'] :: PackageDescription -> Maybe PackageFormat
-- | The name of the package.
[$sel:name:PackageDescription'] :: PackageDescription -> Maybe Text
-- | The namespace of the package. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
[$sel:namespace:PackageDescription'] :: PackageDescription -> Maybe Text
-- | The package origin configuration for the package.
[$sel:originConfiguration:PackageDescription'] :: PackageDescription -> Maybe PackageOriginConfiguration
-- | Create a value of PackageDescription 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:format:PackageDescription',
-- packageDescription_format - A format that specifies the type of
-- the package.
--
-- $sel:name:PackageDescription', packageDescription_name -
-- The name of the package.
--
-- $sel:namespace:PackageDescription',
-- packageDescription_namespace - The namespace of the package.
-- The package component that specifies its namespace depends on its
-- type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- $sel:originConfiguration:PackageDescription',
-- packageDescription_originConfiguration - The package origin
-- configuration for the package.
newPackageDescription :: PackageDescription
-- | A format that specifies the type of the package.
packageDescription_format :: Lens' PackageDescription (Maybe PackageFormat)
-- | The name of the package.
packageDescription_name :: Lens' PackageDescription (Maybe Text)
-- | The namespace of the package. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
packageDescription_namespace :: Lens' PackageDescription (Maybe Text)
-- | The package origin configuration for the package.
packageDescription_originConfiguration :: Lens' PackageDescription (Maybe PackageOriginConfiguration)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageDescription.PackageDescription
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageDescription.PackageDescription
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageDescription.PackageDescription
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageDescription.PackageDescription
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageDescription.PackageDescription
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageDescription.PackageDescription
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageDescription.PackageDescription
module Amazonka.CodeArtifact.Types.PackageSummary
-- | Details about a package, including its format, namespace, and name.
-- The ListPackages operation returns a list of
-- PackageSummary objects.
--
-- See: newPackageSummary smart constructor.
data PackageSummary
PackageSummary' :: Maybe PackageFormat -> Maybe Text -> Maybe PackageOriginConfiguration -> Maybe Text -> PackageSummary
-- | The format of the package.
[$sel:format:PackageSummary'] :: PackageSummary -> Maybe PackageFormat
-- | The namespace of the package. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
[$sel:namespace:PackageSummary'] :: PackageSummary -> Maybe Text
-- | A PackageOriginConfiguration object that contains a
-- PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin restrictions.
[$sel:originConfiguration:PackageSummary'] :: PackageSummary -> Maybe PackageOriginConfiguration
-- | The name of the package.
[$sel:package:PackageSummary'] :: PackageSummary -> Maybe Text
-- | Create a value of PackageSummary 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:format:PackageSummary', packageSummary_format - The
-- format of the package.
--
-- $sel:namespace:PackageSummary', packageSummary_namespace
-- - The namespace of the package. The package component that specifies
-- its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- $sel:originConfiguration:PackageSummary',
-- packageSummary_originConfiguration - A
-- PackageOriginConfiguration object that contains a
-- PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin restrictions.
--
-- $sel:package:PackageSummary', packageSummary_package -
-- The name of the package.
newPackageSummary :: PackageSummary
-- | The format of the package.
packageSummary_format :: Lens' PackageSummary (Maybe PackageFormat)
-- | The namespace of the package. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
packageSummary_namespace :: Lens' PackageSummary (Maybe Text)
-- | A PackageOriginConfiguration object that contains a
-- PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin restrictions.
packageSummary_originConfiguration :: Lens' PackageSummary (Maybe PackageOriginConfiguration)
-- | The name of the package.
packageSummary_package :: Lens' PackageSummary (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageSummary.PackageSummary
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageSummary.PackageSummary
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageSummary.PackageSummary
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageSummary.PackageSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageSummary.PackageSummary
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageSummary.PackageSummary
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageSummary.PackageSummary
module Amazonka.CodeArtifact.Types.PackageVersionErrorCode
newtype PackageVersionErrorCode
PackageVersionErrorCode' :: Text -> PackageVersionErrorCode
[fromPackageVersionErrorCode] :: PackageVersionErrorCode -> Text
pattern PackageVersionErrorCode_ALREADY_EXISTS :: PackageVersionErrorCode
pattern PackageVersionErrorCode_MISMATCHED_REVISION :: PackageVersionErrorCode
pattern PackageVersionErrorCode_MISMATCHED_STATUS :: PackageVersionErrorCode
pattern PackageVersionErrorCode_NOT_ALLOWED :: PackageVersionErrorCode
pattern PackageVersionErrorCode_NOT_FOUND :: PackageVersionErrorCode
pattern PackageVersionErrorCode_SKIPPED :: PackageVersionErrorCode
instance Amazonka.Data.XML.ToXML Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance Amazonka.Data.XML.FromXML Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance Amazonka.Data.Log.ToLog Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance Amazonka.Data.Text.ToText Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance Amazonka.Data.Text.FromText Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance GHC.Classes.Ord Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageVersionErrorCode.PackageVersionErrorCode
module Amazonka.CodeArtifact.Types.PackageVersionError
-- | l An error associated with package.
--
-- See: newPackageVersionError smart constructor.
data PackageVersionError
PackageVersionError' :: Maybe PackageVersionErrorCode -> Maybe Text -> PackageVersionError
-- | The error code associated with the error. Valid error codes are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
[$sel:errorCode:PackageVersionError'] :: PackageVersionError -> Maybe PackageVersionErrorCode
-- | The error message associated with the error.
[$sel:errorMessage:PackageVersionError'] :: PackageVersionError -> Maybe Text
-- | Create a value of PackageVersionError 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:errorCode:PackageVersionError',
-- packageVersionError_errorCode - The error code associated with
-- the error. Valid error codes are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
--
-- $sel:errorMessage:PackageVersionError',
-- packageVersionError_errorMessage - The error message associated
-- with the error.
newPackageVersionError :: PackageVersionError
-- | The error code associated with the error. Valid error codes are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
packageVersionError_errorCode :: Lens' PackageVersionError (Maybe PackageVersionErrorCode)
-- | The error message associated with the error.
packageVersionError_errorMessage :: Lens' PackageVersionError (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageVersionError.PackageVersionError
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageVersionError.PackageVersionError
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageVersionError.PackageVersionError
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageVersionError.PackageVersionError
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageVersionError.PackageVersionError
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageVersionError.PackageVersionError
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageVersionError.PackageVersionError
module Amazonka.CodeArtifact.Types.PackageVersionOriginType
newtype PackageVersionOriginType
PackageVersionOriginType' :: Text -> PackageVersionOriginType
[fromPackageVersionOriginType] :: PackageVersionOriginType -> Text
pattern PackageVersionOriginType_EXTERNAL :: PackageVersionOriginType
pattern PackageVersionOriginType_INTERNAL :: PackageVersionOriginType
pattern PackageVersionOriginType_UNKNOWN :: PackageVersionOriginType
instance Amazonka.Data.XML.ToXML Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance Amazonka.Data.XML.FromXML Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance Amazonka.Data.Log.ToLog Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance Amazonka.Data.Text.ToText Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance Amazonka.Data.Text.FromText Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance GHC.Classes.Ord Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageVersionOriginType.PackageVersionOriginType
module Amazonka.CodeArtifact.Types.PackageVersionOrigin
-- | Information about how a package version was added to a repository.
--
-- See: newPackageVersionOrigin smart constructor.
data PackageVersionOrigin
PackageVersionOrigin' :: Maybe DomainEntryPoint -> Maybe PackageVersionOriginType -> PackageVersionOrigin
-- | A DomainEntryPoint object that contains information about from
-- which repository or external connection the package version was added
-- to the domain.
[$sel:domainEntryPoint:PackageVersionOrigin'] :: PackageVersionOrigin -> Maybe DomainEntryPoint
-- | Describes how the package version was originally added to the domain.
-- An INTERNAL origin type means the package version was
-- published directly to a repository in the domain. An EXTERNAL
-- origin type means the package version was ingested from an external
-- connection.
[$sel:originType:PackageVersionOrigin'] :: PackageVersionOrigin -> Maybe PackageVersionOriginType
-- | Create a value of PackageVersionOrigin 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:domainEntryPoint:PackageVersionOrigin',
-- packageVersionOrigin_domainEntryPoint - A
-- DomainEntryPoint object that contains information about from
-- which repository or external connection the package version was added
-- to the domain.
--
-- $sel:originType:PackageVersionOrigin',
-- packageVersionOrigin_originType - Describes how the package
-- version was originally added to the domain. An INTERNAL
-- origin type means the package version was published directly to a
-- repository in the domain. An EXTERNAL origin type means the
-- package version was ingested from an external connection.
newPackageVersionOrigin :: PackageVersionOrigin
-- | A DomainEntryPoint object that contains information about from
-- which repository or external connection the package version was added
-- to the domain.
packageVersionOrigin_domainEntryPoint :: Lens' PackageVersionOrigin (Maybe DomainEntryPoint)
-- | Describes how the package version was originally added to the domain.
-- An INTERNAL origin type means the package version was
-- published directly to a repository in the domain. An EXTERNAL
-- origin type means the package version was ingested from an external
-- connection.
packageVersionOrigin_originType :: Lens' PackageVersionOrigin (Maybe PackageVersionOriginType)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageVersionOrigin.PackageVersionOrigin
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageVersionOrigin.PackageVersionOrigin
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageVersionOrigin.PackageVersionOrigin
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageVersionOrigin.PackageVersionOrigin
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageVersionOrigin.PackageVersionOrigin
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageVersionOrigin.PackageVersionOrigin
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageVersionOrigin.PackageVersionOrigin
module Amazonka.CodeArtifact.Types.PackageVersionSortType
newtype PackageVersionSortType
PackageVersionSortType' :: Text -> PackageVersionSortType
[fromPackageVersionSortType] :: PackageVersionSortType -> Text
pattern PackageVersionSortType_PUBLISHED_TIME :: PackageVersionSortType
instance Amazonka.Data.XML.ToXML Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance Amazonka.Data.XML.FromXML Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance Amazonka.Data.Log.ToLog Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance Amazonka.Data.Text.ToText Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance Amazonka.Data.Text.FromText Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance GHC.Classes.Ord Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageVersionSortType.PackageVersionSortType
module Amazonka.CodeArtifact.Types.PackageVersionStatus
newtype PackageVersionStatus
PackageVersionStatus' :: Text -> PackageVersionStatus
[fromPackageVersionStatus] :: PackageVersionStatus -> Text
pattern PackageVersionStatus_Archived :: PackageVersionStatus
pattern PackageVersionStatus_Deleted :: PackageVersionStatus
pattern PackageVersionStatus_Disposed :: PackageVersionStatus
pattern PackageVersionStatus_Published :: PackageVersionStatus
pattern PackageVersionStatus_Unfinished :: PackageVersionStatus
pattern PackageVersionStatus_Unlisted :: PackageVersionStatus
instance Amazonka.Data.XML.ToXML Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance Amazonka.Data.XML.FromXML Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance Amazonka.Data.Log.ToLog Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance Amazonka.Data.Text.ToText Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance Amazonka.Data.Text.FromText Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance GHC.Classes.Ord Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageVersionStatus.PackageVersionStatus
module Amazonka.CodeArtifact.Types.PackageVersionDescription
-- | Details about a package version.
--
-- See: newPackageVersionDescription smart constructor.
data PackageVersionDescription
PackageVersionDescription' :: Maybe Text -> Maybe PackageFormat -> Maybe Text -> Maybe [LicenseInfo] -> Maybe Text -> Maybe PackageVersionOrigin -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe PackageVersionStatus -> Maybe Text -> Maybe Text -> PackageVersionDescription
-- | The name of the package that is displayed. The displayName
-- varies depending on the package version's format. For example, if an
-- npm package is named ui, is in the namespace vue,
-- and has the format npm, then the displayName is
-- @vue/ui.
[$sel:displayName:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | The format of the package version.
[$sel:format:PackageVersionDescription'] :: PackageVersionDescription -> Maybe PackageFormat
-- | The homepage associated with the package.
[$sel:homePage:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | Information about licenses associated with the package version.
[$sel:licenses:PackageVersionDescription'] :: PackageVersionDescription -> Maybe [LicenseInfo]
-- | The namespace of the package version. The package version component
-- that specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | A PackageVersionOrigin object that contains information about
-- how the package version was added to the repository.
[$sel:origin:PackageVersionDescription'] :: PackageVersionDescription -> Maybe PackageVersionOrigin
-- | The name of the requested package.
[$sel:packageName:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | A timestamp that contains the date and time the package version was
-- published.
[$sel:publishedTime:PackageVersionDescription'] :: PackageVersionDescription -> Maybe POSIX
-- | The revision of the package version.
[$sel:revision:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | The repository for the source code in the package version, or the
-- source code used to build it.
[$sel:sourceCodeRepository:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | A string that contains the status of the package version.
[$sel:status:PackageVersionDescription'] :: PackageVersionDescription -> Maybe PackageVersionStatus
-- | A summary of the package version. The summary is extracted from the
-- package. The information in and detail level of the summary depends on
-- the package version's format.
[$sel:summary:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | The version of the package.
[$sel:version:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | Create a value of PackageVersionDescription 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:displayName:PackageVersionDescription',
-- packageVersionDescription_displayName - The name of the package
-- that is displayed. The displayName varies depending on the
-- package version's format. For example, if an npm package is named
-- ui, is in the namespace vue, and has the format
-- npm, then the displayName is @vue/ui.
--
-- $sel:format:PackageVersionDescription',
-- packageVersionDescription_format - The format of the package
-- version.
--
-- $sel:homePage:PackageVersionDescription',
-- packageVersionDescription_homePage - The homepage associated
-- with the package.
--
-- $sel:licenses:PackageVersionDescription',
-- packageVersionDescription_licenses - Information about licenses
-- associated with the package version.
--
-- $sel:namespace:PackageVersionDescription',
-- packageVersionDescription_namespace - The namespace of the
-- package version. The package version component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:origin:PackageVersionDescription',
-- packageVersionDescription_origin - A
-- PackageVersionOrigin object that contains information about how
-- the package version was added to the repository.
--
-- $sel:packageName:PackageVersionDescription',
-- packageVersionDescription_packageName - The name of the
-- requested package.
--
-- $sel:publishedTime:PackageVersionDescription',
-- packageVersionDescription_publishedTime - A timestamp that
-- contains the date and time the package version was published.
--
-- $sel:revision:PackageVersionDescription',
-- packageVersionDescription_revision - The revision of the
-- package version.
--
-- $sel:sourceCodeRepository:PackageVersionDescription',
-- packageVersionDescription_sourceCodeRepository - The repository
-- for the source code in the package version, or the source code used to
-- build it.
--
-- $sel:status:PackageVersionDescription',
-- packageVersionDescription_status - A string that contains the
-- status of the package version.
--
-- $sel:summary:PackageVersionDescription',
-- packageVersionDescription_summary - A summary of the package
-- version. The summary is extracted from the package. The information in
-- and detail level of the summary depends on the package version's
-- format.
--
-- $sel:version:PackageVersionDescription',
-- packageVersionDescription_version - The version of the package.
newPackageVersionDescription :: PackageVersionDescription
-- | The name of the package that is displayed. The displayName
-- varies depending on the package version's format. For example, if an
-- npm package is named ui, is in the namespace vue,
-- and has the format npm, then the displayName is
-- @vue/ui.
packageVersionDescription_displayName :: Lens' PackageVersionDescription (Maybe Text)
-- | The format of the package version.
packageVersionDescription_format :: Lens' PackageVersionDescription (Maybe PackageFormat)
-- | The homepage associated with the package.
packageVersionDescription_homePage :: Lens' PackageVersionDescription (Maybe Text)
-- | Information about licenses associated with the package version.
packageVersionDescription_licenses :: Lens' PackageVersionDescription (Maybe [LicenseInfo])
-- | The namespace of the package version. The package version component
-- that specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
packageVersionDescription_namespace :: Lens' PackageVersionDescription (Maybe Text)
-- | A PackageVersionOrigin object that contains information about
-- how the package version was added to the repository.
packageVersionDescription_origin :: Lens' PackageVersionDescription (Maybe PackageVersionOrigin)
-- | The name of the requested package.
packageVersionDescription_packageName :: Lens' PackageVersionDescription (Maybe Text)
-- | A timestamp that contains the date and time the package version was
-- published.
packageVersionDescription_publishedTime :: Lens' PackageVersionDescription (Maybe UTCTime)
-- | The revision of the package version.
packageVersionDescription_revision :: Lens' PackageVersionDescription (Maybe Text)
-- | The repository for the source code in the package version, or the
-- source code used to build it.
packageVersionDescription_sourceCodeRepository :: Lens' PackageVersionDescription (Maybe Text)
-- | A string that contains the status of the package version.
packageVersionDescription_status :: Lens' PackageVersionDescription (Maybe PackageVersionStatus)
-- | A summary of the package version. The summary is extracted from the
-- package. The information in and detail level of the summary depends on
-- the package version's format.
packageVersionDescription_summary :: Lens' PackageVersionDescription (Maybe Text)
-- | The version of the package.
packageVersionDescription_version :: Lens' PackageVersionDescription (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageVersionDescription.PackageVersionDescription
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageVersionDescription.PackageVersionDescription
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageVersionDescription.PackageVersionDescription
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageVersionDescription.PackageVersionDescription
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageVersionDescription.PackageVersionDescription
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageVersionDescription.PackageVersionDescription
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageVersionDescription.PackageVersionDescription
module Amazonka.CodeArtifact.Types.PackageVersionSummary
-- | Details about a package version, including its status, version, and
-- revision. The ListPackageVersions operation returns a list of
-- PackageVersionSummary objects.
--
-- See: newPackageVersionSummary smart constructor.
data PackageVersionSummary
PackageVersionSummary' :: Maybe PackageVersionOrigin -> Maybe Text -> Text -> PackageVersionStatus -> PackageVersionSummary
-- | A PackageVersionOrigin object that contains information about
-- how the package version was added to the repository.
[$sel:origin:PackageVersionSummary'] :: PackageVersionSummary -> Maybe PackageVersionOrigin
-- | The revision associated with a package version.
[$sel:revision:PackageVersionSummary'] :: PackageVersionSummary -> Maybe Text
-- | Information about a package version.
[$sel:version:PackageVersionSummary'] :: PackageVersionSummary -> Text
-- | A string that contains the status of the package version. It can be
-- one of the following:
[$sel:status:PackageVersionSummary'] :: PackageVersionSummary -> PackageVersionStatus
-- | Create a value of PackageVersionSummary 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:origin:PackageVersionSummary',
-- packageVersionSummary_origin - A PackageVersionOrigin
-- object that contains information about how the package version was
-- added to the repository.
--
-- $sel:revision:PackageVersionSummary',
-- packageVersionSummary_revision - The revision associated with a
-- package version.
--
-- $sel:version:PackageVersionSummary',
-- packageVersionSummary_version - Information about a package
-- version.
--
-- $sel:status:PackageVersionSummary',
-- packageVersionSummary_status - A string that contains the
-- status of the package version. It can be one of the following:
newPackageVersionSummary :: Text -> PackageVersionStatus -> PackageVersionSummary
-- | A PackageVersionOrigin object that contains information about
-- how the package version was added to the repository.
packageVersionSummary_origin :: Lens' PackageVersionSummary (Maybe PackageVersionOrigin)
-- | The revision associated with a package version.
packageVersionSummary_revision :: Lens' PackageVersionSummary (Maybe Text)
-- | Information about a package version.
packageVersionSummary_version :: Lens' PackageVersionSummary Text
-- | A string that contains the status of the package version. It can be
-- one of the following:
packageVersionSummary_status :: Lens' PackageVersionSummary PackageVersionStatus
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.PackageVersionSummary.PackageVersionSummary
instance GHC.Show.Show Amazonka.CodeArtifact.Types.PackageVersionSummary.PackageVersionSummary
instance GHC.Read.Read Amazonka.CodeArtifact.Types.PackageVersionSummary.PackageVersionSummary
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.PackageVersionSummary.PackageVersionSummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.PackageVersionSummary.PackageVersionSummary
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.PackageVersionSummary.PackageVersionSummary
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.PackageVersionSummary.PackageVersionSummary
module Amazonka.CodeArtifact.Types.RepositoryExternalConnectionInfo
-- | Contains information about the external connection of a repository.
--
-- See: newRepositoryExternalConnectionInfo smart
-- constructor.
data RepositoryExternalConnectionInfo
RepositoryExternalConnectionInfo' :: Maybe Text -> Maybe PackageFormat -> Maybe ExternalConnectionStatus -> RepositoryExternalConnectionInfo
-- | The name of the external connection associated with a repository.
[$sel:externalConnectionName:RepositoryExternalConnectionInfo'] :: RepositoryExternalConnectionInfo -> Maybe Text
-- | The package format associated with a repository's external connection.
-- The valid package formats are:
--
--
-- - npm: A Node Package Manager (npm) package.
-- - pypi: A Python Package Index (PyPI) package.
-- - maven: A Maven package that contains compiled code in a
-- distributable format, such as a JAR file.
-- - nuget: A NuGet package.
--
[$sel:packageFormat:RepositoryExternalConnectionInfo'] :: RepositoryExternalConnectionInfo -> Maybe PackageFormat
-- | The status of the external connection of a repository. There is one
-- valid value, Available.
[$sel:status:RepositoryExternalConnectionInfo'] :: RepositoryExternalConnectionInfo -> Maybe ExternalConnectionStatus
-- | Create a value of RepositoryExternalConnectionInfo 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:externalConnectionName:RepositoryExternalConnectionInfo',
-- repositoryExternalConnectionInfo_externalConnectionName - The
-- name of the external connection associated with a repository.
--
-- $sel:packageFormat:RepositoryExternalConnectionInfo',
-- repositoryExternalConnectionInfo_packageFormat - The package
-- format associated with a repository's external connection. The valid
-- package formats are:
--
--
-- - npm: A Node Package Manager (npm) package.
-- - pypi: A Python Package Index (PyPI) package.
-- - maven: A Maven package that contains compiled code in a
-- distributable format, such as a JAR file.
-- - nuget: A NuGet package.
--
--
-- $sel:status:RepositoryExternalConnectionInfo',
-- repositoryExternalConnectionInfo_status - The status of the
-- external connection of a repository. There is one valid value,
-- Available.
newRepositoryExternalConnectionInfo :: RepositoryExternalConnectionInfo
-- | The name of the external connection associated with a repository.
repositoryExternalConnectionInfo_externalConnectionName :: Lens' RepositoryExternalConnectionInfo (Maybe Text)
-- | The package format associated with a repository's external connection.
-- The valid package formats are:
--
--
-- - npm: A Node Package Manager (npm) package.
-- - pypi: A Python Package Index (PyPI) package.
-- - maven: A Maven package that contains compiled code in a
-- distributable format, such as a JAR file.
-- - nuget: A NuGet package.
--
repositoryExternalConnectionInfo_packageFormat :: Lens' RepositoryExternalConnectionInfo (Maybe PackageFormat)
-- | The status of the external connection of a repository. There is one
-- valid value, Available.
repositoryExternalConnectionInfo_status :: Lens' RepositoryExternalConnectionInfo (Maybe ExternalConnectionStatus)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.RepositoryExternalConnectionInfo.RepositoryExternalConnectionInfo
instance GHC.Show.Show Amazonka.CodeArtifact.Types.RepositoryExternalConnectionInfo.RepositoryExternalConnectionInfo
instance GHC.Read.Read Amazonka.CodeArtifact.Types.RepositoryExternalConnectionInfo.RepositoryExternalConnectionInfo
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.RepositoryExternalConnectionInfo.RepositoryExternalConnectionInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.RepositoryExternalConnectionInfo.RepositoryExternalConnectionInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.RepositoryExternalConnectionInfo.RepositoryExternalConnectionInfo
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.RepositoryExternalConnectionInfo.RepositoryExternalConnectionInfo
module Amazonka.CodeArtifact.Types.RepositorySummary
-- | Details about a repository, including its Amazon Resource Name (ARN),
-- description, and domain information. The ListRepositories
-- operation returns a list of RepositorySummary objects.
--
-- See: newRepositorySummary smart constructor.
data RepositorySummary
RepositorySummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> RepositorySummary
-- | The Amazon Web Services account ID that manages the repository.
[$sel:administratorAccount:RepositorySummary'] :: RepositorySummary -> Maybe Text
-- | The ARN of the repository.
[$sel:arn:RepositorySummary'] :: RepositorySummary -> Maybe Text
-- | The description of the repository.
[$sel:description:RepositorySummary'] :: RepositorySummary -> Maybe Text
-- | The name of the domain that contains the repository.
[$sel:domainName:RepositorySummary'] :: RepositorySummary -> Maybe Text
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:RepositorySummary'] :: RepositorySummary -> Maybe Text
-- | The name of the repository.
[$sel:name:RepositorySummary'] :: RepositorySummary -> Maybe Text
-- | Create a value of RepositorySummary 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:administratorAccount:RepositorySummary',
-- repositorySummary_administratorAccount - The Amazon Web
-- Services account ID that manages the repository.
--
-- $sel:arn:RepositorySummary', repositorySummary_arn - The
-- ARN of the repository.
--
-- $sel:description:RepositorySummary',
-- repositorySummary_description - The description of the
-- repository.
--
-- $sel:domainName:RepositorySummary',
-- repositorySummary_domainName - The name of the domain that
-- contains the repository.
--
-- $sel:domainOwner:RepositorySummary',
-- repositorySummary_domainOwner - The 12-digit account number of
-- the Amazon Web Services account that owns the domain. It does not
-- include dashes or spaces.
--
-- $sel:name:RepositorySummary', repositorySummary_name -
-- The name of the repository.
newRepositorySummary :: RepositorySummary
-- | The Amazon Web Services account ID that manages the repository.
repositorySummary_administratorAccount :: Lens' RepositorySummary (Maybe Text)
-- | The ARN of the repository.
repositorySummary_arn :: Lens' RepositorySummary (Maybe Text)
-- | The description of the repository.
repositorySummary_description :: Lens' RepositorySummary (Maybe Text)
-- | The name of the domain that contains the repository.
repositorySummary_domainName :: Lens' RepositorySummary (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
repositorySummary_domainOwner :: Lens' RepositorySummary (Maybe Text)
-- | The name of the repository.
repositorySummary_name :: Lens' RepositorySummary (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.RepositorySummary.RepositorySummary
instance GHC.Show.Show Amazonka.CodeArtifact.Types.RepositorySummary.RepositorySummary
instance GHC.Read.Read Amazonka.CodeArtifact.Types.RepositorySummary.RepositorySummary
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.RepositorySummary.RepositorySummary
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.RepositorySummary.RepositorySummary
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.RepositorySummary.RepositorySummary
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.RepositorySummary.RepositorySummary
module Amazonka.CodeArtifact.Types.ResourcePolicy
-- | An CodeArtifact resource policy that contains a resource ARN, document
-- details, and a revision.
--
-- See: newResourcePolicy smart constructor.
data ResourcePolicy
ResourcePolicy' :: Maybe Text -> Maybe Text -> Maybe Text -> ResourcePolicy
-- | The resource policy formatted in JSON.
[$sel:document:ResourcePolicy'] :: ResourcePolicy -> Maybe Text
-- | The ARN of the resource associated with the resource policy
[$sel:resourceArn:ResourcePolicy'] :: ResourcePolicy -> Maybe Text
-- | The current revision of the resource policy.
[$sel:revision:ResourcePolicy'] :: ResourcePolicy -> Maybe Text
-- | Create a value of ResourcePolicy 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:document:ResourcePolicy', resourcePolicy_document -
-- The resource policy formatted in JSON.
--
-- $sel:resourceArn:ResourcePolicy',
-- resourcePolicy_resourceArn - The ARN of the resource associated
-- with the resource policy
--
-- $sel:revision:ResourcePolicy', resourcePolicy_revision -
-- The current revision of the resource policy.
newResourcePolicy :: ResourcePolicy
-- | The resource policy formatted in JSON.
resourcePolicy_document :: Lens' ResourcePolicy (Maybe Text)
-- | The ARN of the resource associated with the resource policy
resourcePolicy_resourceArn :: Lens' ResourcePolicy (Maybe Text)
-- | The current revision of the resource policy.
resourcePolicy_revision :: Lens' ResourcePolicy (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.ResourcePolicy.ResourcePolicy
instance GHC.Show.Show Amazonka.CodeArtifact.Types.ResourcePolicy.ResourcePolicy
instance GHC.Read.Read Amazonka.CodeArtifact.Types.ResourcePolicy.ResourcePolicy
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.ResourcePolicy.ResourcePolicy
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.ResourcePolicy.ResourcePolicy
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.ResourcePolicy.ResourcePolicy
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.ResourcePolicy.ResourcePolicy
module Amazonka.CodeArtifact.Types.SuccessfulPackageVersionInfo
-- | Contains the revision and status of a package version.
--
-- See: newSuccessfulPackageVersionInfo smart constructor.
data SuccessfulPackageVersionInfo
SuccessfulPackageVersionInfo' :: Maybe Text -> Maybe PackageVersionStatus -> SuccessfulPackageVersionInfo
-- | The revision of a package version.
[$sel:revision:SuccessfulPackageVersionInfo'] :: SuccessfulPackageVersionInfo -> Maybe Text
-- | The status of a package version.
[$sel:status:SuccessfulPackageVersionInfo'] :: SuccessfulPackageVersionInfo -> Maybe PackageVersionStatus
-- | Create a value of SuccessfulPackageVersionInfo 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:revision:SuccessfulPackageVersionInfo',
-- successfulPackageVersionInfo_revision - The revision of a
-- package version.
--
-- $sel:status:SuccessfulPackageVersionInfo',
-- successfulPackageVersionInfo_status - The status of a package
-- version.
newSuccessfulPackageVersionInfo :: SuccessfulPackageVersionInfo
-- | The revision of a package version.
successfulPackageVersionInfo_revision :: Lens' SuccessfulPackageVersionInfo (Maybe Text)
-- | The status of a package version.
successfulPackageVersionInfo_status :: Lens' SuccessfulPackageVersionInfo (Maybe PackageVersionStatus)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.SuccessfulPackageVersionInfo.SuccessfulPackageVersionInfo
instance GHC.Show.Show Amazonka.CodeArtifact.Types.SuccessfulPackageVersionInfo.SuccessfulPackageVersionInfo
instance GHC.Read.Read Amazonka.CodeArtifact.Types.SuccessfulPackageVersionInfo.SuccessfulPackageVersionInfo
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.SuccessfulPackageVersionInfo.SuccessfulPackageVersionInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.SuccessfulPackageVersionInfo.SuccessfulPackageVersionInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.SuccessfulPackageVersionInfo.SuccessfulPackageVersionInfo
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.SuccessfulPackageVersionInfo.SuccessfulPackageVersionInfo
module Amazonka.CodeArtifact.Types.Tag
-- | A tag is a key-value pair that can be used to manage, search for, or
-- filter resources in CodeArtifact.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Text -> Text -> Tag
-- | The tag key.
[$sel:key:Tag'] :: Tag -> Text
-- | The tag value.
[$sel:value:Tag'] :: Tag -> Text
-- | Create a value of Tag 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:key:Tag', tag_key - The tag key.
--
-- $sel:value:Tag', tag_value - The tag value.
newTag :: Text -> Text -> Tag
-- | The tag key.
tag_key :: Lens' Tag Text
-- | The tag value.
tag_value :: Lens' Tag Text
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.Tag.Tag
instance GHC.Show.Show Amazonka.CodeArtifact.Types.Tag.Tag
instance GHC.Read.Read Amazonka.CodeArtifact.Types.Tag.Tag
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.Tag.Tag
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.Tag.Tag
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.Tag.Tag
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.Tag.Tag
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.Types.Tag.Tag
module Amazonka.CodeArtifact.Types.UpstreamRepository
-- | Information about an upstream repository. A list of
-- UpstreamRepository objects is an input parameter to
-- CreateRepository and UpdateRepository.
--
-- See: newUpstreamRepository smart constructor.
data UpstreamRepository
UpstreamRepository' :: Text -> UpstreamRepository
-- | The name of an upstream repository.
[$sel:repositoryName:UpstreamRepository'] :: UpstreamRepository -> Text
-- | Create a value of UpstreamRepository 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:repositoryName:UpstreamRepository',
-- upstreamRepository_repositoryName - The name of an upstream
-- repository.
newUpstreamRepository :: Text -> UpstreamRepository
-- | The name of an upstream repository.
upstreamRepository_repositoryName :: Lens' UpstreamRepository Text
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.UpstreamRepository.UpstreamRepository
instance GHC.Show.Show Amazonka.CodeArtifact.Types.UpstreamRepository.UpstreamRepository
instance GHC.Read.Read Amazonka.CodeArtifact.Types.UpstreamRepository.UpstreamRepository
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.UpstreamRepository.UpstreamRepository
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.UpstreamRepository.UpstreamRepository
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.UpstreamRepository.UpstreamRepository
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.Types.UpstreamRepository.UpstreamRepository
module Amazonka.CodeArtifact.Types.UpstreamRepositoryInfo
-- | Information about an upstream repository.
--
-- See: newUpstreamRepositoryInfo smart constructor.
data UpstreamRepositoryInfo
UpstreamRepositoryInfo' :: Maybe Text -> UpstreamRepositoryInfo
-- | The name of an upstream repository.
[$sel:repositoryName:UpstreamRepositoryInfo'] :: UpstreamRepositoryInfo -> Maybe Text
-- | Create a value of UpstreamRepositoryInfo 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:repositoryName:UpstreamRepositoryInfo',
-- upstreamRepositoryInfo_repositoryName - The name of an upstream
-- repository.
newUpstreamRepositoryInfo :: UpstreamRepositoryInfo
-- | The name of an upstream repository.
upstreamRepositoryInfo_repositoryName :: Lens' UpstreamRepositoryInfo (Maybe Text)
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.UpstreamRepositoryInfo.UpstreamRepositoryInfo
instance GHC.Show.Show Amazonka.CodeArtifact.Types.UpstreamRepositoryInfo.UpstreamRepositoryInfo
instance GHC.Read.Read Amazonka.CodeArtifact.Types.UpstreamRepositoryInfo.UpstreamRepositoryInfo
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.UpstreamRepositoryInfo.UpstreamRepositoryInfo
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.UpstreamRepositoryInfo.UpstreamRepositoryInfo
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.UpstreamRepositoryInfo.UpstreamRepositoryInfo
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.UpstreamRepositoryInfo.UpstreamRepositoryInfo
module Amazonka.CodeArtifact.Types.RepositoryDescription
-- | The details of a repository stored in CodeArtifact. A CodeArtifact
-- repository contains a set of package versions, each of which maps to a
-- set of assets. Repositories are polyglot—a single repository can
-- contain packages of any supported type. Each repository exposes
-- endpoints for fetching and publishing packages using tools like the
-- npm CLI, the Maven CLI (mvn), and pip. You
-- can create up to 100 repositories per Amazon Web Services account.
--
-- See: newRepositoryDescription smart constructor.
data RepositoryDescription
RepositoryDescription' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [RepositoryExternalConnectionInfo] -> Maybe Text -> Maybe [UpstreamRepositoryInfo] -> RepositoryDescription
-- | The 12-digit account number of the Amazon Web Services account that
-- manages the repository.
[$sel:administratorAccount:RepositoryDescription'] :: RepositoryDescription -> Maybe Text
-- | The Amazon Resource Name (ARN) of the repository.
[$sel:arn:RepositoryDescription'] :: RepositoryDescription -> Maybe Text
-- | A text description of the repository.
[$sel:description:RepositoryDescription'] :: RepositoryDescription -> Maybe Text
-- | The name of the domain that contains the repository.
[$sel:domainName:RepositoryDescription'] :: RepositoryDescription -> Maybe Text
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain that contains the repository. It does not include
-- dashes or spaces.
[$sel:domainOwner:RepositoryDescription'] :: RepositoryDescription -> Maybe Text
-- | An array of external connections associated with the repository.
[$sel:externalConnections:RepositoryDescription'] :: RepositoryDescription -> Maybe [RepositoryExternalConnectionInfo]
-- | The name of the repository.
[$sel:name:RepositoryDescription'] :: RepositoryDescription -> Maybe Text
-- | A list of upstream repositories to associate with the repository. The
-- order of the upstream repositories in the list determines their
-- priority order when CodeArtifact looks for a requested package
-- version. For more information, see Working with upstream
-- repositories.
[$sel:upstreams:RepositoryDescription'] :: RepositoryDescription -> Maybe [UpstreamRepositoryInfo]
-- | Create a value of RepositoryDescription 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:administratorAccount:RepositoryDescription',
-- repositoryDescription_administratorAccount - The 12-digit
-- account number of the Amazon Web Services account that manages the
-- repository.
--
-- $sel:arn:RepositoryDescription',
-- repositoryDescription_arn - The Amazon Resource Name (ARN) of
-- the repository.
--
-- $sel:description:RepositoryDescription',
-- repositoryDescription_description - A text description of the
-- repository.
--
-- $sel:domainName:RepositoryDescription',
-- repositoryDescription_domainName - The name of the domain that
-- contains the repository.
--
-- $sel:domainOwner:RepositoryDescription',
-- repositoryDescription_domainOwner - The 12-digit account number
-- of the Amazon Web Services account that owns the domain that contains
-- the repository. It does not include dashes or spaces.
--
-- $sel:externalConnections:RepositoryDescription',
-- repositoryDescription_externalConnections - An array of
-- external connections associated with the repository.
--
-- $sel:name:RepositoryDescription',
-- repositoryDescription_name - The name of the repository.
--
-- $sel:upstreams:RepositoryDescription',
-- repositoryDescription_upstreams - A list of upstream
-- repositories to associate with the repository. The order of the
-- upstream repositories in the list determines their priority order when
-- CodeArtifact looks for a requested package version. For more
-- information, see Working with upstream repositories.
newRepositoryDescription :: RepositoryDescription
-- | The 12-digit account number of the Amazon Web Services account that
-- manages the repository.
repositoryDescription_administratorAccount :: Lens' RepositoryDescription (Maybe Text)
-- | The Amazon Resource Name (ARN) of the repository.
repositoryDescription_arn :: Lens' RepositoryDescription (Maybe Text)
-- | A text description of the repository.
repositoryDescription_description :: Lens' RepositoryDescription (Maybe Text)
-- | The name of the domain that contains the repository.
repositoryDescription_domainName :: Lens' RepositoryDescription (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain that contains the repository. It does not include
-- dashes or spaces.
repositoryDescription_domainOwner :: Lens' RepositoryDescription (Maybe Text)
-- | An array of external connections associated with the repository.
repositoryDescription_externalConnections :: Lens' RepositoryDescription (Maybe [RepositoryExternalConnectionInfo])
-- | The name of the repository.
repositoryDescription_name :: Lens' RepositoryDescription (Maybe Text)
-- | A list of upstream repositories to associate with the repository. The
-- order of the upstream repositories in the list determines their
-- priority order when CodeArtifact looks for a requested package
-- version. For more information, see Working with upstream
-- repositories.
repositoryDescription_upstreams :: Lens' RepositoryDescription (Maybe [UpstreamRepositoryInfo])
instance GHC.Generics.Generic Amazonka.CodeArtifact.Types.RepositoryDescription.RepositoryDescription
instance GHC.Show.Show Amazonka.CodeArtifact.Types.RepositoryDescription.RepositoryDescription
instance GHC.Read.Read Amazonka.CodeArtifact.Types.RepositoryDescription.RepositoryDescription
instance GHC.Classes.Eq Amazonka.CodeArtifact.Types.RepositoryDescription.RepositoryDescription
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.CodeArtifact.Types.RepositoryDescription.RepositoryDescription
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.Types.RepositoryDescription.RepositoryDescription
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.Types.RepositoryDescription.RepositoryDescription
module Amazonka.CodeArtifact.Types
-- | API version 2018-09-22 of the Amazon CodeArtifact SDK
-- configuration.
defaultService :: Service
-- | The operation did not succeed because of an unauthorized access
-- attempt.
_AccessDeniedException :: AsError a => Fold a ServiceError
-- | The operation did not succeed because prerequisites are not met.
_ConflictException :: AsError a => Fold a ServiceError
-- | The operation did not succeed because of an error that occurred inside
-- CodeArtifact.
_InternalServerException :: AsError a => Fold a ServiceError
-- | The operation did not succeed because the resource requested is not
-- found in the service.
_ResourceNotFoundException :: AsError a => Fold a ServiceError
-- | The operation did not succeed because it would have exceeded a service
-- limit for your account.
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError
-- | The operation did not succeed because too many requests are sent to
-- the service.
_ThrottlingException :: AsError a => Fold a ServiceError
-- | The operation did not succeed because a parameter in the request was
-- sent with an invalid value.
_ValidationException :: AsError a => Fold a ServiceError
newtype AllowPublish
AllowPublish' :: Text -> AllowPublish
[fromAllowPublish] :: AllowPublish -> Text
pattern AllowPublish_ALLOW :: AllowPublish
pattern AllowPublish_BLOCK :: AllowPublish
newtype AllowUpstream
AllowUpstream' :: Text -> AllowUpstream
[fromAllowUpstream] :: AllowUpstream -> Text
pattern AllowUpstream_ALLOW :: AllowUpstream
pattern AllowUpstream_BLOCK :: AllowUpstream
newtype DomainStatus
DomainStatus' :: Text -> DomainStatus
[fromDomainStatus] :: DomainStatus -> Text
pattern DomainStatus_Active :: DomainStatus
pattern DomainStatus_Deleted :: DomainStatus
newtype ExternalConnectionStatus
ExternalConnectionStatus' :: Text -> ExternalConnectionStatus
[fromExternalConnectionStatus] :: ExternalConnectionStatus -> Text
pattern ExternalConnectionStatus_Available :: ExternalConnectionStatus
newtype HashAlgorithm
HashAlgorithm' :: Text -> HashAlgorithm
[fromHashAlgorithm] :: HashAlgorithm -> Text
pattern HashAlgorithm_MD5 :: HashAlgorithm
pattern HashAlgorithm_SHA_1 :: HashAlgorithm
pattern HashAlgorithm_SHA_256 :: HashAlgorithm
pattern HashAlgorithm_SHA_512 :: HashAlgorithm
newtype PackageFormat
PackageFormat' :: Text -> PackageFormat
[fromPackageFormat] :: PackageFormat -> Text
pattern PackageFormat_Maven :: PackageFormat
pattern PackageFormat_Npm :: PackageFormat
pattern PackageFormat_Nuget :: PackageFormat
pattern PackageFormat_Pypi :: PackageFormat
newtype PackageVersionErrorCode
PackageVersionErrorCode' :: Text -> PackageVersionErrorCode
[fromPackageVersionErrorCode] :: PackageVersionErrorCode -> Text
pattern PackageVersionErrorCode_ALREADY_EXISTS :: PackageVersionErrorCode
pattern PackageVersionErrorCode_MISMATCHED_REVISION :: PackageVersionErrorCode
pattern PackageVersionErrorCode_MISMATCHED_STATUS :: PackageVersionErrorCode
pattern PackageVersionErrorCode_NOT_ALLOWED :: PackageVersionErrorCode
pattern PackageVersionErrorCode_NOT_FOUND :: PackageVersionErrorCode
pattern PackageVersionErrorCode_SKIPPED :: PackageVersionErrorCode
newtype PackageVersionOriginType
PackageVersionOriginType' :: Text -> PackageVersionOriginType
[fromPackageVersionOriginType] :: PackageVersionOriginType -> Text
pattern PackageVersionOriginType_EXTERNAL :: PackageVersionOriginType
pattern PackageVersionOriginType_INTERNAL :: PackageVersionOriginType
pattern PackageVersionOriginType_UNKNOWN :: PackageVersionOriginType
newtype PackageVersionSortType
PackageVersionSortType' :: Text -> PackageVersionSortType
[fromPackageVersionSortType] :: PackageVersionSortType -> Text
pattern PackageVersionSortType_PUBLISHED_TIME :: PackageVersionSortType
newtype PackageVersionStatus
PackageVersionStatus' :: Text -> PackageVersionStatus
[fromPackageVersionStatus] :: PackageVersionStatus -> Text
pattern PackageVersionStatus_Archived :: PackageVersionStatus
pattern PackageVersionStatus_Deleted :: PackageVersionStatus
pattern PackageVersionStatus_Disposed :: PackageVersionStatus
pattern PackageVersionStatus_Published :: PackageVersionStatus
pattern PackageVersionStatus_Unfinished :: PackageVersionStatus
pattern PackageVersionStatus_Unlisted :: PackageVersionStatus
-- | Contains details about a package version asset.
--
-- See: newAssetSummary smart constructor.
data AssetSummary
AssetSummary' :: Maybe (HashMap HashAlgorithm Text) -> Maybe Integer -> Text -> AssetSummary
-- | The hashes of the asset.
[$sel:hashes:AssetSummary'] :: AssetSummary -> Maybe (HashMap HashAlgorithm Text)
-- | The size of the asset.
[$sel:size:AssetSummary'] :: AssetSummary -> Maybe Integer
-- | The name of the asset.
[$sel:name:AssetSummary'] :: AssetSummary -> Text
-- | Create a value of AssetSummary 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:hashes:AssetSummary', assetSummary_hashes - The
-- hashes of the asset.
--
-- $sel:size:AssetSummary', assetSummary_size - The size of
-- the asset.
--
-- $sel:name:AssetSummary', assetSummary_name - The name of
-- the asset.
newAssetSummary :: Text -> AssetSummary
-- | The hashes of the asset.
assetSummary_hashes :: Lens' AssetSummary (Maybe (HashMap HashAlgorithm Text))
-- | The size of the asset.
assetSummary_size :: Lens' AssetSummary (Maybe Integer)
-- | The name of the asset.
assetSummary_name :: Lens' AssetSummary Text
-- | Information about a domain. A domain is a container for repositories.
-- When you create a domain, it is empty until you add one or more
-- repositories.
--
-- See: newDomainDescription smart constructor.
data DomainDescription
DomainDescription' :: Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe DomainStatus -> DomainDescription
-- | The Amazon Resource Name (ARN) of the domain.
[$sel:arn:DomainDescription'] :: DomainDescription -> Maybe Text
-- | The total size of all assets in the domain.
[$sel:assetSizeBytes:DomainDescription'] :: DomainDescription -> Maybe Integer
-- | A timestamp that represents the date and time the domain was created.
[$sel:createdTime:DomainDescription'] :: DomainDescription -> Maybe POSIX
-- | The ARN of an Key Management Service (KMS) key associated with a
-- domain.
[$sel:encryptionKey:DomainDescription'] :: DomainDescription -> Maybe Text
-- | The name of the domain.
[$sel:name:DomainDescription'] :: DomainDescription -> Maybe Text
-- | The Amazon Web Services account ID that owns the domain.
[$sel:owner:DomainDescription'] :: DomainDescription -> Maybe Text
-- | The number of repositories in the domain.
[$sel:repositoryCount:DomainDescription'] :: DomainDescription -> Maybe Int
-- | The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to
-- store package assets in the domain.
[$sel:s3BucketArn:DomainDescription'] :: DomainDescription -> Maybe Text
-- | The current status of a domain.
[$sel:status:DomainDescription'] :: DomainDescription -> Maybe DomainStatus
-- | Create a value of DomainDescription 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:DomainDescription', domainDescription_arn - The
-- Amazon Resource Name (ARN) of the domain.
--
-- $sel:assetSizeBytes:DomainDescription',
-- domainDescription_assetSizeBytes - The total size of all assets
-- in the domain.
--
-- $sel:createdTime:DomainDescription',
-- domainDescription_createdTime - A timestamp that represents the
-- date and time the domain was created.
--
-- $sel:encryptionKey:DomainDescription',
-- domainDescription_encryptionKey - The ARN of an Key Management
-- Service (KMS) key associated with a domain.
--
-- $sel:name:DomainDescription', domainDescription_name -
-- The name of the domain.
--
-- $sel:owner:DomainDescription', domainDescription_owner -
-- The Amazon Web Services account ID that owns the domain.
--
-- $sel:repositoryCount:DomainDescription',
-- domainDescription_repositoryCount - The number of repositories
-- in the domain.
--
-- $sel:s3BucketArn:DomainDescription',
-- domainDescription_s3BucketArn - The Amazon Resource Name (ARN)
-- of the Amazon S3 bucket that is used to store package assets in the
-- domain.
--
-- $sel:status:DomainDescription', domainDescription_status
-- - The current status of a domain.
newDomainDescription :: DomainDescription
-- | The Amazon Resource Name (ARN) of the domain.
domainDescription_arn :: Lens' DomainDescription (Maybe Text)
-- | The total size of all assets in the domain.
domainDescription_assetSizeBytes :: Lens' DomainDescription (Maybe Integer)
-- | A timestamp that represents the date and time the domain was created.
domainDescription_createdTime :: Lens' DomainDescription (Maybe UTCTime)
-- | The ARN of an Key Management Service (KMS) key associated with a
-- domain.
domainDescription_encryptionKey :: Lens' DomainDescription (Maybe Text)
-- | The name of the domain.
domainDescription_name :: Lens' DomainDescription (Maybe Text)
-- | The Amazon Web Services account ID that owns the domain.
domainDescription_owner :: Lens' DomainDescription (Maybe Text)
-- | The number of repositories in the domain.
domainDescription_repositoryCount :: Lens' DomainDescription (Maybe Int)
-- | The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to
-- store package assets in the domain.
domainDescription_s3BucketArn :: Lens' DomainDescription (Maybe Text)
-- | The current status of a domain.
domainDescription_status :: Lens' DomainDescription (Maybe DomainStatus)
-- | Information about how a package originally entered the CodeArtifact
-- domain. For packages published directly to CodeArtifact, the entry
-- point is the repository it was published to. For packages ingested
-- from an external repository, the entry point is the external
-- connection that it was ingested from. An external connection is a
-- CodeArtifact repository that is connected to an external repository
-- such as the npm registry or NuGet gallery.
--
-- See: newDomainEntryPoint smart constructor.
data DomainEntryPoint
DomainEntryPoint' :: Maybe Text -> Maybe Text -> DomainEntryPoint
-- | The name of the external connection that a package was ingested from.
[$sel:externalConnectionName:DomainEntryPoint'] :: DomainEntryPoint -> Maybe Text
-- | The name of the repository that a package was originally published to.
[$sel:repositoryName:DomainEntryPoint'] :: DomainEntryPoint -> Maybe Text
-- | Create a value of DomainEntryPoint 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:externalConnectionName:DomainEntryPoint',
-- domainEntryPoint_externalConnectionName - The name of the
-- external connection that a package was ingested from.
--
-- $sel:repositoryName:DomainEntryPoint',
-- domainEntryPoint_repositoryName - The name of the repository
-- that a package was originally published to.
newDomainEntryPoint :: DomainEntryPoint
-- | The name of the external connection that a package was ingested from.
domainEntryPoint_externalConnectionName :: Lens' DomainEntryPoint (Maybe Text)
-- | The name of the repository that a package was originally published to.
domainEntryPoint_repositoryName :: Lens' DomainEntryPoint (Maybe Text)
-- | Information about a domain, including its name, Amazon Resource Name
-- (ARN), and status. The ListDomains operation returns a list of
-- DomainSummary objects.
--
-- See: newDomainSummary smart constructor.
data DomainSummary
DomainSummary' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DomainStatus -> DomainSummary
-- | The ARN of the domain.
[$sel:arn:DomainSummary'] :: DomainSummary -> Maybe Text
-- | A timestamp that contains the date and time the domain was created.
[$sel:createdTime:DomainSummary'] :: DomainSummary -> Maybe POSIX
-- | The key used to encrypt the domain.
[$sel:encryptionKey:DomainSummary'] :: DomainSummary -> Maybe Text
-- | The name of the domain.
[$sel:name:DomainSummary'] :: DomainSummary -> Maybe Text
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:owner:DomainSummary'] :: DomainSummary -> Maybe Text
-- | A string that contains the status of the domain.
[$sel:status:DomainSummary'] :: DomainSummary -> Maybe DomainStatus
-- | Create a value of DomainSummary 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:DomainSummary', domainSummary_arn - The ARN of
-- the domain.
--
-- $sel:createdTime:DomainSummary',
-- domainSummary_createdTime - A timestamp that contains the date
-- and time the domain was created.
--
-- $sel:encryptionKey:DomainSummary',
-- domainSummary_encryptionKey - The key used to encrypt the
-- domain.
--
-- $sel:name:DomainSummary', domainSummary_name - The name
-- of the domain.
--
-- $sel:owner:DomainSummary', domainSummary_owner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- $sel:status:DomainSummary', domainSummary_status - A
-- string that contains the status of the domain.
newDomainSummary :: DomainSummary
-- | The ARN of the domain.
domainSummary_arn :: Lens' DomainSummary (Maybe Text)
-- | A timestamp that contains the date and time the domain was created.
domainSummary_createdTime :: Lens' DomainSummary (Maybe UTCTime)
-- | The key used to encrypt the domain.
domainSummary_encryptionKey :: Lens' DomainSummary (Maybe Text)
-- | The name of the domain.
domainSummary_name :: Lens' DomainSummary (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
domainSummary_owner :: Lens' DomainSummary (Maybe Text)
-- | A string that contains the status of the domain.
domainSummary_status :: Lens' DomainSummary (Maybe DomainStatus)
-- | Details of the license data.
--
-- See: newLicenseInfo smart constructor.
data LicenseInfo
LicenseInfo' :: Maybe Text -> Maybe Text -> LicenseInfo
-- | Name of the license.
[$sel:name:LicenseInfo'] :: LicenseInfo -> Maybe Text
-- | The URL for license data.
[$sel:url:LicenseInfo'] :: LicenseInfo -> Maybe Text
-- | Create a value of LicenseInfo 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:name:LicenseInfo', licenseInfo_name - Name of the
-- license.
--
-- $sel:url:LicenseInfo', licenseInfo_url - The URL for
-- license data.
newLicenseInfo :: LicenseInfo
-- | Name of the license.
licenseInfo_name :: Lens' LicenseInfo (Maybe Text)
-- | The URL for license data.
licenseInfo_url :: Lens' LicenseInfo (Maybe Text)
-- | Details about a package dependency.
--
-- See: newPackageDependency smart constructor.
data PackageDependency
PackageDependency' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PackageDependency
-- | The type of a package dependency. The possible values depend on the
-- package type. Example types are compile, runtime,
-- and test for Maven packages, and dev, prod,
-- and optional for npm packages.
[$sel:dependencyType:PackageDependency'] :: PackageDependency -> Maybe Text
-- | The namespace of the package that this package depends on. The package
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
[$sel:namespace:PackageDependency'] :: PackageDependency -> Maybe Text
-- | The name of the package that this package depends on.
[$sel:package:PackageDependency'] :: PackageDependency -> Maybe Text
-- | The required version, or version range, of the package that this
-- package depends on. The version format is specific to the package
-- type. For example, the following are possible valid required versions:
-- 1.2.3, ^2.3.4, or 4.x.
[$sel:versionRequirement:PackageDependency'] :: PackageDependency -> Maybe Text
-- | Create a value of PackageDependency 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:dependencyType:PackageDependency',
-- packageDependency_dependencyType - The type of a package
-- dependency. The possible values depend on the package type. Example
-- types are compile, runtime, and test for
-- Maven packages, and dev, prod, and optional
-- for npm packages.
--
-- $sel:namespace:PackageDependency',
-- packageDependency_namespace - The namespace of the package that
-- this package depends on. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- $sel:package:PackageDependency',
-- packageDependency_package - The name of the package that this
-- package depends on.
--
-- $sel:versionRequirement:PackageDependency',
-- packageDependency_versionRequirement - The required version, or
-- version range, of the package that this package depends on. The
-- version format is specific to the package type. For example, the
-- following are possible valid required versions: 1.2.3,
-- ^2.3.4, or 4.x.
newPackageDependency :: PackageDependency
-- | The type of a package dependency. The possible values depend on the
-- package type. Example types are compile, runtime,
-- and test for Maven packages, and dev, prod,
-- and optional for npm packages.
packageDependency_dependencyType :: Lens' PackageDependency (Maybe Text)
-- | The namespace of the package that this package depends on. The package
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
packageDependency_namespace :: Lens' PackageDependency (Maybe Text)
-- | The name of the package that this package depends on.
packageDependency_package :: Lens' PackageDependency (Maybe Text)
-- | The required version, or version range, of the package that this
-- package depends on. The version format is specific to the package
-- type. For example, the following are possible valid required versions:
-- 1.2.3, ^2.3.4, or 4.x.
packageDependency_versionRequirement :: Lens' PackageDependency (Maybe Text)
-- | Details about a package.
--
-- See: newPackageDescription smart constructor.
data PackageDescription
PackageDescription' :: Maybe PackageFormat -> Maybe Text -> Maybe Text -> Maybe PackageOriginConfiguration -> PackageDescription
-- | A format that specifies the type of the package.
[$sel:format:PackageDescription'] :: PackageDescription -> Maybe PackageFormat
-- | The name of the package.
[$sel:name:PackageDescription'] :: PackageDescription -> Maybe Text
-- | The namespace of the package. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
[$sel:namespace:PackageDescription'] :: PackageDescription -> Maybe Text
-- | The package origin configuration for the package.
[$sel:originConfiguration:PackageDescription'] :: PackageDescription -> Maybe PackageOriginConfiguration
-- | Create a value of PackageDescription 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:format:PackageDescription',
-- packageDescription_format - A format that specifies the type of
-- the package.
--
-- $sel:name:PackageDescription', packageDescription_name -
-- The name of the package.
--
-- $sel:namespace:PackageDescription',
-- packageDescription_namespace - The namespace of the package.
-- The package component that specifies its namespace depends on its
-- type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- $sel:originConfiguration:PackageDescription',
-- packageDescription_originConfiguration - The package origin
-- configuration for the package.
newPackageDescription :: PackageDescription
-- | A format that specifies the type of the package.
packageDescription_format :: Lens' PackageDescription (Maybe PackageFormat)
-- | The name of the package.
packageDescription_name :: Lens' PackageDescription (Maybe Text)
-- | The namespace of the package. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
packageDescription_namespace :: Lens' PackageDescription (Maybe Text)
-- | The package origin configuration for the package.
packageDescription_originConfiguration :: Lens' PackageDescription (Maybe PackageOriginConfiguration)
-- | Details about the package origin configuration of a package.
--
-- See: newPackageOriginConfiguration smart constructor.
data PackageOriginConfiguration
PackageOriginConfiguration' :: Maybe PackageOriginRestrictions -> PackageOriginConfiguration
-- | A PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin configuration for the
-- package.
[$sel:restrictions:PackageOriginConfiguration'] :: PackageOriginConfiguration -> Maybe PackageOriginRestrictions
-- | Create a value of PackageOriginConfiguration 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:restrictions:PackageOriginConfiguration',
-- packageOriginConfiguration_restrictions - A
-- PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin configuration for the
-- package.
newPackageOriginConfiguration :: PackageOriginConfiguration
-- | A PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin configuration for the
-- package.
packageOriginConfiguration_restrictions :: Lens' PackageOriginConfiguration (Maybe PackageOriginRestrictions)
-- | Details about the origin restrictions set on the package. The package
-- origin restrictions determine how new versions of a package can be
-- added to a specific repository.
--
-- See: newPackageOriginRestrictions smart constructor.
data PackageOriginRestrictions
PackageOriginRestrictions' :: AllowPublish -> AllowUpstream -> PackageOriginRestrictions
-- | The package origin configuration that determines if new versions of
-- the package can be published directly to the repository.
[$sel:publish:PackageOriginRestrictions'] :: PackageOriginRestrictions -> AllowPublish
-- | The package origin configuration that determines if new versions of
-- the package can be added to the repository from an external connection
-- or upstream source.
[$sel:upstream:PackageOriginRestrictions'] :: PackageOriginRestrictions -> AllowUpstream
-- | Create a value of PackageOriginRestrictions 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:publish:PackageOriginRestrictions',
-- packageOriginRestrictions_publish - The package origin
-- configuration that determines if new versions of the package can be
-- published directly to the repository.
--
-- $sel:upstream:PackageOriginRestrictions',
-- packageOriginRestrictions_upstream - The package origin
-- configuration that determines if new versions of the package can be
-- added to the repository from an external connection or upstream
-- source.
newPackageOriginRestrictions :: AllowPublish -> AllowUpstream -> PackageOriginRestrictions
-- | The package origin configuration that determines if new versions of
-- the package can be published directly to the repository.
packageOriginRestrictions_publish :: Lens' PackageOriginRestrictions AllowPublish
-- | The package origin configuration that determines if new versions of
-- the package can be added to the repository from an external connection
-- or upstream source.
packageOriginRestrictions_upstream :: Lens' PackageOriginRestrictions AllowUpstream
-- | Details about a package, including its format, namespace, and name.
-- The ListPackages operation returns a list of
-- PackageSummary objects.
--
-- See: newPackageSummary smart constructor.
data PackageSummary
PackageSummary' :: Maybe PackageFormat -> Maybe Text -> Maybe PackageOriginConfiguration -> Maybe Text -> PackageSummary
-- | The format of the package.
[$sel:format:PackageSummary'] :: PackageSummary -> Maybe PackageFormat
-- | The namespace of the package. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
[$sel:namespace:PackageSummary'] :: PackageSummary -> Maybe Text
-- | A PackageOriginConfiguration object that contains a
-- PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin restrictions.
[$sel:originConfiguration:PackageSummary'] :: PackageSummary -> Maybe PackageOriginConfiguration
-- | The name of the package.
[$sel:package:PackageSummary'] :: PackageSummary -> Maybe Text
-- | Create a value of PackageSummary 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:format:PackageSummary', packageSummary_format - The
-- format of the package.
--
-- $sel:namespace:PackageSummary', packageSummary_namespace
-- - The namespace of the package. The package component that specifies
-- its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- $sel:originConfiguration:PackageSummary',
-- packageSummary_originConfiguration - A
-- PackageOriginConfiguration object that contains a
-- PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin restrictions.
--
-- $sel:package:PackageSummary', packageSummary_package -
-- The name of the package.
newPackageSummary :: PackageSummary
-- | The format of the package.
packageSummary_format :: Lens' PackageSummary (Maybe PackageFormat)
-- | The namespace of the package. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
packageSummary_namespace :: Lens' PackageSummary (Maybe Text)
-- | A PackageOriginConfiguration object that contains a
-- PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin restrictions.
packageSummary_originConfiguration :: Lens' PackageSummary (Maybe PackageOriginConfiguration)
-- | The name of the package.
packageSummary_package :: Lens' PackageSummary (Maybe Text)
-- | Details about a package version.
--
-- See: newPackageVersionDescription smart constructor.
data PackageVersionDescription
PackageVersionDescription' :: Maybe Text -> Maybe PackageFormat -> Maybe Text -> Maybe [LicenseInfo] -> Maybe Text -> Maybe PackageVersionOrigin -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe PackageVersionStatus -> Maybe Text -> Maybe Text -> PackageVersionDescription
-- | The name of the package that is displayed. The displayName
-- varies depending on the package version's format. For example, if an
-- npm package is named ui, is in the namespace vue,
-- and has the format npm, then the displayName is
-- @vue/ui.
[$sel:displayName:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | The format of the package version.
[$sel:format:PackageVersionDescription'] :: PackageVersionDescription -> Maybe PackageFormat
-- | The homepage associated with the package.
[$sel:homePage:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | Information about licenses associated with the package version.
[$sel:licenses:PackageVersionDescription'] :: PackageVersionDescription -> Maybe [LicenseInfo]
-- | The namespace of the package version. The package version component
-- that specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | A PackageVersionOrigin object that contains information about
-- how the package version was added to the repository.
[$sel:origin:PackageVersionDescription'] :: PackageVersionDescription -> Maybe PackageVersionOrigin
-- | The name of the requested package.
[$sel:packageName:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | A timestamp that contains the date and time the package version was
-- published.
[$sel:publishedTime:PackageVersionDescription'] :: PackageVersionDescription -> Maybe POSIX
-- | The revision of the package version.
[$sel:revision:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | The repository for the source code in the package version, or the
-- source code used to build it.
[$sel:sourceCodeRepository:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | A string that contains the status of the package version.
[$sel:status:PackageVersionDescription'] :: PackageVersionDescription -> Maybe PackageVersionStatus
-- | A summary of the package version. The summary is extracted from the
-- package. The information in and detail level of the summary depends on
-- the package version's format.
[$sel:summary:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | The version of the package.
[$sel:version:PackageVersionDescription'] :: PackageVersionDescription -> Maybe Text
-- | Create a value of PackageVersionDescription 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:displayName:PackageVersionDescription',
-- packageVersionDescription_displayName - The name of the package
-- that is displayed. The displayName varies depending on the
-- package version's format. For example, if an npm package is named
-- ui, is in the namespace vue, and has the format
-- npm, then the displayName is @vue/ui.
--
-- $sel:format:PackageVersionDescription',
-- packageVersionDescription_format - The format of the package
-- version.
--
-- $sel:homePage:PackageVersionDescription',
-- packageVersionDescription_homePage - The homepage associated
-- with the package.
--
-- $sel:licenses:PackageVersionDescription',
-- packageVersionDescription_licenses - Information about licenses
-- associated with the package version.
--
-- $sel:namespace:PackageVersionDescription',
-- packageVersionDescription_namespace - The namespace of the
-- package version. The package version component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:origin:PackageVersionDescription',
-- packageVersionDescription_origin - A
-- PackageVersionOrigin object that contains information about how
-- the package version was added to the repository.
--
-- $sel:packageName:PackageVersionDescription',
-- packageVersionDescription_packageName - The name of the
-- requested package.
--
-- $sel:publishedTime:PackageVersionDescription',
-- packageVersionDescription_publishedTime - A timestamp that
-- contains the date and time the package version was published.
--
-- $sel:revision:PackageVersionDescription',
-- packageVersionDescription_revision - The revision of the
-- package version.
--
-- $sel:sourceCodeRepository:PackageVersionDescription',
-- packageVersionDescription_sourceCodeRepository - The repository
-- for the source code in the package version, or the source code used to
-- build it.
--
-- $sel:status:PackageVersionDescription',
-- packageVersionDescription_status - A string that contains the
-- status of the package version.
--
-- $sel:summary:PackageVersionDescription',
-- packageVersionDescription_summary - A summary of the package
-- version. The summary is extracted from the package. The information in
-- and detail level of the summary depends on the package version's
-- format.
--
-- $sel:version:PackageVersionDescription',
-- packageVersionDescription_version - The version of the package.
newPackageVersionDescription :: PackageVersionDescription
-- | The name of the package that is displayed. The displayName
-- varies depending on the package version's format. For example, if an
-- npm package is named ui, is in the namespace vue,
-- and has the format npm, then the displayName is
-- @vue/ui.
packageVersionDescription_displayName :: Lens' PackageVersionDescription (Maybe Text)
-- | The format of the package version.
packageVersionDescription_format :: Lens' PackageVersionDescription (Maybe PackageFormat)
-- | The homepage associated with the package.
packageVersionDescription_homePage :: Lens' PackageVersionDescription (Maybe Text)
-- | Information about licenses associated with the package version.
packageVersionDescription_licenses :: Lens' PackageVersionDescription (Maybe [LicenseInfo])
-- | The namespace of the package version. The package version component
-- that specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
packageVersionDescription_namespace :: Lens' PackageVersionDescription (Maybe Text)
-- | A PackageVersionOrigin object that contains information about
-- how the package version was added to the repository.
packageVersionDescription_origin :: Lens' PackageVersionDescription (Maybe PackageVersionOrigin)
-- | The name of the requested package.
packageVersionDescription_packageName :: Lens' PackageVersionDescription (Maybe Text)
-- | A timestamp that contains the date and time the package version was
-- published.
packageVersionDescription_publishedTime :: Lens' PackageVersionDescription (Maybe UTCTime)
-- | The revision of the package version.
packageVersionDescription_revision :: Lens' PackageVersionDescription (Maybe Text)
-- | The repository for the source code in the package version, or the
-- source code used to build it.
packageVersionDescription_sourceCodeRepository :: Lens' PackageVersionDescription (Maybe Text)
-- | A string that contains the status of the package version.
packageVersionDescription_status :: Lens' PackageVersionDescription (Maybe PackageVersionStatus)
-- | A summary of the package version. The summary is extracted from the
-- package. The information in and detail level of the summary depends on
-- the package version's format.
packageVersionDescription_summary :: Lens' PackageVersionDescription (Maybe Text)
-- | The version of the package.
packageVersionDescription_version :: Lens' PackageVersionDescription (Maybe Text)
-- | l An error associated with package.
--
-- See: newPackageVersionError smart constructor.
data PackageVersionError
PackageVersionError' :: Maybe PackageVersionErrorCode -> Maybe Text -> PackageVersionError
-- | The error code associated with the error. Valid error codes are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
[$sel:errorCode:PackageVersionError'] :: PackageVersionError -> Maybe PackageVersionErrorCode
-- | The error message associated with the error.
[$sel:errorMessage:PackageVersionError'] :: PackageVersionError -> Maybe Text
-- | Create a value of PackageVersionError 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:errorCode:PackageVersionError',
-- packageVersionError_errorCode - The error code associated with
-- the error. Valid error codes are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
--
-- $sel:errorMessage:PackageVersionError',
-- packageVersionError_errorMessage - The error message associated
-- with the error.
newPackageVersionError :: PackageVersionError
-- | The error code associated with the error. Valid error codes are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
packageVersionError_errorCode :: Lens' PackageVersionError (Maybe PackageVersionErrorCode)
-- | The error message associated with the error.
packageVersionError_errorMessage :: Lens' PackageVersionError (Maybe Text)
-- | Information about how a package version was added to a repository.
--
-- See: newPackageVersionOrigin smart constructor.
data PackageVersionOrigin
PackageVersionOrigin' :: Maybe DomainEntryPoint -> Maybe PackageVersionOriginType -> PackageVersionOrigin
-- | A DomainEntryPoint object that contains information about from
-- which repository or external connection the package version was added
-- to the domain.
[$sel:domainEntryPoint:PackageVersionOrigin'] :: PackageVersionOrigin -> Maybe DomainEntryPoint
-- | Describes how the package version was originally added to the domain.
-- An INTERNAL origin type means the package version was
-- published directly to a repository in the domain. An EXTERNAL
-- origin type means the package version was ingested from an external
-- connection.
[$sel:originType:PackageVersionOrigin'] :: PackageVersionOrigin -> Maybe PackageVersionOriginType
-- | Create a value of PackageVersionOrigin 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:domainEntryPoint:PackageVersionOrigin',
-- packageVersionOrigin_domainEntryPoint - A
-- DomainEntryPoint object that contains information about from
-- which repository or external connection the package version was added
-- to the domain.
--
-- $sel:originType:PackageVersionOrigin',
-- packageVersionOrigin_originType - Describes how the package
-- version was originally added to the domain. An INTERNAL
-- origin type means the package version was published directly to a
-- repository in the domain. An EXTERNAL origin type means the
-- package version was ingested from an external connection.
newPackageVersionOrigin :: PackageVersionOrigin
-- | A DomainEntryPoint object that contains information about from
-- which repository or external connection the package version was added
-- to the domain.
packageVersionOrigin_domainEntryPoint :: Lens' PackageVersionOrigin (Maybe DomainEntryPoint)
-- | Describes how the package version was originally added to the domain.
-- An INTERNAL origin type means the package version was
-- published directly to a repository in the domain. An EXTERNAL
-- origin type means the package version was ingested from an external
-- connection.
packageVersionOrigin_originType :: Lens' PackageVersionOrigin (Maybe PackageVersionOriginType)
-- | Details about a package version, including its status, version, and
-- revision. The ListPackageVersions operation returns a list of
-- PackageVersionSummary objects.
--
-- See: newPackageVersionSummary smart constructor.
data PackageVersionSummary
PackageVersionSummary' :: Maybe PackageVersionOrigin -> Maybe Text -> Text -> PackageVersionStatus -> PackageVersionSummary
-- | A PackageVersionOrigin object that contains information about
-- how the package version was added to the repository.
[$sel:origin:PackageVersionSummary'] :: PackageVersionSummary -> Maybe PackageVersionOrigin
-- | The revision associated with a package version.
[$sel:revision:PackageVersionSummary'] :: PackageVersionSummary -> Maybe Text
-- | Information about a package version.
[$sel:version:PackageVersionSummary'] :: PackageVersionSummary -> Text
-- | A string that contains the status of the package version. It can be
-- one of the following:
[$sel:status:PackageVersionSummary'] :: PackageVersionSummary -> PackageVersionStatus
-- | Create a value of PackageVersionSummary 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:origin:PackageVersionSummary',
-- packageVersionSummary_origin - A PackageVersionOrigin
-- object that contains information about how the package version was
-- added to the repository.
--
-- $sel:revision:PackageVersionSummary',
-- packageVersionSummary_revision - The revision associated with a
-- package version.
--
-- $sel:version:PackageVersionSummary',
-- packageVersionSummary_version - Information about a package
-- version.
--
-- $sel:status:PackageVersionSummary',
-- packageVersionSummary_status - A string that contains the
-- status of the package version. It can be one of the following:
newPackageVersionSummary :: Text -> PackageVersionStatus -> PackageVersionSummary
-- | A PackageVersionOrigin object that contains information about
-- how the package version was added to the repository.
packageVersionSummary_origin :: Lens' PackageVersionSummary (Maybe PackageVersionOrigin)
-- | The revision associated with a package version.
packageVersionSummary_revision :: Lens' PackageVersionSummary (Maybe Text)
-- | Information about a package version.
packageVersionSummary_version :: Lens' PackageVersionSummary Text
-- | A string that contains the status of the package version. It can be
-- one of the following:
packageVersionSummary_status :: Lens' PackageVersionSummary PackageVersionStatus
-- | The details of a repository stored in CodeArtifact. A CodeArtifact
-- repository contains a set of package versions, each of which maps to a
-- set of assets. Repositories are polyglot—a single repository can
-- contain packages of any supported type. Each repository exposes
-- endpoints for fetching and publishing packages using tools like the
-- npm CLI, the Maven CLI (mvn), and pip. You
-- can create up to 100 repositories per Amazon Web Services account.
--
-- See: newRepositoryDescription smart constructor.
data RepositoryDescription
RepositoryDescription' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [RepositoryExternalConnectionInfo] -> Maybe Text -> Maybe [UpstreamRepositoryInfo] -> RepositoryDescription
-- | The 12-digit account number of the Amazon Web Services account that
-- manages the repository.
[$sel:administratorAccount:RepositoryDescription'] :: RepositoryDescription -> Maybe Text
-- | The Amazon Resource Name (ARN) of the repository.
[$sel:arn:RepositoryDescription'] :: RepositoryDescription -> Maybe Text
-- | A text description of the repository.
[$sel:description:RepositoryDescription'] :: RepositoryDescription -> Maybe Text
-- | The name of the domain that contains the repository.
[$sel:domainName:RepositoryDescription'] :: RepositoryDescription -> Maybe Text
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain that contains the repository. It does not include
-- dashes or spaces.
[$sel:domainOwner:RepositoryDescription'] :: RepositoryDescription -> Maybe Text
-- | An array of external connections associated with the repository.
[$sel:externalConnections:RepositoryDescription'] :: RepositoryDescription -> Maybe [RepositoryExternalConnectionInfo]
-- | The name of the repository.
[$sel:name:RepositoryDescription'] :: RepositoryDescription -> Maybe Text
-- | A list of upstream repositories to associate with the repository. The
-- order of the upstream repositories in the list determines their
-- priority order when CodeArtifact looks for a requested package
-- version. For more information, see Working with upstream
-- repositories.
[$sel:upstreams:RepositoryDescription'] :: RepositoryDescription -> Maybe [UpstreamRepositoryInfo]
-- | Create a value of RepositoryDescription 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:administratorAccount:RepositoryDescription',
-- repositoryDescription_administratorAccount - The 12-digit
-- account number of the Amazon Web Services account that manages the
-- repository.
--
-- $sel:arn:RepositoryDescription',
-- repositoryDescription_arn - The Amazon Resource Name (ARN) of
-- the repository.
--
-- $sel:description:RepositoryDescription',
-- repositoryDescription_description - A text description of the
-- repository.
--
-- $sel:domainName:RepositoryDescription',
-- repositoryDescription_domainName - The name of the domain that
-- contains the repository.
--
-- $sel:domainOwner:RepositoryDescription',
-- repositoryDescription_domainOwner - The 12-digit account number
-- of the Amazon Web Services account that owns the domain that contains
-- the repository. It does not include dashes or spaces.
--
-- $sel:externalConnections:RepositoryDescription',
-- repositoryDescription_externalConnections - An array of
-- external connections associated with the repository.
--
-- $sel:name:RepositoryDescription',
-- repositoryDescription_name - The name of the repository.
--
-- $sel:upstreams:RepositoryDescription',
-- repositoryDescription_upstreams - A list of upstream
-- repositories to associate with the repository. The order of the
-- upstream repositories in the list determines their priority order when
-- CodeArtifact looks for a requested package version. For more
-- information, see Working with upstream repositories.
newRepositoryDescription :: RepositoryDescription
-- | The 12-digit account number of the Amazon Web Services account that
-- manages the repository.
repositoryDescription_administratorAccount :: Lens' RepositoryDescription (Maybe Text)
-- | The Amazon Resource Name (ARN) of the repository.
repositoryDescription_arn :: Lens' RepositoryDescription (Maybe Text)
-- | A text description of the repository.
repositoryDescription_description :: Lens' RepositoryDescription (Maybe Text)
-- | The name of the domain that contains the repository.
repositoryDescription_domainName :: Lens' RepositoryDescription (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain that contains the repository. It does not include
-- dashes or spaces.
repositoryDescription_domainOwner :: Lens' RepositoryDescription (Maybe Text)
-- | An array of external connections associated with the repository.
repositoryDescription_externalConnections :: Lens' RepositoryDescription (Maybe [RepositoryExternalConnectionInfo])
-- | The name of the repository.
repositoryDescription_name :: Lens' RepositoryDescription (Maybe Text)
-- | A list of upstream repositories to associate with the repository. The
-- order of the upstream repositories in the list determines their
-- priority order when CodeArtifact looks for a requested package
-- version. For more information, see Working with upstream
-- repositories.
repositoryDescription_upstreams :: Lens' RepositoryDescription (Maybe [UpstreamRepositoryInfo])
-- | Contains information about the external connection of a repository.
--
-- See: newRepositoryExternalConnectionInfo smart
-- constructor.
data RepositoryExternalConnectionInfo
RepositoryExternalConnectionInfo' :: Maybe Text -> Maybe PackageFormat -> Maybe ExternalConnectionStatus -> RepositoryExternalConnectionInfo
-- | The name of the external connection associated with a repository.
[$sel:externalConnectionName:RepositoryExternalConnectionInfo'] :: RepositoryExternalConnectionInfo -> Maybe Text
-- | The package format associated with a repository's external connection.
-- The valid package formats are:
--
--
-- - npm: A Node Package Manager (npm) package.
-- - pypi: A Python Package Index (PyPI) package.
-- - maven: A Maven package that contains compiled code in a
-- distributable format, such as a JAR file.
-- - nuget: A NuGet package.
--
[$sel:packageFormat:RepositoryExternalConnectionInfo'] :: RepositoryExternalConnectionInfo -> Maybe PackageFormat
-- | The status of the external connection of a repository. There is one
-- valid value, Available.
[$sel:status:RepositoryExternalConnectionInfo'] :: RepositoryExternalConnectionInfo -> Maybe ExternalConnectionStatus
-- | Create a value of RepositoryExternalConnectionInfo 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:externalConnectionName:RepositoryExternalConnectionInfo',
-- repositoryExternalConnectionInfo_externalConnectionName - The
-- name of the external connection associated with a repository.
--
-- $sel:packageFormat:RepositoryExternalConnectionInfo',
-- repositoryExternalConnectionInfo_packageFormat - The package
-- format associated with a repository's external connection. The valid
-- package formats are:
--
--
-- - npm: A Node Package Manager (npm) package.
-- - pypi: A Python Package Index (PyPI) package.
-- - maven: A Maven package that contains compiled code in a
-- distributable format, such as a JAR file.
-- - nuget: A NuGet package.
--
--
-- $sel:status:RepositoryExternalConnectionInfo',
-- repositoryExternalConnectionInfo_status - The status of the
-- external connection of a repository. There is one valid value,
-- Available.
newRepositoryExternalConnectionInfo :: RepositoryExternalConnectionInfo
-- | The name of the external connection associated with a repository.
repositoryExternalConnectionInfo_externalConnectionName :: Lens' RepositoryExternalConnectionInfo (Maybe Text)
-- | The package format associated with a repository's external connection.
-- The valid package formats are:
--
--
-- - npm: A Node Package Manager (npm) package.
-- - pypi: A Python Package Index (PyPI) package.
-- - maven: A Maven package that contains compiled code in a
-- distributable format, such as a JAR file.
-- - nuget: A NuGet package.
--
repositoryExternalConnectionInfo_packageFormat :: Lens' RepositoryExternalConnectionInfo (Maybe PackageFormat)
-- | The status of the external connection of a repository. There is one
-- valid value, Available.
repositoryExternalConnectionInfo_status :: Lens' RepositoryExternalConnectionInfo (Maybe ExternalConnectionStatus)
-- | Details about a repository, including its Amazon Resource Name (ARN),
-- description, and domain information. The ListRepositories
-- operation returns a list of RepositorySummary objects.
--
-- See: newRepositorySummary smart constructor.
data RepositorySummary
RepositorySummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> RepositorySummary
-- | The Amazon Web Services account ID that manages the repository.
[$sel:administratorAccount:RepositorySummary'] :: RepositorySummary -> Maybe Text
-- | The ARN of the repository.
[$sel:arn:RepositorySummary'] :: RepositorySummary -> Maybe Text
-- | The description of the repository.
[$sel:description:RepositorySummary'] :: RepositorySummary -> Maybe Text
-- | The name of the domain that contains the repository.
[$sel:domainName:RepositorySummary'] :: RepositorySummary -> Maybe Text
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:RepositorySummary'] :: RepositorySummary -> Maybe Text
-- | The name of the repository.
[$sel:name:RepositorySummary'] :: RepositorySummary -> Maybe Text
-- | Create a value of RepositorySummary 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:administratorAccount:RepositorySummary',
-- repositorySummary_administratorAccount - The Amazon Web
-- Services account ID that manages the repository.
--
-- $sel:arn:RepositorySummary', repositorySummary_arn - The
-- ARN of the repository.
--
-- $sel:description:RepositorySummary',
-- repositorySummary_description - The description of the
-- repository.
--
-- $sel:domainName:RepositorySummary',
-- repositorySummary_domainName - The name of the domain that
-- contains the repository.
--
-- $sel:domainOwner:RepositorySummary',
-- repositorySummary_domainOwner - The 12-digit account number of
-- the Amazon Web Services account that owns the domain. It does not
-- include dashes or spaces.
--
-- $sel:name:RepositorySummary', repositorySummary_name -
-- The name of the repository.
newRepositorySummary :: RepositorySummary
-- | The Amazon Web Services account ID that manages the repository.
repositorySummary_administratorAccount :: Lens' RepositorySummary (Maybe Text)
-- | The ARN of the repository.
repositorySummary_arn :: Lens' RepositorySummary (Maybe Text)
-- | The description of the repository.
repositorySummary_description :: Lens' RepositorySummary (Maybe Text)
-- | The name of the domain that contains the repository.
repositorySummary_domainName :: Lens' RepositorySummary (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
repositorySummary_domainOwner :: Lens' RepositorySummary (Maybe Text)
-- | The name of the repository.
repositorySummary_name :: Lens' RepositorySummary (Maybe Text)
-- | An CodeArtifact resource policy that contains a resource ARN, document
-- details, and a revision.
--
-- See: newResourcePolicy smart constructor.
data ResourcePolicy
ResourcePolicy' :: Maybe Text -> Maybe Text -> Maybe Text -> ResourcePolicy
-- | The resource policy formatted in JSON.
[$sel:document:ResourcePolicy'] :: ResourcePolicy -> Maybe Text
-- | The ARN of the resource associated with the resource policy
[$sel:resourceArn:ResourcePolicy'] :: ResourcePolicy -> Maybe Text
-- | The current revision of the resource policy.
[$sel:revision:ResourcePolicy'] :: ResourcePolicy -> Maybe Text
-- | Create a value of ResourcePolicy 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:document:ResourcePolicy', resourcePolicy_document -
-- The resource policy formatted in JSON.
--
-- $sel:resourceArn:ResourcePolicy',
-- resourcePolicy_resourceArn - The ARN of the resource associated
-- with the resource policy
--
-- $sel:revision:ResourcePolicy', resourcePolicy_revision -
-- The current revision of the resource policy.
newResourcePolicy :: ResourcePolicy
-- | The resource policy formatted in JSON.
resourcePolicy_document :: Lens' ResourcePolicy (Maybe Text)
-- | The ARN of the resource associated with the resource policy
resourcePolicy_resourceArn :: Lens' ResourcePolicy (Maybe Text)
-- | The current revision of the resource policy.
resourcePolicy_revision :: Lens' ResourcePolicy (Maybe Text)
-- | Contains the revision and status of a package version.
--
-- See: newSuccessfulPackageVersionInfo smart constructor.
data SuccessfulPackageVersionInfo
SuccessfulPackageVersionInfo' :: Maybe Text -> Maybe PackageVersionStatus -> SuccessfulPackageVersionInfo
-- | The revision of a package version.
[$sel:revision:SuccessfulPackageVersionInfo'] :: SuccessfulPackageVersionInfo -> Maybe Text
-- | The status of a package version.
[$sel:status:SuccessfulPackageVersionInfo'] :: SuccessfulPackageVersionInfo -> Maybe PackageVersionStatus
-- | Create a value of SuccessfulPackageVersionInfo 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:revision:SuccessfulPackageVersionInfo',
-- successfulPackageVersionInfo_revision - The revision of a
-- package version.
--
-- $sel:status:SuccessfulPackageVersionInfo',
-- successfulPackageVersionInfo_status - The status of a package
-- version.
newSuccessfulPackageVersionInfo :: SuccessfulPackageVersionInfo
-- | The revision of a package version.
successfulPackageVersionInfo_revision :: Lens' SuccessfulPackageVersionInfo (Maybe Text)
-- | The status of a package version.
successfulPackageVersionInfo_status :: Lens' SuccessfulPackageVersionInfo (Maybe PackageVersionStatus)
-- | A tag is a key-value pair that can be used to manage, search for, or
-- filter resources in CodeArtifact.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Text -> Text -> Tag
-- | The tag key.
[$sel:key:Tag'] :: Tag -> Text
-- | The tag value.
[$sel:value:Tag'] :: Tag -> Text
-- | Create a value of Tag 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:key:Tag', tag_key - The tag key.
--
-- $sel:value:Tag', tag_value - The tag value.
newTag :: Text -> Text -> Tag
-- | The tag key.
tag_key :: Lens' Tag Text
-- | The tag value.
tag_value :: Lens' Tag Text
-- | Information about an upstream repository. A list of
-- UpstreamRepository objects is an input parameter to
-- CreateRepository and UpdateRepository.
--
-- See: newUpstreamRepository smart constructor.
data UpstreamRepository
UpstreamRepository' :: Text -> UpstreamRepository
-- | The name of an upstream repository.
[$sel:repositoryName:UpstreamRepository'] :: UpstreamRepository -> Text
-- | Create a value of UpstreamRepository 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:repositoryName:UpstreamRepository',
-- upstreamRepository_repositoryName - The name of an upstream
-- repository.
newUpstreamRepository :: Text -> UpstreamRepository
-- | The name of an upstream repository.
upstreamRepository_repositoryName :: Lens' UpstreamRepository Text
-- | Information about an upstream repository.
--
-- See: newUpstreamRepositoryInfo smart constructor.
data UpstreamRepositoryInfo
UpstreamRepositoryInfo' :: Maybe Text -> UpstreamRepositoryInfo
-- | The name of an upstream repository.
[$sel:repositoryName:UpstreamRepositoryInfo'] :: UpstreamRepositoryInfo -> Maybe Text
-- | Create a value of UpstreamRepositoryInfo 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:repositoryName:UpstreamRepositoryInfo',
-- upstreamRepositoryInfo_repositoryName - The name of an upstream
-- repository.
newUpstreamRepositoryInfo :: UpstreamRepositoryInfo
-- | The name of an upstream repository.
upstreamRepositoryInfo_repositoryName :: Lens' UpstreamRepositoryInfo (Maybe Text)
-- | Adds or updates tags for a resource in CodeArtifact.
module Amazonka.CodeArtifact.TagResource
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> [Tag] -> TagResource
-- | The Amazon Resource Name (ARN) of the resource that you want to add or
-- update tags for.
[$sel:resourceArn:TagResource'] :: TagResource -> Text
-- | The tags you want to modify or add to the resource.
[$sel:tags:TagResource'] :: TagResource -> [Tag]
-- | Create a value of TagResource 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:
--
-- TagResource, tagResource_resourceArn - The Amazon
-- Resource Name (ARN) of the resource that you want to add or update
-- tags for.
--
-- $sel:tags:TagResource', tagResource_tags - The tags you
-- want to modify or add to the resource.
newTagResource :: Text -> TagResource
-- | The Amazon Resource Name (ARN) of the resource that you want to add or
-- update tags for.
tagResource_resourceArn :: Lens' TagResource Text
-- | The tags you want to modify or add to the resource.
tagResource_tags :: Lens' TagResource [Tag]
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Int -> TagResourceResponse
-- | The response's http status code.
[$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
-- | Create a value of TagResourceResponse 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:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.TagResource.TagResource
instance GHC.Show.Show Amazonka.CodeArtifact.TagResource.TagResource
instance GHC.Read.Read Amazonka.CodeArtifact.TagResource.TagResource
instance GHC.Classes.Eq Amazonka.CodeArtifact.TagResource.TagResource
instance GHC.Generics.Generic Amazonka.CodeArtifact.TagResource.TagResourceResponse
instance GHC.Show.Show Amazonka.CodeArtifact.TagResource.TagResourceResponse
instance GHC.Read.Read Amazonka.CodeArtifact.TagResource.TagResourceResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.TagResource.TagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.TagResource.TagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.TagResource.TagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.TagResource.TagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.TagResource.TagResource
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.TagResource.TagResource
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.TagResource.TagResource
-- | Sets the resource policy on a repository that specifies permissions to
-- access it.
--
-- When you call PutRepositoryPermissionsPolicy, the resource
-- policy on the repository is ignored when evaluting permissions. This
-- ensures that the owner of a repository cannot lock themselves out of
-- the repository, which would prevent them from being able to update the
-- resource policy.
module Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy
-- | See: newPutRepositoryPermissionsPolicy smart
-- constructor.
data PutRepositoryPermissionsPolicy
PutRepositoryPermissionsPolicy' :: Maybe Text -> Maybe Text -> Text -> Text -> Text -> PutRepositoryPermissionsPolicy
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:PutRepositoryPermissionsPolicy'] :: PutRepositoryPermissionsPolicy -> Maybe Text
-- | Sets the revision of the resource policy that specifies permissions to
-- access the repository. This revision is used for optimistic locking,
-- which prevents others from overwriting your changes to the
-- repository's resource policy.
[$sel:policyRevision:PutRepositoryPermissionsPolicy'] :: PutRepositoryPermissionsPolicy -> Maybe Text
-- | The name of the domain containing the repository to set the resource
-- policy on.
[$sel:domain:PutRepositoryPermissionsPolicy'] :: PutRepositoryPermissionsPolicy -> Text
-- | The name of the repository to set the resource policy on.
[$sel:repository:PutRepositoryPermissionsPolicy'] :: PutRepositoryPermissionsPolicy -> Text
-- | A valid displayable JSON Aspen policy string to be set as the access
-- control resource policy on the provided repository.
[$sel:policyDocument:PutRepositoryPermissionsPolicy'] :: PutRepositoryPermissionsPolicy -> Text
-- | Create a value of PutRepositoryPermissionsPolicy 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:
--
-- PutRepositoryPermissionsPolicy,
-- putRepositoryPermissionsPolicy_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- $sel:policyRevision:PutRepositoryPermissionsPolicy',
-- putRepositoryPermissionsPolicy_policyRevision - Sets the
-- revision of the resource policy that specifies permissions to access
-- the repository. This revision is used for optimistic locking, which
-- prevents others from overwriting your changes to the repository's
-- resource policy.
--
-- $sel:domain:PutRepositoryPermissionsPolicy',
-- putRepositoryPermissionsPolicy_domain - The name of the domain
-- containing the repository to set the resource policy on.
--
-- $sel:repository:PutRepositoryPermissionsPolicy',
-- putRepositoryPermissionsPolicy_repository - The name of the
-- repository to set the resource policy on.
--
-- $sel:policyDocument:PutRepositoryPermissionsPolicy',
-- putRepositoryPermissionsPolicy_policyDocument - A valid
-- displayable JSON Aspen policy string to be set as the access control
-- resource policy on the provided repository.
newPutRepositoryPermissionsPolicy :: Text -> Text -> Text -> PutRepositoryPermissionsPolicy
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
putRepositoryPermissionsPolicy_domainOwner :: Lens' PutRepositoryPermissionsPolicy (Maybe Text)
-- | Sets the revision of the resource policy that specifies permissions to
-- access the repository. This revision is used for optimistic locking,
-- which prevents others from overwriting your changes to the
-- repository's resource policy.
putRepositoryPermissionsPolicy_policyRevision :: Lens' PutRepositoryPermissionsPolicy (Maybe Text)
-- | The name of the domain containing the repository to set the resource
-- policy on.
putRepositoryPermissionsPolicy_domain :: Lens' PutRepositoryPermissionsPolicy Text
-- | The name of the repository to set the resource policy on.
putRepositoryPermissionsPolicy_repository :: Lens' PutRepositoryPermissionsPolicy Text
-- | A valid displayable JSON Aspen policy string to be set as the access
-- control resource policy on the provided repository.
putRepositoryPermissionsPolicy_policyDocument :: Lens' PutRepositoryPermissionsPolicy Text
-- | See: newPutRepositoryPermissionsPolicyResponse smart
-- constructor.
data PutRepositoryPermissionsPolicyResponse
PutRepositoryPermissionsPolicyResponse' :: Maybe ResourcePolicy -> Int -> PutRepositoryPermissionsPolicyResponse
-- | The resource policy that was set after processing the request.
[$sel:policy:PutRepositoryPermissionsPolicyResponse'] :: PutRepositoryPermissionsPolicyResponse -> Maybe ResourcePolicy
-- | The response's http status code.
[$sel:httpStatus:PutRepositoryPermissionsPolicyResponse'] :: PutRepositoryPermissionsPolicyResponse -> Int
-- | Create a value of PutRepositoryPermissionsPolicyResponse 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:policy:PutRepositoryPermissionsPolicyResponse',
-- putRepositoryPermissionsPolicyResponse_policy - The resource
-- policy that was set after processing the request.
--
-- $sel:httpStatus:PutRepositoryPermissionsPolicyResponse',
-- putRepositoryPermissionsPolicyResponse_httpStatus - The
-- response's http status code.
newPutRepositoryPermissionsPolicyResponse :: Int -> PutRepositoryPermissionsPolicyResponse
-- | The resource policy that was set after processing the request.
putRepositoryPermissionsPolicyResponse_policy :: Lens' PutRepositoryPermissionsPolicyResponse (Maybe ResourcePolicy)
-- | The response's http status code.
putRepositoryPermissionsPolicyResponse_httpStatus :: Lens' PutRepositoryPermissionsPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicy
instance GHC.Show.Show Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicy
instance GHC.Read.Read Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicy
instance GHC.Classes.Eq Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicy
instance GHC.Generics.Generic Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicyResponse
instance GHC.Show.Show Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicyResponse
instance GHC.Read.Read Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicyResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicy
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicy
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.PutRepositoryPermissionsPolicy.PutRepositoryPermissionsPolicy
-- | Sets the package origin configuration for a package.
--
-- The package origin configuration determines how new versions of a
-- package can be added to a repository. You can allow or block direct
-- publishing of new package versions, or ingestion and retaining of new
-- package versions from an external connection or upstream source. For
-- more information about package origin controls and configuration, see
-- Editing package origin controls in the CodeArtifact User
-- Guide.
--
-- PutPackageOriginConfiguration can be called on a package that
-- doesn't yet exist in the repository. When called on a package that
-- does not exist, a package is created in the repository with no
-- versions and the requested restrictions are set on the package. This
-- can be used to preemptively block ingesting or retaining any versions
-- from external connections or upstream repositories, or to block
-- publishing any versions of the package into the repository before
-- connecting any package managers or publishers to the repository.
module Amazonka.CodeArtifact.PutPackageOriginConfiguration
-- | See: newPutPackageOriginConfiguration smart constructor.
data PutPackageOriginConfiguration
PutPackageOriginConfiguration' :: Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> PackageOriginRestrictions -> PutPackageOriginConfiguration
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:PutPackageOriginConfiguration'] :: PutPackageOriginConfiguration -> Maybe Text
-- | The namespace of the package to be updated. The package component that
-- specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
[$sel:namespace:PutPackageOriginConfiguration'] :: PutPackageOriginConfiguration -> Maybe Text
-- | The name of the domain that contains the repository that contains the
-- package.
[$sel:domain:PutPackageOriginConfiguration'] :: PutPackageOriginConfiguration -> Text
-- | The name of the repository that contains the package.
[$sel:repository:PutPackageOriginConfiguration'] :: PutPackageOriginConfiguration -> Text
-- | A format that specifies the type of the package to be updated.
[$sel:format:PutPackageOriginConfiguration'] :: PutPackageOriginConfiguration -> PackageFormat
-- | The name of the package to be updated.
[$sel:package:PutPackageOriginConfiguration'] :: PutPackageOriginConfiguration -> Text
-- | A PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin
-- restrictions. The upstream restriction determines if new
-- package versions can be ingested or retained from external connections
-- or upstream repositories. The publish restriction determines
-- if new package versions can be published directly to the repository.
--
-- You must include both the desired upstream and
-- publish restrictions.
[$sel:restrictions:PutPackageOriginConfiguration'] :: PutPackageOriginConfiguration -> PackageOriginRestrictions
-- | Create a value of PutPackageOriginConfiguration 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:
--
-- PutPackageOriginConfiguration,
-- putPackageOriginConfiguration_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- PutPackageOriginConfiguration,
-- putPackageOriginConfiguration_namespace - The namespace of the
-- package to be updated. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- $sel:domain:PutPackageOriginConfiguration',
-- putPackageOriginConfiguration_domain - The name of the domain
-- that contains the repository that contains the package.
--
-- $sel:repository:PutPackageOriginConfiguration',
-- putPackageOriginConfiguration_repository - The name of the
-- repository that contains the package.
--
-- PutPackageOriginConfiguration,
-- putPackageOriginConfiguration_format - A format that specifies
-- the type of the package to be updated.
--
-- PutPackageOriginConfiguration,
-- putPackageOriginConfiguration_package - The name of the package
-- to be updated.
--
-- PutPackageOriginConfiguration,
-- putPackageOriginConfiguration_restrictions - A
-- PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin
-- restrictions. The upstream restriction determines if new
-- package versions can be ingested or retained from external connections
-- or upstream repositories. The publish restriction determines
-- if new package versions can be published directly to the repository.
--
-- You must include both the desired upstream and
-- publish restrictions.
newPutPackageOriginConfiguration :: Text -> Text -> PackageFormat -> Text -> PackageOriginRestrictions -> PutPackageOriginConfiguration
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
putPackageOriginConfiguration_domainOwner :: Lens' PutPackageOriginConfiguration (Maybe Text)
-- | The namespace of the package to be updated. The package component that
-- specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
putPackageOriginConfiguration_namespace :: Lens' PutPackageOriginConfiguration (Maybe Text)
-- | The name of the domain that contains the repository that contains the
-- package.
putPackageOriginConfiguration_domain :: Lens' PutPackageOriginConfiguration Text
-- | The name of the repository that contains the package.
putPackageOriginConfiguration_repository :: Lens' PutPackageOriginConfiguration Text
-- | A format that specifies the type of the package to be updated.
putPackageOriginConfiguration_format :: Lens' PutPackageOriginConfiguration PackageFormat
-- | The name of the package to be updated.
putPackageOriginConfiguration_package :: Lens' PutPackageOriginConfiguration Text
-- | A PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin
-- restrictions. The upstream restriction determines if new
-- package versions can be ingested or retained from external connections
-- or upstream repositories. The publish restriction determines
-- if new package versions can be published directly to the repository.
--
-- You must include both the desired upstream and
-- publish restrictions.
putPackageOriginConfiguration_restrictions :: Lens' PutPackageOriginConfiguration PackageOriginRestrictions
-- | See: newPutPackageOriginConfigurationResponse smart
-- constructor.
data PutPackageOriginConfigurationResponse
PutPackageOriginConfigurationResponse' :: Maybe PackageOriginConfiguration -> Int -> PutPackageOriginConfigurationResponse
-- | A PackageOriginConfiguration object that describes the origin
-- configuration set for the package. It contains a
-- PackageOriginRestrictions object that describes how new
-- versions of the package can be introduced to the repository.
[$sel:originConfiguration:PutPackageOriginConfigurationResponse'] :: PutPackageOriginConfigurationResponse -> Maybe PackageOriginConfiguration
-- | The response's http status code.
[$sel:httpStatus:PutPackageOriginConfigurationResponse'] :: PutPackageOriginConfigurationResponse -> Int
-- | Create a value of PutPackageOriginConfigurationResponse 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:
--
-- PutPackageOriginConfigurationResponse,
-- putPackageOriginConfigurationResponse_originConfiguration - A
-- PackageOriginConfiguration object that describes the origin
-- configuration set for the package. It contains a
-- PackageOriginRestrictions object that describes how new
-- versions of the package can be introduced to the repository.
--
-- $sel:httpStatus:PutPackageOriginConfigurationResponse',
-- putPackageOriginConfigurationResponse_httpStatus - The
-- response's http status code.
newPutPackageOriginConfigurationResponse :: Int -> PutPackageOriginConfigurationResponse
-- | A PackageOriginConfiguration object that describes the origin
-- configuration set for the package. It contains a
-- PackageOriginRestrictions object that describes how new
-- versions of the package can be introduced to the repository.
putPackageOriginConfigurationResponse_originConfiguration :: Lens' PutPackageOriginConfigurationResponse (Maybe PackageOriginConfiguration)
-- | The response's http status code.
putPackageOriginConfigurationResponse_httpStatus :: Lens' PutPackageOriginConfigurationResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfiguration
instance GHC.Show.Show Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfiguration
instance GHC.Read.Read Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfiguration
instance GHC.Classes.Eq Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfiguration
instance GHC.Generics.Generic Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfigurationResponse
instance GHC.Show.Show Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfigurationResponse
instance GHC.Read.Read Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfigurationResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfigurationResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfiguration
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfigurationResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfiguration
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfiguration
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfiguration
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfiguration
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.PutPackageOriginConfiguration.PutPackageOriginConfiguration
-- | Sets a resource policy on a domain that specifies permissions to
-- access it.
--
-- When you call PutDomainPermissionsPolicy, the resource policy
-- on the domain is ignored when evaluting permissions. This ensures that
-- the owner of a domain cannot lock themselves out of the domain, which
-- would prevent them from being able to update the resource policy.
module Amazonka.CodeArtifact.PutDomainPermissionsPolicy
-- | See: newPutDomainPermissionsPolicy smart constructor.
data PutDomainPermissionsPolicy
PutDomainPermissionsPolicy' :: Maybe Text -> Maybe Text -> Text -> Text -> PutDomainPermissionsPolicy
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:PutDomainPermissionsPolicy'] :: PutDomainPermissionsPolicy -> Maybe Text
-- | The current revision of the resource policy to be set. This revision
-- is used for optimistic locking, which prevents others from overwriting
-- your changes to the domain's resource policy.
[$sel:policyRevision:PutDomainPermissionsPolicy'] :: PutDomainPermissionsPolicy -> Maybe Text
-- | The name of the domain on which to set the resource policy.
[$sel:domain:PutDomainPermissionsPolicy'] :: PutDomainPermissionsPolicy -> Text
-- | A valid displayable JSON Aspen policy string to be set as the access
-- control resource policy on the provided domain.
[$sel:policyDocument:PutDomainPermissionsPolicy'] :: PutDomainPermissionsPolicy -> Text
-- | Create a value of PutDomainPermissionsPolicy 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:
--
-- PutDomainPermissionsPolicy,
-- putDomainPermissionsPolicy_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:policyRevision:PutDomainPermissionsPolicy',
-- putDomainPermissionsPolicy_policyRevision - The current
-- revision of the resource policy to be set. This revision is used for
-- optimistic locking, which prevents others from overwriting your
-- changes to the domain's resource policy.
--
-- $sel:domain:PutDomainPermissionsPolicy',
-- putDomainPermissionsPolicy_domain - The name of the domain on
-- which to set the resource policy.
--
-- $sel:policyDocument:PutDomainPermissionsPolicy',
-- putDomainPermissionsPolicy_policyDocument - A valid displayable
-- JSON Aspen policy string to be set as the access control resource
-- policy on the provided domain.
newPutDomainPermissionsPolicy :: Text -> Text -> PutDomainPermissionsPolicy
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
putDomainPermissionsPolicy_domainOwner :: Lens' PutDomainPermissionsPolicy (Maybe Text)
-- | The current revision of the resource policy to be set. This revision
-- is used for optimistic locking, which prevents others from overwriting
-- your changes to the domain's resource policy.
putDomainPermissionsPolicy_policyRevision :: Lens' PutDomainPermissionsPolicy (Maybe Text)
-- | The name of the domain on which to set the resource policy.
putDomainPermissionsPolicy_domain :: Lens' PutDomainPermissionsPolicy Text
-- | A valid displayable JSON Aspen policy string to be set as the access
-- control resource policy on the provided domain.
putDomainPermissionsPolicy_policyDocument :: Lens' PutDomainPermissionsPolicy Text
-- | See: newPutDomainPermissionsPolicyResponse smart
-- constructor.
data PutDomainPermissionsPolicyResponse
PutDomainPermissionsPolicyResponse' :: Maybe ResourcePolicy -> Int -> PutDomainPermissionsPolicyResponse
-- | The resource policy that was set after processing the request.
[$sel:policy:PutDomainPermissionsPolicyResponse'] :: PutDomainPermissionsPolicyResponse -> Maybe ResourcePolicy
-- | The response's http status code.
[$sel:httpStatus:PutDomainPermissionsPolicyResponse'] :: PutDomainPermissionsPolicyResponse -> Int
-- | Create a value of PutDomainPermissionsPolicyResponse 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:policy:PutDomainPermissionsPolicyResponse',
-- putDomainPermissionsPolicyResponse_policy - The resource policy
-- that was set after processing the request.
--
-- $sel:httpStatus:PutDomainPermissionsPolicyResponse',
-- putDomainPermissionsPolicyResponse_httpStatus - The response's
-- http status code.
newPutDomainPermissionsPolicyResponse :: Int -> PutDomainPermissionsPolicyResponse
-- | The resource policy that was set after processing the request.
putDomainPermissionsPolicyResponse_policy :: Lens' PutDomainPermissionsPolicyResponse (Maybe ResourcePolicy)
-- | The response's http status code.
putDomainPermissionsPolicyResponse_httpStatus :: Lens' PutDomainPermissionsPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicy
instance GHC.Show.Show Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicy
instance GHC.Read.Read Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicy
instance GHC.Classes.Eq Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicy
instance GHC.Generics.Generic Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicyResponse
instance GHC.Show.Show Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicyResponse
instance GHC.Read.Read Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicyResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicy
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicy
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicy
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.PutDomainPermissionsPolicy.PutDomainPermissionsPolicy
-- | Gets information about Amazon Web Services tags for a specified Amazon
-- Resource Name (ARN) in CodeArtifact.
module Amazonka.CodeArtifact.ListTagsForResource
-- | See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Text -> ListTagsForResource
-- | The Amazon Resource Name (ARN) of the resource to get tags for.
[$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text
-- | Create a value of ListTagsForResource 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:
--
-- ListTagsForResource, listTagsForResource_resourceArn -
-- The Amazon Resource Name (ARN) of the resource to get tags for.
newListTagsForResource :: Text -> ListTagsForResource
-- | The Amazon Resource Name (ARN) of the resource to get tags for.
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
-- | See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse
-- | A list of tag key and value pairs associated with the specified
-- resource.
[$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe [Tag]
-- | The response's http status code.
[$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
-- | Create a value of ListTagsForResourceResponse 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:tags:ListTagsForResourceResponse',
-- listTagsForResourceResponse_tags - A list of tag key and value
-- pairs associated with the specified resource.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | A list of tag key and value pairs associated with the specified
-- resource.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResource
instance GHC.Show.Show Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResource
instance GHC.Read.Read Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResource
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResource
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Show.Show Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Read.Read Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.ListTagsForResource.ListTagsForResource
-- | Returns a list of RepositorySummary objects. Each
-- RepositorySummary contains information about a repository in
-- the specified domain and that matches the input parameters.
--
-- This operation returns paginated results.
module Amazonka.CodeArtifact.ListRepositoriesInDomain
-- | See: newListRepositoriesInDomain smart constructor.
data ListRepositoriesInDomain
ListRepositoriesInDomain' :: Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Text -> ListRepositoriesInDomain
-- | Filter the list of repositories to only include those that are managed
-- by the Amazon Web Services account ID.
[$sel:administratorAccount:ListRepositoriesInDomain'] :: ListRepositoriesInDomain -> Maybe Text
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:ListRepositoriesInDomain'] :: ListRepositoriesInDomain -> Maybe Text
-- | The maximum number of results to return per page.
[$sel:maxResults:ListRepositoriesInDomain'] :: ListRepositoriesInDomain -> Maybe Natural
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
[$sel:nextToken:ListRepositoriesInDomain'] :: ListRepositoriesInDomain -> Maybe Text
-- | A prefix used to filter returned repositories. Only repositories with
-- names that start with repositoryPrefix are returned.
[$sel:repositoryPrefix:ListRepositoriesInDomain'] :: ListRepositoriesInDomain -> Maybe Text
-- | The name of the domain that contains the returned list of
-- repositories.
[$sel:domain:ListRepositoriesInDomain'] :: ListRepositoriesInDomain -> Text
-- | Create a value of ListRepositoriesInDomain 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:
--
-- ListRepositoriesInDomain,
-- listRepositoriesInDomain_administratorAccount - Filter the list
-- of repositories to only include those that are managed by the Amazon
-- Web Services account ID.
--
-- ListRepositoriesInDomain,
-- listRepositoriesInDomain_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:maxResults:ListRepositoriesInDomain',
-- listRepositoriesInDomain_maxResults - The maximum number of
-- results to return per page.
--
-- ListRepositoriesInDomain,
-- listRepositoriesInDomain_nextToken - The token for the next set
-- of results. Use the value returned in the previous response in the
-- next request to retrieve the next set of results.
--
-- $sel:repositoryPrefix:ListRepositoriesInDomain',
-- listRepositoriesInDomain_repositoryPrefix - A prefix used to
-- filter returned repositories. Only repositories with names that start
-- with repositoryPrefix are returned.
--
-- $sel:domain:ListRepositoriesInDomain',
-- listRepositoriesInDomain_domain - The name of the domain that
-- contains the returned list of repositories.
newListRepositoriesInDomain :: Text -> ListRepositoriesInDomain
-- | Filter the list of repositories to only include those that are managed
-- by the Amazon Web Services account ID.
listRepositoriesInDomain_administratorAccount :: Lens' ListRepositoriesInDomain (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
listRepositoriesInDomain_domainOwner :: Lens' ListRepositoriesInDomain (Maybe Text)
-- | The maximum number of results to return per page.
listRepositoriesInDomain_maxResults :: Lens' ListRepositoriesInDomain (Maybe Natural)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listRepositoriesInDomain_nextToken :: Lens' ListRepositoriesInDomain (Maybe Text)
-- | A prefix used to filter returned repositories. Only repositories with
-- names that start with repositoryPrefix are returned.
listRepositoriesInDomain_repositoryPrefix :: Lens' ListRepositoriesInDomain (Maybe Text)
-- | The name of the domain that contains the returned list of
-- repositories.
listRepositoriesInDomain_domain :: Lens' ListRepositoriesInDomain Text
-- | See: newListRepositoriesInDomainResponse smart
-- constructor.
data ListRepositoriesInDomainResponse
ListRepositoriesInDomainResponse' :: Maybe Text -> Maybe [RepositorySummary] -> Int -> ListRepositoriesInDomainResponse
-- | If there are additional results, this is the token for the next set of
-- results.
[$sel:nextToken:ListRepositoriesInDomainResponse'] :: ListRepositoriesInDomainResponse -> Maybe Text
-- | The returned list of repositories.
[$sel:repositories:ListRepositoriesInDomainResponse'] :: ListRepositoriesInDomainResponse -> Maybe [RepositorySummary]
-- | The response's http status code.
[$sel:httpStatus:ListRepositoriesInDomainResponse'] :: ListRepositoriesInDomainResponse -> Int
-- | Create a value of ListRepositoriesInDomainResponse 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:
--
-- ListRepositoriesInDomain,
-- listRepositoriesInDomainResponse_nextToken - If there are
-- additional results, this is the token for the next set of results.
--
-- $sel:repositories:ListRepositoriesInDomainResponse',
-- listRepositoriesInDomainResponse_repositories - The returned
-- list of repositories.
--
-- $sel:httpStatus:ListRepositoriesInDomainResponse',
-- listRepositoriesInDomainResponse_httpStatus - The response's
-- http status code.
newListRepositoriesInDomainResponse :: Int -> ListRepositoriesInDomainResponse
-- | If there are additional results, this is the token for the next set of
-- results.
listRepositoriesInDomainResponse_nextToken :: Lens' ListRepositoriesInDomainResponse (Maybe Text)
-- | The returned list of repositories.
listRepositoriesInDomainResponse_repositories :: Lens' ListRepositoriesInDomainResponse (Maybe [RepositorySummary])
-- | The response's http status code.
listRepositoriesInDomainResponse_httpStatus :: Lens' ListRepositoriesInDomainResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomain
instance GHC.Show.Show Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomain
instance GHC.Read.Read Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomain
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomain
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomainResponse
instance GHC.Show.Show Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomainResponse
instance GHC.Read.Read Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomainResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomainResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomain
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomainResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomain
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomain
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomain
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomain
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomain
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomain
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.ListRepositoriesInDomain.ListRepositoriesInDomain
-- | Returns a list of RepositorySummary objects. Each
-- RepositorySummary contains information about a repository in
-- the specified Amazon Web Services account and that matches the input
-- parameters.
--
-- This operation returns paginated results.
module Amazonka.CodeArtifact.ListRepositories
-- | See: newListRepositories smart constructor.
data ListRepositories
ListRepositories' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListRepositories
-- | The maximum number of results to return per page.
[$sel:maxResults:ListRepositories'] :: ListRepositories -> Maybe Natural
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
[$sel:nextToken:ListRepositories'] :: ListRepositories -> Maybe Text
-- | A prefix used to filter returned repositories. Only repositories with
-- names that start with repositoryPrefix are returned.
[$sel:repositoryPrefix:ListRepositories'] :: ListRepositories -> Maybe Text
-- | Create a value of ListRepositories 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:maxResults:ListRepositories',
-- listRepositories_maxResults - The maximum number of results to
-- return per page.
--
-- ListRepositories, listRepositories_nextToken - The token
-- for the next set of results. Use the value returned in the previous
-- response in the next request to retrieve the next set of results.
--
-- $sel:repositoryPrefix:ListRepositories',
-- listRepositories_repositoryPrefix - A prefix used to filter
-- returned repositories. Only repositories with names that start with
-- repositoryPrefix are returned.
newListRepositories :: ListRepositories
-- | The maximum number of results to return per page.
listRepositories_maxResults :: Lens' ListRepositories (Maybe Natural)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listRepositories_nextToken :: Lens' ListRepositories (Maybe Text)
-- | A prefix used to filter returned repositories. Only repositories with
-- names that start with repositoryPrefix are returned.
listRepositories_repositoryPrefix :: Lens' ListRepositories (Maybe Text)
-- | See: newListRepositoriesResponse smart constructor.
data ListRepositoriesResponse
ListRepositoriesResponse' :: Maybe Text -> Maybe [RepositorySummary] -> Int -> ListRepositoriesResponse
-- | If there are additional results, this is the token for the next set of
-- results.
[$sel:nextToken:ListRepositoriesResponse'] :: ListRepositoriesResponse -> Maybe Text
-- | The returned list of RepositorySummary objects.
[$sel:repositories:ListRepositoriesResponse'] :: ListRepositoriesResponse -> Maybe [RepositorySummary]
-- | The response's http status code.
[$sel:httpStatus:ListRepositoriesResponse'] :: ListRepositoriesResponse -> Int
-- | Create a value of ListRepositoriesResponse 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:
--
-- ListRepositories, listRepositoriesResponse_nextToken -
-- If there are additional results, this is the token for the next set of
-- results.
--
-- $sel:repositories:ListRepositoriesResponse',
-- listRepositoriesResponse_repositories - The returned list of
-- RepositorySummary objects.
--
-- $sel:httpStatus:ListRepositoriesResponse',
-- listRepositoriesResponse_httpStatus - The response's http
-- status code.
newListRepositoriesResponse :: Int -> ListRepositoriesResponse
-- | If there are additional results, this is the token for the next set of
-- results.
listRepositoriesResponse_nextToken :: Lens' ListRepositoriesResponse (Maybe Text)
-- | The returned list of RepositorySummary objects.
listRepositoriesResponse_repositories :: Lens' ListRepositoriesResponse (Maybe [RepositorySummary])
-- | The response's http status code.
listRepositoriesResponse_httpStatus :: Lens' ListRepositoriesResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListRepositories.ListRepositories
instance GHC.Show.Show Amazonka.CodeArtifact.ListRepositories.ListRepositories
instance GHC.Read.Read Amazonka.CodeArtifact.ListRepositories.ListRepositories
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListRepositories.ListRepositories
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListRepositories.ListRepositoriesResponse
instance GHC.Show.Show Amazonka.CodeArtifact.ListRepositories.ListRepositoriesResponse
instance GHC.Read.Read Amazonka.CodeArtifact.ListRepositories.ListRepositoriesResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListRepositories.ListRepositoriesResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.ListRepositories.ListRepositories
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListRepositories.ListRepositoriesResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeArtifact.ListRepositories.ListRepositories
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.ListRepositories.ListRepositories
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListRepositories.ListRepositories
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.ListRepositories.ListRepositories
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.ListRepositories.ListRepositories
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.ListRepositories.ListRepositories
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.ListRepositories.ListRepositories
-- | Returns a list of PackageSummary objects for packages in a
-- repository that match the request parameters.
--
-- This operation returns paginated results.
module Amazonka.CodeArtifact.ListPackages
-- | See: newListPackages smart constructor.
data ListPackages
ListPackages' :: Maybe Text -> Maybe PackageFormat -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AllowPublish -> Maybe AllowUpstream -> Text -> Text -> ListPackages
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:ListPackages'] :: ListPackages -> Maybe Text
-- | The format used to filter requested packages. Only packages from the
-- provided format will be returned.
[$sel:format:ListPackages'] :: ListPackages -> Maybe PackageFormat
-- | The maximum number of results to return per page.
[$sel:maxResults:ListPackages'] :: ListPackages -> Maybe Natural
-- | The namespace used to filter requested packages. Only packages with
-- the provided namespace will be returned. The package component that
-- specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
[$sel:namespace:ListPackages'] :: ListPackages -> Maybe Text
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
[$sel:nextToken:ListPackages'] :: ListPackages -> Maybe Text
-- | A prefix used to filter requested packages. Only packages with names
-- that start with packagePrefix are returned.
[$sel:packagePrefix:ListPackages'] :: ListPackages -> Maybe Text
-- | The value of the Publish package origin control restriction
-- used to filter requested packages. Only packages with the provided
-- restriction are returned. For more information, see
-- PackageOriginRestrictions.
[$sel:publish:ListPackages'] :: ListPackages -> Maybe AllowPublish
-- | The value of the Upstream package origin control restriction
-- used to filter requested packages. Only packages with the provided
-- restriction are returned. For more information, see
-- PackageOriginRestrictions.
[$sel:upstream:ListPackages'] :: ListPackages -> Maybe AllowUpstream
-- | The name of the domain that contains the repository that contains the
-- requested packages.
[$sel:domain:ListPackages'] :: ListPackages -> Text
-- | The name of the repository that contains the requested packages.
[$sel:repository:ListPackages'] :: ListPackages -> Text
-- | Create a value of ListPackages 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:
--
-- ListPackages, listPackages_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- ListPackages, listPackages_format - The format used to
-- filter requested packages. Only packages from the provided format will
-- be returned.
--
-- $sel:maxResults:ListPackages', listPackages_maxResults -
-- The maximum number of results to return per page.
--
-- ListPackages, listPackages_namespace - The namespace
-- used to filter requested packages. Only packages with the provided
-- namespace will be returned. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- ListPackages, listPackages_nextToken - The token for the
-- next set of results. Use the value returned in the previous response
-- in the next request to retrieve the next set of results.
--
-- $sel:packagePrefix:ListPackages',
-- listPackages_packagePrefix - A prefix used to filter requested
-- packages. Only packages with names that start with
-- packagePrefix are returned.
--
-- ListPackages, listPackages_publish - The value of the
-- Publish package origin control restriction used to filter
-- requested packages. Only packages with the provided restriction are
-- returned. For more information, see PackageOriginRestrictions.
--
-- ListPackages, listPackages_upstream - The value of the
-- Upstream package origin control restriction used to filter
-- requested packages. Only packages with the provided restriction are
-- returned. For more information, see PackageOriginRestrictions.
--
-- $sel:domain:ListPackages', listPackages_domain - The
-- name of the domain that contains the repository that contains the
-- requested packages.
--
-- $sel:repository:ListPackages', listPackages_repository -
-- The name of the repository that contains the requested packages.
newListPackages :: Text -> Text -> ListPackages
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
listPackages_domainOwner :: Lens' ListPackages (Maybe Text)
-- | The format used to filter requested packages. Only packages from the
-- provided format will be returned.
listPackages_format :: Lens' ListPackages (Maybe PackageFormat)
-- | The maximum number of results to return per page.
listPackages_maxResults :: Lens' ListPackages (Maybe Natural)
-- | The namespace used to filter requested packages. Only packages with
-- the provided namespace will be returned. The package component that
-- specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
listPackages_namespace :: Lens' ListPackages (Maybe Text)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listPackages_nextToken :: Lens' ListPackages (Maybe Text)
-- | A prefix used to filter requested packages. Only packages with names
-- that start with packagePrefix are returned.
listPackages_packagePrefix :: Lens' ListPackages (Maybe Text)
-- | The value of the Publish package origin control restriction
-- used to filter requested packages. Only packages with the provided
-- restriction are returned. For more information, see
-- PackageOriginRestrictions.
listPackages_publish :: Lens' ListPackages (Maybe AllowPublish)
-- | The value of the Upstream package origin control restriction
-- used to filter requested packages. Only packages with the provided
-- restriction are returned. For more information, see
-- PackageOriginRestrictions.
listPackages_upstream :: Lens' ListPackages (Maybe AllowUpstream)
-- | The name of the domain that contains the repository that contains the
-- requested packages.
listPackages_domain :: Lens' ListPackages Text
-- | The name of the repository that contains the requested packages.
listPackages_repository :: Lens' ListPackages Text
-- | See: newListPackagesResponse smart constructor.
data ListPackagesResponse
ListPackagesResponse' :: Maybe Text -> Maybe [PackageSummary] -> Int -> ListPackagesResponse
-- | If there are additional results, this is the token for the next set of
-- results.
[$sel:nextToken:ListPackagesResponse'] :: ListPackagesResponse -> Maybe Text
-- | The list of returned PackageSummary objects.
[$sel:packages:ListPackagesResponse'] :: ListPackagesResponse -> Maybe [PackageSummary]
-- | The response's http status code.
[$sel:httpStatus:ListPackagesResponse'] :: ListPackagesResponse -> Int
-- | Create a value of ListPackagesResponse 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:
--
-- ListPackages, listPackagesResponse_nextToken - If there
-- are additional results, this is the token for the next set of results.
--
-- $sel:packages:ListPackagesResponse',
-- listPackagesResponse_packages - The list of returned
-- PackageSummary objects.
--
-- $sel:httpStatus:ListPackagesResponse',
-- listPackagesResponse_httpStatus - The response's http status
-- code.
newListPackagesResponse :: Int -> ListPackagesResponse
-- | If there are additional results, this is the token for the next set of
-- results.
listPackagesResponse_nextToken :: Lens' ListPackagesResponse (Maybe Text)
-- | The list of returned PackageSummary objects.
listPackagesResponse_packages :: Lens' ListPackagesResponse (Maybe [PackageSummary])
-- | The response's http status code.
listPackagesResponse_httpStatus :: Lens' ListPackagesResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListPackages.ListPackages
instance GHC.Show.Show Amazonka.CodeArtifact.ListPackages.ListPackages
instance GHC.Read.Read Amazonka.CodeArtifact.ListPackages.ListPackages
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListPackages.ListPackages
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListPackages.ListPackagesResponse
instance GHC.Show.Show Amazonka.CodeArtifact.ListPackages.ListPackagesResponse
instance GHC.Read.Read Amazonka.CodeArtifact.ListPackages.ListPackagesResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListPackages.ListPackagesResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.ListPackages.ListPackages
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListPackages.ListPackagesResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeArtifact.ListPackages.ListPackages
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.ListPackages.ListPackages
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListPackages.ListPackages
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.ListPackages.ListPackages
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.ListPackages.ListPackages
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.ListPackages.ListPackages
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.ListPackages.ListPackages
-- | Returns a list of PackageVersionSummary objects for package
-- versions in a repository that match the request parameters.
--
-- This operation returns paginated results.
module Amazonka.CodeArtifact.ListPackageVersions
-- | See: newListPackageVersions smart constructor.
data ListPackageVersions
ListPackageVersions' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe PackageVersionOriginType -> Maybe PackageVersionSortType -> Maybe PackageVersionStatus -> Text -> Text -> PackageFormat -> Text -> ListPackageVersions
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:ListPackageVersions'] :: ListPackageVersions -> Maybe Text
-- | The maximum number of results to return per page.
[$sel:maxResults:ListPackageVersions'] :: ListPackageVersions -> Maybe Natural
-- | The namespace of the package that contains the requested package
-- versions. The package component that specifies its namespace depends
-- on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
[$sel:namespace:ListPackageVersions'] :: ListPackageVersions -> Maybe Text
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
[$sel:nextToken:ListPackageVersions'] :: ListPackageVersions -> Maybe Text
-- | The originType used to filter package versions. Only package
-- versions with the provided originType will be returned.
[$sel:originType:ListPackageVersions'] :: ListPackageVersions -> Maybe PackageVersionOriginType
-- | How to sort the requested list of package versions.
[$sel:sortBy:ListPackageVersions'] :: ListPackageVersions -> Maybe PackageVersionSortType
-- | A string that filters the requested package versions by status.
[$sel:status:ListPackageVersions'] :: ListPackageVersions -> Maybe PackageVersionStatus
-- | The name of the domain that contains the repository that contains the
-- requested package versions.
[$sel:domain:ListPackageVersions'] :: ListPackageVersions -> Text
-- | The name of the repository that contains the requested package
-- versions.
[$sel:repository:ListPackageVersions'] :: ListPackageVersions -> Text
-- | The format of the returned package versions.
[$sel:format:ListPackageVersions'] :: ListPackageVersions -> PackageFormat
-- | The name of the package for which you want to request package
-- versions.
[$sel:package:ListPackageVersions'] :: ListPackageVersions -> Text
-- | Create a value of ListPackageVersions 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:
--
-- ListPackageVersions, listPackageVersions_domainOwner -
-- The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
--
-- $sel:maxResults:ListPackageVersions',
-- listPackageVersions_maxResults - The maximum number of results
-- to return per page.
--
-- ListPackageVersions, listPackageVersions_namespace - The
-- namespace of the package that contains the requested package versions.
-- The package component that specifies its namespace depends on its
-- type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- ListPackageVersions, listPackageVersions_nextToken - The
-- token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
--
-- ListPackageVersions, listPackageVersions_originType -
-- The originType used to filter package versions. Only package
-- versions with the provided originType will be returned.
--
-- $sel:sortBy:ListPackageVersions',
-- listPackageVersions_sortBy - How to sort the requested list of
-- package versions.
--
-- ListPackageVersions, listPackageVersions_status - A
-- string that filters the requested package versions by status.
--
-- $sel:domain:ListPackageVersions',
-- listPackageVersions_domain - The name of the domain that
-- contains the repository that contains the requested package versions.
--
-- $sel:repository:ListPackageVersions',
-- listPackageVersions_repository - The name of the repository
-- that contains the requested package versions.
--
-- ListPackageVersions, listPackageVersions_format - The
-- format of the returned package versions.
--
-- ListPackageVersions, listPackageVersions_package - The
-- name of the package for which you want to request package versions.
newListPackageVersions :: Text -> Text -> PackageFormat -> Text -> ListPackageVersions
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
listPackageVersions_domainOwner :: Lens' ListPackageVersions (Maybe Text)
-- | The maximum number of results to return per page.
listPackageVersions_maxResults :: Lens' ListPackageVersions (Maybe Natural)
-- | The namespace of the package that contains the requested package
-- versions. The package component that specifies its namespace depends
-- on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
listPackageVersions_namespace :: Lens' ListPackageVersions (Maybe Text)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listPackageVersions_nextToken :: Lens' ListPackageVersions (Maybe Text)
-- | The originType used to filter package versions. Only package
-- versions with the provided originType will be returned.
listPackageVersions_originType :: Lens' ListPackageVersions (Maybe PackageVersionOriginType)
-- | How to sort the requested list of package versions.
listPackageVersions_sortBy :: Lens' ListPackageVersions (Maybe PackageVersionSortType)
-- | A string that filters the requested package versions by status.
listPackageVersions_status :: Lens' ListPackageVersions (Maybe PackageVersionStatus)
-- | The name of the domain that contains the repository that contains the
-- requested package versions.
listPackageVersions_domain :: Lens' ListPackageVersions Text
-- | The name of the repository that contains the requested package
-- versions.
listPackageVersions_repository :: Lens' ListPackageVersions Text
-- | The format of the returned package versions.
listPackageVersions_format :: Lens' ListPackageVersions PackageFormat
-- | The name of the package for which you want to request package
-- versions.
listPackageVersions_package :: Lens' ListPackageVersions Text
-- | See: newListPackageVersionsResponse smart constructor.
data ListPackageVersionsResponse
ListPackageVersionsResponse' :: Maybe Text -> Maybe PackageFormat -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [PackageVersionSummary] -> Int -> ListPackageVersionsResponse
-- | The default package version to display. This depends on the package
-- format:
--
--
-- - For Maven and PyPI packages, it's the most recently published
-- package version.
-- - For npm packages, it's the version referenced by the
-- latest tag. If the latest tag is not set, it's the
-- most recently published package version.
--
[$sel:defaultDisplayVersion:ListPackageVersionsResponse'] :: ListPackageVersionsResponse -> Maybe Text
-- | A format of the package.
[$sel:format:ListPackageVersionsResponse'] :: ListPackageVersionsResponse -> Maybe PackageFormat
-- | The namespace of the package that contains the requested package
-- versions. The package component that specifies its namespace depends
-- on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
[$sel:namespace:ListPackageVersionsResponse'] :: ListPackageVersionsResponse -> Maybe Text
-- | If there are additional results, this is the token for the next set of
-- results.
[$sel:nextToken:ListPackageVersionsResponse'] :: ListPackageVersionsResponse -> Maybe Text
-- | The name of the package.
[$sel:package:ListPackageVersionsResponse'] :: ListPackageVersionsResponse -> Maybe Text
-- | The returned list of PackageVersionSummary objects.
[$sel:versions:ListPackageVersionsResponse'] :: ListPackageVersionsResponse -> Maybe [PackageVersionSummary]
-- | The response's http status code.
[$sel:httpStatus:ListPackageVersionsResponse'] :: ListPackageVersionsResponse -> Int
-- | Create a value of ListPackageVersionsResponse 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:defaultDisplayVersion:ListPackageVersionsResponse',
-- listPackageVersionsResponse_defaultDisplayVersion - The default
-- package version to display. This depends on the package format:
--
--
-- - For Maven and PyPI packages, it's the most recently published
-- package version.
-- - For npm packages, it's the version referenced by the
-- latest tag. If the latest tag is not set, it's the
-- most recently published package version.
--
--
-- ListPackageVersions, listPackageVersionsResponse_format
-- - A format of the package.
--
-- ListPackageVersions,
-- listPackageVersionsResponse_namespace - The namespace of the
-- package that contains the requested package versions. The package
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- ListPackageVersions,
-- listPackageVersionsResponse_nextToken - If there are additional
-- results, this is the token for the next set of results.
--
-- ListPackageVersions, listPackageVersionsResponse_package
-- - The name of the package.
--
-- $sel:versions:ListPackageVersionsResponse',
-- listPackageVersionsResponse_versions - The returned list of
-- PackageVersionSummary objects.
--
-- $sel:httpStatus:ListPackageVersionsResponse',
-- listPackageVersionsResponse_httpStatus - The response's http
-- status code.
newListPackageVersionsResponse :: Int -> ListPackageVersionsResponse
-- | The default package version to display. This depends on the package
-- format:
--
--
-- - For Maven and PyPI packages, it's the most recently published
-- package version.
-- - For npm packages, it's the version referenced by the
-- latest tag. If the latest tag is not set, it's the
-- most recently published package version.
--
listPackageVersionsResponse_defaultDisplayVersion :: Lens' ListPackageVersionsResponse (Maybe Text)
-- | A format of the package.
listPackageVersionsResponse_format :: Lens' ListPackageVersionsResponse (Maybe PackageFormat)
-- | The namespace of the package that contains the requested package
-- versions. The package component that specifies its namespace depends
-- on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
listPackageVersionsResponse_namespace :: Lens' ListPackageVersionsResponse (Maybe Text)
-- | If there are additional results, this is the token for the next set of
-- results.
listPackageVersionsResponse_nextToken :: Lens' ListPackageVersionsResponse (Maybe Text)
-- | The name of the package.
listPackageVersionsResponse_package :: Lens' ListPackageVersionsResponse (Maybe Text)
-- | The returned list of PackageVersionSummary objects.
listPackageVersionsResponse_versions :: Lens' ListPackageVersionsResponse (Maybe [PackageVersionSummary])
-- | The response's http status code.
listPackageVersionsResponse_httpStatus :: Lens' ListPackageVersionsResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersions
instance GHC.Show.Show Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersions
instance GHC.Read.Read Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersions
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersions
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersionsResponse
instance GHC.Show.Show Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersionsResponse
instance GHC.Read.Read Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersionsResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersions
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersionsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersions
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersions
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersions
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersions
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.ListPackageVersions.ListPackageVersions
-- | Returns the direct dependencies for a package version. The
-- dependencies are returned as PackageDependency objects.
-- CodeArtifact extracts the dependencies for a package version from the
-- metadata file for the package format (for example, the
-- package.json file for npm packages and the pom.xml
-- file for Maven). Any package version dependencies that are not listed
-- in the configuration file are not returned.
module Amazonka.CodeArtifact.ListPackageVersionDependencies
-- | See: newListPackageVersionDependencies smart
-- constructor.
data ListPackageVersionDependencies
ListPackageVersionDependencies' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> Text -> ListPackageVersionDependencies
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:ListPackageVersionDependencies'] :: ListPackageVersionDependencies -> Maybe Text
-- | The namespace of the package version with the requested dependencies.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:ListPackageVersionDependencies'] :: ListPackageVersionDependencies -> Maybe Text
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
[$sel:nextToken:ListPackageVersionDependencies'] :: ListPackageVersionDependencies -> Maybe Text
-- | The name of the domain that contains the repository that contains the
-- requested package version dependencies.
[$sel:domain:ListPackageVersionDependencies'] :: ListPackageVersionDependencies -> Text
-- | The name of the repository that contains the requested package
-- version.
[$sel:repository:ListPackageVersionDependencies'] :: ListPackageVersionDependencies -> Text
-- | The format of the package with the requested dependencies.
[$sel:format:ListPackageVersionDependencies'] :: ListPackageVersionDependencies -> PackageFormat
-- | The name of the package versions' package.
[$sel:package:ListPackageVersionDependencies'] :: ListPackageVersionDependencies -> Text
-- | A string that contains the package version (for example,
-- 3.5.2).
[$sel:packageVersion:ListPackageVersionDependencies'] :: ListPackageVersionDependencies -> Text
-- | Create a value of ListPackageVersionDependencies 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:
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependencies_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependencies_namespace - The namespace of the
-- package version with the requested dependencies. The package version
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependencies_nextToken - The token for the
-- next set of results. Use the value returned in the previous response
-- in the next request to retrieve the next set of results.
--
-- $sel:domain:ListPackageVersionDependencies',
-- listPackageVersionDependencies_domain - The name of the domain
-- that contains the repository that contains the requested package
-- version dependencies.
--
-- $sel:repository:ListPackageVersionDependencies',
-- listPackageVersionDependencies_repository - The name of the
-- repository that contains the requested package version.
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependencies_format - The format of the
-- package with the requested dependencies.
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependencies_package - The name of the
-- package versions' package.
--
-- $sel:packageVersion:ListPackageVersionDependencies',
-- listPackageVersionDependencies_packageVersion - A string that
-- contains the package version (for example, 3.5.2).
newListPackageVersionDependencies :: Text -> Text -> PackageFormat -> Text -> Text -> ListPackageVersionDependencies
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
listPackageVersionDependencies_domainOwner :: Lens' ListPackageVersionDependencies (Maybe Text)
-- | The namespace of the package version with the requested dependencies.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
listPackageVersionDependencies_namespace :: Lens' ListPackageVersionDependencies (Maybe Text)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listPackageVersionDependencies_nextToken :: Lens' ListPackageVersionDependencies (Maybe Text)
-- | The name of the domain that contains the repository that contains the
-- requested package version dependencies.
listPackageVersionDependencies_domain :: Lens' ListPackageVersionDependencies Text
-- | The name of the repository that contains the requested package
-- version.
listPackageVersionDependencies_repository :: Lens' ListPackageVersionDependencies Text
-- | The format of the package with the requested dependencies.
listPackageVersionDependencies_format :: Lens' ListPackageVersionDependencies PackageFormat
-- | The name of the package versions' package.
listPackageVersionDependencies_package :: Lens' ListPackageVersionDependencies Text
-- | A string that contains the package version (for example,
-- 3.5.2).
listPackageVersionDependencies_packageVersion :: Lens' ListPackageVersionDependencies Text
-- | See: newListPackageVersionDependenciesResponse smart
-- constructor.
data ListPackageVersionDependenciesResponse
ListPackageVersionDependenciesResponse' :: Maybe [PackageDependency] -> Maybe PackageFormat -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> ListPackageVersionDependenciesResponse
-- | The returned list of PackageDependency objects.
[$sel:dependencies:ListPackageVersionDependenciesResponse'] :: ListPackageVersionDependenciesResponse -> Maybe [PackageDependency]
-- | A format that specifies the type of the package that contains the
-- returned dependencies.
[$sel:format:ListPackageVersionDependenciesResponse'] :: ListPackageVersionDependenciesResponse -> Maybe PackageFormat
-- | The namespace of the package version that contains the returned
-- dependencies. The package version component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:ListPackageVersionDependenciesResponse'] :: ListPackageVersionDependenciesResponse -> Maybe Text
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
[$sel:nextToken:ListPackageVersionDependenciesResponse'] :: ListPackageVersionDependenciesResponse -> Maybe Text
-- | The name of the package that contains the returned package versions
-- dependencies.
[$sel:package:ListPackageVersionDependenciesResponse'] :: ListPackageVersionDependenciesResponse -> Maybe Text
-- | The version of the package that is specified in the request.
[$sel:version:ListPackageVersionDependenciesResponse'] :: ListPackageVersionDependenciesResponse -> Maybe Text
-- | The current revision associated with the package version.
[$sel:versionRevision:ListPackageVersionDependenciesResponse'] :: ListPackageVersionDependenciesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListPackageVersionDependenciesResponse'] :: ListPackageVersionDependenciesResponse -> Int
-- | Create a value of ListPackageVersionDependenciesResponse 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:dependencies:ListPackageVersionDependenciesResponse',
-- listPackageVersionDependenciesResponse_dependencies - The
-- returned list of PackageDependency objects.
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependenciesResponse_format - A format that
-- specifies the type of the package that contains the returned
-- dependencies.
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependenciesResponse_namespace - The
-- namespace of the package version that contains the returned
-- dependencies. The package version component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependenciesResponse_nextToken - The token
-- for the next set of results. Use the value returned in the previous
-- response in the next request to retrieve the next set of results.
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependenciesResponse_package - The name of
-- the package that contains the returned package versions dependencies.
--
-- ListPackageVersionDependenciesResponse,
-- listPackageVersionDependenciesResponse_version - The version of
-- the package that is specified in the request.
--
-- $sel:versionRevision:ListPackageVersionDependenciesResponse',
-- listPackageVersionDependenciesResponse_versionRevision - The
-- current revision associated with the package version.
--
-- $sel:httpStatus:ListPackageVersionDependenciesResponse',
-- listPackageVersionDependenciesResponse_httpStatus - The
-- response's http status code.
newListPackageVersionDependenciesResponse :: Int -> ListPackageVersionDependenciesResponse
-- | The returned list of PackageDependency objects.
listPackageVersionDependenciesResponse_dependencies :: Lens' ListPackageVersionDependenciesResponse (Maybe [PackageDependency])
-- | A format that specifies the type of the package that contains the
-- returned dependencies.
listPackageVersionDependenciesResponse_format :: Lens' ListPackageVersionDependenciesResponse (Maybe PackageFormat)
-- | The namespace of the package version that contains the returned
-- dependencies. The package version component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
listPackageVersionDependenciesResponse_namespace :: Lens' ListPackageVersionDependenciesResponse (Maybe Text)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listPackageVersionDependenciesResponse_nextToken :: Lens' ListPackageVersionDependenciesResponse (Maybe Text)
-- | The name of the package that contains the returned package versions
-- dependencies.
listPackageVersionDependenciesResponse_package :: Lens' ListPackageVersionDependenciesResponse (Maybe Text)
-- | The version of the package that is specified in the request.
listPackageVersionDependenciesResponse_version :: Lens' ListPackageVersionDependenciesResponse (Maybe Text)
-- | The current revision associated with the package version.
listPackageVersionDependenciesResponse_versionRevision :: Lens' ListPackageVersionDependenciesResponse (Maybe Text)
-- | The response's http status code.
listPackageVersionDependenciesResponse_httpStatus :: Lens' ListPackageVersionDependenciesResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependencies
instance GHC.Show.Show Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependencies
instance GHC.Read.Read Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependencies
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependencies
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependenciesResponse
instance GHC.Show.Show Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependenciesResponse
instance GHC.Read.Read Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependenciesResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependenciesResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependencies
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependenciesResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependencies
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependencies
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependencies
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependencies
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependencies
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.ListPackageVersionDependencies.ListPackageVersionDependencies
-- | Returns a list of AssetSummary objects for assets in a package
-- version.
--
-- This operation returns paginated results.
module Amazonka.CodeArtifact.ListPackageVersionAssets
-- | See: newListPackageVersionAssets smart constructor.
data ListPackageVersionAssets
ListPackageVersionAssets' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> Text -> ListPackageVersionAssets
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:ListPackageVersionAssets'] :: ListPackageVersionAssets -> Maybe Text
-- | The maximum number of results to return per page.
[$sel:maxResults:ListPackageVersionAssets'] :: ListPackageVersionAssets -> Maybe Natural
-- | The namespace of the package version that contains the requested
-- package version assets. The package version component that specifies
-- its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:ListPackageVersionAssets'] :: ListPackageVersionAssets -> Maybe Text
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
[$sel:nextToken:ListPackageVersionAssets'] :: ListPackageVersionAssets -> Maybe Text
-- | The name of the domain that contains the repository associated with
-- the package version assets.
[$sel:domain:ListPackageVersionAssets'] :: ListPackageVersionAssets -> Text
-- | The name of the repository that contains the package that contains the
-- requested package version assets.
[$sel:repository:ListPackageVersionAssets'] :: ListPackageVersionAssets -> Text
-- | The format of the package that contains the requested package version
-- assets.
[$sel:format:ListPackageVersionAssets'] :: ListPackageVersionAssets -> PackageFormat
-- | The name of the package that contains the requested package version
-- assets.
[$sel:package:ListPackageVersionAssets'] :: ListPackageVersionAssets -> Text
-- | A string that contains the package version (for example,
-- 3.5.2).
[$sel:packageVersion:ListPackageVersionAssets'] :: ListPackageVersionAssets -> Text
-- | Create a value of ListPackageVersionAssets 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:
--
-- ListPackageVersionAssets,
-- listPackageVersionAssets_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:maxResults:ListPackageVersionAssets',
-- listPackageVersionAssets_maxResults - The maximum number of
-- results to return per page.
--
-- ListPackageVersionAssets,
-- listPackageVersionAssets_namespace - The namespace of the
-- package version that contains the requested package version assets.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- ListPackageVersionAssets,
-- listPackageVersionAssets_nextToken - The token for the next set
-- of results. Use the value returned in the previous response in the
-- next request to retrieve the next set of results.
--
-- $sel:domain:ListPackageVersionAssets',
-- listPackageVersionAssets_domain - The name of the domain that
-- contains the repository associated with the package version assets.
--
-- $sel:repository:ListPackageVersionAssets',
-- listPackageVersionAssets_repository - The name of the
-- repository that contains the package that contains the requested
-- package version assets.
--
-- ListPackageVersionAssets,
-- listPackageVersionAssets_format - The format of the package
-- that contains the requested package version assets.
--
-- ListPackageVersionAssets,
-- listPackageVersionAssets_package - The name of the package that
-- contains the requested package version assets.
--
-- $sel:packageVersion:ListPackageVersionAssets',
-- listPackageVersionAssets_packageVersion - A string that
-- contains the package version (for example, 3.5.2).
newListPackageVersionAssets :: Text -> Text -> PackageFormat -> Text -> Text -> ListPackageVersionAssets
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
listPackageVersionAssets_domainOwner :: Lens' ListPackageVersionAssets (Maybe Text)
-- | The maximum number of results to return per page.
listPackageVersionAssets_maxResults :: Lens' ListPackageVersionAssets (Maybe Natural)
-- | The namespace of the package version that contains the requested
-- package version assets. The package version component that specifies
-- its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
listPackageVersionAssets_namespace :: Lens' ListPackageVersionAssets (Maybe Text)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listPackageVersionAssets_nextToken :: Lens' ListPackageVersionAssets (Maybe Text)
-- | The name of the domain that contains the repository associated with
-- the package version assets.
listPackageVersionAssets_domain :: Lens' ListPackageVersionAssets Text
-- | The name of the repository that contains the package that contains the
-- requested package version assets.
listPackageVersionAssets_repository :: Lens' ListPackageVersionAssets Text
-- | The format of the package that contains the requested package version
-- assets.
listPackageVersionAssets_format :: Lens' ListPackageVersionAssets PackageFormat
-- | The name of the package that contains the requested package version
-- assets.
listPackageVersionAssets_package :: Lens' ListPackageVersionAssets Text
-- | A string that contains the package version (for example,
-- 3.5.2).
listPackageVersionAssets_packageVersion :: Lens' ListPackageVersionAssets Text
-- | See: newListPackageVersionAssetsResponse smart
-- constructor.
data ListPackageVersionAssetsResponse
ListPackageVersionAssetsResponse' :: Maybe [AssetSummary] -> Maybe PackageFormat -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> ListPackageVersionAssetsResponse
-- | The returned list of AssetSummary objects.
[$sel:assets:ListPackageVersionAssetsResponse'] :: ListPackageVersionAssetsResponse -> Maybe [AssetSummary]
-- | The format of the package that contains the requested package version
-- assets.
[$sel:format:ListPackageVersionAssetsResponse'] :: ListPackageVersionAssetsResponse -> Maybe PackageFormat
-- | The namespace of the package version that contains the requested
-- package version assets. The package version component that specifies
-- its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:ListPackageVersionAssetsResponse'] :: ListPackageVersionAssetsResponse -> Maybe Text
-- | If there are additional results, this is the token for the next set of
-- results.
[$sel:nextToken:ListPackageVersionAssetsResponse'] :: ListPackageVersionAssetsResponse -> Maybe Text
-- | The name of the package that contains the requested package version
-- assets.
[$sel:package:ListPackageVersionAssetsResponse'] :: ListPackageVersionAssetsResponse -> Maybe Text
-- | The version of the package associated with the requested assets.
[$sel:version:ListPackageVersionAssetsResponse'] :: ListPackageVersionAssetsResponse -> Maybe Text
-- | The current revision associated with the package version.
[$sel:versionRevision:ListPackageVersionAssetsResponse'] :: ListPackageVersionAssetsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListPackageVersionAssetsResponse'] :: ListPackageVersionAssetsResponse -> Int
-- | Create a value of ListPackageVersionAssetsResponse 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:assets:ListPackageVersionAssetsResponse',
-- listPackageVersionAssetsResponse_assets - The returned list of
-- AssetSummary objects.
--
-- ListPackageVersionAssets,
-- listPackageVersionAssetsResponse_format - The format of the
-- package that contains the requested package version assets.
--
-- ListPackageVersionAssets,
-- listPackageVersionAssetsResponse_namespace - The namespace of
-- the package version that contains the requested package version
-- assets. The package version component that specifies its namespace
-- depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- ListPackageVersionAssets,
-- listPackageVersionAssetsResponse_nextToken - If there are
-- additional results, this is the token for the next set of results.
--
-- ListPackageVersionAssets,
-- listPackageVersionAssetsResponse_package - The name of the
-- package that contains the requested package version assets.
--
-- ListPackageVersionAssetsResponse,
-- listPackageVersionAssetsResponse_version - The version of the
-- package associated with the requested assets.
--
-- $sel:versionRevision:ListPackageVersionAssetsResponse',
-- listPackageVersionAssetsResponse_versionRevision - The current
-- revision associated with the package version.
--
-- $sel:httpStatus:ListPackageVersionAssetsResponse',
-- listPackageVersionAssetsResponse_httpStatus - The response's
-- http status code.
newListPackageVersionAssetsResponse :: Int -> ListPackageVersionAssetsResponse
-- | The returned list of AssetSummary objects.
listPackageVersionAssetsResponse_assets :: Lens' ListPackageVersionAssetsResponse (Maybe [AssetSummary])
-- | The format of the package that contains the requested package version
-- assets.
listPackageVersionAssetsResponse_format :: Lens' ListPackageVersionAssetsResponse (Maybe PackageFormat)
-- | The namespace of the package version that contains the requested
-- package version assets. The package version component that specifies
-- its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
listPackageVersionAssetsResponse_namespace :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
-- | If there are additional results, this is the token for the next set of
-- results.
listPackageVersionAssetsResponse_nextToken :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
-- | The name of the package that contains the requested package version
-- assets.
listPackageVersionAssetsResponse_package :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
-- | The version of the package associated with the requested assets.
listPackageVersionAssetsResponse_version :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
-- | The current revision associated with the package version.
listPackageVersionAssetsResponse_versionRevision :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
-- | The response's http status code.
listPackageVersionAssetsResponse_httpStatus :: Lens' ListPackageVersionAssetsResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssets
instance GHC.Show.Show Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssets
instance GHC.Read.Read Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssets
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssets
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssetsResponse
instance GHC.Show.Show Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssetsResponse
instance GHC.Read.Read Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssetsResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssetsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssets
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssetsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssets
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssets
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssets
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssets
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssets
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssets
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.ListPackageVersionAssets.ListPackageVersionAssets
-- | Returns a list of DomainSummary objects for all domains owned
-- by the Amazon Web Services account that makes this call. Each returned
-- DomainSummary object contains information about a domain.
--
-- This operation returns paginated results.
module Amazonka.CodeArtifact.ListDomains
-- | See: newListDomains smart constructor.
data ListDomains
ListDomains' :: Maybe Natural -> Maybe Text -> ListDomains
-- | The maximum number of results to return per page.
[$sel:maxResults:ListDomains'] :: ListDomains -> Maybe Natural
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
[$sel:nextToken:ListDomains'] :: ListDomains -> Maybe Text
-- | Create a value of ListDomains 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:maxResults:ListDomains', listDomains_maxResults -
-- The maximum number of results to return per page.
--
-- ListDomains, listDomains_nextToken - The token for the
-- next set of results. Use the value returned in the previous response
-- in the next request to retrieve the next set of results.
newListDomains :: ListDomains
-- | The maximum number of results to return per page.
listDomains_maxResults :: Lens' ListDomains (Maybe Natural)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listDomains_nextToken :: Lens' ListDomains (Maybe Text)
-- | See: newListDomainsResponse smart constructor.
data ListDomainsResponse
ListDomainsResponse' :: Maybe [DomainSummary] -> Maybe Text -> Int -> ListDomainsResponse
-- | The returned list of DomainSummary objects.
[$sel:domains:ListDomainsResponse'] :: ListDomainsResponse -> Maybe [DomainSummary]
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
[$sel:nextToken:ListDomainsResponse'] :: ListDomainsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListDomainsResponse'] :: ListDomainsResponse -> Int
-- | Create a value of ListDomainsResponse 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:domains:ListDomainsResponse',
-- listDomainsResponse_domains - The returned list of
-- DomainSummary objects.
--
-- ListDomains, listDomainsResponse_nextToken - The token
-- for the next set of results. Use the value returned in the previous
-- response in the next request to retrieve the next set of results.
--
-- $sel:httpStatus:ListDomainsResponse',
-- listDomainsResponse_httpStatus - The response's http status
-- code.
newListDomainsResponse :: Int -> ListDomainsResponse
-- | The returned list of DomainSummary objects.
listDomainsResponse_domains :: Lens' ListDomainsResponse (Maybe [DomainSummary])
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text)
-- | The response's http status code.
listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListDomains.ListDomains
instance GHC.Show.Show Amazonka.CodeArtifact.ListDomains.ListDomains
instance GHC.Read.Read Amazonka.CodeArtifact.ListDomains.ListDomains
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListDomains.ListDomains
instance GHC.Generics.Generic Amazonka.CodeArtifact.ListDomains.ListDomainsResponse
instance GHC.Show.Show Amazonka.CodeArtifact.ListDomains.ListDomainsResponse
instance GHC.Read.Read Amazonka.CodeArtifact.ListDomains.ListDomainsResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.ListDomains.ListDomainsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.ListDomains.ListDomains
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListDomains.ListDomainsResponse
instance Amazonka.Pager.AWSPager Amazonka.CodeArtifact.ListDomains.ListDomains
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.ListDomains.ListDomains
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.ListDomains.ListDomains
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.ListDomains.ListDomains
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.ListDomains.ListDomains
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.ListDomains.ListDomains
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.ListDomains.ListDomains
-- | Returns the resource policy that is set on a repository.
module Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy
-- | See: newGetRepositoryPermissionsPolicy smart
-- constructor.
data GetRepositoryPermissionsPolicy
GetRepositoryPermissionsPolicy' :: Maybe Text -> Text -> Text -> GetRepositoryPermissionsPolicy
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:GetRepositoryPermissionsPolicy'] :: GetRepositoryPermissionsPolicy -> Maybe Text
-- | The name of the domain containing the repository whose associated
-- resource policy is to be retrieved.
[$sel:domain:GetRepositoryPermissionsPolicy'] :: GetRepositoryPermissionsPolicy -> Text
-- | The name of the repository whose associated resource policy is to be
-- retrieved.
[$sel:repository:GetRepositoryPermissionsPolicy'] :: GetRepositoryPermissionsPolicy -> Text
-- | Create a value of GetRepositoryPermissionsPolicy 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:
--
-- GetRepositoryPermissionsPolicy,
-- getRepositoryPermissionsPolicy_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- $sel:domain:GetRepositoryPermissionsPolicy',
-- getRepositoryPermissionsPolicy_domain - The name of the domain
-- containing the repository whose associated resource policy is to be
-- retrieved.
--
-- $sel:repository:GetRepositoryPermissionsPolicy',
-- getRepositoryPermissionsPolicy_repository - The name of the
-- repository whose associated resource policy is to be retrieved.
newGetRepositoryPermissionsPolicy :: Text -> Text -> GetRepositoryPermissionsPolicy
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
getRepositoryPermissionsPolicy_domainOwner :: Lens' GetRepositoryPermissionsPolicy (Maybe Text)
-- | The name of the domain containing the repository whose associated
-- resource policy is to be retrieved.
getRepositoryPermissionsPolicy_domain :: Lens' GetRepositoryPermissionsPolicy Text
-- | The name of the repository whose associated resource policy is to be
-- retrieved.
getRepositoryPermissionsPolicy_repository :: Lens' GetRepositoryPermissionsPolicy Text
-- | See: newGetRepositoryPermissionsPolicyResponse smart
-- constructor.
data GetRepositoryPermissionsPolicyResponse
GetRepositoryPermissionsPolicyResponse' :: Maybe ResourcePolicy -> Int -> GetRepositoryPermissionsPolicyResponse
-- | The returned resource policy.
[$sel:policy:GetRepositoryPermissionsPolicyResponse'] :: GetRepositoryPermissionsPolicyResponse -> Maybe ResourcePolicy
-- | The response's http status code.
[$sel:httpStatus:GetRepositoryPermissionsPolicyResponse'] :: GetRepositoryPermissionsPolicyResponse -> Int
-- | Create a value of GetRepositoryPermissionsPolicyResponse 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:policy:GetRepositoryPermissionsPolicyResponse',
-- getRepositoryPermissionsPolicyResponse_policy - The returned
-- resource policy.
--
-- $sel:httpStatus:GetRepositoryPermissionsPolicyResponse',
-- getRepositoryPermissionsPolicyResponse_httpStatus - The
-- response's http status code.
newGetRepositoryPermissionsPolicyResponse :: Int -> GetRepositoryPermissionsPolicyResponse
-- | The returned resource policy.
getRepositoryPermissionsPolicyResponse_policy :: Lens' GetRepositoryPermissionsPolicyResponse (Maybe ResourcePolicy)
-- | The response's http status code.
getRepositoryPermissionsPolicyResponse_httpStatus :: Lens' GetRepositoryPermissionsPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicy
instance GHC.Show.Show Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicy
instance GHC.Read.Read Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicy
instance GHC.Classes.Eq Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicy
instance GHC.Generics.Generic Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicyResponse
instance GHC.Show.Show Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicyResponse
instance GHC.Read.Read Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicyResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicy
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicy
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.GetRepositoryPermissionsPolicy.GetRepositoryPermissionsPolicy
-- | Returns the endpoint of a repository for a specific package format. A
-- repository has one endpoint for each package format:
--
--
-- maven
-- npm
-- nuget
-- pypi
--
module Amazonka.CodeArtifact.GetRepositoryEndpoint
-- | See: newGetRepositoryEndpoint smart constructor.
data GetRepositoryEndpoint
GetRepositoryEndpoint' :: Maybe Text -> Text -> Text -> PackageFormat -> GetRepositoryEndpoint
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain that contains the repository. It does not include
-- dashes or spaces.
[$sel:domainOwner:GetRepositoryEndpoint'] :: GetRepositoryEndpoint -> Maybe Text
-- | The name of the domain that contains the repository.
[$sel:domain:GetRepositoryEndpoint'] :: GetRepositoryEndpoint -> Text
-- | The name of the repository.
[$sel:repository:GetRepositoryEndpoint'] :: GetRepositoryEndpoint -> Text
-- | Returns which endpoint of a repository to return. A repository has one
-- endpoint for each package format.
[$sel:format:GetRepositoryEndpoint'] :: GetRepositoryEndpoint -> PackageFormat
-- | Create a value of GetRepositoryEndpoint 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:
--
-- GetRepositoryEndpoint, getRepositoryEndpoint_domainOwner
-- - The 12-digit account number of the Amazon Web Services account that
-- owns the domain that contains the repository. It does not include
-- dashes or spaces.
--
-- $sel:domain:GetRepositoryEndpoint',
-- getRepositoryEndpoint_domain - The name of the domain that
-- contains the repository.
--
-- $sel:repository:GetRepositoryEndpoint',
-- getRepositoryEndpoint_repository - The name of the repository.
--
-- GetRepositoryEndpoint, getRepositoryEndpoint_format -
-- Returns which endpoint of a repository to return. A repository has one
-- endpoint for each package format.
newGetRepositoryEndpoint :: Text -> Text -> PackageFormat -> GetRepositoryEndpoint
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain that contains the repository. It does not include
-- dashes or spaces.
getRepositoryEndpoint_domainOwner :: Lens' GetRepositoryEndpoint (Maybe Text)
-- | The name of the domain that contains the repository.
getRepositoryEndpoint_domain :: Lens' GetRepositoryEndpoint Text
-- | The name of the repository.
getRepositoryEndpoint_repository :: Lens' GetRepositoryEndpoint Text
-- | Returns which endpoint of a repository to return. A repository has one
-- endpoint for each package format.
getRepositoryEndpoint_format :: Lens' GetRepositoryEndpoint PackageFormat
-- | See: newGetRepositoryEndpointResponse smart constructor.
data GetRepositoryEndpointResponse
GetRepositoryEndpointResponse' :: Maybe Text -> Int -> GetRepositoryEndpointResponse
-- | A string that specifies the URL of the returned endpoint.
[$sel:repositoryEndpoint:GetRepositoryEndpointResponse'] :: GetRepositoryEndpointResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetRepositoryEndpointResponse'] :: GetRepositoryEndpointResponse -> Int
-- | Create a value of GetRepositoryEndpointResponse 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:repositoryEndpoint:GetRepositoryEndpointResponse',
-- getRepositoryEndpointResponse_repositoryEndpoint - A string
-- that specifies the URL of the returned endpoint.
--
-- $sel:httpStatus:GetRepositoryEndpointResponse',
-- getRepositoryEndpointResponse_httpStatus - The response's http
-- status code.
newGetRepositoryEndpointResponse :: Int -> GetRepositoryEndpointResponse
-- | A string that specifies the URL of the returned endpoint.
getRepositoryEndpointResponse_repositoryEndpoint :: Lens' GetRepositoryEndpointResponse (Maybe Text)
-- | The response's http status code.
getRepositoryEndpointResponse_httpStatus :: Lens' GetRepositoryEndpointResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpoint
instance GHC.Show.Show Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpoint
instance GHC.Read.Read Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpoint
instance GHC.Classes.Eq Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpoint
instance GHC.Generics.Generic Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpointResponse
instance GHC.Show.Show Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpointResponse
instance GHC.Read.Read Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpointResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpointResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpoint
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpointResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpoint
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpoint
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpoint
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpoint
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.GetRepositoryEndpoint.GetRepositoryEndpoint
-- | Gets the readme file or descriptive text for a package version. For
-- packages that do not contain a readme file, CodeArtifact extracts a
-- description from a metadata file. For example, from the
-- <description> element in the pom.xml file of a
-- Maven package.
--
-- The returned text might contain formatting. For example, it might
-- contain formatting for Markdown or reStructuredText.
module Amazonka.CodeArtifact.GetPackageVersionReadme
-- | See: newGetPackageVersionReadme smart constructor.
data GetPackageVersionReadme
GetPackageVersionReadme' :: Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> Text -> GetPackageVersionReadme
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:GetPackageVersionReadme'] :: GetPackageVersionReadme -> Maybe Text
-- | The namespace of the package version with the requested readme file.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:GetPackageVersionReadme'] :: GetPackageVersionReadme -> Maybe Text
-- | The name of the domain that contains the repository that contains the
-- package version with the requested readme file.
[$sel:domain:GetPackageVersionReadme'] :: GetPackageVersionReadme -> Text
-- | The repository that contains the package with the requested readme
-- file.
[$sel:repository:GetPackageVersionReadme'] :: GetPackageVersionReadme -> Text
-- | A format that specifies the type of the package version with the
-- requested readme file.
[$sel:format:GetPackageVersionReadme'] :: GetPackageVersionReadme -> PackageFormat
-- | The name of the package version that contains the requested readme
-- file.
[$sel:package:GetPackageVersionReadme'] :: GetPackageVersionReadme -> Text
-- | A string that contains the package version (for example,
-- 3.5.2).
[$sel:packageVersion:GetPackageVersionReadme'] :: GetPackageVersionReadme -> Text
-- | Create a value of GetPackageVersionReadme 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:
--
-- GetPackageVersionReadme,
-- getPackageVersionReadme_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- GetPackageVersionReadme,
-- getPackageVersionReadme_namespace - The namespace of the
-- package version with the requested readme file. The package version
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:domain:GetPackageVersionReadme',
-- getPackageVersionReadme_domain - The name of the domain that
-- contains the repository that contains the package version with the
-- requested readme file.
--
-- $sel:repository:GetPackageVersionReadme',
-- getPackageVersionReadme_repository - The repository that
-- contains the package with the requested readme file.
--
-- GetPackageVersionReadme, getPackageVersionReadme_format
-- - A format that specifies the type of the package version with the
-- requested readme file.
--
-- GetPackageVersionReadme, getPackageVersionReadme_package
-- - The name of the package version that contains the requested readme
-- file.
--
-- $sel:packageVersion:GetPackageVersionReadme',
-- getPackageVersionReadme_packageVersion - A string that contains
-- the package version (for example, 3.5.2).
newGetPackageVersionReadme :: Text -> Text -> PackageFormat -> Text -> Text -> GetPackageVersionReadme
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
getPackageVersionReadme_domainOwner :: Lens' GetPackageVersionReadme (Maybe Text)
-- | The namespace of the package version with the requested readme file.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
getPackageVersionReadme_namespace :: Lens' GetPackageVersionReadme (Maybe Text)
-- | The name of the domain that contains the repository that contains the
-- package version with the requested readme file.
getPackageVersionReadme_domain :: Lens' GetPackageVersionReadme Text
-- | The repository that contains the package with the requested readme
-- file.
getPackageVersionReadme_repository :: Lens' GetPackageVersionReadme Text
-- | A format that specifies the type of the package version with the
-- requested readme file.
getPackageVersionReadme_format :: Lens' GetPackageVersionReadme PackageFormat
-- | The name of the package version that contains the requested readme
-- file.
getPackageVersionReadme_package :: Lens' GetPackageVersionReadme Text
-- | A string that contains the package version (for example,
-- 3.5.2).
getPackageVersionReadme_packageVersion :: Lens' GetPackageVersionReadme Text
-- | See: newGetPackageVersionReadmeResponse smart
-- constructor.
data GetPackageVersionReadmeResponse
GetPackageVersionReadmeResponse' :: Maybe PackageFormat -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> GetPackageVersionReadmeResponse
-- | The format of the package with the requested readme file.
[$sel:format:GetPackageVersionReadmeResponse'] :: GetPackageVersionReadmeResponse -> Maybe PackageFormat
-- | The namespace of the package version with the requested readme file.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:GetPackageVersionReadmeResponse'] :: GetPackageVersionReadmeResponse -> Maybe Text
-- | The name of the package that contains the returned readme file.
[$sel:package:GetPackageVersionReadmeResponse'] :: GetPackageVersionReadmeResponse -> Maybe Text
-- | The text of the returned readme file.
[$sel:readme:GetPackageVersionReadmeResponse'] :: GetPackageVersionReadmeResponse -> Maybe Text
-- | The version of the package with the requested readme file.
[$sel:version:GetPackageVersionReadmeResponse'] :: GetPackageVersionReadmeResponse -> Maybe Text
-- | The current revision associated with the package version.
[$sel:versionRevision:GetPackageVersionReadmeResponse'] :: GetPackageVersionReadmeResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetPackageVersionReadmeResponse'] :: GetPackageVersionReadmeResponse -> Int
-- | Create a value of GetPackageVersionReadmeResponse 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:
--
-- GetPackageVersionReadme,
-- getPackageVersionReadmeResponse_format - The format of the
-- package with the requested readme file.
--
-- GetPackageVersionReadme,
-- getPackageVersionReadmeResponse_namespace - The namespace of
-- the package version with the requested readme file. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- GetPackageVersionReadme,
-- getPackageVersionReadmeResponse_package - The name of the
-- package that contains the returned readme file.
--
-- $sel:readme:GetPackageVersionReadmeResponse',
-- getPackageVersionReadmeResponse_readme - The text of the
-- returned readme file.
--
-- GetPackageVersionReadmeResponse,
-- getPackageVersionReadmeResponse_version - The version of the
-- package with the requested readme file.
--
-- $sel:versionRevision:GetPackageVersionReadmeResponse',
-- getPackageVersionReadmeResponse_versionRevision - The current
-- revision associated with the package version.
--
-- $sel:httpStatus:GetPackageVersionReadmeResponse',
-- getPackageVersionReadmeResponse_httpStatus - The response's
-- http status code.
newGetPackageVersionReadmeResponse :: Int -> GetPackageVersionReadmeResponse
-- | The format of the package with the requested readme file.
getPackageVersionReadmeResponse_format :: Lens' GetPackageVersionReadmeResponse (Maybe PackageFormat)
-- | The namespace of the package version with the requested readme file.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
getPackageVersionReadmeResponse_namespace :: Lens' GetPackageVersionReadmeResponse (Maybe Text)
-- | The name of the package that contains the returned readme file.
getPackageVersionReadmeResponse_package :: Lens' GetPackageVersionReadmeResponse (Maybe Text)
-- | The text of the returned readme file.
getPackageVersionReadmeResponse_readme :: Lens' GetPackageVersionReadmeResponse (Maybe Text)
-- | The version of the package with the requested readme file.
getPackageVersionReadmeResponse_version :: Lens' GetPackageVersionReadmeResponse (Maybe Text)
-- | The current revision associated with the package version.
getPackageVersionReadmeResponse_versionRevision :: Lens' GetPackageVersionReadmeResponse (Maybe Text)
-- | The response's http status code.
getPackageVersionReadmeResponse_httpStatus :: Lens' GetPackageVersionReadmeResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadme
instance GHC.Show.Show Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadme
instance GHC.Read.Read Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadme
instance GHC.Classes.Eq Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadme
instance GHC.Generics.Generic Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadmeResponse
instance GHC.Show.Show Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadmeResponse
instance GHC.Read.Read Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadmeResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadmeResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadme
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadmeResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadme
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadme
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadme
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadme
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.GetPackageVersionReadme.GetPackageVersionReadme
-- | Returns an asset (or file) that is in a package. For example, for a
-- Maven package version, use GetPackageVersionAsset to download
-- a JAR file, a POM file, or any other assets in the
-- package version.
module Amazonka.CodeArtifact.GetPackageVersionAsset
-- | See: newGetPackageVersionAsset smart constructor.
data GetPackageVersionAsset
GetPackageVersionAsset' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> Text -> Text -> GetPackageVersionAsset
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:GetPackageVersionAsset'] :: GetPackageVersionAsset -> Maybe Text
-- | The namespace of the package version with the requested asset file.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:GetPackageVersionAsset'] :: GetPackageVersionAsset -> Maybe Text
-- | The name of the package version revision that contains the requested
-- asset.
[$sel:packageVersionRevision:GetPackageVersionAsset'] :: GetPackageVersionAsset -> Maybe Text
-- | The name of the domain that contains the repository that contains the
-- package version with the requested asset.
[$sel:domain:GetPackageVersionAsset'] :: GetPackageVersionAsset -> Text
-- | The repository that contains the package version with the requested
-- asset.
[$sel:repository:GetPackageVersionAsset'] :: GetPackageVersionAsset -> Text
-- | A format that specifies the type of the package version with the
-- requested asset file.
[$sel:format:GetPackageVersionAsset'] :: GetPackageVersionAsset -> PackageFormat
-- | The name of the package that contains the requested asset.
[$sel:package:GetPackageVersionAsset'] :: GetPackageVersionAsset -> Text
-- | A string that contains the package version (for example,
-- 3.5.2).
[$sel:packageVersion:GetPackageVersionAsset'] :: GetPackageVersionAsset -> Text
-- | The name of the requested asset.
[$sel:asset:GetPackageVersionAsset'] :: GetPackageVersionAsset -> Text
-- | Create a value of GetPackageVersionAsset 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:
--
-- GetPackageVersionAsset,
-- getPackageVersionAsset_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- GetPackageVersionAsset, getPackageVersionAsset_namespace
-- - The namespace of the package version with the requested asset file.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- GetPackageVersionAsset,
-- getPackageVersionAsset_packageVersionRevision - The name of the
-- package version revision that contains the requested asset.
--
-- $sel:domain:GetPackageVersionAsset',
-- getPackageVersionAsset_domain - The name of the domain that
-- contains the repository that contains the package version with the
-- requested asset.
--
-- $sel:repository:GetPackageVersionAsset',
-- getPackageVersionAsset_repository - The repository that
-- contains the package version with the requested asset.
--
-- GetPackageVersionAsset, getPackageVersionAsset_format -
-- A format that specifies the type of the package version with the
-- requested asset file.
--
-- GetPackageVersionAsset, getPackageVersionAsset_package -
-- The name of the package that contains the requested asset.
--
-- GetPackageVersionAsset,
-- getPackageVersionAsset_packageVersion - A string that contains
-- the package version (for example, 3.5.2).
--
-- GetPackageVersionAsset, getPackageVersionAsset_asset -
-- The name of the requested asset.
newGetPackageVersionAsset :: Text -> Text -> PackageFormat -> Text -> Text -> Text -> GetPackageVersionAsset
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
getPackageVersionAsset_domainOwner :: Lens' GetPackageVersionAsset (Maybe Text)
-- | The namespace of the package version with the requested asset file.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
getPackageVersionAsset_namespace :: Lens' GetPackageVersionAsset (Maybe Text)
-- | The name of the package version revision that contains the requested
-- asset.
getPackageVersionAsset_packageVersionRevision :: Lens' GetPackageVersionAsset (Maybe Text)
-- | The name of the domain that contains the repository that contains the
-- package version with the requested asset.
getPackageVersionAsset_domain :: Lens' GetPackageVersionAsset Text
-- | The repository that contains the package version with the requested
-- asset.
getPackageVersionAsset_repository :: Lens' GetPackageVersionAsset Text
-- | A format that specifies the type of the package version with the
-- requested asset file.
getPackageVersionAsset_format :: Lens' GetPackageVersionAsset PackageFormat
-- | The name of the package that contains the requested asset.
getPackageVersionAsset_package :: Lens' GetPackageVersionAsset Text
-- | A string that contains the package version (for example,
-- 3.5.2).
getPackageVersionAsset_packageVersion :: Lens' GetPackageVersionAsset Text
-- | The name of the requested asset.
getPackageVersionAsset_asset :: Lens' GetPackageVersionAsset Text
-- | See: newGetPackageVersionAssetResponse smart
-- constructor.
data GetPackageVersionAssetResponse
GetPackageVersionAssetResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> ResponseBody -> GetPackageVersionAssetResponse
-- | The name of the asset that is downloaded.
[$sel:assetName:GetPackageVersionAssetResponse'] :: GetPackageVersionAssetResponse -> Maybe Text
-- | A string that contains the package version (for example,
-- 3.5.2).
[$sel:packageVersion:GetPackageVersionAssetResponse'] :: GetPackageVersionAssetResponse -> Maybe Text
-- | The name of the package version revision that contains the downloaded
-- asset.
[$sel:packageVersionRevision:GetPackageVersionAssetResponse'] :: GetPackageVersionAssetResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetPackageVersionAssetResponse'] :: GetPackageVersionAssetResponse -> Int
-- | The binary file, or asset, that is downloaded.
[$sel:asset:GetPackageVersionAssetResponse'] :: GetPackageVersionAssetResponse -> ResponseBody
-- | Create a value of GetPackageVersionAssetResponse 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:assetName:GetPackageVersionAssetResponse',
-- getPackageVersionAssetResponse_assetName - The name of the
-- asset that is downloaded.
--
-- GetPackageVersionAsset,
-- getPackageVersionAssetResponse_packageVersion - A string that
-- contains the package version (for example, 3.5.2).
--
-- GetPackageVersionAsset,
-- getPackageVersionAssetResponse_packageVersionRevision - The
-- name of the package version revision that contains the downloaded
-- asset.
--
-- $sel:httpStatus:GetPackageVersionAssetResponse',
-- getPackageVersionAssetResponse_httpStatus - The response's http
-- status code.
--
-- GetPackageVersionAsset,
-- getPackageVersionAssetResponse_asset - The binary file, or
-- asset, that is downloaded.
newGetPackageVersionAssetResponse :: Int -> ResponseBody -> GetPackageVersionAssetResponse
-- | The name of the asset that is downloaded.
getPackageVersionAssetResponse_assetName :: Lens' GetPackageVersionAssetResponse (Maybe Text)
-- | A string that contains the package version (for example,
-- 3.5.2).
getPackageVersionAssetResponse_packageVersion :: Lens' GetPackageVersionAssetResponse (Maybe Text)
-- | The name of the package version revision that contains the downloaded
-- asset.
getPackageVersionAssetResponse_packageVersionRevision :: Lens' GetPackageVersionAssetResponse (Maybe Text)
-- | The response's http status code.
getPackageVersionAssetResponse_httpStatus :: Lens' GetPackageVersionAssetResponse Int
-- | The binary file, or asset, that is downloaded.
getPackageVersionAssetResponse_asset :: Lens' GetPackageVersionAssetResponse ResponseBody
instance GHC.Generics.Generic Amazonka.CodeArtifact.GetPackageVersionAsset.GetPackageVersionAsset
instance GHC.Show.Show Amazonka.CodeArtifact.GetPackageVersionAsset.GetPackageVersionAsset
instance GHC.Read.Read Amazonka.CodeArtifact.GetPackageVersionAsset.GetPackageVersionAsset
instance GHC.Classes.Eq Amazonka.CodeArtifact.GetPackageVersionAsset.GetPackageVersionAsset
instance GHC.Generics.Generic Amazonka.CodeArtifact.GetPackageVersionAsset.GetPackageVersionAssetResponse
instance GHC.Show.Show Amazonka.CodeArtifact.GetPackageVersionAsset.GetPackageVersionAssetResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.GetPackageVersionAsset.GetPackageVersionAsset
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.GetPackageVersionAsset.GetPackageVersionAsset
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.GetPackageVersionAsset.GetPackageVersionAsset
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.GetPackageVersionAsset.GetPackageVersionAsset
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.GetPackageVersionAsset.GetPackageVersionAsset
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.GetPackageVersionAsset.GetPackageVersionAsset
-- | Returns the resource policy attached to the specified domain.
--
-- The policy is a resource-based policy, not an identity-based policy.
-- For more information, see Identity-based policies and
-- resource-based policies in the IAM User Guide.
module Amazonka.CodeArtifact.GetDomainPermissionsPolicy
-- | See: newGetDomainPermissionsPolicy smart constructor.
data GetDomainPermissionsPolicy
GetDomainPermissionsPolicy' :: Maybe Text -> Text -> GetDomainPermissionsPolicy
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:GetDomainPermissionsPolicy'] :: GetDomainPermissionsPolicy -> Maybe Text
-- | The name of the domain to which the resource policy is attached.
[$sel:domain:GetDomainPermissionsPolicy'] :: GetDomainPermissionsPolicy -> Text
-- | Create a value of GetDomainPermissionsPolicy 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:
--
-- GetDomainPermissionsPolicy,
-- getDomainPermissionsPolicy_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:domain:GetDomainPermissionsPolicy',
-- getDomainPermissionsPolicy_domain - The name of the domain to
-- which the resource policy is attached.
newGetDomainPermissionsPolicy :: Text -> GetDomainPermissionsPolicy
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
getDomainPermissionsPolicy_domainOwner :: Lens' GetDomainPermissionsPolicy (Maybe Text)
-- | The name of the domain to which the resource policy is attached.
getDomainPermissionsPolicy_domain :: Lens' GetDomainPermissionsPolicy Text
-- | See: newGetDomainPermissionsPolicyResponse smart
-- constructor.
data GetDomainPermissionsPolicyResponse
GetDomainPermissionsPolicyResponse' :: Maybe ResourcePolicy -> Int -> GetDomainPermissionsPolicyResponse
-- | The returned resource policy.
[$sel:policy:GetDomainPermissionsPolicyResponse'] :: GetDomainPermissionsPolicyResponse -> Maybe ResourcePolicy
-- | The response's http status code.
[$sel:httpStatus:GetDomainPermissionsPolicyResponse'] :: GetDomainPermissionsPolicyResponse -> Int
-- | Create a value of GetDomainPermissionsPolicyResponse 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:policy:GetDomainPermissionsPolicyResponse',
-- getDomainPermissionsPolicyResponse_policy - The returned
-- resource policy.
--
-- $sel:httpStatus:GetDomainPermissionsPolicyResponse',
-- getDomainPermissionsPolicyResponse_httpStatus - The response's
-- http status code.
newGetDomainPermissionsPolicyResponse :: Int -> GetDomainPermissionsPolicyResponse
-- | The returned resource policy.
getDomainPermissionsPolicyResponse_policy :: Lens' GetDomainPermissionsPolicyResponse (Maybe ResourcePolicy)
-- | The response's http status code.
getDomainPermissionsPolicyResponse_httpStatus :: Lens' GetDomainPermissionsPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicy
instance GHC.Show.Show Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicy
instance GHC.Read.Read Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicy
instance GHC.Classes.Eq Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicy
instance GHC.Generics.Generic Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicyResponse
instance GHC.Show.Show Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicyResponse
instance GHC.Read.Read Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicyResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicy
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicy
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.GetDomainPermissionsPolicy.GetDomainPermissionsPolicy
-- | Generates a temporary authorization token for accessing repositories
-- in the domain. This API requires the
-- codeartifact:GetAuthorizationToken and
-- sts:GetServiceBearerToken permissions. For more information
-- about authorization tokens, see CodeArtifact authentication and
-- tokens.
--
-- CodeArtifact authorization tokens are valid for a period of 12 hours
-- when created with the login command. You can call
-- login periodically to refresh the token. When you create an
-- authorization token with the GetAuthorizationToken API, you
-- can set a custom authorization period, up to a maximum of 12 hours,
-- with the durationSeconds parameter.
--
-- The authorization period begins after login or
-- GetAuthorizationToken is called. If login or
-- GetAuthorizationToken is called while assuming a role, the
-- token lifetime is independent of the maximum session duration of the
-- role. For example, if you call sts assume-role and specify a
-- session duration of 15 minutes, then generate a CodeArtifact
-- authorization token, the token will be valid for the full
-- authorization period even though this is longer than the 15-minute
-- session duration.
--
-- See Using IAM Roles for more information on controlling session
-- duration.
module Amazonka.CodeArtifact.GetAuthorizationToken
-- | See: newGetAuthorizationToken smart constructor.
data GetAuthorizationToken
GetAuthorizationToken' :: Maybe Text -> Maybe Natural -> Text -> GetAuthorizationToken
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:GetAuthorizationToken'] :: GetAuthorizationToken -> Maybe Text
-- | The time, in seconds, that the generated authorization token is valid.
-- Valid values are 0 and any number between 900 (15
-- minutes) and 43200 (12 hours). A value of 0 will set
-- the expiration of the authorization token to the same expiration of
-- the user's role's temporary credentials.
[$sel:durationSeconds:GetAuthorizationToken'] :: GetAuthorizationToken -> Maybe Natural
-- | The name of the domain that is in scope for the generated
-- authorization token.
[$sel:domain:GetAuthorizationToken'] :: GetAuthorizationToken -> Text
-- | Create a value of GetAuthorizationToken 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:
--
-- GetAuthorizationToken, getAuthorizationToken_domainOwner
-- - The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
--
-- $sel:durationSeconds:GetAuthorizationToken',
-- getAuthorizationToken_durationSeconds - The time, in seconds,
-- that the generated authorization token is valid. Valid values are
-- 0 and any number between 900 (15 minutes) and
-- 43200 (12 hours). A value of 0 will set the
-- expiration of the authorization token to the same expiration of the
-- user's role's temporary credentials.
--
-- $sel:domain:GetAuthorizationToken',
-- getAuthorizationToken_domain - The name of the domain that is
-- in scope for the generated authorization token.
newGetAuthorizationToken :: Text -> GetAuthorizationToken
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
getAuthorizationToken_domainOwner :: Lens' GetAuthorizationToken (Maybe Text)
-- | The time, in seconds, that the generated authorization token is valid.
-- Valid values are 0 and any number between 900 (15
-- minutes) and 43200 (12 hours). A value of 0 will set
-- the expiration of the authorization token to the same expiration of
-- the user's role's temporary credentials.
getAuthorizationToken_durationSeconds :: Lens' GetAuthorizationToken (Maybe Natural)
-- | The name of the domain that is in scope for the generated
-- authorization token.
getAuthorizationToken_domain :: Lens' GetAuthorizationToken Text
-- | See: newGetAuthorizationTokenResponse smart constructor.
data GetAuthorizationTokenResponse
GetAuthorizationTokenResponse' :: Maybe Text -> Maybe POSIX -> Int -> GetAuthorizationTokenResponse
-- | The returned authentication token.
[$sel:authorizationToken:GetAuthorizationTokenResponse'] :: GetAuthorizationTokenResponse -> Maybe Text
-- | A timestamp that specifies the date and time the authorization token
-- expires.
[$sel:expiration:GetAuthorizationTokenResponse'] :: GetAuthorizationTokenResponse -> Maybe POSIX
-- | The response's http status code.
[$sel:httpStatus:GetAuthorizationTokenResponse'] :: GetAuthorizationTokenResponse -> Int
-- | Create a value of GetAuthorizationTokenResponse 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:authorizationToken:GetAuthorizationTokenResponse',
-- getAuthorizationTokenResponse_authorizationToken - The returned
-- authentication token.
--
-- $sel:expiration:GetAuthorizationTokenResponse',
-- getAuthorizationTokenResponse_expiration - A timestamp that
-- specifies the date and time the authorization token expires.
--
-- $sel:httpStatus:GetAuthorizationTokenResponse',
-- getAuthorizationTokenResponse_httpStatus - The response's http
-- status code.
newGetAuthorizationTokenResponse :: Int -> GetAuthorizationTokenResponse
-- | The returned authentication token.
getAuthorizationTokenResponse_authorizationToken :: Lens' GetAuthorizationTokenResponse (Maybe Text)
-- | A timestamp that specifies the date and time the authorization token
-- expires.
getAuthorizationTokenResponse_expiration :: Lens' GetAuthorizationTokenResponse (Maybe UTCTime)
-- | The response's http status code.
getAuthorizationTokenResponse_httpStatus :: Lens' GetAuthorizationTokenResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationToken
instance GHC.Show.Show Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationToken
instance GHC.Read.Read Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationToken
instance GHC.Classes.Eq Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationToken
instance GHC.Generics.Generic Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationTokenResponse
instance GHC.Show.Show Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationTokenResponse
instance GHC.Read.Read Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationTokenResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationTokenResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationToken
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationTokenResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationToken
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationToken
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationToken
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationToken
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationToken
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.GetAuthorizationToken.GetAuthorizationToken
-- | Deletes the assets in package versions and sets the package versions'
-- status to Disposed. A disposed package version cannot be
-- restored in your repository because its assets are deleted.
--
-- To view all disposed package versions in a repository, use
-- ListPackageVersions and set the status parameter to
-- Disposed.
--
-- To view information about a disposed package version, use
-- DescribePackageVersion.
module Amazonka.CodeArtifact.DisposePackageVersions
-- | See: newDisposePackageVersions smart constructor.
data DisposePackageVersions
DisposePackageVersions' :: Maybe Text -> Maybe PackageVersionStatus -> Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> PackageFormat -> Text -> [Text] -> DisposePackageVersions
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:DisposePackageVersions'] :: DisposePackageVersions -> Maybe Text
-- | The expected status of the package version to dispose.
[$sel:expectedStatus:DisposePackageVersions'] :: DisposePackageVersions -> Maybe PackageVersionStatus
-- | The namespace of the package versions to be disposed. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:DisposePackageVersions'] :: DisposePackageVersions -> Maybe Text
-- | The revisions of the package versions you want to dispose.
[$sel:versionRevisions:DisposePackageVersions'] :: DisposePackageVersions -> Maybe (HashMap Text Text)
-- | The name of the domain that contains the repository you want to
-- dispose.
[$sel:domain:DisposePackageVersions'] :: DisposePackageVersions -> Text
-- | The name of the repository that contains the package versions you want
-- to dispose.
[$sel:repository:DisposePackageVersions'] :: DisposePackageVersions -> Text
-- | A format that specifies the type of package versions you want to
-- dispose.
[$sel:format:DisposePackageVersions'] :: DisposePackageVersions -> PackageFormat
-- | The name of the package with the versions you want to dispose.
[$sel:package:DisposePackageVersions'] :: DisposePackageVersions -> Text
-- | The versions of the package you want to dispose.
[$sel:versions:DisposePackageVersions'] :: DisposePackageVersions -> [Text]
-- | Create a value of DisposePackageVersions 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:
--
-- DisposePackageVersions,
-- disposePackageVersions_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:expectedStatus:DisposePackageVersions',
-- disposePackageVersions_expectedStatus - The expected status of
-- the package version to dispose.
--
-- DisposePackageVersions, disposePackageVersions_namespace
-- - The namespace of the package versions to be disposed. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:versionRevisions:DisposePackageVersions',
-- disposePackageVersions_versionRevisions - The revisions of the
-- package versions you want to dispose.
--
-- $sel:domain:DisposePackageVersions',
-- disposePackageVersions_domain - The name of the domain that
-- contains the repository you want to dispose.
--
-- $sel:repository:DisposePackageVersions',
-- disposePackageVersions_repository - The name of the repository
-- that contains the package versions you want to dispose.
--
-- DisposePackageVersions, disposePackageVersions_format -
-- A format that specifies the type of package versions you want to
-- dispose.
--
-- DisposePackageVersions, disposePackageVersions_package -
-- The name of the package with the versions you want to dispose.
--
-- $sel:versions:DisposePackageVersions',
-- disposePackageVersions_versions - The versions of the package
-- you want to dispose.
newDisposePackageVersions :: Text -> Text -> PackageFormat -> Text -> DisposePackageVersions
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
disposePackageVersions_domainOwner :: Lens' DisposePackageVersions (Maybe Text)
-- | The expected status of the package version to dispose.
disposePackageVersions_expectedStatus :: Lens' DisposePackageVersions (Maybe PackageVersionStatus)
-- | The namespace of the package versions to be disposed. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
disposePackageVersions_namespace :: Lens' DisposePackageVersions (Maybe Text)
-- | The revisions of the package versions you want to dispose.
disposePackageVersions_versionRevisions :: Lens' DisposePackageVersions (Maybe (HashMap Text Text))
-- | The name of the domain that contains the repository you want to
-- dispose.
disposePackageVersions_domain :: Lens' DisposePackageVersions Text
-- | The name of the repository that contains the package versions you want
-- to dispose.
disposePackageVersions_repository :: Lens' DisposePackageVersions Text
-- | A format that specifies the type of package versions you want to
-- dispose.
disposePackageVersions_format :: Lens' DisposePackageVersions PackageFormat
-- | The name of the package with the versions you want to dispose.
disposePackageVersions_package :: Lens' DisposePackageVersions Text
-- | The versions of the package you want to dispose.
disposePackageVersions_versions :: Lens' DisposePackageVersions [Text]
-- | See: newDisposePackageVersionsResponse smart
-- constructor.
data DisposePackageVersionsResponse
DisposePackageVersionsResponse' :: Maybe (HashMap Text PackageVersionError) -> Maybe (HashMap Text SuccessfulPackageVersionInfo) -> Int -> DisposePackageVersionsResponse
-- | A PackageVersionError object that contains a map of errors
-- codes for the disposed package versions that failed. The possible
-- error codes are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
[$sel:failedVersions:DisposePackageVersionsResponse'] :: DisposePackageVersionsResponse -> Maybe (HashMap Text PackageVersionError)
-- | A list of the package versions that were successfully disposed.
[$sel:successfulVersions:DisposePackageVersionsResponse'] :: DisposePackageVersionsResponse -> Maybe (HashMap Text SuccessfulPackageVersionInfo)
-- | The response's http status code.
[$sel:httpStatus:DisposePackageVersionsResponse'] :: DisposePackageVersionsResponse -> Int
-- | Create a value of DisposePackageVersionsResponse 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:failedVersions:DisposePackageVersionsResponse',
-- disposePackageVersionsResponse_failedVersions - A
-- PackageVersionError object that contains a map of errors
-- codes for the disposed package versions that failed. The possible
-- error codes are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
--
-- $sel:successfulVersions:DisposePackageVersionsResponse',
-- disposePackageVersionsResponse_successfulVersions - A list of
-- the package versions that were successfully disposed.
--
-- $sel:httpStatus:DisposePackageVersionsResponse',
-- disposePackageVersionsResponse_httpStatus - The response's http
-- status code.
newDisposePackageVersionsResponse :: Int -> DisposePackageVersionsResponse
-- | A PackageVersionError object that contains a map of errors
-- codes for the disposed package versions that failed. The possible
-- error codes are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
disposePackageVersionsResponse_failedVersions :: Lens' DisposePackageVersionsResponse (Maybe (HashMap Text PackageVersionError))
-- | A list of the package versions that were successfully disposed.
disposePackageVersionsResponse_successfulVersions :: Lens' DisposePackageVersionsResponse (Maybe (HashMap Text SuccessfulPackageVersionInfo))
-- | The response's http status code.
disposePackageVersionsResponse_httpStatus :: Lens' DisposePackageVersionsResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersions
instance GHC.Show.Show Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersions
instance GHC.Read.Read Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersions
instance GHC.Classes.Eq Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersions
instance GHC.Generics.Generic Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersionsResponse
instance GHC.Show.Show Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersionsResponse
instance GHC.Read.Read Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersionsResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersions
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersionsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersions
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersions
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersions
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.DisposePackageVersions.DisposePackageVersions
-- | Removes an existing external connection from a repository.
module Amazonka.CodeArtifact.DisassociateExternalConnection
-- | See: newDisassociateExternalConnection smart
-- constructor.
data DisassociateExternalConnection
DisassociateExternalConnection' :: Maybe Text -> Text -> Text -> Text -> DisassociateExternalConnection
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:DisassociateExternalConnection'] :: DisassociateExternalConnection -> Maybe Text
-- | The name of the domain that contains the repository from which to
-- remove the external repository.
[$sel:domain:DisassociateExternalConnection'] :: DisassociateExternalConnection -> Text
-- | The name of the repository from which the external connection will be
-- removed.
[$sel:repository:DisassociateExternalConnection'] :: DisassociateExternalConnection -> Text
-- | The name of the external connection to be removed from the repository.
[$sel:externalConnection:DisassociateExternalConnection'] :: DisassociateExternalConnection -> Text
-- | Create a value of DisassociateExternalConnection 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:
--
-- DisassociateExternalConnection,
-- disassociateExternalConnection_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- $sel:domain:DisassociateExternalConnection',
-- disassociateExternalConnection_domain - The name of the domain
-- that contains the repository from which to remove the external
-- repository.
--
-- DisassociateExternalConnection,
-- disassociateExternalConnection_repository - The name of the
-- repository from which the external connection will be removed.
--
-- $sel:externalConnection:DisassociateExternalConnection',
-- disassociateExternalConnection_externalConnection - The name of
-- the external connection to be removed from the repository.
newDisassociateExternalConnection :: Text -> Text -> Text -> DisassociateExternalConnection
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
disassociateExternalConnection_domainOwner :: Lens' DisassociateExternalConnection (Maybe Text)
-- | The name of the domain that contains the repository from which to
-- remove the external repository.
disassociateExternalConnection_domain :: Lens' DisassociateExternalConnection Text
-- | The name of the repository from which the external connection will be
-- removed.
disassociateExternalConnection_repository :: Lens' DisassociateExternalConnection Text
-- | The name of the external connection to be removed from the repository.
disassociateExternalConnection_externalConnection :: Lens' DisassociateExternalConnection Text
-- | See: newDisassociateExternalConnectionResponse smart
-- constructor.
data DisassociateExternalConnectionResponse
DisassociateExternalConnectionResponse' :: Maybe RepositoryDescription -> Int -> DisassociateExternalConnectionResponse
-- | The repository associated with the removed external connection.
[$sel:repository:DisassociateExternalConnectionResponse'] :: DisassociateExternalConnectionResponse -> Maybe RepositoryDescription
-- | The response's http status code.
[$sel:httpStatus:DisassociateExternalConnectionResponse'] :: DisassociateExternalConnectionResponse -> Int
-- | Create a value of DisassociateExternalConnectionResponse 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:
--
-- DisassociateExternalConnection,
-- disassociateExternalConnectionResponse_repository - The
-- repository associated with the removed external connection.
--
-- $sel:httpStatus:DisassociateExternalConnectionResponse',
-- disassociateExternalConnectionResponse_httpStatus - The
-- response's http status code.
newDisassociateExternalConnectionResponse :: Int -> DisassociateExternalConnectionResponse
-- | The repository associated with the removed external connection.
disassociateExternalConnectionResponse_repository :: Lens' DisassociateExternalConnectionResponse (Maybe RepositoryDescription)
-- | The response's http status code.
disassociateExternalConnectionResponse_httpStatus :: Lens' DisassociateExternalConnectionResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnection
instance GHC.Show.Show Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnection
instance GHC.Read.Read Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnection
instance GHC.Classes.Eq Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnection
instance GHC.Generics.Generic Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnectionResponse
instance GHC.Show.Show Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnectionResponse
instance GHC.Read.Read Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnectionResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnectionResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnection
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnectionResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnection
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnection
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnection
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnection
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.DisassociateExternalConnection.DisassociateExternalConnection
-- | Returns a RepositoryDescription object that contains detailed
-- information about the requested repository.
module Amazonka.CodeArtifact.DescribeRepository
-- | See: newDescribeRepository smart constructor.
data DescribeRepository
DescribeRepository' :: Maybe Text -> Text -> Text -> DescribeRepository
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:DescribeRepository'] :: DescribeRepository -> Maybe Text
-- | The name of the domain that contains the repository to describe.
[$sel:domain:DescribeRepository'] :: DescribeRepository -> Text
-- | A string that specifies the name of the requested repository.
[$sel:repository:DescribeRepository'] :: DescribeRepository -> Text
-- | Create a value of DescribeRepository 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:
--
-- DescribeRepository, describeRepository_domainOwner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- $sel:domain:DescribeRepository',
-- describeRepository_domain - The name of the domain that
-- contains the repository to describe.
--
-- DescribeRepository, describeRepository_repository - A
-- string that specifies the name of the requested repository.
newDescribeRepository :: Text -> Text -> DescribeRepository
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
describeRepository_domainOwner :: Lens' DescribeRepository (Maybe Text)
-- | The name of the domain that contains the repository to describe.
describeRepository_domain :: Lens' DescribeRepository Text
-- | A string that specifies the name of the requested repository.
describeRepository_repository :: Lens' DescribeRepository Text
-- | See: newDescribeRepositoryResponse smart constructor.
data DescribeRepositoryResponse
DescribeRepositoryResponse' :: Maybe RepositoryDescription -> Int -> DescribeRepositoryResponse
-- | A RepositoryDescription object that contains the requested
-- repository information.
[$sel:repository:DescribeRepositoryResponse'] :: DescribeRepositoryResponse -> Maybe RepositoryDescription
-- | The response's http status code.
[$sel:httpStatus:DescribeRepositoryResponse'] :: DescribeRepositoryResponse -> Int
-- | Create a value of DescribeRepositoryResponse 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:
--
-- DescribeRepository,
-- describeRepositoryResponse_repository - A
-- RepositoryDescription object that contains the requested
-- repository information.
--
-- $sel:httpStatus:DescribeRepositoryResponse',
-- describeRepositoryResponse_httpStatus - The response's http
-- status code.
newDescribeRepositoryResponse :: Int -> DescribeRepositoryResponse
-- | A RepositoryDescription object that contains the requested
-- repository information.
describeRepositoryResponse_repository :: Lens' DescribeRepositoryResponse (Maybe RepositoryDescription)
-- | The response's http status code.
describeRepositoryResponse_httpStatus :: Lens' DescribeRepositoryResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.DescribeRepository.DescribeRepository
instance GHC.Show.Show Amazonka.CodeArtifact.DescribeRepository.DescribeRepository
instance GHC.Read.Read Amazonka.CodeArtifact.DescribeRepository.DescribeRepository
instance GHC.Classes.Eq Amazonka.CodeArtifact.DescribeRepository.DescribeRepository
instance GHC.Generics.Generic Amazonka.CodeArtifact.DescribeRepository.DescribeRepositoryResponse
instance GHC.Show.Show Amazonka.CodeArtifact.DescribeRepository.DescribeRepositoryResponse
instance GHC.Read.Read Amazonka.CodeArtifact.DescribeRepository.DescribeRepositoryResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.DescribeRepository.DescribeRepositoryResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.DescribeRepository.DescribeRepository
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DescribeRepository.DescribeRepositoryResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.DescribeRepository.DescribeRepository
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DescribeRepository.DescribeRepository
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.DescribeRepository.DescribeRepository
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.DescribeRepository.DescribeRepository
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.DescribeRepository.DescribeRepository
-- | Returns a PackageVersionDescription object that contains
-- information about the requested package version.
module Amazonka.CodeArtifact.DescribePackageVersion
-- | See: newDescribePackageVersion smart constructor.
data DescribePackageVersion
DescribePackageVersion' :: Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> Text -> DescribePackageVersion
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:DescribePackageVersion'] :: DescribePackageVersion -> Maybe Text
-- | The namespace of the requested package version. The package version
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:DescribePackageVersion'] :: DescribePackageVersion -> Maybe Text
-- | The name of the domain that contains the repository that contains the
-- package version.
[$sel:domain:DescribePackageVersion'] :: DescribePackageVersion -> Text
-- | The name of the repository that contains the package version.
[$sel:repository:DescribePackageVersion'] :: DescribePackageVersion -> Text
-- | A format that specifies the type of the requested package version.
[$sel:format:DescribePackageVersion'] :: DescribePackageVersion -> PackageFormat
-- | The name of the requested package version.
[$sel:package:DescribePackageVersion'] :: DescribePackageVersion -> Text
-- | A string that contains the package version (for example,
-- 3.5.2).
[$sel:packageVersion:DescribePackageVersion'] :: DescribePackageVersion -> Text
-- | Create a value of DescribePackageVersion 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:
--
-- DescribePackageVersion,
-- describePackageVersion_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- DescribePackageVersion, describePackageVersion_namespace
-- - The namespace of the requested package version. The package version
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:domain:DescribePackageVersion',
-- describePackageVersion_domain - The name of the domain that
-- contains the repository that contains the package version.
--
-- $sel:repository:DescribePackageVersion',
-- describePackageVersion_repository - The name of the repository
-- that contains the package version.
--
-- DescribePackageVersion, describePackageVersion_format -
-- A format that specifies the type of the requested package version.
--
-- DescribePackageVersion, describePackageVersion_package -
-- The name of the requested package version.
--
-- DescribePackageVersion,
-- describePackageVersion_packageVersion - A string that contains
-- the package version (for example, 3.5.2).
newDescribePackageVersion :: Text -> Text -> PackageFormat -> Text -> Text -> DescribePackageVersion
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
describePackageVersion_domainOwner :: Lens' DescribePackageVersion (Maybe Text)
-- | The namespace of the requested package version. The package version
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
describePackageVersion_namespace :: Lens' DescribePackageVersion (Maybe Text)
-- | The name of the domain that contains the repository that contains the
-- package version.
describePackageVersion_domain :: Lens' DescribePackageVersion Text
-- | The name of the repository that contains the package version.
describePackageVersion_repository :: Lens' DescribePackageVersion Text
-- | A format that specifies the type of the requested package version.
describePackageVersion_format :: Lens' DescribePackageVersion PackageFormat
-- | The name of the requested package version.
describePackageVersion_package :: Lens' DescribePackageVersion Text
-- | A string that contains the package version (for example,
-- 3.5.2).
describePackageVersion_packageVersion :: Lens' DescribePackageVersion Text
-- | See: newDescribePackageVersionResponse smart
-- constructor.
data DescribePackageVersionResponse
DescribePackageVersionResponse' :: Int -> PackageVersionDescription -> DescribePackageVersionResponse
-- | The response's http status code.
[$sel:httpStatus:DescribePackageVersionResponse'] :: DescribePackageVersionResponse -> Int
-- | A PackageVersionDescription object that contains information
-- about the requested package version.
[$sel:packageVersion:DescribePackageVersionResponse'] :: DescribePackageVersionResponse -> PackageVersionDescription
-- | Create a value of DescribePackageVersionResponse 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:DescribePackageVersionResponse',
-- describePackageVersionResponse_httpStatus - The response's http
-- status code.
--
-- DescribePackageVersion,
-- describePackageVersionResponse_packageVersion - A
-- PackageVersionDescription object that contains information
-- about the requested package version.
newDescribePackageVersionResponse :: Int -> PackageVersionDescription -> DescribePackageVersionResponse
-- | The response's http status code.
describePackageVersionResponse_httpStatus :: Lens' DescribePackageVersionResponse Int
-- | A PackageVersionDescription object that contains information
-- about the requested package version.
describePackageVersionResponse_packageVersion :: Lens' DescribePackageVersionResponse PackageVersionDescription
instance GHC.Generics.Generic Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersion
instance GHC.Show.Show Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersion
instance GHC.Read.Read Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersion
instance GHC.Classes.Eq Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersion
instance GHC.Generics.Generic Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersionResponse
instance GHC.Show.Show Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersionResponse
instance GHC.Read.Read Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersionResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersionResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersion
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersionResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersion
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersion
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersion
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersion
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.DescribePackageVersion.DescribePackageVersion
-- | Returns a PackageDescription object that contains information
-- about the requested package.
module Amazonka.CodeArtifact.DescribePackage
-- | See: newDescribePackage smart constructor.
data DescribePackage
DescribePackage' :: Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> DescribePackage
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:DescribePackage'] :: DescribePackage -> Maybe Text
-- | The namespace of the requested package. The package component that
-- specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId. The
-- namespace is required when requesting Maven packages.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
[$sel:namespace:DescribePackage'] :: DescribePackage -> Maybe Text
-- | The name of the domain that contains the repository that contains the
-- package.
[$sel:domain:DescribePackage'] :: DescribePackage -> Text
-- | The name of the repository that contains the requested package.
[$sel:repository:DescribePackage'] :: DescribePackage -> Text
-- | A format that specifies the type of the requested package.
[$sel:format:DescribePackage'] :: DescribePackage -> PackageFormat
-- | The name of the requested package.
[$sel:package:DescribePackage'] :: DescribePackage -> Text
-- | Create a value of DescribePackage 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:
--
-- DescribePackage, describePackage_domainOwner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- DescribePackage, describePackage_namespace - The
-- namespace of the requested package. The package component that
-- specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId. The
-- namespace is required when requesting Maven packages.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- $sel:domain:DescribePackage', describePackage_domain -
-- The name of the domain that contains the repository that contains the
-- package.
--
-- $sel:repository:DescribePackage',
-- describePackage_repository - The name of the repository that
-- contains the requested package.
--
-- DescribePackage, describePackage_format - A format that
-- specifies the type of the requested package.
--
-- DescribePackage, describePackage_package - The name of
-- the requested package.
newDescribePackage :: Text -> Text -> PackageFormat -> Text -> DescribePackage
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
describePackage_domainOwner :: Lens' DescribePackage (Maybe Text)
-- | The namespace of the requested package. The package component that
-- specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId. The
-- namespace is required when requesting Maven packages.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
describePackage_namespace :: Lens' DescribePackage (Maybe Text)
-- | The name of the domain that contains the repository that contains the
-- package.
describePackage_domain :: Lens' DescribePackage Text
-- | The name of the repository that contains the requested package.
describePackage_repository :: Lens' DescribePackage Text
-- | A format that specifies the type of the requested package.
describePackage_format :: Lens' DescribePackage PackageFormat
-- | The name of the requested package.
describePackage_package :: Lens' DescribePackage Text
-- | See: newDescribePackageResponse smart constructor.
data DescribePackageResponse
DescribePackageResponse' :: Int -> PackageDescription -> DescribePackageResponse
-- | The response's http status code.
[$sel:httpStatus:DescribePackageResponse'] :: DescribePackageResponse -> Int
-- | A PackageDescription object that contains information about the
-- requested package.
[$sel:package:DescribePackageResponse'] :: DescribePackageResponse -> PackageDescription
-- | Create a value of DescribePackageResponse 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:DescribePackageResponse',
-- describePackageResponse_httpStatus - The response's http status
-- code.
--
-- DescribePackage, describePackageResponse_package - A
-- PackageDescription object that contains information about the
-- requested package.
newDescribePackageResponse :: Int -> PackageDescription -> DescribePackageResponse
-- | The response's http status code.
describePackageResponse_httpStatus :: Lens' DescribePackageResponse Int
-- | A PackageDescription object that contains information about the
-- requested package.
describePackageResponse_package :: Lens' DescribePackageResponse PackageDescription
instance GHC.Generics.Generic Amazonka.CodeArtifact.DescribePackage.DescribePackage
instance GHC.Show.Show Amazonka.CodeArtifact.DescribePackage.DescribePackage
instance GHC.Read.Read Amazonka.CodeArtifact.DescribePackage.DescribePackage
instance GHC.Classes.Eq Amazonka.CodeArtifact.DescribePackage.DescribePackage
instance GHC.Generics.Generic Amazonka.CodeArtifact.DescribePackage.DescribePackageResponse
instance GHC.Show.Show Amazonka.CodeArtifact.DescribePackage.DescribePackageResponse
instance GHC.Read.Read Amazonka.CodeArtifact.DescribePackage.DescribePackageResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.DescribePackage.DescribePackageResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.DescribePackage.DescribePackage
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DescribePackage.DescribePackageResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.DescribePackage.DescribePackage
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DescribePackage.DescribePackage
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.DescribePackage.DescribePackage
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.DescribePackage.DescribePackage
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.DescribePackage.DescribePackage
-- | Returns a DomainDescription object that contains information
-- about the requested domain.
module Amazonka.CodeArtifact.DescribeDomain
-- | See: newDescribeDomain smart constructor.
data DescribeDomain
DescribeDomain' :: Maybe Text -> Text -> DescribeDomain
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:DescribeDomain'] :: DescribeDomain -> Maybe Text
-- | A string that specifies the name of the requested domain.
[$sel:domain:DescribeDomain'] :: DescribeDomain -> Text
-- | Create a value of DescribeDomain 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:
--
-- DescribeDomain, describeDomain_domainOwner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- DescribeDomain, describeDomain_domain - A string that
-- specifies the name of the requested domain.
newDescribeDomain :: Text -> DescribeDomain
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
describeDomain_domainOwner :: Lens' DescribeDomain (Maybe Text)
-- | A string that specifies the name of the requested domain.
describeDomain_domain :: Lens' DescribeDomain Text
-- | See: newDescribeDomainResponse smart constructor.
data DescribeDomainResponse
DescribeDomainResponse' :: Maybe DomainDescription -> Int -> DescribeDomainResponse
[$sel:domain:DescribeDomainResponse'] :: DescribeDomainResponse -> Maybe DomainDescription
-- | The response's http status code.
[$sel:httpStatus:DescribeDomainResponse'] :: DescribeDomainResponse -> Int
-- | Create a value of DescribeDomainResponse 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:
--
-- DescribeDomain, describeDomainResponse_domain -
-- Undocumented member.
--
-- $sel:httpStatus:DescribeDomainResponse',
-- describeDomainResponse_httpStatus - The response's http status
-- code.
newDescribeDomainResponse :: Int -> DescribeDomainResponse
-- | Undocumented member.
describeDomainResponse_domain :: Lens' DescribeDomainResponse (Maybe DomainDescription)
-- | The response's http status code.
describeDomainResponse_httpStatus :: Lens' DescribeDomainResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.DescribeDomain.DescribeDomain
instance GHC.Show.Show Amazonka.CodeArtifact.DescribeDomain.DescribeDomain
instance GHC.Read.Read Amazonka.CodeArtifact.DescribeDomain.DescribeDomain
instance GHC.Classes.Eq Amazonka.CodeArtifact.DescribeDomain.DescribeDomain
instance GHC.Generics.Generic Amazonka.CodeArtifact.DescribeDomain.DescribeDomainResponse
instance GHC.Show.Show Amazonka.CodeArtifact.DescribeDomain.DescribeDomainResponse
instance GHC.Read.Read Amazonka.CodeArtifact.DescribeDomain.DescribeDomainResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.DescribeDomain.DescribeDomainResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.DescribeDomain.DescribeDomain
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DescribeDomain.DescribeDomainResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.DescribeDomain.DescribeDomain
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DescribeDomain.DescribeDomain
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.DescribeDomain.DescribeDomain
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.DescribeDomain.DescribeDomain
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.DescribeDomain.DescribeDomain
-- | Deletes the resource policy that is set on a repository. After a
-- resource policy is deleted, the permissions allowed and denied by the
-- deleted policy are removed. The effect of deleting a resource policy
-- might not be immediate.
--
-- Use DeleteRepositoryPermissionsPolicy with caution. After a
-- policy is deleted, Amazon Web Services users, roles, and accounts lose
-- permissions to perform the repository actions granted by the deleted
-- policy.
module Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy
-- | See: newDeleteRepositoryPermissionsPolicy smart
-- constructor.
data DeleteRepositoryPermissionsPolicy
DeleteRepositoryPermissionsPolicy' :: Maybe Text -> Maybe Text -> Text -> Text -> DeleteRepositoryPermissionsPolicy
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:DeleteRepositoryPermissionsPolicy'] :: DeleteRepositoryPermissionsPolicy -> Maybe Text
-- | The revision of the repository's resource policy to be deleted. This
-- revision is used for optimistic locking, which prevents others from
-- accidentally overwriting your changes to the repository's resource
-- policy.
[$sel:policyRevision:DeleteRepositoryPermissionsPolicy'] :: DeleteRepositoryPermissionsPolicy -> Maybe Text
-- | The name of the domain that contains the repository associated with
-- the resource policy to be deleted.
[$sel:domain:DeleteRepositoryPermissionsPolicy'] :: DeleteRepositoryPermissionsPolicy -> Text
-- | The name of the repository that is associated with the resource policy
-- to be deleted
[$sel:repository:DeleteRepositoryPermissionsPolicy'] :: DeleteRepositoryPermissionsPolicy -> Text
-- | Create a value of DeleteRepositoryPermissionsPolicy 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:
--
-- DeleteRepositoryPermissionsPolicy,
-- deleteRepositoryPermissionsPolicy_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- $sel:policyRevision:DeleteRepositoryPermissionsPolicy',
-- deleteRepositoryPermissionsPolicy_policyRevision - The revision
-- of the repository's resource policy to be deleted. This revision is
-- used for optimistic locking, which prevents others from accidentally
-- overwriting your changes to the repository's resource policy.
--
-- $sel:domain:DeleteRepositoryPermissionsPolicy',
-- deleteRepositoryPermissionsPolicy_domain - The name of the
-- domain that contains the repository associated with the resource
-- policy to be deleted.
--
-- $sel:repository:DeleteRepositoryPermissionsPolicy',
-- deleteRepositoryPermissionsPolicy_repository - The name of the
-- repository that is associated with the resource policy to be deleted
newDeleteRepositoryPermissionsPolicy :: Text -> Text -> DeleteRepositoryPermissionsPolicy
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
deleteRepositoryPermissionsPolicy_domainOwner :: Lens' DeleteRepositoryPermissionsPolicy (Maybe Text)
-- | The revision of the repository's resource policy to be deleted. This
-- revision is used for optimistic locking, which prevents others from
-- accidentally overwriting your changes to the repository's resource
-- policy.
deleteRepositoryPermissionsPolicy_policyRevision :: Lens' DeleteRepositoryPermissionsPolicy (Maybe Text)
-- | The name of the domain that contains the repository associated with
-- the resource policy to be deleted.
deleteRepositoryPermissionsPolicy_domain :: Lens' DeleteRepositoryPermissionsPolicy Text
-- | The name of the repository that is associated with the resource policy
-- to be deleted
deleteRepositoryPermissionsPolicy_repository :: Lens' DeleteRepositoryPermissionsPolicy Text
-- | See: newDeleteRepositoryPermissionsPolicyResponse smart
-- constructor.
data DeleteRepositoryPermissionsPolicyResponse
DeleteRepositoryPermissionsPolicyResponse' :: Maybe ResourcePolicy -> Int -> DeleteRepositoryPermissionsPolicyResponse
-- | Information about the deleted policy after processing the request.
[$sel:policy:DeleteRepositoryPermissionsPolicyResponse'] :: DeleteRepositoryPermissionsPolicyResponse -> Maybe ResourcePolicy
-- | The response's http status code.
[$sel:httpStatus:DeleteRepositoryPermissionsPolicyResponse'] :: DeleteRepositoryPermissionsPolicyResponse -> Int
-- | Create a value of DeleteRepositoryPermissionsPolicyResponse
-- 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:policy:DeleteRepositoryPermissionsPolicyResponse',
-- deleteRepositoryPermissionsPolicyResponse_policy - Information
-- about the deleted policy after processing the request.
--
-- $sel:httpStatus:DeleteRepositoryPermissionsPolicyResponse',
-- deleteRepositoryPermissionsPolicyResponse_httpStatus - The
-- response's http status code.
newDeleteRepositoryPermissionsPolicyResponse :: Int -> DeleteRepositoryPermissionsPolicyResponse
-- | Information about the deleted policy after processing the request.
deleteRepositoryPermissionsPolicyResponse_policy :: Lens' DeleteRepositoryPermissionsPolicyResponse (Maybe ResourcePolicy)
-- | The response's http status code.
deleteRepositoryPermissionsPolicyResponse_httpStatus :: Lens' DeleteRepositoryPermissionsPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicy
instance GHC.Show.Show Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicy
instance GHC.Read.Read Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicy
instance GHC.Classes.Eq Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicy
instance GHC.Generics.Generic Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicyResponse
instance GHC.Show.Show Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicyResponse
instance GHC.Read.Read Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicyResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicy
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicy
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.DeleteRepositoryPermissionsPolicy.DeleteRepositoryPermissionsPolicy
-- | Deletes a repository.
module Amazonka.CodeArtifact.DeleteRepository
-- | See: newDeleteRepository smart constructor.
data DeleteRepository
DeleteRepository' :: Maybe Text -> Text -> Text -> DeleteRepository
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:DeleteRepository'] :: DeleteRepository -> Maybe Text
-- | The name of the domain that contains the repository to delete.
[$sel:domain:DeleteRepository'] :: DeleteRepository -> Text
-- | The name of the repository to delete.
[$sel:repository:DeleteRepository'] :: DeleteRepository -> Text
-- | Create a value of DeleteRepository 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:
--
-- DeleteRepository, deleteRepository_domainOwner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- $sel:domain:DeleteRepository', deleteRepository_domain -
-- The name of the domain that contains the repository to delete.
--
-- DeleteRepository, deleteRepository_repository - The name
-- of the repository to delete.
newDeleteRepository :: Text -> Text -> DeleteRepository
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
deleteRepository_domainOwner :: Lens' DeleteRepository (Maybe Text)
-- | The name of the domain that contains the repository to delete.
deleteRepository_domain :: Lens' DeleteRepository Text
-- | The name of the repository to delete.
deleteRepository_repository :: Lens' DeleteRepository Text
-- | See: newDeleteRepositoryResponse smart constructor.
data DeleteRepositoryResponse
DeleteRepositoryResponse' :: Maybe RepositoryDescription -> Int -> DeleteRepositoryResponse
-- | Information about the deleted repository after processing the request.
[$sel:repository:DeleteRepositoryResponse'] :: DeleteRepositoryResponse -> Maybe RepositoryDescription
-- | The response's http status code.
[$sel:httpStatus:DeleteRepositoryResponse'] :: DeleteRepositoryResponse -> Int
-- | Create a value of DeleteRepositoryResponse 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:
--
-- DeleteRepository, deleteRepositoryResponse_repository -
-- Information about the deleted repository after processing the request.
--
-- $sel:httpStatus:DeleteRepositoryResponse',
-- deleteRepositoryResponse_httpStatus - The response's http
-- status code.
newDeleteRepositoryResponse :: Int -> DeleteRepositoryResponse
-- | Information about the deleted repository after processing the request.
deleteRepositoryResponse_repository :: Lens' DeleteRepositoryResponse (Maybe RepositoryDescription)
-- | The response's http status code.
deleteRepositoryResponse_httpStatus :: Lens' DeleteRepositoryResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.DeleteRepository.DeleteRepository
instance GHC.Show.Show Amazonka.CodeArtifact.DeleteRepository.DeleteRepository
instance GHC.Read.Read Amazonka.CodeArtifact.DeleteRepository.DeleteRepository
instance GHC.Classes.Eq Amazonka.CodeArtifact.DeleteRepository.DeleteRepository
instance GHC.Generics.Generic Amazonka.CodeArtifact.DeleteRepository.DeleteRepositoryResponse
instance GHC.Show.Show Amazonka.CodeArtifact.DeleteRepository.DeleteRepositoryResponse
instance GHC.Read.Read Amazonka.CodeArtifact.DeleteRepository.DeleteRepositoryResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.DeleteRepository.DeleteRepositoryResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.DeleteRepository.DeleteRepository
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DeleteRepository.DeleteRepositoryResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.DeleteRepository.DeleteRepository
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DeleteRepository.DeleteRepository
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.DeleteRepository.DeleteRepository
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.DeleteRepository.DeleteRepository
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.DeleteRepository.DeleteRepository
-- | Deletes one or more versions of a package. A deleted package version
-- cannot be restored in your repository. If you want to remove a package
-- version from your repository and be able to restore it later, set its
-- status to Archived. Archived packages cannot be downloaded
-- from a repository and don't show up with list package APIs (for
-- example, ListackageVersions), but you can restore them using
-- UpdatePackageVersionsStatus.
module Amazonka.CodeArtifact.DeletePackageVersions
-- | See: newDeletePackageVersions smart constructor.
data DeletePackageVersions
DeletePackageVersions' :: Maybe Text -> Maybe PackageVersionStatus -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> [Text] -> DeletePackageVersions
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:DeletePackageVersions'] :: DeletePackageVersions -> Maybe Text
-- | The expected status of the package version to delete.
[$sel:expectedStatus:DeletePackageVersions'] :: DeletePackageVersions -> Maybe PackageVersionStatus
-- | The namespace of the package versions to be deleted. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its groupId.
-- The namespace is required when deleting Maven package versions.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:DeletePackageVersions'] :: DeletePackageVersions -> Maybe Text
-- | The name of the domain that contains the package to delete.
[$sel:domain:DeletePackageVersions'] :: DeletePackageVersions -> Text
-- | The name of the repository that contains the package versions to
-- delete.
[$sel:repository:DeletePackageVersions'] :: DeletePackageVersions -> Text
-- | The format of the package versions to delete.
[$sel:format:DeletePackageVersions'] :: DeletePackageVersions -> PackageFormat
-- | The name of the package with the versions to delete.
[$sel:package:DeletePackageVersions'] :: DeletePackageVersions -> Text
-- | An array of strings that specify the versions of the package to
-- delete.
[$sel:versions:DeletePackageVersions'] :: DeletePackageVersions -> [Text]
-- | Create a value of DeletePackageVersions 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:
--
-- DeletePackageVersions, deletePackageVersions_domainOwner
-- - The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
--
-- $sel:expectedStatus:DeletePackageVersions',
-- deletePackageVersions_expectedStatus - The expected status of
-- the package version to delete.
--
-- DeletePackageVersions, deletePackageVersions_namespace -
-- The namespace of the package versions to be deleted. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its groupId.
-- The namespace is required when deleting Maven package versions.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:domain:DeletePackageVersions',
-- deletePackageVersions_domain - The name of the domain that
-- contains the package to delete.
--
-- $sel:repository:DeletePackageVersions',
-- deletePackageVersions_repository - The name of the repository
-- that contains the package versions to delete.
--
-- DeletePackageVersions, deletePackageVersions_format -
-- The format of the package versions to delete.
--
-- DeletePackageVersions, deletePackageVersions_package -
-- The name of the package with the versions to delete.
--
-- $sel:versions:DeletePackageVersions',
-- deletePackageVersions_versions - An array of strings that
-- specify the versions of the package to delete.
newDeletePackageVersions :: Text -> Text -> PackageFormat -> Text -> DeletePackageVersions
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
deletePackageVersions_domainOwner :: Lens' DeletePackageVersions (Maybe Text)
-- | The expected status of the package version to delete.
deletePackageVersions_expectedStatus :: Lens' DeletePackageVersions (Maybe PackageVersionStatus)
-- | The namespace of the package versions to be deleted. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its groupId.
-- The namespace is required when deleting Maven package versions.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
deletePackageVersions_namespace :: Lens' DeletePackageVersions (Maybe Text)
-- | The name of the domain that contains the package to delete.
deletePackageVersions_domain :: Lens' DeletePackageVersions Text
-- | The name of the repository that contains the package versions to
-- delete.
deletePackageVersions_repository :: Lens' DeletePackageVersions Text
-- | The format of the package versions to delete.
deletePackageVersions_format :: Lens' DeletePackageVersions PackageFormat
-- | The name of the package with the versions to delete.
deletePackageVersions_package :: Lens' DeletePackageVersions Text
-- | An array of strings that specify the versions of the package to
-- delete.
deletePackageVersions_versions :: Lens' DeletePackageVersions [Text]
-- | See: newDeletePackageVersionsResponse smart constructor.
data DeletePackageVersionsResponse
DeletePackageVersionsResponse' :: Maybe (HashMap Text PackageVersionError) -> Maybe (HashMap Text SuccessfulPackageVersionInfo) -> Int -> DeletePackageVersionsResponse
-- | A PackageVersionError object that contains a map of errors
-- codes for the deleted package that failed. The possible error codes
-- are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
[$sel:failedVersions:DeletePackageVersionsResponse'] :: DeletePackageVersionsResponse -> Maybe (HashMap Text PackageVersionError)
-- | A list of the package versions that were successfully deleted. The
-- status of every successful version will be Deleted.
[$sel:successfulVersions:DeletePackageVersionsResponse'] :: DeletePackageVersionsResponse -> Maybe (HashMap Text SuccessfulPackageVersionInfo)
-- | The response's http status code.
[$sel:httpStatus:DeletePackageVersionsResponse'] :: DeletePackageVersionsResponse -> Int
-- | Create a value of DeletePackageVersionsResponse 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:failedVersions:DeletePackageVersionsResponse',
-- deletePackageVersionsResponse_failedVersions - A
-- PackageVersionError object that contains a map of errors
-- codes for the deleted package that failed. The possible error codes
-- are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
--
-- $sel:successfulVersions:DeletePackageVersionsResponse',
-- deletePackageVersionsResponse_successfulVersions - A list of
-- the package versions that were successfully deleted. The status of
-- every successful version will be Deleted.
--
-- $sel:httpStatus:DeletePackageVersionsResponse',
-- deletePackageVersionsResponse_httpStatus - The response's http
-- status code.
newDeletePackageVersionsResponse :: Int -> DeletePackageVersionsResponse
-- | A PackageVersionError object that contains a map of errors
-- codes for the deleted package that failed. The possible error codes
-- are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
deletePackageVersionsResponse_failedVersions :: Lens' DeletePackageVersionsResponse (Maybe (HashMap Text PackageVersionError))
-- | A list of the package versions that were successfully deleted. The
-- status of every successful version will be Deleted.
deletePackageVersionsResponse_successfulVersions :: Lens' DeletePackageVersionsResponse (Maybe (HashMap Text SuccessfulPackageVersionInfo))
-- | The response's http status code.
deletePackageVersionsResponse_httpStatus :: Lens' DeletePackageVersionsResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersions
instance GHC.Show.Show Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersions
instance GHC.Read.Read Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersions
instance GHC.Classes.Eq Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersions
instance GHC.Generics.Generic Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersionsResponse
instance GHC.Show.Show Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersionsResponse
instance GHC.Read.Read Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersionsResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersions
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersionsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersions
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersions
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersions
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.DeletePackageVersions.DeletePackageVersions
-- | Deletes the resource policy set on a domain.
module Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy
-- | See: newDeleteDomainPermissionsPolicy smart constructor.
data DeleteDomainPermissionsPolicy
DeleteDomainPermissionsPolicy' :: Maybe Text -> Maybe Text -> Text -> DeleteDomainPermissionsPolicy
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:DeleteDomainPermissionsPolicy'] :: DeleteDomainPermissionsPolicy -> Maybe Text
-- | The current revision of the resource policy to be deleted. This
-- revision is used for optimistic locking, which prevents others from
-- overwriting your changes to the domain's resource policy.
[$sel:policyRevision:DeleteDomainPermissionsPolicy'] :: DeleteDomainPermissionsPolicy -> Maybe Text
-- | The name of the domain associated with the resource policy to be
-- deleted.
[$sel:domain:DeleteDomainPermissionsPolicy'] :: DeleteDomainPermissionsPolicy -> Text
-- | Create a value of DeleteDomainPermissionsPolicy 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:
--
-- DeleteDomainPermissionsPolicy,
-- deleteDomainPermissionsPolicy_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- $sel:policyRevision:DeleteDomainPermissionsPolicy',
-- deleteDomainPermissionsPolicy_policyRevision - The current
-- revision of the resource policy to be deleted. This revision is used
-- for optimistic locking, which prevents others from overwriting your
-- changes to the domain's resource policy.
--
-- $sel:domain:DeleteDomainPermissionsPolicy',
-- deleteDomainPermissionsPolicy_domain - The name of the domain
-- associated with the resource policy to be deleted.
newDeleteDomainPermissionsPolicy :: Text -> DeleteDomainPermissionsPolicy
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
deleteDomainPermissionsPolicy_domainOwner :: Lens' DeleteDomainPermissionsPolicy (Maybe Text)
-- | The current revision of the resource policy to be deleted. This
-- revision is used for optimistic locking, which prevents others from
-- overwriting your changes to the domain's resource policy.
deleteDomainPermissionsPolicy_policyRevision :: Lens' DeleteDomainPermissionsPolicy (Maybe Text)
-- | The name of the domain associated with the resource policy to be
-- deleted.
deleteDomainPermissionsPolicy_domain :: Lens' DeleteDomainPermissionsPolicy Text
-- | See: newDeleteDomainPermissionsPolicyResponse smart
-- constructor.
data DeleteDomainPermissionsPolicyResponse
DeleteDomainPermissionsPolicyResponse' :: Maybe ResourcePolicy -> Int -> DeleteDomainPermissionsPolicyResponse
-- | Information about the deleted resource policy after processing the
-- request.
[$sel:policy:DeleteDomainPermissionsPolicyResponse'] :: DeleteDomainPermissionsPolicyResponse -> Maybe ResourcePolicy
-- | The response's http status code.
[$sel:httpStatus:DeleteDomainPermissionsPolicyResponse'] :: DeleteDomainPermissionsPolicyResponse -> Int
-- | Create a value of DeleteDomainPermissionsPolicyResponse 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:policy:DeleteDomainPermissionsPolicyResponse',
-- deleteDomainPermissionsPolicyResponse_policy - Information
-- about the deleted resource policy after processing the request.
--
-- $sel:httpStatus:DeleteDomainPermissionsPolicyResponse',
-- deleteDomainPermissionsPolicyResponse_httpStatus - The
-- response's http status code.
newDeleteDomainPermissionsPolicyResponse :: Int -> DeleteDomainPermissionsPolicyResponse
-- | Information about the deleted resource policy after processing the
-- request.
deleteDomainPermissionsPolicyResponse_policy :: Lens' DeleteDomainPermissionsPolicyResponse (Maybe ResourcePolicy)
-- | The response's http status code.
deleteDomainPermissionsPolicyResponse_httpStatus :: Lens' DeleteDomainPermissionsPolicyResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicy
instance GHC.Show.Show Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicy
instance GHC.Read.Read Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicy
instance GHC.Classes.Eq Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicy
instance GHC.Generics.Generic Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicyResponse
instance GHC.Show.Show Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicyResponse
instance GHC.Read.Read Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicyResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicyResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicy
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicyResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicy
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicy
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicy
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicy
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.DeleteDomainPermissionsPolicy.DeleteDomainPermissionsPolicy
-- | Deletes a domain. You cannot delete a domain that contains
-- repositories. If you want to delete a domain with repositories, first
-- delete its repositories.
module Amazonka.CodeArtifact.DeleteDomain
-- | See: newDeleteDomain smart constructor.
data DeleteDomain
DeleteDomain' :: Maybe Text -> Text -> DeleteDomain
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:DeleteDomain'] :: DeleteDomain -> Maybe Text
-- | The name of the domain to delete.
[$sel:domain:DeleteDomain'] :: DeleteDomain -> Text
-- | Create a value of DeleteDomain 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:
--
-- DeleteDomain, deleteDomain_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- DeleteDomain, deleteDomain_domain - The name of the
-- domain to delete.
newDeleteDomain :: Text -> DeleteDomain
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
deleteDomain_domainOwner :: Lens' DeleteDomain (Maybe Text)
-- | The name of the domain to delete.
deleteDomain_domain :: Lens' DeleteDomain Text
-- | See: newDeleteDomainResponse smart constructor.
data DeleteDomainResponse
DeleteDomainResponse' :: Maybe DomainDescription -> Int -> DeleteDomainResponse
-- | Contains information about the deleted domain after processing the
-- request.
[$sel:domain:DeleteDomainResponse'] :: DeleteDomainResponse -> Maybe DomainDescription
-- | The response's http status code.
[$sel:httpStatus:DeleteDomainResponse'] :: DeleteDomainResponse -> Int
-- | Create a value of DeleteDomainResponse 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:
--
-- DeleteDomain, deleteDomainResponse_domain - Contains
-- information about the deleted domain after processing the request.
--
-- $sel:httpStatus:DeleteDomainResponse',
-- deleteDomainResponse_httpStatus - The response's http status
-- code.
newDeleteDomainResponse :: Int -> DeleteDomainResponse
-- | Contains information about the deleted domain after processing the
-- request.
deleteDomainResponse_domain :: Lens' DeleteDomainResponse (Maybe DomainDescription)
-- | The response's http status code.
deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.DeleteDomain.DeleteDomain
instance GHC.Show.Show Amazonka.CodeArtifact.DeleteDomain.DeleteDomain
instance GHC.Read.Read Amazonka.CodeArtifact.DeleteDomain.DeleteDomain
instance GHC.Classes.Eq Amazonka.CodeArtifact.DeleteDomain.DeleteDomain
instance GHC.Generics.Generic Amazonka.CodeArtifact.DeleteDomain.DeleteDomainResponse
instance GHC.Show.Show Amazonka.CodeArtifact.DeleteDomain.DeleteDomainResponse
instance GHC.Read.Read Amazonka.CodeArtifact.DeleteDomain.DeleteDomainResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.DeleteDomain.DeleteDomainResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.DeleteDomain.DeleteDomain
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DeleteDomain.DeleteDomainResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.DeleteDomain.DeleteDomain
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.DeleteDomain.DeleteDomain
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.DeleteDomain.DeleteDomain
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.DeleteDomain.DeleteDomain
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.DeleteDomain.DeleteDomain
-- | Creates a repository.
module Amazonka.CodeArtifact.CreateRepository
-- | See: newCreateRepository smart constructor.
data CreateRepository
CreateRepository' :: Maybe Text -> Maybe Text -> Maybe [Tag] -> Maybe [UpstreamRepository] -> Text -> Text -> CreateRepository
-- | A description of the created repository.
[$sel:description:CreateRepository'] :: CreateRepository -> Maybe Text
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:CreateRepository'] :: CreateRepository -> Maybe Text
-- | One or more tag key-value pairs for the repository.
[$sel:tags:CreateRepository'] :: CreateRepository -> Maybe [Tag]
-- | A list of upstream repositories to associate with the repository. The
-- order of the upstream repositories in the list determines their
-- priority order when CodeArtifact looks for a requested package
-- version. For more information, see Working with upstream
-- repositories.
[$sel:upstreams:CreateRepository'] :: CreateRepository -> Maybe [UpstreamRepository]
-- | The name of the domain that contains the created repository.
[$sel:domain:CreateRepository'] :: CreateRepository -> Text
-- | The name of the repository to create.
[$sel:repository:CreateRepository'] :: CreateRepository -> Text
-- | Create a value of CreateRepository 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:
--
-- CreateRepository, createRepository_description - A
-- description of the created repository.
--
-- CreateRepository, createRepository_domainOwner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- $sel:tags:CreateRepository', createRepository_tags - One
-- or more tag key-value pairs for the repository.
--
-- CreateRepository, createRepository_upstreams - A list of
-- upstream repositories to associate with the repository. The order of
-- the upstream repositories in the list determines their priority order
-- when CodeArtifact looks for a requested package version. For more
-- information, see Working with upstream repositories.
--
-- $sel:domain:CreateRepository', createRepository_domain -
-- The name of the domain that contains the created repository.
--
-- CreateRepository, createRepository_repository - The name
-- of the repository to create.
newCreateRepository :: Text -> Text -> CreateRepository
-- | A description of the created repository.
createRepository_description :: Lens' CreateRepository (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
createRepository_domainOwner :: Lens' CreateRepository (Maybe Text)
-- | One or more tag key-value pairs for the repository.
createRepository_tags :: Lens' CreateRepository (Maybe [Tag])
-- | A list of upstream repositories to associate with the repository. The
-- order of the upstream repositories in the list determines their
-- priority order when CodeArtifact looks for a requested package
-- version. For more information, see Working with upstream
-- repositories.
createRepository_upstreams :: Lens' CreateRepository (Maybe [UpstreamRepository])
-- | The name of the domain that contains the created repository.
createRepository_domain :: Lens' CreateRepository Text
-- | The name of the repository to create.
createRepository_repository :: Lens' CreateRepository Text
-- | See: newCreateRepositoryResponse smart constructor.
data CreateRepositoryResponse
CreateRepositoryResponse' :: Maybe RepositoryDescription -> Int -> CreateRepositoryResponse
-- | Information about the created repository after processing the request.
[$sel:repository:CreateRepositoryResponse'] :: CreateRepositoryResponse -> Maybe RepositoryDescription
-- | The response's http status code.
[$sel:httpStatus:CreateRepositoryResponse'] :: CreateRepositoryResponse -> Int
-- | Create a value of CreateRepositoryResponse 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:
--
-- CreateRepository, createRepositoryResponse_repository -
-- Information about the created repository after processing the request.
--
-- $sel:httpStatus:CreateRepositoryResponse',
-- createRepositoryResponse_httpStatus - The response's http
-- status code.
newCreateRepositoryResponse :: Int -> CreateRepositoryResponse
-- | Information about the created repository after processing the request.
createRepositoryResponse_repository :: Lens' CreateRepositoryResponse (Maybe RepositoryDescription)
-- | The response's http status code.
createRepositoryResponse_httpStatus :: Lens' CreateRepositoryResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.CreateRepository.CreateRepository
instance GHC.Show.Show Amazonka.CodeArtifact.CreateRepository.CreateRepository
instance GHC.Read.Read Amazonka.CodeArtifact.CreateRepository.CreateRepository
instance GHC.Classes.Eq Amazonka.CodeArtifact.CreateRepository.CreateRepository
instance GHC.Generics.Generic Amazonka.CodeArtifact.CreateRepository.CreateRepositoryResponse
instance GHC.Show.Show Amazonka.CodeArtifact.CreateRepository.CreateRepositoryResponse
instance GHC.Read.Read Amazonka.CodeArtifact.CreateRepository.CreateRepositoryResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.CreateRepository.CreateRepositoryResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.CreateRepository.CreateRepository
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.CreateRepository.CreateRepositoryResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.CreateRepository.CreateRepository
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.CreateRepository.CreateRepository
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.CreateRepository.CreateRepository
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.CreateRepository.CreateRepository
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.CreateRepository.CreateRepository
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.CreateRepository.CreateRepository
-- | Creates a domain. CodeArtifact domains make it easier to manage
-- multiple repositories across an organization. You can use a domain to
-- apply permissions across many repositories owned by different Amazon
-- Web Services accounts. An asset is stored only once in a domain, even
-- if it's in multiple repositories.
--
-- Although you can have multiple domains, we recommend a single
-- production domain that contains all published artifacts so that your
-- development teams can find and share packages. You can use a second
-- pre-production domain to test changes to the production domain
-- configuration.
module Amazonka.CodeArtifact.CreateDomain
-- | See: newCreateDomain smart constructor.
data CreateDomain
CreateDomain' :: Maybe Text -> Maybe [Tag] -> Text -> CreateDomain
-- | The encryption key for the domain. This is used to encrypt content
-- stored in a domain. An encryption key can be a key ID, a key Amazon
-- Resource Name (ARN), a key alias, or a key alias ARN. To specify an
-- encryptionKey, your IAM role must have
-- kms:DescribeKey and kms:CreateGrant permissions on
-- the encryption key that is used. For more information, see
-- DescribeKey in the Key Management Service API Reference
-- and Key Management Service API Permissions Reference in the
-- Key Management Service Developer Guide.
--
-- CodeArtifact supports only symmetric CMKs. Do not associate an
-- asymmetric CMK with your domain. For more information, see Using
-- symmetric and asymmetric keys in the Key Management Service
-- Developer Guide.
[$sel:encryptionKey:CreateDomain'] :: CreateDomain -> Maybe Text
-- | One or more tag key-value pairs for the domain.
[$sel:tags:CreateDomain'] :: CreateDomain -> Maybe [Tag]
-- | The name of the domain to create. All domain names in an Amazon Web
-- Services Region that are in the same Amazon Web Services account must
-- be unique. The domain name is used as the prefix in DNS hostnames. Do
-- not use sensitive information in a domain name because it is publicly
-- discoverable.
[$sel:domain:CreateDomain'] :: CreateDomain -> Text
-- | Create a value of CreateDomain 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:
--
-- CreateDomain, createDomain_encryptionKey - The
-- encryption key for the domain. This is used to encrypt content stored
-- in a domain. An encryption key can be a key ID, a key Amazon Resource
-- Name (ARN), a key alias, or a key alias ARN. To specify an
-- encryptionKey, your IAM role must have
-- kms:DescribeKey and kms:CreateGrant permissions on
-- the encryption key that is used. For more information, see
-- DescribeKey in the Key Management Service API Reference
-- and Key Management Service API Permissions Reference in the
-- Key Management Service Developer Guide.
--
-- CodeArtifact supports only symmetric CMKs. Do not associate an
-- asymmetric CMK with your domain. For more information, see Using
-- symmetric and asymmetric keys in the Key Management Service
-- Developer Guide.
--
-- $sel:tags:CreateDomain', createDomain_tags - One or more
-- tag key-value pairs for the domain.
--
-- CreateDomain, createDomain_domain - The name of the
-- domain to create. All domain names in an Amazon Web Services Region
-- that are in the same Amazon Web Services account must be unique. The
-- domain name is used as the prefix in DNS hostnames. Do not use
-- sensitive information in a domain name because it is publicly
-- discoverable.
newCreateDomain :: Text -> CreateDomain
-- | The encryption key for the domain. This is used to encrypt content
-- stored in a domain. An encryption key can be a key ID, a key Amazon
-- Resource Name (ARN), a key alias, or a key alias ARN. To specify an
-- encryptionKey, your IAM role must have
-- kms:DescribeKey and kms:CreateGrant permissions on
-- the encryption key that is used. For more information, see
-- DescribeKey in the Key Management Service API Reference
-- and Key Management Service API Permissions Reference in the
-- Key Management Service Developer Guide.
--
-- CodeArtifact supports only symmetric CMKs. Do not associate an
-- asymmetric CMK with your domain. For more information, see Using
-- symmetric and asymmetric keys in the Key Management Service
-- Developer Guide.
createDomain_encryptionKey :: Lens' CreateDomain (Maybe Text)
-- | One or more tag key-value pairs for the domain.
createDomain_tags :: Lens' CreateDomain (Maybe [Tag])
-- | The name of the domain to create. All domain names in an Amazon Web
-- Services Region that are in the same Amazon Web Services account must
-- be unique. The domain name is used as the prefix in DNS hostnames. Do
-- not use sensitive information in a domain name because it is publicly
-- discoverable.
createDomain_domain :: Lens' CreateDomain Text
-- | See: newCreateDomainResponse smart constructor.
data CreateDomainResponse
CreateDomainResponse' :: Maybe DomainDescription -> Int -> CreateDomainResponse
-- | Contains information about the created domain after processing the
-- request.
[$sel:domain:CreateDomainResponse'] :: CreateDomainResponse -> Maybe DomainDescription
-- | The response's http status code.
[$sel:httpStatus:CreateDomainResponse'] :: CreateDomainResponse -> Int
-- | Create a value of CreateDomainResponse 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:
--
-- CreateDomain, createDomainResponse_domain - Contains
-- information about the created domain after processing the request.
--
-- $sel:httpStatus:CreateDomainResponse',
-- createDomainResponse_httpStatus - The response's http status
-- code.
newCreateDomainResponse :: Int -> CreateDomainResponse
-- | Contains information about the created domain after processing the
-- request.
createDomainResponse_domain :: Lens' CreateDomainResponse (Maybe DomainDescription)
-- | The response's http status code.
createDomainResponse_httpStatus :: Lens' CreateDomainResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.CreateDomain.CreateDomain
instance GHC.Show.Show Amazonka.CodeArtifact.CreateDomain.CreateDomain
instance GHC.Read.Read Amazonka.CodeArtifact.CreateDomain.CreateDomain
instance GHC.Classes.Eq Amazonka.CodeArtifact.CreateDomain.CreateDomain
instance GHC.Generics.Generic Amazonka.CodeArtifact.CreateDomain.CreateDomainResponse
instance GHC.Show.Show Amazonka.CodeArtifact.CreateDomain.CreateDomainResponse
instance GHC.Read.Read Amazonka.CodeArtifact.CreateDomain.CreateDomainResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.CreateDomain.CreateDomainResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.CreateDomain.CreateDomain
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.CreateDomain.CreateDomainResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.CreateDomain.CreateDomain
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.CreateDomain.CreateDomain
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.CreateDomain.CreateDomain
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.CreateDomain.CreateDomain
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.CreateDomain.CreateDomain
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.CreateDomain.CreateDomain
-- | Copies package versions from one repository to another repository in
-- the same domain.
--
-- You must specify versions or versionRevisions. You
-- cannot specify both.
module Amazonka.CodeArtifact.CopyPackageVersions
-- | See: newCopyPackageVersions smart constructor.
data CopyPackageVersions
CopyPackageVersions' :: Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Text -> Text -> Text -> PackageFormat -> Text -> CopyPackageVersions
-- | Set to true to overwrite a package version that already exists in the
-- destination repository. If set to false and the package version
-- already exists in the destination repository, the package version is
-- returned in the failedVersions field of the response with an
-- ALREADY_EXISTS error code.
[$sel:allowOverwrite:CopyPackageVersions'] :: CopyPackageVersions -> Maybe Bool
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:CopyPackageVersions'] :: CopyPackageVersions -> Maybe Text
-- | Set to true to copy packages from repositories that are upstream from
-- the source repository to the destination repository. The default
-- setting is false. For more information, see Working with upstream
-- repositories.
[$sel:includeFromUpstream:CopyPackageVersions'] :: CopyPackageVersions -> Maybe Bool
-- | The namespace of the package versions to be copied. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its groupId.
-- The namespace is required when copying Maven package versions.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:CopyPackageVersions'] :: CopyPackageVersions -> Maybe Text
-- | A list of key-value pairs. The keys are package versions and the
-- values are package version revisions. A CopyPackageVersion
-- operation succeeds if the specified versions in the source repository
-- match the specified package version revision.
--
-- You must specify versions or versionRevisions. You
-- cannot specify both.
[$sel:versionRevisions:CopyPackageVersions'] :: CopyPackageVersions -> Maybe (HashMap Text Text)
-- | The versions of the package to be copied.
--
-- You must specify versions or versionRevisions. You
-- cannot specify both.
[$sel:versions:CopyPackageVersions'] :: CopyPackageVersions -> Maybe [Text]
-- | The name of the domain that contains the source and destination
-- repositories.
[$sel:domain:CopyPackageVersions'] :: CopyPackageVersions -> Text
-- | The name of the repository that contains the package versions to be
-- copied.
[$sel:sourceRepository:CopyPackageVersions'] :: CopyPackageVersions -> Text
-- | The name of the repository into which package versions are copied.
[$sel:destinationRepository:CopyPackageVersions'] :: CopyPackageVersions -> Text
-- | The format of the package versions to be copied.
[$sel:format:CopyPackageVersions'] :: CopyPackageVersions -> PackageFormat
-- | The name of the package that contains the versions to be copied.
[$sel:package:CopyPackageVersions'] :: CopyPackageVersions -> Text
-- | Create a value of CopyPackageVersions 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:allowOverwrite:CopyPackageVersions',
-- copyPackageVersions_allowOverwrite - Set to true to overwrite a
-- package version that already exists in the destination repository. If
-- set to false and the package version already exists in the destination
-- repository, the package version is returned in the
-- failedVersions field of the response with an
-- ALREADY_EXISTS error code.
--
-- CopyPackageVersions, copyPackageVersions_domainOwner -
-- The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
--
-- $sel:includeFromUpstream:CopyPackageVersions',
-- copyPackageVersions_includeFromUpstream - Set to true to copy
-- packages from repositories that are upstream from the source
-- repository to the destination repository. The default setting is
-- false. For more information, see Working with upstream
-- repositories.
--
-- CopyPackageVersions, copyPackageVersions_namespace - The
-- namespace of the package versions to be copied. The package version
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package version is its groupId.
-- The namespace is required when copying Maven package versions.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:versionRevisions:CopyPackageVersions',
-- copyPackageVersions_versionRevisions - A list of key-value
-- pairs. The keys are package versions and the values are package
-- version revisions. A CopyPackageVersion operation succeeds if
-- the specified versions in the source repository match the specified
-- package version revision.
--
-- You must specify versions or versionRevisions. You
-- cannot specify both.
--
-- $sel:versions:CopyPackageVersions',
-- copyPackageVersions_versions - The versions of the package to
-- be copied.
--
-- You must specify versions or versionRevisions. You
-- cannot specify both.
--
-- $sel:domain:CopyPackageVersions',
-- copyPackageVersions_domain - The name of the domain that
-- contains the source and destination repositories.
--
-- $sel:sourceRepository:CopyPackageVersions',
-- copyPackageVersions_sourceRepository - The name of the
-- repository that contains the package versions to be copied.
--
-- $sel:destinationRepository:CopyPackageVersions',
-- copyPackageVersions_destinationRepository - The name of the
-- repository into which package versions are copied.
--
-- CopyPackageVersions, copyPackageVersions_format - The
-- format of the package versions to be copied.
--
-- CopyPackageVersions, copyPackageVersions_package - The
-- name of the package that contains the versions to be copied.
newCopyPackageVersions :: Text -> Text -> Text -> PackageFormat -> Text -> CopyPackageVersions
-- | Set to true to overwrite a package version that already exists in the
-- destination repository. If set to false and the package version
-- already exists in the destination repository, the package version is
-- returned in the failedVersions field of the response with an
-- ALREADY_EXISTS error code.
copyPackageVersions_allowOverwrite :: Lens' CopyPackageVersions (Maybe Bool)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
copyPackageVersions_domainOwner :: Lens' CopyPackageVersions (Maybe Text)
-- | Set to true to copy packages from repositories that are upstream from
-- the source repository to the destination repository. The default
-- setting is false. For more information, see Working with upstream
-- repositories.
copyPackageVersions_includeFromUpstream :: Lens' CopyPackageVersions (Maybe Bool)
-- | The namespace of the package versions to be copied. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its groupId.
-- The namespace is required when copying Maven package versions.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
copyPackageVersions_namespace :: Lens' CopyPackageVersions (Maybe Text)
-- | A list of key-value pairs. The keys are package versions and the
-- values are package version revisions. A CopyPackageVersion
-- operation succeeds if the specified versions in the source repository
-- match the specified package version revision.
--
-- You must specify versions or versionRevisions. You
-- cannot specify both.
copyPackageVersions_versionRevisions :: Lens' CopyPackageVersions (Maybe (HashMap Text Text))
-- | The versions of the package to be copied.
--
-- You must specify versions or versionRevisions. You
-- cannot specify both.
copyPackageVersions_versions :: Lens' CopyPackageVersions (Maybe [Text])
-- | The name of the domain that contains the source and destination
-- repositories.
copyPackageVersions_domain :: Lens' CopyPackageVersions Text
-- | The name of the repository that contains the package versions to be
-- copied.
copyPackageVersions_sourceRepository :: Lens' CopyPackageVersions Text
-- | The name of the repository into which package versions are copied.
copyPackageVersions_destinationRepository :: Lens' CopyPackageVersions Text
-- | The format of the package versions to be copied.
copyPackageVersions_format :: Lens' CopyPackageVersions PackageFormat
-- | The name of the package that contains the versions to be copied.
copyPackageVersions_package :: Lens' CopyPackageVersions Text
-- | See: newCopyPackageVersionsResponse smart constructor.
data CopyPackageVersionsResponse
CopyPackageVersionsResponse' :: Maybe (HashMap Text PackageVersionError) -> Maybe (HashMap Text SuccessfulPackageVersionInfo) -> Int -> CopyPackageVersionsResponse
-- | A map of package versions that failed to copy and their error codes.
-- The possible error codes are in the PackageVersionError data
-- type. They are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
[$sel:failedVersions:CopyPackageVersionsResponse'] :: CopyPackageVersionsResponse -> Maybe (HashMap Text PackageVersionError)
-- | A list of the package versions that were successfully copied to your
-- repository.
[$sel:successfulVersions:CopyPackageVersionsResponse'] :: CopyPackageVersionsResponse -> Maybe (HashMap Text SuccessfulPackageVersionInfo)
-- | The response's http status code.
[$sel:httpStatus:CopyPackageVersionsResponse'] :: CopyPackageVersionsResponse -> Int
-- | Create a value of CopyPackageVersionsResponse 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:failedVersions:CopyPackageVersionsResponse',
-- copyPackageVersionsResponse_failedVersions - A map of package
-- versions that failed to copy and their error codes. The possible error
-- codes are in the PackageVersionError data type. They are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
--
-- $sel:successfulVersions:CopyPackageVersionsResponse',
-- copyPackageVersionsResponse_successfulVersions - A list of the
-- package versions that were successfully copied to your repository.
--
-- $sel:httpStatus:CopyPackageVersionsResponse',
-- copyPackageVersionsResponse_httpStatus - The response's http
-- status code.
newCopyPackageVersionsResponse :: Int -> CopyPackageVersionsResponse
-- | A map of package versions that failed to copy and their error codes.
-- The possible error codes are in the PackageVersionError data
-- type. They are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
copyPackageVersionsResponse_failedVersions :: Lens' CopyPackageVersionsResponse (Maybe (HashMap Text PackageVersionError))
-- | A list of the package versions that were successfully copied to your
-- repository.
copyPackageVersionsResponse_successfulVersions :: Lens' CopyPackageVersionsResponse (Maybe (HashMap Text SuccessfulPackageVersionInfo))
-- | The response's http status code.
copyPackageVersionsResponse_httpStatus :: Lens' CopyPackageVersionsResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersions
instance GHC.Show.Show Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersions
instance GHC.Read.Read Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersions
instance GHC.Classes.Eq Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersions
instance GHC.Generics.Generic Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersionsResponse
instance GHC.Show.Show Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersionsResponse
instance GHC.Read.Read Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersionsResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersionsResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersions
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersionsResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersions
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersions
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersions
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersions
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.CopyPackageVersions.CopyPackageVersions
-- | Adds an existing external connection to a repository. One external
-- connection is allowed per repository.
--
-- A repository can have one or more upstream repositories, or an
-- external connection.
module Amazonka.CodeArtifact.AssociateExternalConnection
-- | See: newAssociateExternalConnection smart constructor.
data AssociateExternalConnection
AssociateExternalConnection' :: Maybe Text -> Text -> Text -> Text -> AssociateExternalConnection
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:AssociateExternalConnection'] :: AssociateExternalConnection -> Maybe Text
-- | The name of the domain that contains the repository.
[$sel:domain:AssociateExternalConnection'] :: AssociateExternalConnection -> Text
-- | The name of the repository to which the external connection is added.
[$sel:repository:AssociateExternalConnection'] :: AssociateExternalConnection -> Text
-- | The name of the external connection to add to the repository. The
-- following values are supported:
--
--
-- - public:npmjs - for the npm public repository.
-- - public:pypi - for the Python Package Index.
-- - public:maven-central - for Maven Central.
-- - public:maven-googleandroid - for the Google Android
-- repository.
-- - public:maven-gradleplugins - for the Gradle plugins
-- repository.
-- - public:maven-commonsware - for the CommonsWare Android
-- repository.
--
[$sel:externalConnection:AssociateExternalConnection'] :: AssociateExternalConnection -> Text
-- | Create a value of AssociateExternalConnection 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:
--
-- AssociateExternalConnection,
-- associateExternalConnection_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:domain:AssociateExternalConnection',
-- associateExternalConnection_domain - The name of the domain
-- that contains the repository.
--
-- AssociateExternalConnection,
-- associateExternalConnection_repository - The name of the
-- repository to which the external connection is added.
--
-- $sel:externalConnection:AssociateExternalConnection',
-- associateExternalConnection_externalConnection - The name of
-- the external connection to add to the repository. The following values
-- are supported:
--
--
-- - public:npmjs - for the npm public repository.
-- - public:pypi - for the Python Package Index.
-- - public:maven-central - for Maven Central.
-- - public:maven-googleandroid - for the Google Android
-- repository.
-- - public:maven-gradleplugins - for the Gradle plugins
-- repository.
-- - public:maven-commonsware - for the CommonsWare Android
-- repository.
--
newAssociateExternalConnection :: Text -> Text -> Text -> AssociateExternalConnection
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
associateExternalConnection_domainOwner :: Lens' AssociateExternalConnection (Maybe Text)
-- | The name of the domain that contains the repository.
associateExternalConnection_domain :: Lens' AssociateExternalConnection Text
-- | The name of the repository to which the external connection is added.
associateExternalConnection_repository :: Lens' AssociateExternalConnection Text
-- | The name of the external connection to add to the repository. The
-- following values are supported:
--
--
-- - public:npmjs - for the npm public repository.
-- - public:pypi - for the Python Package Index.
-- - public:maven-central - for Maven Central.
-- - public:maven-googleandroid - for the Google Android
-- repository.
-- - public:maven-gradleplugins - for the Gradle plugins
-- repository.
-- - public:maven-commonsware - for the CommonsWare Android
-- repository.
--
associateExternalConnection_externalConnection :: Lens' AssociateExternalConnection Text
-- | See: newAssociateExternalConnectionResponse smart
-- constructor.
data AssociateExternalConnectionResponse
AssociateExternalConnectionResponse' :: Maybe RepositoryDescription -> Int -> AssociateExternalConnectionResponse
-- | Information about the connected repository after processing the
-- request.
[$sel:repository:AssociateExternalConnectionResponse'] :: AssociateExternalConnectionResponse -> Maybe RepositoryDescription
-- | The response's http status code.
[$sel:httpStatus:AssociateExternalConnectionResponse'] :: AssociateExternalConnectionResponse -> Int
-- | Create a value of AssociateExternalConnectionResponse 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:
--
-- AssociateExternalConnection,
-- associateExternalConnectionResponse_repository - Information
-- about the connected repository after processing the request.
--
-- $sel:httpStatus:AssociateExternalConnectionResponse',
-- associateExternalConnectionResponse_httpStatus - The response's
-- http status code.
newAssociateExternalConnectionResponse :: Int -> AssociateExternalConnectionResponse
-- | Information about the connected repository after processing the
-- request.
associateExternalConnectionResponse_repository :: Lens' AssociateExternalConnectionResponse (Maybe RepositoryDescription)
-- | The response's http status code.
associateExternalConnectionResponse_httpStatus :: Lens' AssociateExternalConnectionResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnection
instance GHC.Show.Show Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnection
instance GHC.Read.Read Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnection
instance GHC.Classes.Eq Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnection
instance GHC.Generics.Generic Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnectionResponse
instance GHC.Show.Show Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnectionResponse
instance GHC.Read.Read Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnectionResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnectionResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnection
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnectionResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnection
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnection
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnection
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnection
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnection
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.AssociateExternalConnection.AssociateExternalConnection
-- | Removes tags from a resource in CodeArtifact.
module Amazonka.CodeArtifact.UntagResource
-- | See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> [Text] -> UntagResource
-- | The Amazon Resource Name (ARN) of the resource that you want to remove
-- tags from.
[$sel:resourceArn:UntagResource'] :: UntagResource -> Text
-- | The tag key for each tag that you want to remove from the resource.
[$sel:tagKeys:UntagResource'] :: UntagResource -> [Text]
-- | Create a value of UntagResource 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:
--
-- UntagResource, untagResource_resourceArn - The Amazon
-- Resource Name (ARN) of the resource that you want to remove tags from.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - The
-- tag key for each tag that you want to remove from the resource.
newUntagResource :: Text -> UntagResource
-- | The Amazon Resource Name (ARN) of the resource that you want to remove
-- tags from.
untagResource_resourceArn :: Lens' UntagResource Text
-- | The tag key for each tag that you want to remove from the resource.
untagResource_tagKeys :: Lens' UntagResource [Text]
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Int -> UntagResourceResponse
-- | The response's http status code.
[$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
-- | Create a value of UntagResourceResponse 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:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.UntagResource.UntagResource
instance GHC.Show.Show Amazonka.CodeArtifact.UntagResource.UntagResource
instance GHC.Read.Read Amazonka.CodeArtifact.UntagResource.UntagResource
instance GHC.Classes.Eq Amazonka.CodeArtifact.UntagResource.UntagResource
instance GHC.Generics.Generic Amazonka.CodeArtifact.UntagResource.UntagResourceResponse
instance GHC.Show.Show Amazonka.CodeArtifact.UntagResource.UntagResourceResponse
instance GHC.Read.Read Amazonka.CodeArtifact.UntagResource.UntagResourceResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.UntagResource.UntagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.UntagResource.UntagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.UntagResource.UntagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.UntagResource.UntagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.UntagResource.UntagResource
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.UntagResource.UntagResource
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.UntagResource.UntagResource
-- | Updates the status of one or more versions of a package. Using
-- UpdatePackageVersionsStatus, you can update the status of
-- package versions to Archived, Published, or
-- Unlisted. To set the status of a package version to
-- Disposed, use DisposePackageVersions.
module Amazonka.CodeArtifact.UpdatePackageVersionsStatus
-- | See: newUpdatePackageVersionsStatus smart constructor.
data UpdatePackageVersionsStatus
UpdatePackageVersionsStatus' :: Maybe Text -> Maybe PackageVersionStatus -> Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> PackageFormat -> Text -> [Text] -> PackageVersionStatus -> UpdatePackageVersionsStatus
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:UpdatePackageVersionsStatus'] :: UpdatePackageVersionsStatus -> Maybe Text
-- | The package version’s expected status before it is updated. If
-- expectedStatus is provided, the package version's status is
-- updated only if its status at the time
-- UpdatePackageVersionsStatus is called matches
-- expectedStatus.
[$sel:expectedStatus:UpdatePackageVersionsStatus'] :: UpdatePackageVersionsStatus -> Maybe PackageVersionStatus
-- | The namespace of the package version to be updated. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
[$sel:namespace:UpdatePackageVersionsStatus'] :: UpdatePackageVersionsStatus -> Maybe Text
-- | A map of package versions and package version revisions. The map
-- key is the package version (for example, 3.5.2), and
-- the map value is the package version revision.
[$sel:versionRevisions:UpdatePackageVersionsStatus'] :: UpdatePackageVersionsStatus -> Maybe (HashMap Text Text)
-- | The name of the domain that contains the repository that contains the
-- package versions with a status to be updated.
[$sel:domain:UpdatePackageVersionsStatus'] :: UpdatePackageVersionsStatus -> Text
-- | The repository that contains the package versions with the status you
-- want to update.
[$sel:repository:UpdatePackageVersionsStatus'] :: UpdatePackageVersionsStatus -> Text
-- | A format that specifies the type of the package with the statuses to
-- update.
[$sel:format:UpdatePackageVersionsStatus'] :: UpdatePackageVersionsStatus -> PackageFormat
-- | The name of the package with the version statuses to update.
[$sel:package:UpdatePackageVersionsStatus'] :: UpdatePackageVersionsStatus -> Text
-- | An array of strings that specify the versions of the package with the
-- statuses to update.
[$sel:versions:UpdatePackageVersionsStatus'] :: UpdatePackageVersionsStatus -> [Text]
-- | The status you want to change the package version status to.
[$sel:targetStatus:UpdatePackageVersionsStatus'] :: UpdatePackageVersionsStatus -> PackageVersionStatus
-- | Create a value of UpdatePackageVersionsStatus 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:
--
-- UpdatePackageVersionsStatus,
-- updatePackageVersionsStatus_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:expectedStatus:UpdatePackageVersionsStatus',
-- updatePackageVersionsStatus_expectedStatus - The package
-- version’s expected status before it is updated. If
-- expectedStatus is provided, the package version's status is
-- updated only if its status at the time
-- UpdatePackageVersionsStatus is called matches
-- expectedStatus.
--
-- UpdatePackageVersionsStatus,
-- updatePackageVersionsStatus_namespace - The namespace of the
-- package version to be updated. The package version component that
-- specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:versionRevisions:UpdatePackageVersionsStatus',
-- updatePackageVersionsStatus_versionRevisions - A map of package
-- versions and package version revisions. The map key is the
-- package version (for example, 3.5.2), and the map
-- value is the package version revision.
--
-- $sel:domain:UpdatePackageVersionsStatus',
-- updatePackageVersionsStatus_domain - The name of the domain
-- that contains the repository that contains the package versions with a
-- status to be updated.
--
-- $sel:repository:UpdatePackageVersionsStatus',
-- updatePackageVersionsStatus_repository - The repository that
-- contains the package versions with the status you want to update.
--
-- UpdatePackageVersionsStatus,
-- updatePackageVersionsStatus_format - A format that specifies
-- the type of the package with the statuses to update.
--
-- UpdatePackageVersionsStatus,
-- updatePackageVersionsStatus_package - The name of the package
-- with the version statuses to update.
--
-- $sel:versions:UpdatePackageVersionsStatus',
-- updatePackageVersionsStatus_versions - An array of strings that
-- specify the versions of the package with the statuses to update.
--
-- $sel:targetStatus:UpdatePackageVersionsStatus',
-- updatePackageVersionsStatus_targetStatus - The status you want
-- to change the package version status to.
newUpdatePackageVersionsStatus :: Text -> Text -> PackageFormat -> Text -> PackageVersionStatus -> UpdatePackageVersionsStatus
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
updatePackageVersionsStatus_domainOwner :: Lens' UpdatePackageVersionsStatus (Maybe Text)
-- | The package version’s expected status before it is updated. If
-- expectedStatus is provided, the package version's status is
-- updated only if its status at the time
-- UpdatePackageVersionsStatus is called matches
-- expectedStatus.
updatePackageVersionsStatus_expectedStatus :: Lens' UpdatePackageVersionsStatus (Maybe PackageVersionStatus)
-- | The namespace of the package version to be updated. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
updatePackageVersionsStatus_namespace :: Lens' UpdatePackageVersionsStatus (Maybe Text)
-- | A map of package versions and package version revisions. The map
-- key is the package version (for example, 3.5.2), and
-- the map value is the package version revision.
updatePackageVersionsStatus_versionRevisions :: Lens' UpdatePackageVersionsStatus (Maybe (HashMap Text Text))
-- | The name of the domain that contains the repository that contains the
-- package versions with a status to be updated.
updatePackageVersionsStatus_domain :: Lens' UpdatePackageVersionsStatus Text
-- | The repository that contains the package versions with the status you
-- want to update.
updatePackageVersionsStatus_repository :: Lens' UpdatePackageVersionsStatus Text
-- | A format that specifies the type of the package with the statuses to
-- update.
updatePackageVersionsStatus_format :: Lens' UpdatePackageVersionsStatus PackageFormat
-- | The name of the package with the version statuses to update.
updatePackageVersionsStatus_package :: Lens' UpdatePackageVersionsStatus Text
-- | An array of strings that specify the versions of the package with the
-- statuses to update.
updatePackageVersionsStatus_versions :: Lens' UpdatePackageVersionsStatus [Text]
-- | The status you want to change the package version status to.
updatePackageVersionsStatus_targetStatus :: Lens' UpdatePackageVersionsStatus PackageVersionStatus
-- | See: newUpdatePackageVersionsStatusResponse smart
-- constructor.
data UpdatePackageVersionsStatusResponse
UpdatePackageVersionsStatusResponse' :: Maybe (HashMap Text PackageVersionError) -> Maybe (HashMap Text SuccessfulPackageVersionInfo) -> Int -> UpdatePackageVersionsStatusResponse
-- | A list of SuccessfulPackageVersionInfo objects, one for each
-- package version with a status that successfully updated.
[$sel:failedVersions:UpdatePackageVersionsStatusResponse'] :: UpdatePackageVersionsStatusResponse -> Maybe (HashMap Text PackageVersionError)
-- | A list of PackageVersionError objects, one for each package
-- version with a status that failed to update.
[$sel:successfulVersions:UpdatePackageVersionsStatusResponse'] :: UpdatePackageVersionsStatusResponse -> Maybe (HashMap Text SuccessfulPackageVersionInfo)
-- | The response's http status code.
[$sel:httpStatus:UpdatePackageVersionsStatusResponse'] :: UpdatePackageVersionsStatusResponse -> Int
-- | Create a value of UpdatePackageVersionsStatusResponse 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:failedVersions:UpdatePackageVersionsStatusResponse',
-- updatePackageVersionsStatusResponse_failedVersions - A list of
-- SuccessfulPackageVersionInfo objects, one for each package
-- version with a status that successfully updated.
--
-- $sel:successfulVersions:UpdatePackageVersionsStatusResponse',
-- updatePackageVersionsStatusResponse_successfulVersions - A list
-- of PackageVersionError objects, one for each package version
-- with a status that failed to update.
--
-- $sel:httpStatus:UpdatePackageVersionsStatusResponse',
-- updatePackageVersionsStatusResponse_httpStatus - The response's
-- http status code.
newUpdatePackageVersionsStatusResponse :: Int -> UpdatePackageVersionsStatusResponse
-- | A list of SuccessfulPackageVersionInfo objects, one for each
-- package version with a status that successfully updated.
updatePackageVersionsStatusResponse_failedVersions :: Lens' UpdatePackageVersionsStatusResponse (Maybe (HashMap Text PackageVersionError))
-- | A list of PackageVersionError objects, one for each package
-- version with a status that failed to update.
updatePackageVersionsStatusResponse_successfulVersions :: Lens' UpdatePackageVersionsStatusResponse (Maybe (HashMap Text SuccessfulPackageVersionInfo))
-- | The response's http status code.
updatePackageVersionsStatusResponse_httpStatus :: Lens' UpdatePackageVersionsStatusResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatus
instance GHC.Show.Show Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatus
instance GHC.Read.Read Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatus
instance GHC.Classes.Eq Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatus
instance GHC.Generics.Generic Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatusResponse
instance GHC.Show.Show Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatusResponse
instance GHC.Read.Read Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatusResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatusResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatus
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatusResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatus
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatus
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatus
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatus
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.UpdatePackageVersionsStatus.UpdatePackageVersionsStatus
-- | Update the properties of a repository.
module Amazonka.CodeArtifact.UpdateRepository
-- | See: newUpdateRepository smart constructor.
data UpdateRepository
UpdateRepository' :: Maybe Text -> Maybe Text -> Maybe [UpstreamRepository] -> Text -> Text -> UpdateRepository
-- | An updated repository description.
[$sel:description:UpdateRepository'] :: UpdateRepository -> Maybe Text
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
[$sel:domainOwner:UpdateRepository'] :: UpdateRepository -> Maybe Text
-- | A list of upstream repositories to associate with the repository. The
-- order of the upstream repositories in the list determines their
-- priority order when CodeArtifact looks for a requested package
-- version. For more information, see Working with upstream
-- repositories.
[$sel:upstreams:UpdateRepository'] :: UpdateRepository -> Maybe [UpstreamRepository]
-- | The name of the domain associated with the repository to update.
[$sel:domain:UpdateRepository'] :: UpdateRepository -> Text
-- | The name of the repository to update.
[$sel:repository:UpdateRepository'] :: UpdateRepository -> Text
-- | Create a value of UpdateRepository 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:
--
-- UpdateRepository, updateRepository_description - An
-- updated repository description.
--
-- UpdateRepository, updateRepository_domainOwner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- UpdateRepository, updateRepository_upstreams - A list of
-- upstream repositories to associate with the repository. The order of
-- the upstream repositories in the list determines their priority order
-- when CodeArtifact looks for a requested package version. For more
-- information, see Working with upstream repositories.
--
-- $sel:domain:UpdateRepository', updateRepository_domain -
-- The name of the domain associated with the repository to update.
--
-- UpdateRepository, updateRepository_repository - The name
-- of the repository to update.
newUpdateRepository :: Text -> Text -> UpdateRepository
-- | An updated repository description.
updateRepository_description :: Lens' UpdateRepository (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
updateRepository_domainOwner :: Lens' UpdateRepository (Maybe Text)
-- | A list of upstream repositories to associate with the repository. The
-- order of the upstream repositories in the list determines their
-- priority order when CodeArtifact looks for a requested package
-- version. For more information, see Working with upstream
-- repositories.
updateRepository_upstreams :: Lens' UpdateRepository (Maybe [UpstreamRepository])
-- | The name of the domain associated with the repository to update.
updateRepository_domain :: Lens' UpdateRepository Text
-- | The name of the repository to update.
updateRepository_repository :: Lens' UpdateRepository Text
-- | See: newUpdateRepositoryResponse smart constructor.
data UpdateRepositoryResponse
UpdateRepositoryResponse' :: Maybe RepositoryDescription -> Int -> UpdateRepositoryResponse
-- | The updated repository.
[$sel:repository:UpdateRepositoryResponse'] :: UpdateRepositoryResponse -> Maybe RepositoryDescription
-- | The response's http status code.
[$sel:httpStatus:UpdateRepositoryResponse'] :: UpdateRepositoryResponse -> Int
-- | Create a value of UpdateRepositoryResponse 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:
--
-- UpdateRepository, updateRepositoryResponse_repository -
-- The updated repository.
--
-- $sel:httpStatus:UpdateRepositoryResponse',
-- updateRepositoryResponse_httpStatus - The response's http
-- status code.
newUpdateRepositoryResponse :: Int -> UpdateRepositoryResponse
-- | The updated repository.
updateRepositoryResponse_repository :: Lens' UpdateRepositoryResponse (Maybe RepositoryDescription)
-- | The response's http status code.
updateRepositoryResponse_httpStatus :: Lens' UpdateRepositoryResponse Int
instance GHC.Generics.Generic Amazonka.CodeArtifact.UpdateRepository.UpdateRepository
instance GHC.Show.Show Amazonka.CodeArtifact.UpdateRepository.UpdateRepository
instance GHC.Read.Read Amazonka.CodeArtifact.UpdateRepository.UpdateRepository
instance GHC.Classes.Eq Amazonka.CodeArtifact.UpdateRepository.UpdateRepository
instance GHC.Generics.Generic Amazonka.CodeArtifact.UpdateRepository.UpdateRepositoryResponse
instance GHC.Show.Show Amazonka.CodeArtifact.UpdateRepository.UpdateRepositoryResponse
instance GHC.Read.Read Amazonka.CodeArtifact.UpdateRepository.UpdateRepositoryResponse
instance GHC.Classes.Eq Amazonka.CodeArtifact.UpdateRepository.UpdateRepositoryResponse
instance Amazonka.Types.AWSRequest Amazonka.CodeArtifact.UpdateRepository.UpdateRepository
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.UpdateRepository.UpdateRepositoryResponse
instance Data.Hashable.Class.Hashable Amazonka.CodeArtifact.UpdateRepository.UpdateRepository
instance Control.DeepSeq.NFData Amazonka.CodeArtifact.UpdateRepository.UpdateRepository
instance Amazonka.Data.Headers.ToHeaders Amazonka.CodeArtifact.UpdateRepository.UpdateRepository
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.CodeArtifact.UpdateRepository.UpdateRepository
instance Amazonka.Data.Path.ToPath Amazonka.CodeArtifact.UpdateRepository.UpdateRepository
instance Amazonka.Data.Query.ToQuery Amazonka.CodeArtifact.UpdateRepository.UpdateRepository
module Amazonka.CodeArtifact.Lens
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
associateExternalConnection_domainOwner :: Lens' AssociateExternalConnection (Maybe Text)
-- | The name of the domain that contains the repository.
associateExternalConnection_domain :: Lens' AssociateExternalConnection Text
-- | The name of the repository to which the external connection is added.
associateExternalConnection_repository :: Lens' AssociateExternalConnection Text
-- | The name of the external connection to add to the repository. The
-- following values are supported:
--
--
-- - public:npmjs - for the npm public repository.
-- - public:pypi - for the Python Package Index.
-- - public:maven-central - for Maven Central.
-- - public:maven-googleandroid - for the Google Android
-- repository.
-- - public:maven-gradleplugins - for the Gradle plugins
-- repository.
-- - public:maven-commonsware - for the CommonsWare Android
-- repository.
--
associateExternalConnection_externalConnection :: Lens' AssociateExternalConnection Text
-- | Information about the connected repository after processing the
-- request.
associateExternalConnectionResponse_repository :: Lens' AssociateExternalConnectionResponse (Maybe RepositoryDescription)
-- | The response's http status code.
associateExternalConnectionResponse_httpStatus :: Lens' AssociateExternalConnectionResponse Int
-- | Set to true to overwrite a package version that already exists in the
-- destination repository. If set to false and the package version
-- already exists in the destination repository, the package version is
-- returned in the failedVersions field of the response with an
-- ALREADY_EXISTS error code.
copyPackageVersions_allowOverwrite :: Lens' CopyPackageVersions (Maybe Bool)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
copyPackageVersions_domainOwner :: Lens' CopyPackageVersions (Maybe Text)
-- | Set to true to copy packages from repositories that are upstream from
-- the source repository to the destination repository. The default
-- setting is false. For more information, see Working with upstream
-- repositories.
copyPackageVersions_includeFromUpstream :: Lens' CopyPackageVersions (Maybe Bool)
-- | The namespace of the package versions to be copied. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its groupId.
-- The namespace is required when copying Maven package versions.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
copyPackageVersions_namespace :: Lens' CopyPackageVersions (Maybe Text)
-- | A list of key-value pairs. The keys are package versions and the
-- values are package version revisions. A CopyPackageVersion
-- operation succeeds if the specified versions in the source repository
-- match the specified package version revision.
--
-- You must specify versions or versionRevisions. You
-- cannot specify both.
copyPackageVersions_versionRevisions :: Lens' CopyPackageVersions (Maybe (HashMap Text Text))
-- | The versions of the package to be copied.
--
-- You must specify versions or versionRevisions. You
-- cannot specify both.
copyPackageVersions_versions :: Lens' CopyPackageVersions (Maybe [Text])
-- | The name of the domain that contains the source and destination
-- repositories.
copyPackageVersions_domain :: Lens' CopyPackageVersions Text
-- | The name of the repository that contains the package versions to be
-- copied.
copyPackageVersions_sourceRepository :: Lens' CopyPackageVersions Text
-- | The name of the repository into which package versions are copied.
copyPackageVersions_destinationRepository :: Lens' CopyPackageVersions Text
-- | The format of the package versions to be copied.
copyPackageVersions_format :: Lens' CopyPackageVersions PackageFormat
-- | The name of the package that contains the versions to be copied.
copyPackageVersions_package :: Lens' CopyPackageVersions Text
-- | A map of package versions that failed to copy and their error codes.
-- The possible error codes are in the PackageVersionError data
-- type. They are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
copyPackageVersionsResponse_failedVersions :: Lens' CopyPackageVersionsResponse (Maybe (HashMap Text PackageVersionError))
-- | A list of the package versions that were successfully copied to your
-- repository.
copyPackageVersionsResponse_successfulVersions :: Lens' CopyPackageVersionsResponse (Maybe (HashMap Text SuccessfulPackageVersionInfo))
-- | The response's http status code.
copyPackageVersionsResponse_httpStatus :: Lens' CopyPackageVersionsResponse Int
-- | The encryption key for the domain. This is used to encrypt content
-- stored in a domain. An encryption key can be a key ID, a key Amazon
-- Resource Name (ARN), a key alias, or a key alias ARN. To specify an
-- encryptionKey, your IAM role must have
-- kms:DescribeKey and kms:CreateGrant permissions on
-- the encryption key that is used. For more information, see
-- DescribeKey in the Key Management Service API Reference
-- and Key Management Service API Permissions Reference in the
-- Key Management Service Developer Guide.
--
-- CodeArtifact supports only symmetric CMKs. Do not associate an
-- asymmetric CMK with your domain. For more information, see Using
-- symmetric and asymmetric keys in the Key Management Service
-- Developer Guide.
createDomain_encryptionKey :: Lens' CreateDomain (Maybe Text)
-- | One or more tag key-value pairs for the domain.
createDomain_tags :: Lens' CreateDomain (Maybe [Tag])
-- | The name of the domain to create. All domain names in an Amazon Web
-- Services Region that are in the same Amazon Web Services account must
-- be unique. The domain name is used as the prefix in DNS hostnames. Do
-- not use sensitive information in a domain name because it is publicly
-- discoverable.
createDomain_domain :: Lens' CreateDomain Text
-- | Contains information about the created domain after processing the
-- request.
createDomainResponse_domain :: Lens' CreateDomainResponse (Maybe DomainDescription)
-- | The response's http status code.
createDomainResponse_httpStatus :: Lens' CreateDomainResponse Int
-- | A description of the created repository.
createRepository_description :: Lens' CreateRepository (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
createRepository_domainOwner :: Lens' CreateRepository (Maybe Text)
-- | One or more tag key-value pairs for the repository.
createRepository_tags :: Lens' CreateRepository (Maybe [Tag])
-- | A list of upstream repositories to associate with the repository. The
-- order of the upstream repositories in the list determines their
-- priority order when CodeArtifact looks for a requested package
-- version. For more information, see Working with upstream
-- repositories.
createRepository_upstreams :: Lens' CreateRepository (Maybe [UpstreamRepository])
-- | The name of the domain that contains the created repository.
createRepository_domain :: Lens' CreateRepository Text
-- | The name of the repository to create.
createRepository_repository :: Lens' CreateRepository Text
-- | Information about the created repository after processing the request.
createRepositoryResponse_repository :: Lens' CreateRepositoryResponse (Maybe RepositoryDescription)
-- | The response's http status code.
createRepositoryResponse_httpStatus :: Lens' CreateRepositoryResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
deleteDomain_domainOwner :: Lens' DeleteDomain (Maybe Text)
-- | The name of the domain to delete.
deleteDomain_domain :: Lens' DeleteDomain Text
-- | Contains information about the deleted domain after processing the
-- request.
deleteDomainResponse_domain :: Lens' DeleteDomainResponse (Maybe DomainDescription)
-- | The response's http status code.
deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
deleteDomainPermissionsPolicy_domainOwner :: Lens' DeleteDomainPermissionsPolicy (Maybe Text)
-- | The current revision of the resource policy to be deleted. This
-- revision is used for optimistic locking, which prevents others from
-- overwriting your changes to the domain's resource policy.
deleteDomainPermissionsPolicy_policyRevision :: Lens' DeleteDomainPermissionsPolicy (Maybe Text)
-- | The name of the domain associated with the resource policy to be
-- deleted.
deleteDomainPermissionsPolicy_domain :: Lens' DeleteDomainPermissionsPolicy Text
-- | Information about the deleted resource policy after processing the
-- request.
deleteDomainPermissionsPolicyResponse_policy :: Lens' DeleteDomainPermissionsPolicyResponse (Maybe ResourcePolicy)
-- | The response's http status code.
deleteDomainPermissionsPolicyResponse_httpStatus :: Lens' DeleteDomainPermissionsPolicyResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
deletePackageVersions_domainOwner :: Lens' DeletePackageVersions (Maybe Text)
-- | The expected status of the package version to delete.
deletePackageVersions_expectedStatus :: Lens' DeletePackageVersions (Maybe PackageVersionStatus)
-- | The namespace of the package versions to be deleted. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its groupId.
-- The namespace is required when deleting Maven package versions.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
deletePackageVersions_namespace :: Lens' DeletePackageVersions (Maybe Text)
-- | The name of the domain that contains the package to delete.
deletePackageVersions_domain :: Lens' DeletePackageVersions Text
-- | The name of the repository that contains the package versions to
-- delete.
deletePackageVersions_repository :: Lens' DeletePackageVersions Text
-- | The format of the package versions to delete.
deletePackageVersions_format :: Lens' DeletePackageVersions PackageFormat
-- | The name of the package with the versions to delete.
deletePackageVersions_package :: Lens' DeletePackageVersions Text
-- | An array of strings that specify the versions of the package to
-- delete.
deletePackageVersions_versions :: Lens' DeletePackageVersions [Text]
-- | A PackageVersionError object that contains a map of errors
-- codes for the deleted package that failed. The possible error codes
-- are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
deletePackageVersionsResponse_failedVersions :: Lens' DeletePackageVersionsResponse (Maybe (HashMap Text PackageVersionError))
-- | A list of the package versions that were successfully deleted. The
-- status of every successful version will be Deleted.
deletePackageVersionsResponse_successfulVersions :: Lens' DeletePackageVersionsResponse (Maybe (HashMap Text SuccessfulPackageVersionInfo))
-- | The response's http status code.
deletePackageVersionsResponse_httpStatus :: Lens' DeletePackageVersionsResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
deleteRepository_domainOwner :: Lens' DeleteRepository (Maybe Text)
-- | The name of the domain that contains the repository to delete.
deleteRepository_domain :: Lens' DeleteRepository Text
-- | The name of the repository to delete.
deleteRepository_repository :: Lens' DeleteRepository Text
-- | Information about the deleted repository after processing the request.
deleteRepositoryResponse_repository :: Lens' DeleteRepositoryResponse (Maybe RepositoryDescription)
-- | The response's http status code.
deleteRepositoryResponse_httpStatus :: Lens' DeleteRepositoryResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
deleteRepositoryPermissionsPolicy_domainOwner :: Lens' DeleteRepositoryPermissionsPolicy (Maybe Text)
-- | The revision of the repository's resource policy to be deleted. This
-- revision is used for optimistic locking, which prevents others from
-- accidentally overwriting your changes to the repository's resource
-- policy.
deleteRepositoryPermissionsPolicy_policyRevision :: Lens' DeleteRepositoryPermissionsPolicy (Maybe Text)
-- | The name of the domain that contains the repository associated with
-- the resource policy to be deleted.
deleteRepositoryPermissionsPolicy_domain :: Lens' DeleteRepositoryPermissionsPolicy Text
-- | The name of the repository that is associated with the resource policy
-- to be deleted
deleteRepositoryPermissionsPolicy_repository :: Lens' DeleteRepositoryPermissionsPolicy Text
-- | Information about the deleted policy after processing the request.
deleteRepositoryPermissionsPolicyResponse_policy :: Lens' DeleteRepositoryPermissionsPolicyResponse (Maybe ResourcePolicy)
-- | The response's http status code.
deleteRepositoryPermissionsPolicyResponse_httpStatus :: Lens' DeleteRepositoryPermissionsPolicyResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
describeDomain_domainOwner :: Lens' DescribeDomain (Maybe Text)
-- | A string that specifies the name of the requested domain.
describeDomain_domain :: Lens' DescribeDomain Text
-- | Undocumented member.
describeDomainResponse_domain :: Lens' DescribeDomainResponse (Maybe DomainDescription)
-- | The response's http status code.
describeDomainResponse_httpStatus :: Lens' DescribeDomainResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
describePackage_domainOwner :: Lens' DescribePackage (Maybe Text)
-- | The namespace of the requested package. The package component that
-- specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId. The
-- namespace is required when requesting Maven packages.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
describePackage_namespace :: Lens' DescribePackage (Maybe Text)
-- | The name of the domain that contains the repository that contains the
-- package.
describePackage_domain :: Lens' DescribePackage Text
-- | The name of the repository that contains the requested package.
describePackage_repository :: Lens' DescribePackage Text
-- | A format that specifies the type of the requested package.
describePackage_format :: Lens' DescribePackage PackageFormat
-- | The name of the requested package.
describePackage_package :: Lens' DescribePackage Text
-- | The response's http status code.
describePackageResponse_httpStatus :: Lens' DescribePackageResponse Int
-- | A PackageDescription object that contains information about the
-- requested package.
describePackageResponse_package :: Lens' DescribePackageResponse PackageDescription
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
describePackageVersion_domainOwner :: Lens' DescribePackageVersion (Maybe Text)
-- | The namespace of the requested package version. The package version
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
describePackageVersion_namespace :: Lens' DescribePackageVersion (Maybe Text)
-- | The name of the domain that contains the repository that contains the
-- package version.
describePackageVersion_domain :: Lens' DescribePackageVersion Text
-- | The name of the repository that contains the package version.
describePackageVersion_repository :: Lens' DescribePackageVersion Text
-- | A format that specifies the type of the requested package version.
describePackageVersion_format :: Lens' DescribePackageVersion PackageFormat
-- | The name of the requested package version.
describePackageVersion_package :: Lens' DescribePackageVersion Text
-- | A string that contains the package version (for example,
-- 3.5.2).
describePackageVersion_packageVersion :: Lens' DescribePackageVersion Text
-- | The response's http status code.
describePackageVersionResponse_httpStatus :: Lens' DescribePackageVersionResponse Int
-- | A PackageVersionDescription object that contains information
-- about the requested package version.
describePackageVersionResponse_packageVersion :: Lens' DescribePackageVersionResponse PackageVersionDescription
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
describeRepository_domainOwner :: Lens' DescribeRepository (Maybe Text)
-- | The name of the domain that contains the repository to describe.
describeRepository_domain :: Lens' DescribeRepository Text
-- | A string that specifies the name of the requested repository.
describeRepository_repository :: Lens' DescribeRepository Text
-- | A RepositoryDescription object that contains the requested
-- repository information.
describeRepositoryResponse_repository :: Lens' DescribeRepositoryResponse (Maybe RepositoryDescription)
-- | The response's http status code.
describeRepositoryResponse_httpStatus :: Lens' DescribeRepositoryResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
disassociateExternalConnection_domainOwner :: Lens' DisassociateExternalConnection (Maybe Text)
-- | The name of the domain that contains the repository from which to
-- remove the external repository.
disassociateExternalConnection_domain :: Lens' DisassociateExternalConnection Text
-- | The name of the repository from which the external connection will be
-- removed.
disassociateExternalConnection_repository :: Lens' DisassociateExternalConnection Text
-- | The name of the external connection to be removed from the repository.
disassociateExternalConnection_externalConnection :: Lens' DisassociateExternalConnection Text
-- | The repository associated with the removed external connection.
disassociateExternalConnectionResponse_repository :: Lens' DisassociateExternalConnectionResponse (Maybe RepositoryDescription)
-- | The response's http status code.
disassociateExternalConnectionResponse_httpStatus :: Lens' DisassociateExternalConnectionResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
disposePackageVersions_domainOwner :: Lens' DisposePackageVersions (Maybe Text)
-- | The expected status of the package version to dispose.
disposePackageVersions_expectedStatus :: Lens' DisposePackageVersions (Maybe PackageVersionStatus)
-- | The namespace of the package versions to be disposed. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
disposePackageVersions_namespace :: Lens' DisposePackageVersions (Maybe Text)
-- | The revisions of the package versions you want to dispose.
disposePackageVersions_versionRevisions :: Lens' DisposePackageVersions (Maybe (HashMap Text Text))
-- | The name of the domain that contains the repository you want to
-- dispose.
disposePackageVersions_domain :: Lens' DisposePackageVersions Text
-- | The name of the repository that contains the package versions you want
-- to dispose.
disposePackageVersions_repository :: Lens' DisposePackageVersions Text
-- | A format that specifies the type of package versions you want to
-- dispose.
disposePackageVersions_format :: Lens' DisposePackageVersions PackageFormat
-- | The name of the package with the versions you want to dispose.
disposePackageVersions_package :: Lens' DisposePackageVersions Text
-- | The versions of the package you want to dispose.
disposePackageVersions_versions :: Lens' DisposePackageVersions [Text]
-- | A PackageVersionError object that contains a map of errors
-- codes for the disposed package versions that failed. The possible
-- error codes are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
disposePackageVersionsResponse_failedVersions :: Lens' DisposePackageVersionsResponse (Maybe (HashMap Text PackageVersionError))
-- | A list of the package versions that were successfully disposed.
disposePackageVersionsResponse_successfulVersions :: Lens' DisposePackageVersionsResponse (Maybe (HashMap Text SuccessfulPackageVersionInfo))
-- | The response's http status code.
disposePackageVersionsResponse_httpStatus :: Lens' DisposePackageVersionsResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
getAuthorizationToken_domainOwner :: Lens' GetAuthorizationToken (Maybe Text)
-- | The time, in seconds, that the generated authorization token is valid.
-- Valid values are 0 and any number between 900 (15
-- minutes) and 43200 (12 hours). A value of 0 will set
-- the expiration of the authorization token to the same expiration of
-- the user's role's temporary credentials.
getAuthorizationToken_durationSeconds :: Lens' GetAuthorizationToken (Maybe Natural)
-- | The name of the domain that is in scope for the generated
-- authorization token.
getAuthorizationToken_domain :: Lens' GetAuthorizationToken Text
-- | The returned authentication token.
getAuthorizationTokenResponse_authorizationToken :: Lens' GetAuthorizationTokenResponse (Maybe Text)
-- | A timestamp that specifies the date and time the authorization token
-- expires.
getAuthorizationTokenResponse_expiration :: Lens' GetAuthorizationTokenResponse (Maybe UTCTime)
-- | The response's http status code.
getAuthorizationTokenResponse_httpStatus :: Lens' GetAuthorizationTokenResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
getDomainPermissionsPolicy_domainOwner :: Lens' GetDomainPermissionsPolicy (Maybe Text)
-- | The name of the domain to which the resource policy is attached.
getDomainPermissionsPolicy_domain :: Lens' GetDomainPermissionsPolicy Text
-- | The returned resource policy.
getDomainPermissionsPolicyResponse_policy :: Lens' GetDomainPermissionsPolicyResponse (Maybe ResourcePolicy)
-- | The response's http status code.
getDomainPermissionsPolicyResponse_httpStatus :: Lens' GetDomainPermissionsPolicyResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
getPackageVersionAsset_domainOwner :: Lens' GetPackageVersionAsset (Maybe Text)
-- | The namespace of the package version with the requested asset file.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
getPackageVersionAsset_namespace :: Lens' GetPackageVersionAsset (Maybe Text)
-- | The name of the package version revision that contains the requested
-- asset.
getPackageVersionAsset_packageVersionRevision :: Lens' GetPackageVersionAsset (Maybe Text)
-- | The name of the domain that contains the repository that contains the
-- package version with the requested asset.
getPackageVersionAsset_domain :: Lens' GetPackageVersionAsset Text
-- | The repository that contains the package version with the requested
-- asset.
getPackageVersionAsset_repository :: Lens' GetPackageVersionAsset Text
-- | A format that specifies the type of the package version with the
-- requested asset file.
getPackageVersionAsset_format :: Lens' GetPackageVersionAsset PackageFormat
-- | The name of the package that contains the requested asset.
getPackageVersionAsset_package :: Lens' GetPackageVersionAsset Text
-- | A string that contains the package version (for example,
-- 3.5.2).
getPackageVersionAsset_packageVersion :: Lens' GetPackageVersionAsset Text
-- | The name of the requested asset.
getPackageVersionAsset_asset :: Lens' GetPackageVersionAsset Text
-- | The name of the asset that is downloaded.
getPackageVersionAssetResponse_assetName :: Lens' GetPackageVersionAssetResponse (Maybe Text)
-- | A string that contains the package version (for example,
-- 3.5.2).
getPackageVersionAssetResponse_packageVersion :: Lens' GetPackageVersionAssetResponse (Maybe Text)
-- | The name of the package version revision that contains the downloaded
-- asset.
getPackageVersionAssetResponse_packageVersionRevision :: Lens' GetPackageVersionAssetResponse (Maybe Text)
-- | The response's http status code.
getPackageVersionAssetResponse_httpStatus :: Lens' GetPackageVersionAssetResponse Int
-- | The binary file, or asset, that is downloaded.
getPackageVersionAssetResponse_asset :: Lens' GetPackageVersionAssetResponse ResponseBody
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
getPackageVersionReadme_domainOwner :: Lens' GetPackageVersionReadme (Maybe Text)
-- | The namespace of the package version with the requested readme file.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
getPackageVersionReadme_namespace :: Lens' GetPackageVersionReadme (Maybe Text)
-- | The name of the domain that contains the repository that contains the
-- package version with the requested readme file.
getPackageVersionReadme_domain :: Lens' GetPackageVersionReadme Text
-- | The repository that contains the package with the requested readme
-- file.
getPackageVersionReadme_repository :: Lens' GetPackageVersionReadme Text
-- | A format that specifies the type of the package version with the
-- requested readme file.
getPackageVersionReadme_format :: Lens' GetPackageVersionReadme PackageFormat
-- | The name of the package version that contains the requested readme
-- file.
getPackageVersionReadme_package :: Lens' GetPackageVersionReadme Text
-- | A string that contains the package version (for example,
-- 3.5.2).
getPackageVersionReadme_packageVersion :: Lens' GetPackageVersionReadme Text
-- | The format of the package with the requested readme file.
getPackageVersionReadmeResponse_format :: Lens' GetPackageVersionReadmeResponse (Maybe PackageFormat)
-- | The namespace of the package version with the requested readme file.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
getPackageVersionReadmeResponse_namespace :: Lens' GetPackageVersionReadmeResponse (Maybe Text)
-- | The name of the package that contains the returned readme file.
getPackageVersionReadmeResponse_package :: Lens' GetPackageVersionReadmeResponse (Maybe Text)
-- | The text of the returned readme file.
getPackageVersionReadmeResponse_readme :: Lens' GetPackageVersionReadmeResponse (Maybe Text)
-- | The version of the package with the requested readme file.
getPackageVersionReadmeResponse_version :: Lens' GetPackageVersionReadmeResponse (Maybe Text)
-- | The current revision associated with the package version.
getPackageVersionReadmeResponse_versionRevision :: Lens' GetPackageVersionReadmeResponse (Maybe Text)
-- | The response's http status code.
getPackageVersionReadmeResponse_httpStatus :: Lens' GetPackageVersionReadmeResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain that contains the repository. It does not include
-- dashes or spaces.
getRepositoryEndpoint_domainOwner :: Lens' GetRepositoryEndpoint (Maybe Text)
-- | The name of the domain that contains the repository.
getRepositoryEndpoint_domain :: Lens' GetRepositoryEndpoint Text
-- | The name of the repository.
getRepositoryEndpoint_repository :: Lens' GetRepositoryEndpoint Text
-- | Returns which endpoint of a repository to return. A repository has one
-- endpoint for each package format.
getRepositoryEndpoint_format :: Lens' GetRepositoryEndpoint PackageFormat
-- | A string that specifies the URL of the returned endpoint.
getRepositoryEndpointResponse_repositoryEndpoint :: Lens' GetRepositoryEndpointResponse (Maybe Text)
-- | The response's http status code.
getRepositoryEndpointResponse_httpStatus :: Lens' GetRepositoryEndpointResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
getRepositoryPermissionsPolicy_domainOwner :: Lens' GetRepositoryPermissionsPolicy (Maybe Text)
-- | The name of the domain containing the repository whose associated
-- resource policy is to be retrieved.
getRepositoryPermissionsPolicy_domain :: Lens' GetRepositoryPermissionsPolicy Text
-- | The name of the repository whose associated resource policy is to be
-- retrieved.
getRepositoryPermissionsPolicy_repository :: Lens' GetRepositoryPermissionsPolicy Text
-- | The returned resource policy.
getRepositoryPermissionsPolicyResponse_policy :: Lens' GetRepositoryPermissionsPolicyResponse (Maybe ResourcePolicy)
-- | The response's http status code.
getRepositoryPermissionsPolicyResponse_httpStatus :: Lens' GetRepositoryPermissionsPolicyResponse Int
-- | The maximum number of results to return per page.
listDomains_maxResults :: Lens' ListDomains (Maybe Natural)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listDomains_nextToken :: Lens' ListDomains (Maybe Text)
-- | The returned list of DomainSummary objects.
listDomainsResponse_domains :: Lens' ListDomainsResponse (Maybe [DomainSummary])
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listDomainsResponse_nextToken :: Lens' ListDomainsResponse (Maybe Text)
-- | The response's http status code.
listDomainsResponse_httpStatus :: Lens' ListDomainsResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
listPackageVersionAssets_domainOwner :: Lens' ListPackageVersionAssets (Maybe Text)
-- | The maximum number of results to return per page.
listPackageVersionAssets_maxResults :: Lens' ListPackageVersionAssets (Maybe Natural)
-- | The namespace of the package version that contains the requested
-- package version assets. The package version component that specifies
-- its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
listPackageVersionAssets_namespace :: Lens' ListPackageVersionAssets (Maybe Text)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listPackageVersionAssets_nextToken :: Lens' ListPackageVersionAssets (Maybe Text)
-- | The name of the domain that contains the repository associated with
-- the package version assets.
listPackageVersionAssets_domain :: Lens' ListPackageVersionAssets Text
-- | The name of the repository that contains the package that contains the
-- requested package version assets.
listPackageVersionAssets_repository :: Lens' ListPackageVersionAssets Text
-- | The format of the package that contains the requested package version
-- assets.
listPackageVersionAssets_format :: Lens' ListPackageVersionAssets PackageFormat
-- | The name of the package that contains the requested package version
-- assets.
listPackageVersionAssets_package :: Lens' ListPackageVersionAssets Text
-- | A string that contains the package version (for example,
-- 3.5.2).
listPackageVersionAssets_packageVersion :: Lens' ListPackageVersionAssets Text
-- | The returned list of AssetSummary objects.
listPackageVersionAssetsResponse_assets :: Lens' ListPackageVersionAssetsResponse (Maybe [AssetSummary])
-- | The format of the package that contains the requested package version
-- assets.
listPackageVersionAssetsResponse_format :: Lens' ListPackageVersionAssetsResponse (Maybe PackageFormat)
-- | The namespace of the package version that contains the requested
-- package version assets. The package version component that specifies
-- its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
listPackageVersionAssetsResponse_namespace :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
-- | If there are additional results, this is the token for the next set of
-- results.
listPackageVersionAssetsResponse_nextToken :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
-- | The name of the package that contains the requested package version
-- assets.
listPackageVersionAssetsResponse_package :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
-- | The version of the package associated with the requested assets.
listPackageVersionAssetsResponse_version :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
-- | The current revision associated with the package version.
listPackageVersionAssetsResponse_versionRevision :: Lens' ListPackageVersionAssetsResponse (Maybe Text)
-- | The response's http status code.
listPackageVersionAssetsResponse_httpStatus :: Lens' ListPackageVersionAssetsResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
listPackageVersionDependencies_domainOwner :: Lens' ListPackageVersionDependencies (Maybe Text)
-- | The namespace of the package version with the requested dependencies.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
listPackageVersionDependencies_namespace :: Lens' ListPackageVersionDependencies (Maybe Text)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listPackageVersionDependencies_nextToken :: Lens' ListPackageVersionDependencies (Maybe Text)
-- | The name of the domain that contains the repository that contains the
-- requested package version dependencies.
listPackageVersionDependencies_domain :: Lens' ListPackageVersionDependencies Text
-- | The name of the repository that contains the requested package
-- version.
listPackageVersionDependencies_repository :: Lens' ListPackageVersionDependencies Text
-- | The format of the package with the requested dependencies.
listPackageVersionDependencies_format :: Lens' ListPackageVersionDependencies PackageFormat
-- | The name of the package versions' package.
listPackageVersionDependencies_package :: Lens' ListPackageVersionDependencies Text
-- | A string that contains the package version (for example,
-- 3.5.2).
listPackageVersionDependencies_packageVersion :: Lens' ListPackageVersionDependencies Text
-- | The returned list of PackageDependency objects.
listPackageVersionDependenciesResponse_dependencies :: Lens' ListPackageVersionDependenciesResponse (Maybe [PackageDependency])
-- | A format that specifies the type of the package that contains the
-- returned dependencies.
listPackageVersionDependenciesResponse_format :: Lens' ListPackageVersionDependenciesResponse (Maybe PackageFormat)
-- | The namespace of the package version that contains the returned
-- dependencies. The package version component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
listPackageVersionDependenciesResponse_namespace :: Lens' ListPackageVersionDependenciesResponse (Maybe Text)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listPackageVersionDependenciesResponse_nextToken :: Lens' ListPackageVersionDependenciesResponse (Maybe Text)
-- | The name of the package that contains the returned package versions
-- dependencies.
listPackageVersionDependenciesResponse_package :: Lens' ListPackageVersionDependenciesResponse (Maybe Text)
-- | The version of the package that is specified in the request.
listPackageVersionDependenciesResponse_version :: Lens' ListPackageVersionDependenciesResponse (Maybe Text)
-- | The current revision associated with the package version.
listPackageVersionDependenciesResponse_versionRevision :: Lens' ListPackageVersionDependenciesResponse (Maybe Text)
-- | The response's http status code.
listPackageVersionDependenciesResponse_httpStatus :: Lens' ListPackageVersionDependenciesResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
listPackageVersions_domainOwner :: Lens' ListPackageVersions (Maybe Text)
-- | The maximum number of results to return per page.
listPackageVersions_maxResults :: Lens' ListPackageVersions (Maybe Natural)
-- | The namespace of the package that contains the requested package
-- versions. The package component that specifies its namespace depends
-- on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
listPackageVersions_namespace :: Lens' ListPackageVersions (Maybe Text)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listPackageVersions_nextToken :: Lens' ListPackageVersions (Maybe Text)
-- | The originType used to filter package versions. Only package
-- versions with the provided originType will be returned.
listPackageVersions_originType :: Lens' ListPackageVersions (Maybe PackageVersionOriginType)
-- | How to sort the requested list of package versions.
listPackageVersions_sortBy :: Lens' ListPackageVersions (Maybe PackageVersionSortType)
-- | A string that filters the requested package versions by status.
listPackageVersions_status :: Lens' ListPackageVersions (Maybe PackageVersionStatus)
-- | The name of the domain that contains the repository that contains the
-- requested package versions.
listPackageVersions_domain :: Lens' ListPackageVersions Text
-- | The name of the repository that contains the requested package
-- versions.
listPackageVersions_repository :: Lens' ListPackageVersions Text
-- | The format of the returned package versions.
listPackageVersions_format :: Lens' ListPackageVersions PackageFormat
-- | The name of the package for which you want to request package
-- versions.
listPackageVersions_package :: Lens' ListPackageVersions Text
-- | The default package version to display. This depends on the package
-- format:
--
--
-- - For Maven and PyPI packages, it's the most recently published
-- package version.
-- - For npm packages, it's the version referenced by the
-- latest tag. If the latest tag is not set, it's the
-- most recently published package version.
--
listPackageVersionsResponse_defaultDisplayVersion :: Lens' ListPackageVersionsResponse (Maybe Text)
-- | A format of the package.
listPackageVersionsResponse_format :: Lens' ListPackageVersionsResponse (Maybe PackageFormat)
-- | The namespace of the package that contains the requested package
-- versions. The package component that specifies its namespace depends
-- on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
listPackageVersionsResponse_namespace :: Lens' ListPackageVersionsResponse (Maybe Text)
-- | If there are additional results, this is the token for the next set of
-- results.
listPackageVersionsResponse_nextToken :: Lens' ListPackageVersionsResponse (Maybe Text)
-- | The name of the package.
listPackageVersionsResponse_package :: Lens' ListPackageVersionsResponse (Maybe Text)
-- | The returned list of PackageVersionSummary objects.
listPackageVersionsResponse_versions :: Lens' ListPackageVersionsResponse (Maybe [PackageVersionSummary])
-- | The response's http status code.
listPackageVersionsResponse_httpStatus :: Lens' ListPackageVersionsResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
listPackages_domainOwner :: Lens' ListPackages (Maybe Text)
-- | The format used to filter requested packages. Only packages from the
-- provided format will be returned.
listPackages_format :: Lens' ListPackages (Maybe PackageFormat)
-- | The maximum number of results to return per page.
listPackages_maxResults :: Lens' ListPackages (Maybe Natural)
-- | The namespace used to filter requested packages. Only packages with
-- the provided namespace will be returned. The package component that
-- specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
listPackages_namespace :: Lens' ListPackages (Maybe Text)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listPackages_nextToken :: Lens' ListPackages (Maybe Text)
-- | A prefix used to filter requested packages. Only packages with names
-- that start with packagePrefix are returned.
listPackages_packagePrefix :: Lens' ListPackages (Maybe Text)
-- | The value of the Publish package origin control restriction
-- used to filter requested packages. Only packages with the provided
-- restriction are returned. For more information, see
-- PackageOriginRestrictions.
listPackages_publish :: Lens' ListPackages (Maybe AllowPublish)
-- | The value of the Upstream package origin control restriction
-- used to filter requested packages. Only packages with the provided
-- restriction are returned. For more information, see
-- PackageOriginRestrictions.
listPackages_upstream :: Lens' ListPackages (Maybe AllowUpstream)
-- | The name of the domain that contains the repository that contains the
-- requested packages.
listPackages_domain :: Lens' ListPackages Text
-- | The name of the repository that contains the requested packages.
listPackages_repository :: Lens' ListPackages Text
-- | If there are additional results, this is the token for the next set of
-- results.
listPackagesResponse_nextToken :: Lens' ListPackagesResponse (Maybe Text)
-- | The list of returned PackageSummary objects.
listPackagesResponse_packages :: Lens' ListPackagesResponse (Maybe [PackageSummary])
-- | The response's http status code.
listPackagesResponse_httpStatus :: Lens' ListPackagesResponse Int
-- | The maximum number of results to return per page.
listRepositories_maxResults :: Lens' ListRepositories (Maybe Natural)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listRepositories_nextToken :: Lens' ListRepositories (Maybe Text)
-- | A prefix used to filter returned repositories. Only repositories with
-- names that start with repositoryPrefix are returned.
listRepositories_repositoryPrefix :: Lens' ListRepositories (Maybe Text)
-- | If there are additional results, this is the token for the next set of
-- results.
listRepositoriesResponse_nextToken :: Lens' ListRepositoriesResponse (Maybe Text)
-- | The returned list of RepositorySummary objects.
listRepositoriesResponse_repositories :: Lens' ListRepositoriesResponse (Maybe [RepositorySummary])
-- | The response's http status code.
listRepositoriesResponse_httpStatus :: Lens' ListRepositoriesResponse Int
-- | Filter the list of repositories to only include those that are managed
-- by the Amazon Web Services account ID.
listRepositoriesInDomain_administratorAccount :: Lens' ListRepositoriesInDomain (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
listRepositoriesInDomain_domainOwner :: Lens' ListRepositoriesInDomain (Maybe Text)
-- | The maximum number of results to return per page.
listRepositoriesInDomain_maxResults :: Lens' ListRepositoriesInDomain (Maybe Natural)
-- | The token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
listRepositoriesInDomain_nextToken :: Lens' ListRepositoriesInDomain (Maybe Text)
-- | A prefix used to filter returned repositories. Only repositories with
-- names that start with repositoryPrefix are returned.
listRepositoriesInDomain_repositoryPrefix :: Lens' ListRepositoriesInDomain (Maybe Text)
-- | The name of the domain that contains the returned list of
-- repositories.
listRepositoriesInDomain_domain :: Lens' ListRepositoriesInDomain Text
-- | If there are additional results, this is the token for the next set of
-- results.
listRepositoriesInDomainResponse_nextToken :: Lens' ListRepositoriesInDomainResponse (Maybe Text)
-- | The returned list of repositories.
listRepositoriesInDomainResponse_repositories :: Lens' ListRepositoriesInDomainResponse (Maybe [RepositorySummary])
-- | The response's http status code.
listRepositoriesInDomainResponse_httpStatus :: Lens' ListRepositoriesInDomainResponse Int
-- | The Amazon Resource Name (ARN) of the resource to get tags for.
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
-- | A list of tag key and value pairs associated with the specified
-- resource.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
putDomainPermissionsPolicy_domainOwner :: Lens' PutDomainPermissionsPolicy (Maybe Text)
-- | The current revision of the resource policy to be set. This revision
-- is used for optimistic locking, which prevents others from overwriting
-- your changes to the domain's resource policy.
putDomainPermissionsPolicy_policyRevision :: Lens' PutDomainPermissionsPolicy (Maybe Text)
-- | The name of the domain on which to set the resource policy.
putDomainPermissionsPolicy_domain :: Lens' PutDomainPermissionsPolicy Text
-- | A valid displayable JSON Aspen policy string to be set as the access
-- control resource policy on the provided domain.
putDomainPermissionsPolicy_policyDocument :: Lens' PutDomainPermissionsPolicy Text
-- | The resource policy that was set after processing the request.
putDomainPermissionsPolicyResponse_policy :: Lens' PutDomainPermissionsPolicyResponse (Maybe ResourcePolicy)
-- | The response's http status code.
putDomainPermissionsPolicyResponse_httpStatus :: Lens' PutDomainPermissionsPolicyResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
putPackageOriginConfiguration_domainOwner :: Lens' PutPackageOriginConfiguration (Maybe Text)
-- | The namespace of the package to be updated. The package component that
-- specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
putPackageOriginConfiguration_namespace :: Lens' PutPackageOriginConfiguration (Maybe Text)
-- | The name of the domain that contains the repository that contains the
-- package.
putPackageOriginConfiguration_domain :: Lens' PutPackageOriginConfiguration Text
-- | The name of the repository that contains the package.
putPackageOriginConfiguration_repository :: Lens' PutPackageOriginConfiguration Text
-- | A format that specifies the type of the package to be updated.
putPackageOriginConfiguration_format :: Lens' PutPackageOriginConfiguration PackageFormat
-- | The name of the package to be updated.
putPackageOriginConfiguration_package :: Lens' PutPackageOriginConfiguration Text
-- | A PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin
-- restrictions. The upstream restriction determines if new
-- package versions can be ingested or retained from external connections
-- or upstream repositories. The publish restriction determines
-- if new package versions can be published directly to the repository.
--
-- You must include both the desired upstream and
-- publish restrictions.
putPackageOriginConfiguration_restrictions :: Lens' PutPackageOriginConfiguration PackageOriginRestrictions
-- | A PackageOriginConfiguration object that describes the origin
-- configuration set for the package. It contains a
-- PackageOriginRestrictions object that describes how new
-- versions of the package can be introduced to the repository.
putPackageOriginConfigurationResponse_originConfiguration :: Lens' PutPackageOriginConfigurationResponse (Maybe PackageOriginConfiguration)
-- | The response's http status code.
putPackageOriginConfigurationResponse_httpStatus :: Lens' PutPackageOriginConfigurationResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
putRepositoryPermissionsPolicy_domainOwner :: Lens' PutRepositoryPermissionsPolicy (Maybe Text)
-- | Sets the revision of the resource policy that specifies permissions to
-- access the repository. This revision is used for optimistic locking,
-- which prevents others from overwriting your changes to the
-- repository's resource policy.
putRepositoryPermissionsPolicy_policyRevision :: Lens' PutRepositoryPermissionsPolicy (Maybe Text)
-- | The name of the domain containing the repository to set the resource
-- policy on.
putRepositoryPermissionsPolicy_domain :: Lens' PutRepositoryPermissionsPolicy Text
-- | The name of the repository to set the resource policy on.
putRepositoryPermissionsPolicy_repository :: Lens' PutRepositoryPermissionsPolicy Text
-- | A valid displayable JSON Aspen policy string to be set as the access
-- control resource policy on the provided repository.
putRepositoryPermissionsPolicy_policyDocument :: Lens' PutRepositoryPermissionsPolicy Text
-- | The resource policy that was set after processing the request.
putRepositoryPermissionsPolicyResponse_policy :: Lens' PutRepositoryPermissionsPolicyResponse (Maybe ResourcePolicy)
-- | The response's http status code.
putRepositoryPermissionsPolicyResponse_httpStatus :: Lens' PutRepositoryPermissionsPolicyResponse Int
-- | The Amazon Resource Name (ARN) of the resource that you want to add or
-- update tags for.
tagResource_resourceArn :: Lens' TagResource Text
-- | The tags you want to modify or add to the resource.
tagResource_tags :: Lens' TagResource [Tag]
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
-- | The Amazon Resource Name (ARN) of the resource that you want to remove
-- tags from.
untagResource_resourceArn :: Lens' UntagResource Text
-- | The tag key for each tag that you want to remove from the resource.
untagResource_tagKeys :: Lens' UntagResource [Text]
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
updatePackageVersionsStatus_domainOwner :: Lens' UpdatePackageVersionsStatus (Maybe Text)
-- | The package version’s expected status before it is updated. If
-- expectedStatus is provided, the package version's status is
-- updated only if its status at the time
-- UpdatePackageVersionsStatus is called matches
-- expectedStatus.
updatePackageVersionsStatus_expectedStatus :: Lens' UpdatePackageVersionsStatus (Maybe PackageVersionStatus)
-- | The namespace of the package version to be updated. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
updatePackageVersionsStatus_namespace :: Lens' UpdatePackageVersionsStatus (Maybe Text)
-- | A map of package versions and package version revisions. The map
-- key is the package version (for example, 3.5.2), and
-- the map value is the package version revision.
updatePackageVersionsStatus_versionRevisions :: Lens' UpdatePackageVersionsStatus (Maybe (HashMap Text Text))
-- | The name of the domain that contains the repository that contains the
-- package versions with a status to be updated.
updatePackageVersionsStatus_domain :: Lens' UpdatePackageVersionsStatus Text
-- | The repository that contains the package versions with the status you
-- want to update.
updatePackageVersionsStatus_repository :: Lens' UpdatePackageVersionsStatus Text
-- | A format that specifies the type of the package with the statuses to
-- update.
updatePackageVersionsStatus_format :: Lens' UpdatePackageVersionsStatus PackageFormat
-- | The name of the package with the version statuses to update.
updatePackageVersionsStatus_package :: Lens' UpdatePackageVersionsStatus Text
-- | An array of strings that specify the versions of the package with the
-- statuses to update.
updatePackageVersionsStatus_versions :: Lens' UpdatePackageVersionsStatus [Text]
-- | The status you want to change the package version status to.
updatePackageVersionsStatus_targetStatus :: Lens' UpdatePackageVersionsStatus PackageVersionStatus
-- | A list of SuccessfulPackageVersionInfo objects, one for each
-- package version with a status that successfully updated.
updatePackageVersionsStatusResponse_failedVersions :: Lens' UpdatePackageVersionsStatusResponse (Maybe (HashMap Text PackageVersionError))
-- | A list of PackageVersionError objects, one for each package
-- version with a status that failed to update.
updatePackageVersionsStatusResponse_successfulVersions :: Lens' UpdatePackageVersionsStatusResponse (Maybe (HashMap Text SuccessfulPackageVersionInfo))
-- | The response's http status code.
updatePackageVersionsStatusResponse_httpStatus :: Lens' UpdatePackageVersionsStatusResponse Int
-- | An updated repository description.
updateRepository_description :: Lens' UpdateRepository (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
updateRepository_domainOwner :: Lens' UpdateRepository (Maybe Text)
-- | A list of upstream repositories to associate with the repository. The
-- order of the upstream repositories in the list determines their
-- priority order when CodeArtifact looks for a requested package
-- version. For more information, see Working with upstream
-- repositories.
updateRepository_upstreams :: Lens' UpdateRepository (Maybe [UpstreamRepository])
-- | The name of the domain associated with the repository to update.
updateRepository_domain :: Lens' UpdateRepository Text
-- | The name of the repository to update.
updateRepository_repository :: Lens' UpdateRepository Text
-- | The updated repository.
updateRepositoryResponse_repository :: Lens' UpdateRepositoryResponse (Maybe RepositoryDescription)
-- | The response's http status code.
updateRepositoryResponse_httpStatus :: Lens' UpdateRepositoryResponse Int
-- | The hashes of the asset.
assetSummary_hashes :: Lens' AssetSummary (Maybe (HashMap HashAlgorithm Text))
-- | The size of the asset.
assetSummary_size :: Lens' AssetSummary (Maybe Integer)
-- | The name of the asset.
assetSummary_name :: Lens' AssetSummary Text
-- | The Amazon Resource Name (ARN) of the domain.
domainDescription_arn :: Lens' DomainDescription (Maybe Text)
-- | The total size of all assets in the domain.
domainDescription_assetSizeBytes :: Lens' DomainDescription (Maybe Integer)
-- | A timestamp that represents the date and time the domain was created.
domainDescription_createdTime :: Lens' DomainDescription (Maybe UTCTime)
-- | The ARN of an Key Management Service (KMS) key associated with a
-- domain.
domainDescription_encryptionKey :: Lens' DomainDescription (Maybe Text)
-- | The name of the domain.
domainDescription_name :: Lens' DomainDescription (Maybe Text)
-- | The Amazon Web Services account ID that owns the domain.
domainDescription_owner :: Lens' DomainDescription (Maybe Text)
-- | The number of repositories in the domain.
domainDescription_repositoryCount :: Lens' DomainDescription (Maybe Int)
-- | The Amazon Resource Name (ARN) of the Amazon S3 bucket that is used to
-- store package assets in the domain.
domainDescription_s3BucketArn :: Lens' DomainDescription (Maybe Text)
-- | The current status of a domain.
domainDescription_status :: Lens' DomainDescription (Maybe DomainStatus)
-- | The name of the external connection that a package was ingested from.
domainEntryPoint_externalConnectionName :: Lens' DomainEntryPoint (Maybe Text)
-- | The name of the repository that a package was originally published to.
domainEntryPoint_repositoryName :: Lens' DomainEntryPoint (Maybe Text)
-- | The ARN of the domain.
domainSummary_arn :: Lens' DomainSummary (Maybe Text)
-- | A timestamp that contains the date and time the domain was created.
domainSummary_createdTime :: Lens' DomainSummary (Maybe UTCTime)
-- | The key used to encrypt the domain.
domainSummary_encryptionKey :: Lens' DomainSummary (Maybe Text)
-- | The name of the domain.
domainSummary_name :: Lens' DomainSummary (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
domainSummary_owner :: Lens' DomainSummary (Maybe Text)
-- | A string that contains the status of the domain.
domainSummary_status :: Lens' DomainSummary (Maybe DomainStatus)
-- | Name of the license.
licenseInfo_name :: Lens' LicenseInfo (Maybe Text)
-- | The URL for license data.
licenseInfo_url :: Lens' LicenseInfo (Maybe Text)
-- | The type of a package dependency. The possible values depend on the
-- package type. Example types are compile, runtime,
-- and test for Maven packages, and dev, prod,
-- and optional for npm packages.
packageDependency_dependencyType :: Lens' PackageDependency (Maybe Text)
-- | The namespace of the package that this package depends on. The package
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
packageDependency_namespace :: Lens' PackageDependency (Maybe Text)
-- | The name of the package that this package depends on.
packageDependency_package :: Lens' PackageDependency (Maybe Text)
-- | The required version, or version range, of the package that this
-- package depends on. The version format is specific to the package
-- type. For example, the following are possible valid required versions:
-- 1.2.3, ^2.3.4, or 4.x.
packageDependency_versionRequirement :: Lens' PackageDependency (Maybe Text)
-- | A format that specifies the type of the package.
packageDescription_format :: Lens' PackageDescription (Maybe PackageFormat)
-- | The name of the package.
packageDescription_name :: Lens' PackageDescription (Maybe Text)
-- | The namespace of the package. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
packageDescription_namespace :: Lens' PackageDescription (Maybe Text)
-- | The package origin configuration for the package.
packageDescription_originConfiguration :: Lens' PackageDescription (Maybe PackageOriginConfiguration)
-- | A PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin configuration for the
-- package.
packageOriginConfiguration_restrictions :: Lens' PackageOriginConfiguration (Maybe PackageOriginRestrictions)
-- | The package origin configuration that determines if new versions of
-- the package can be published directly to the repository.
packageOriginRestrictions_publish :: Lens' PackageOriginRestrictions AllowPublish
-- | The package origin configuration that determines if new versions of
-- the package can be added to the repository from an external connection
-- or upstream source.
packageOriginRestrictions_upstream :: Lens' PackageOriginRestrictions AllowUpstream
-- | The format of the package.
packageSummary_format :: Lens' PackageSummary (Maybe PackageFormat)
-- | The namespace of the package. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
packageSummary_namespace :: Lens' PackageSummary (Maybe Text)
-- | A PackageOriginConfiguration object that contains a
-- PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin restrictions.
packageSummary_originConfiguration :: Lens' PackageSummary (Maybe PackageOriginConfiguration)
-- | The name of the package.
packageSummary_package :: Lens' PackageSummary (Maybe Text)
-- | The name of the package that is displayed. The displayName
-- varies depending on the package version's format. For example, if an
-- npm package is named ui, is in the namespace vue,
-- and has the format npm, then the displayName is
-- @vue/ui.
packageVersionDescription_displayName :: Lens' PackageVersionDescription (Maybe Text)
-- | The format of the package version.
packageVersionDescription_format :: Lens' PackageVersionDescription (Maybe PackageFormat)
-- | The homepage associated with the package.
packageVersionDescription_homePage :: Lens' PackageVersionDescription (Maybe Text)
-- | Information about licenses associated with the package version.
packageVersionDescription_licenses :: Lens' PackageVersionDescription (Maybe [LicenseInfo])
-- | The namespace of the package version. The package version component
-- that specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
packageVersionDescription_namespace :: Lens' PackageVersionDescription (Maybe Text)
-- | A PackageVersionOrigin object that contains information about
-- how the package version was added to the repository.
packageVersionDescription_origin :: Lens' PackageVersionDescription (Maybe PackageVersionOrigin)
-- | The name of the requested package.
packageVersionDescription_packageName :: Lens' PackageVersionDescription (Maybe Text)
-- | A timestamp that contains the date and time the package version was
-- published.
packageVersionDescription_publishedTime :: Lens' PackageVersionDescription (Maybe UTCTime)
-- | The revision of the package version.
packageVersionDescription_revision :: Lens' PackageVersionDescription (Maybe Text)
-- | The repository for the source code in the package version, or the
-- source code used to build it.
packageVersionDescription_sourceCodeRepository :: Lens' PackageVersionDescription (Maybe Text)
-- | A string that contains the status of the package version.
packageVersionDescription_status :: Lens' PackageVersionDescription (Maybe PackageVersionStatus)
-- | A summary of the package version. The summary is extracted from the
-- package. The information in and detail level of the summary depends on
-- the package version's format.
packageVersionDescription_summary :: Lens' PackageVersionDescription (Maybe Text)
-- | The version of the package.
packageVersionDescription_version :: Lens' PackageVersionDescription (Maybe Text)
-- | The error code associated with the error. Valid error codes are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
packageVersionError_errorCode :: Lens' PackageVersionError (Maybe PackageVersionErrorCode)
-- | The error message associated with the error.
packageVersionError_errorMessage :: Lens' PackageVersionError (Maybe Text)
-- | A DomainEntryPoint object that contains information about from
-- which repository or external connection the package version was added
-- to the domain.
packageVersionOrigin_domainEntryPoint :: Lens' PackageVersionOrigin (Maybe DomainEntryPoint)
-- | Describes how the package version was originally added to the domain.
-- An INTERNAL origin type means the package version was
-- published directly to a repository in the domain. An EXTERNAL
-- origin type means the package version was ingested from an external
-- connection.
packageVersionOrigin_originType :: Lens' PackageVersionOrigin (Maybe PackageVersionOriginType)
-- | A PackageVersionOrigin object that contains information about
-- how the package version was added to the repository.
packageVersionSummary_origin :: Lens' PackageVersionSummary (Maybe PackageVersionOrigin)
-- | The revision associated with a package version.
packageVersionSummary_revision :: Lens' PackageVersionSummary (Maybe Text)
-- | Information about a package version.
packageVersionSummary_version :: Lens' PackageVersionSummary Text
-- | A string that contains the status of the package version. It can be
-- one of the following:
packageVersionSummary_status :: Lens' PackageVersionSummary PackageVersionStatus
-- | The 12-digit account number of the Amazon Web Services account that
-- manages the repository.
repositoryDescription_administratorAccount :: Lens' RepositoryDescription (Maybe Text)
-- | The Amazon Resource Name (ARN) of the repository.
repositoryDescription_arn :: Lens' RepositoryDescription (Maybe Text)
-- | A text description of the repository.
repositoryDescription_description :: Lens' RepositoryDescription (Maybe Text)
-- | The name of the domain that contains the repository.
repositoryDescription_domainName :: Lens' RepositoryDescription (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain that contains the repository. It does not include
-- dashes or spaces.
repositoryDescription_domainOwner :: Lens' RepositoryDescription (Maybe Text)
-- | An array of external connections associated with the repository.
repositoryDescription_externalConnections :: Lens' RepositoryDescription (Maybe [RepositoryExternalConnectionInfo])
-- | The name of the repository.
repositoryDescription_name :: Lens' RepositoryDescription (Maybe Text)
-- | A list of upstream repositories to associate with the repository. The
-- order of the upstream repositories in the list determines their
-- priority order when CodeArtifact looks for a requested package
-- version. For more information, see Working with upstream
-- repositories.
repositoryDescription_upstreams :: Lens' RepositoryDescription (Maybe [UpstreamRepositoryInfo])
-- | The name of the external connection associated with a repository.
repositoryExternalConnectionInfo_externalConnectionName :: Lens' RepositoryExternalConnectionInfo (Maybe Text)
-- | The package format associated with a repository's external connection.
-- The valid package formats are:
--
--
-- - npm: A Node Package Manager (npm) package.
-- - pypi: A Python Package Index (PyPI) package.
-- - maven: A Maven package that contains compiled code in a
-- distributable format, such as a JAR file.
-- - nuget: A NuGet package.
--
repositoryExternalConnectionInfo_packageFormat :: Lens' RepositoryExternalConnectionInfo (Maybe PackageFormat)
-- | The status of the external connection of a repository. There is one
-- valid value, Available.
repositoryExternalConnectionInfo_status :: Lens' RepositoryExternalConnectionInfo (Maybe ExternalConnectionStatus)
-- | The Amazon Web Services account ID that manages the repository.
repositorySummary_administratorAccount :: Lens' RepositorySummary (Maybe Text)
-- | The ARN of the repository.
repositorySummary_arn :: Lens' RepositorySummary (Maybe Text)
-- | The description of the repository.
repositorySummary_description :: Lens' RepositorySummary (Maybe Text)
-- | The name of the domain that contains the repository.
repositorySummary_domainName :: Lens' RepositorySummary (Maybe Text)
-- | The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
repositorySummary_domainOwner :: Lens' RepositorySummary (Maybe Text)
-- | The name of the repository.
repositorySummary_name :: Lens' RepositorySummary (Maybe Text)
-- | The resource policy formatted in JSON.
resourcePolicy_document :: Lens' ResourcePolicy (Maybe Text)
-- | The ARN of the resource associated with the resource policy
resourcePolicy_resourceArn :: Lens' ResourcePolicy (Maybe Text)
-- | The current revision of the resource policy.
resourcePolicy_revision :: Lens' ResourcePolicy (Maybe Text)
-- | The revision of a package version.
successfulPackageVersionInfo_revision :: Lens' SuccessfulPackageVersionInfo (Maybe Text)
-- | The status of a package version.
successfulPackageVersionInfo_status :: Lens' SuccessfulPackageVersionInfo (Maybe PackageVersionStatus)
-- | The tag key.
tag_key :: Lens' Tag Text
-- | The tag value.
tag_value :: Lens' Tag Text
-- | The name of an upstream repository.
upstreamRepository_repositoryName :: Lens' UpstreamRepository Text
-- | The name of an upstream repository.
upstreamRepositoryInfo_repositoryName :: Lens' UpstreamRepositoryInfo (Maybe Text)
module Amazonka.CodeArtifact.Waiters
-- | Derived from API version 2018-09-22 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- CodeArtifact is a fully managed artifact repository compatible with
-- language-native package managers and build tools such as npm, Apache
-- Maven, pip, and dotnet. You can use CodeArtifact to share packages
-- with development teams and pull packages. Packages can be pulled from
-- both public and CodeArtifact repositories. You can also create an
-- upstream relationship between a CodeArtifact repository and another
-- repository, which effectively merges their contents from the point of
-- view of a package manager client.
--
-- CodeArtifact Components
--
-- Use the information in this guide to help you work with the following
-- CodeArtifact components:
--
--
-- - Repository: A CodeArtifact repository contains a set of
-- package versions, each of which maps to a set of assets, or
-- files. Repositories are polyglot, so a single repository can contain
-- packages of any supported type. Each repository exposes endpoints for
-- fetching and publishing packages using tools like the
-- npm CLI, the Maven CLI ( mvn ), Python
-- CLIs ( pip and twine), and NuGet CLIs
-- (nuget and dotnet).
-- - Domain: Repositories are aggregated into a higher-level
-- entity known as a domain. All package assets and metadata are
-- stored in the domain, but are consumed through repositories. A given
-- package asset, such as a Maven JAR file, is stored once per domain, no
-- matter how many repositories it's present in. All of the assets and
-- metadata in a domain are encrypted with the same customer master key
-- (CMK) stored in Key Management Service (KMS).Each repository is a
-- member of a single domain and can't be moved to a different domain.The
-- domain allows organizational policy to be applied across multiple
-- repositories, such as which accounts can access repositories in the
-- domain, and which public repositories can be used as sources of
-- packages.Although an organization can have multiple domains, we
-- recommend a single production domain that contains all published
-- artifacts so that teams can find and share packages across their
-- organization.
-- - Package: A package is a bundle of software and the
-- metadata required to resolve dependencies and install the software.
-- CodeArtifact supports npm, PyPI, Maven, and
-- NuGet package formats.In CodeArtifact, a package consists
-- of:
- A name (for example, webpack is the name of
-- a popular npm package)
- An optional namespace (for example,
-- @types in @types/node)
- A set of versions
-- (for example, 1.0.0, 1.0.1, 1.0.2,
-- etc.)
- Package-level metadata (for example, npm
-- tags)
-- - Package version: A version of a package, such as
-- @types/node 12.6.9. The version number format and semantics
-- vary for different package formats. For example, npm package versions
-- must conform to the Semantic Versioning specification. In
-- CodeArtifact, a package version consists of the version identifier,
-- metadata at the package version level, and a set of assets.
-- - Upstream repository: One repository is upstream of
-- another when the package versions in it can be accessed from the
-- repository endpoint of the downstream repository, effectively merging
-- the contents of the two repositories from the point of view of a
-- client. CodeArtifact allows creating an upstream relationship between
-- two repositories.
-- - Asset: An individual file stored in CodeArtifact associated
-- with a package version, such as an npm .tgz file or Maven POM
-- and JAR files.
--
--
-- CodeArtifact supports these operations:
--
--
-- - AssociateExternalConnection: Adds an existing external
-- connection to a repository.
-- - CopyPackageVersions: Copies package versions from one
-- repository to another repository in the same domain.
-- - CreateDomain: Creates a domain
-- - CreateRepository: Creates a CodeArtifact repository in a
-- domain.
-- - DeleteDomain: Deletes a domain. You cannot delete a
-- domain that contains repositories.
-- - DeleteDomainPermissionsPolicy: Deletes the resource
-- policy that is set on a domain.
-- - DeletePackageVersions: Deletes versions of a package.
-- After a package has been deleted, it can be republished, but its
-- assets and metadata cannot be restored because they have been
-- permanently removed from storage.
-- - DeleteRepository: Deletes a repository.
-- - DeleteRepositoryPermissionsPolicy: Deletes the resource
-- policy that is set on a repository.
-- - DescribeDomain: Returns a DomainDescription
-- object that contains information about the requested domain.
-- - DescribePackage: Returns a PackageDescription
-- object that contains details about a package.
-- - DescribePackageVersion: Returns a
-- PackageVersionDescription object that contains details about a
-- package version.
-- - DescribeRepository: Returns a
-- RepositoryDescription object that contains detailed
-- information about the requested repository.
-- - DisposePackageVersions: Disposes versions of a package. A
-- package version with the status Disposed cannot be restored
-- because they have been permanently removed from storage.
-- - DisassociateExternalConnection: Removes an existing
-- external connection from a repository.
-- - GetAuthorizationToken: Generates a temporary
-- authorization token for accessing repositories in the domain. The
-- token expires the authorization period has passed. The default
-- authorization period is 12 hours and can be customized to any length
-- with a maximum of 12 hours.
-- - GetDomainPermissionsPolicy: Returns the policy of a
-- resource that is attached to the specified domain.
-- - GetPackageVersionAsset: Returns the contents of an asset
-- that is in a package version.
-- - GetPackageVersionReadme: Gets the readme file or
-- descriptive text for a package version.
-- - GetRepositoryEndpoint: Returns the endpoint of a
-- repository for a specific package format. A repository has one
-- endpoint for each package
-- format:
-- - GetRepositoryPermissionsPolicy: Returns the resource
-- policy that is set on a repository.
-- - ListDomains: Returns a list of DomainSummary
-- objects. Each returned DomainSummary object contains
-- information about a domain.
-- - ListPackages: Lists the packages in a repository.
-- - ListPackageVersionAssets: Lists the assets for a given
-- package version.
-- - ListPackageVersionDependencies: Returns a list of the
-- direct dependencies for a package version.
-- - ListPackageVersions: Returns a list of package versions
-- for a specified package in a repository.
-- - ListRepositories: Returns a list of repositories owned by
-- the Amazon Web Services account that called this method.
-- - ListRepositoriesInDomain: Returns a list of the
-- repositories in a domain.
-- - PutDomainPermissionsPolicy: Attaches a resource policy to
-- a domain.
-- - PutPackageOriginConfiguration: Sets the package origin
-- configuration for a package, which determine how new versions of the
-- package can be added to a specific repository.
-- - PutRepositoryPermissionsPolicy: Sets the resource policy
-- on a repository that specifies permissions to access it.
-- - UpdatePackageVersionsStatus: Updates the status of one or
-- more versions of a package.
-- - UpdateRepository: Updates the properties of a
-- repository.
--
module Amazonka.CodeArtifact
-- | API version 2018-09-22 of the Amazon CodeArtifact SDK
-- configuration.
defaultService :: Service
-- | The operation did not succeed because of an unauthorized access
-- attempt.
_AccessDeniedException :: AsError a => Fold a ServiceError
-- | The operation did not succeed because prerequisites are not met.
_ConflictException :: AsError a => Fold a ServiceError
-- | The operation did not succeed because of an error that occurred inside
-- CodeArtifact.
_InternalServerException :: AsError a => Fold a ServiceError
-- | The operation did not succeed because the resource requested is not
-- found in the service.
_ResourceNotFoundException :: AsError a => Fold a ServiceError
-- | The operation did not succeed because it would have exceeded a service
-- limit for your account.
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError
-- | The operation did not succeed because too many requests are sent to
-- the service.
_ThrottlingException :: AsError a => Fold a ServiceError
-- | The operation did not succeed because a parameter in the request was
-- sent with an invalid value.
_ValidationException :: AsError a => Fold a ServiceError
-- | See: newAssociateExternalConnection smart constructor.
data AssociateExternalConnection
AssociateExternalConnection' :: Maybe Text -> Text -> Text -> Text -> AssociateExternalConnection
-- | Create a value of AssociateExternalConnection 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:
--
-- AssociateExternalConnection,
-- associateExternalConnection_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:domain:AssociateExternalConnection',
-- associateExternalConnection_domain - The name of the domain
-- that contains the repository.
--
-- AssociateExternalConnection,
-- associateExternalConnection_repository - The name of the
-- repository to which the external connection is added.
--
-- $sel:externalConnection:AssociateExternalConnection',
-- associateExternalConnection_externalConnection - The name of
-- the external connection to add to the repository. The following values
-- are supported:
--
--
-- - public:npmjs - for the npm public repository.
-- - public:pypi - for the Python Package Index.
-- - public:maven-central - for Maven Central.
-- - public:maven-googleandroid - for the Google Android
-- repository.
-- - public:maven-gradleplugins - for the Gradle plugins
-- repository.
-- - public:maven-commonsware - for the CommonsWare Android
-- repository.
--
newAssociateExternalConnection :: Text -> Text -> Text -> AssociateExternalConnection
-- | See: newAssociateExternalConnectionResponse smart
-- constructor.
data AssociateExternalConnectionResponse
AssociateExternalConnectionResponse' :: Maybe RepositoryDescription -> Int -> AssociateExternalConnectionResponse
-- | Create a value of AssociateExternalConnectionResponse 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:
--
-- AssociateExternalConnection,
-- associateExternalConnectionResponse_repository - Information
-- about the connected repository after processing the request.
--
-- $sel:httpStatus:AssociateExternalConnectionResponse',
-- associateExternalConnectionResponse_httpStatus - The response's
-- http status code.
newAssociateExternalConnectionResponse :: Int -> AssociateExternalConnectionResponse
-- | See: newCopyPackageVersions smart constructor.
data CopyPackageVersions
CopyPackageVersions' :: Maybe Bool -> Maybe Text -> Maybe Bool -> Maybe Text -> Maybe (HashMap Text Text) -> Maybe [Text] -> Text -> Text -> Text -> PackageFormat -> Text -> CopyPackageVersions
-- | Create a value of CopyPackageVersions 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:allowOverwrite:CopyPackageVersions',
-- copyPackageVersions_allowOverwrite - Set to true to overwrite a
-- package version that already exists in the destination repository. If
-- set to false and the package version already exists in the destination
-- repository, the package version is returned in the
-- failedVersions field of the response with an
-- ALREADY_EXISTS error code.
--
-- CopyPackageVersions, copyPackageVersions_domainOwner -
-- The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
--
-- $sel:includeFromUpstream:CopyPackageVersions',
-- copyPackageVersions_includeFromUpstream - Set to true to copy
-- packages from repositories that are upstream from the source
-- repository to the destination repository. The default setting is
-- false. For more information, see Working with upstream
-- repositories.
--
-- CopyPackageVersions, copyPackageVersions_namespace - The
-- namespace of the package versions to be copied. The package version
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package version is its groupId.
-- The namespace is required when copying Maven package versions.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:versionRevisions:CopyPackageVersions',
-- copyPackageVersions_versionRevisions - A list of key-value
-- pairs. The keys are package versions and the values are package
-- version revisions. A CopyPackageVersion operation succeeds if
-- the specified versions in the source repository match the specified
-- package version revision.
--
-- You must specify versions or versionRevisions. You
-- cannot specify both.
--
-- $sel:versions:CopyPackageVersions',
-- copyPackageVersions_versions - The versions of the package to
-- be copied.
--
-- You must specify versions or versionRevisions. You
-- cannot specify both.
--
-- $sel:domain:CopyPackageVersions',
-- copyPackageVersions_domain - The name of the domain that
-- contains the source and destination repositories.
--
-- $sel:sourceRepository:CopyPackageVersions',
-- copyPackageVersions_sourceRepository - The name of the
-- repository that contains the package versions to be copied.
--
-- $sel:destinationRepository:CopyPackageVersions',
-- copyPackageVersions_destinationRepository - The name of the
-- repository into which package versions are copied.
--
-- CopyPackageVersions, copyPackageVersions_format - The
-- format of the package versions to be copied.
--
-- CopyPackageVersions, copyPackageVersions_package - The
-- name of the package that contains the versions to be copied.
newCopyPackageVersions :: Text -> Text -> Text -> PackageFormat -> Text -> CopyPackageVersions
-- | See: newCopyPackageVersionsResponse smart constructor.
data CopyPackageVersionsResponse
CopyPackageVersionsResponse' :: Maybe (HashMap Text PackageVersionError) -> Maybe (HashMap Text SuccessfulPackageVersionInfo) -> Int -> CopyPackageVersionsResponse
-- | Create a value of CopyPackageVersionsResponse 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:failedVersions:CopyPackageVersionsResponse',
-- copyPackageVersionsResponse_failedVersions - A map of package
-- versions that failed to copy and their error codes. The possible error
-- codes are in the PackageVersionError data type. They are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
--
-- $sel:successfulVersions:CopyPackageVersionsResponse',
-- copyPackageVersionsResponse_successfulVersions - A list of the
-- package versions that were successfully copied to your repository.
--
-- $sel:httpStatus:CopyPackageVersionsResponse',
-- copyPackageVersionsResponse_httpStatus - The response's http
-- status code.
newCopyPackageVersionsResponse :: Int -> CopyPackageVersionsResponse
-- | See: newCreateDomain smart constructor.
data CreateDomain
CreateDomain' :: Maybe Text -> Maybe [Tag] -> Text -> CreateDomain
-- | Create a value of CreateDomain 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:
--
-- CreateDomain, createDomain_encryptionKey - The
-- encryption key for the domain. This is used to encrypt content stored
-- in a domain. An encryption key can be a key ID, a key Amazon Resource
-- Name (ARN), a key alias, or a key alias ARN. To specify an
-- encryptionKey, your IAM role must have
-- kms:DescribeKey and kms:CreateGrant permissions on
-- the encryption key that is used. For more information, see
-- DescribeKey in the Key Management Service API Reference
-- and Key Management Service API Permissions Reference in the
-- Key Management Service Developer Guide.
--
-- CodeArtifact supports only symmetric CMKs. Do not associate an
-- asymmetric CMK with your domain. For more information, see Using
-- symmetric and asymmetric keys in the Key Management Service
-- Developer Guide.
--
-- $sel:tags:CreateDomain', createDomain_tags - One or more
-- tag key-value pairs for the domain.
--
-- CreateDomain, createDomain_domain - The name of the
-- domain to create. All domain names in an Amazon Web Services Region
-- that are in the same Amazon Web Services account must be unique. The
-- domain name is used as the prefix in DNS hostnames. Do not use
-- sensitive information in a domain name because it is publicly
-- discoverable.
newCreateDomain :: Text -> CreateDomain
-- | See: newCreateDomainResponse smart constructor.
data CreateDomainResponse
CreateDomainResponse' :: Maybe DomainDescription -> Int -> CreateDomainResponse
-- | Create a value of CreateDomainResponse 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:
--
-- CreateDomain, createDomainResponse_domain - Contains
-- information about the created domain after processing the request.
--
-- $sel:httpStatus:CreateDomainResponse',
-- createDomainResponse_httpStatus - The response's http status
-- code.
newCreateDomainResponse :: Int -> CreateDomainResponse
-- | See: newCreateRepository smart constructor.
data CreateRepository
CreateRepository' :: Maybe Text -> Maybe Text -> Maybe [Tag] -> Maybe [UpstreamRepository] -> Text -> Text -> CreateRepository
-- | Create a value of CreateRepository 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:
--
-- CreateRepository, createRepository_description - A
-- description of the created repository.
--
-- CreateRepository, createRepository_domainOwner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- $sel:tags:CreateRepository', createRepository_tags - One
-- or more tag key-value pairs for the repository.
--
-- CreateRepository, createRepository_upstreams - A list of
-- upstream repositories to associate with the repository. The order of
-- the upstream repositories in the list determines their priority order
-- when CodeArtifact looks for a requested package version. For more
-- information, see Working with upstream repositories.
--
-- $sel:domain:CreateRepository', createRepository_domain -
-- The name of the domain that contains the created repository.
--
-- CreateRepository, createRepository_repository - The name
-- of the repository to create.
newCreateRepository :: Text -> Text -> CreateRepository
-- | See: newCreateRepositoryResponse smart constructor.
data CreateRepositoryResponse
CreateRepositoryResponse' :: Maybe RepositoryDescription -> Int -> CreateRepositoryResponse
-- | Create a value of CreateRepositoryResponse 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:
--
-- CreateRepository, createRepositoryResponse_repository -
-- Information about the created repository after processing the request.
--
-- $sel:httpStatus:CreateRepositoryResponse',
-- createRepositoryResponse_httpStatus - The response's http
-- status code.
newCreateRepositoryResponse :: Int -> CreateRepositoryResponse
-- | See: newDeleteDomain smart constructor.
data DeleteDomain
DeleteDomain' :: Maybe Text -> Text -> DeleteDomain
-- | Create a value of DeleteDomain 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:
--
-- DeleteDomain, deleteDomain_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- DeleteDomain, deleteDomain_domain - The name of the
-- domain to delete.
newDeleteDomain :: Text -> DeleteDomain
-- | See: newDeleteDomainResponse smart constructor.
data DeleteDomainResponse
DeleteDomainResponse' :: Maybe DomainDescription -> Int -> DeleteDomainResponse
-- | Create a value of DeleteDomainResponse 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:
--
-- DeleteDomain, deleteDomainResponse_domain - Contains
-- information about the deleted domain after processing the request.
--
-- $sel:httpStatus:DeleteDomainResponse',
-- deleteDomainResponse_httpStatus - The response's http status
-- code.
newDeleteDomainResponse :: Int -> DeleteDomainResponse
-- | See: newDeleteDomainPermissionsPolicy smart constructor.
data DeleteDomainPermissionsPolicy
DeleteDomainPermissionsPolicy' :: Maybe Text -> Maybe Text -> Text -> DeleteDomainPermissionsPolicy
-- | Create a value of DeleteDomainPermissionsPolicy 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:
--
-- DeleteDomainPermissionsPolicy,
-- deleteDomainPermissionsPolicy_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- $sel:policyRevision:DeleteDomainPermissionsPolicy',
-- deleteDomainPermissionsPolicy_policyRevision - The current
-- revision of the resource policy to be deleted. This revision is used
-- for optimistic locking, which prevents others from overwriting your
-- changes to the domain's resource policy.
--
-- $sel:domain:DeleteDomainPermissionsPolicy',
-- deleteDomainPermissionsPolicy_domain - The name of the domain
-- associated with the resource policy to be deleted.
newDeleteDomainPermissionsPolicy :: Text -> DeleteDomainPermissionsPolicy
-- | See: newDeleteDomainPermissionsPolicyResponse smart
-- constructor.
data DeleteDomainPermissionsPolicyResponse
DeleteDomainPermissionsPolicyResponse' :: Maybe ResourcePolicy -> Int -> DeleteDomainPermissionsPolicyResponse
-- | Create a value of DeleteDomainPermissionsPolicyResponse 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:policy:DeleteDomainPermissionsPolicyResponse',
-- deleteDomainPermissionsPolicyResponse_policy - Information
-- about the deleted resource policy after processing the request.
--
-- $sel:httpStatus:DeleteDomainPermissionsPolicyResponse',
-- deleteDomainPermissionsPolicyResponse_httpStatus - The
-- response's http status code.
newDeleteDomainPermissionsPolicyResponse :: Int -> DeleteDomainPermissionsPolicyResponse
-- | See: newDeletePackageVersions smart constructor.
data DeletePackageVersions
DeletePackageVersions' :: Maybe Text -> Maybe PackageVersionStatus -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> [Text] -> DeletePackageVersions
-- | Create a value of DeletePackageVersions 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:
--
-- DeletePackageVersions, deletePackageVersions_domainOwner
-- - The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
--
-- $sel:expectedStatus:DeletePackageVersions',
-- deletePackageVersions_expectedStatus - The expected status of
-- the package version to delete.
--
-- DeletePackageVersions, deletePackageVersions_namespace -
-- The namespace of the package versions to be deleted. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its groupId.
-- The namespace is required when deleting Maven package versions.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:domain:DeletePackageVersions',
-- deletePackageVersions_domain - The name of the domain that
-- contains the package to delete.
--
-- $sel:repository:DeletePackageVersions',
-- deletePackageVersions_repository - The name of the repository
-- that contains the package versions to delete.
--
-- DeletePackageVersions, deletePackageVersions_format -
-- The format of the package versions to delete.
--
-- DeletePackageVersions, deletePackageVersions_package -
-- The name of the package with the versions to delete.
--
-- $sel:versions:DeletePackageVersions',
-- deletePackageVersions_versions - An array of strings that
-- specify the versions of the package to delete.
newDeletePackageVersions :: Text -> Text -> PackageFormat -> Text -> DeletePackageVersions
-- | See: newDeletePackageVersionsResponse smart constructor.
data DeletePackageVersionsResponse
DeletePackageVersionsResponse' :: Maybe (HashMap Text PackageVersionError) -> Maybe (HashMap Text SuccessfulPackageVersionInfo) -> Int -> DeletePackageVersionsResponse
-- | Create a value of DeletePackageVersionsResponse 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:failedVersions:DeletePackageVersionsResponse',
-- deletePackageVersionsResponse_failedVersions - A
-- PackageVersionError object that contains a map of errors
-- codes for the deleted package that failed. The possible error codes
-- are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
--
-- $sel:successfulVersions:DeletePackageVersionsResponse',
-- deletePackageVersionsResponse_successfulVersions - A list of
-- the package versions that were successfully deleted. The status of
-- every successful version will be Deleted.
--
-- $sel:httpStatus:DeletePackageVersionsResponse',
-- deletePackageVersionsResponse_httpStatus - The response's http
-- status code.
newDeletePackageVersionsResponse :: Int -> DeletePackageVersionsResponse
-- | See: newDeleteRepository smart constructor.
data DeleteRepository
DeleteRepository' :: Maybe Text -> Text -> Text -> DeleteRepository
-- | Create a value of DeleteRepository 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:
--
-- DeleteRepository, deleteRepository_domainOwner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- $sel:domain:DeleteRepository', deleteRepository_domain -
-- The name of the domain that contains the repository to delete.
--
-- DeleteRepository, deleteRepository_repository - The name
-- of the repository to delete.
newDeleteRepository :: Text -> Text -> DeleteRepository
-- | See: newDeleteRepositoryResponse smart constructor.
data DeleteRepositoryResponse
DeleteRepositoryResponse' :: Maybe RepositoryDescription -> Int -> DeleteRepositoryResponse
-- | Create a value of DeleteRepositoryResponse 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:
--
-- DeleteRepository, deleteRepositoryResponse_repository -
-- Information about the deleted repository after processing the request.
--
-- $sel:httpStatus:DeleteRepositoryResponse',
-- deleteRepositoryResponse_httpStatus - The response's http
-- status code.
newDeleteRepositoryResponse :: Int -> DeleteRepositoryResponse
-- | See: newDeleteRepositoryPermissionsPolicy smart
-- constructor.
data DeleteRepositoryPermissionsPolicy
DeleteRepositoryPermissionsPolicy' :: Maybe Text -> Maybe Text -> Text -> Text -> DeleteRepositoryPermissionsPolicy
-- | Create a value of DeleteRepositoryPermissionsPolicy 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:
--
-- DeleteRepositoryPermissionsPolicy,
-- deleteRepositoryPermissionsPolicy_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- $sel:policyRevision:DeleteRepositoryPermissionsPolicy',
-- deleteRepositoryPermissionsPolicy_policyRevision - The revision
-- of the repository's resource policy to be deleted. This revision is
-- used for optimistic locking, which prevents others from accidentally
-- overwriting your changes to the repository's resource policy.
--
-- $sel:domain:DeleteRepositoryPermissionsPolicy',
-- deleteRepositoryPermissionsPolicy_domain - The name of the
-- domain that contains the repository associated with the resource
-- policy to be deleted.
--
-- $sel:repository:DeleteRepositoryPermissionsPolicy',
-- deleteRepositoryPermissionsPolicy_repository - The name of the
-- repository that is associated with the resource policy to be deleted
newDeleteRepositoryPermissionsPolicy :: Text -> Text -> DeleteRepositoryPermissionsPolicy
-- | See: newDeleteRepositoryPermissionsPolicyResponse smart
-- constructor.
data DeleteRepositoryPermissionsPolicyResponse
DeleteRepositoryPermissionsPolicyResponse' :: Maybe ResourcePolicy -> Int -> DeleteRepositoryPermissionsPolicyResponse
-- | Create a value of DeleteRepositoryPermissionsPolicyResponse
-- 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:policy:DeleteRepositoryPermissionsPolicyResponse',
-- deleteRepositoryPermissionsPolicyResponse_policy - Information
-- about the deleted policy after processing the request.
--
-- $sel:httpStatus:DeleteRepositoryPermissionsPolicyResponse',
-- deleteRepositoryPermissionsPolicyResponse_httpStatus - The
-- response's http status code.
newDeleteRepositoryPermissionsPolicyResponse :: Int -> DeleteRepositoryPermissionsPolicyResponse
-- | See: newDescribeDomain smart constructor.
data DescribeDomain
DescribeDomain' :: Maybe Text -> Text -> DescribeDomain
-- | Create a value of DescribeDomain 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:
--
-- DescribeDomain, describeDomain_domainOwner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- DescribeDomain, describeDomain_domain - A string that
-- specifies the name of the requested domain.
newDescribeDomain :: Text -> DescribeDomain
-- | See: newDescribeDomainResponse smart constructor.
data DescribeDomainResponse
DescribeDomainResponse' :: Maybe DomainDescription -> Int -> DescribeDomainResponse
-- | Create a value of DescribeDomainResponse 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:
--
-- DescribeDomain, describeDomainResponse_domain -
-- Undocumented member.
--
-- $sel:httpStatus:DescribeDomainResponse',
-- describeDomainResponse_httpStatus - The response's http status
-- code.
newDescribeDomainResponse :: Int -> DescribeDomainResponse
-- | See: newDescribePackage smart constructor.
data DescribePackage
DescribePackage' :: Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> DescribePackage
-- | Create a value of DescribePackage 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:
--
-- DescribePackage, describePackage_domainOwner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- DescribePackage, describePackage_namespace - The
-- namespace of the requested package. The package component that
-- specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId. The
-- namespace is required when requesting Maven packages.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- $sel:domain:DescribePackage', describePackage_domain -
-- The name of the domain that contains the repository that contains the
-- package.
--
-- $sel:repository:DescribePackage',
-- describePackage_repository - The name of the repository that
-- contains the requested package.
--
-- DescribePackage, describePackage_format - A format that
-- specifies the type of the requested package.
--
-- DescribePackage, describePackage_package - The name of
-- the requested package.
newDescribePackage :: Text -> Text -> PackageFormat -> Text -> DescribePackage
-- | See: newDescribePackageResponse smart constructor.
data DescribePackageResponse
DescribePackageResponse' :: Int -> PackageDescription -> DescribePackageResponse
-- | Create a value of DescribePackageResponse 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:DescribePackageResponse',
-- describePackageResponse_httpStatus - The response's http status
-- code.
--
-- DescribePackage, describePackageResponse_package - A
-- PackageDescription object that contains information about the
-- requested package.
newDescribePackageResponse :: Int -> PackageDescription -> DescribePackageResponse
-- | See: newDescribePackageVersion smart constructor.
data DescribePackageVersion
DescribePackageVersion' :: Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> Text -> DescribePackageVersion
-- | Create a value of DescribePackageVersion 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:
--
-- DescribePackageVersion,
-- describePackageVersion_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- DescribePackageVersion, describePackageVersion_namespace
-- - The namespace of the requested package version. The package version
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:domain:DescribePackageVersion',
-- describePackageVersion_domain - The name of the domain that
-- contains the repository that contains the package version.
--
-- $sel:repository:DescribePackageVersion',
-- describePackageVersion_repository - The name of the repository
-- that contains the package version.
--
-- DescribePackageVersion, describePackageVersion_format -
-- A format that specifies the type of the requested package version.
--
-- DescribePackageVersion, describePackageVersion_package -
-- The name of the requested package version.
--
-- DescribePackageVersion,
-- describePackageVersion_packageVersion - A string that contains
-- the package version (for example, 3.5.2).
newDescribePackageVersion :: Text -> Text -> PackageFormat -> Text -> Text -> DescribePackageVersion
-- | See: newDescribePackageVersionResponse smart
-- constructor.
data DescribePackageVersionResponse
DescribePackageVersionResponse' :: Int -> PackageVersionDescription -> DescribePackageVersionResponse
-- | Create a value of DescribePackageVersionResponse 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:DescribePackageVersionResponse',
-- describePackageVersionResponse_httpStatus - The response's http
-- status code.
--
-- DescribePackageVersion,
-- describePackageVersionResponse_packageVersion - A
-- PackageVersionDescription object that contains information
-- about the requested package version.
newDescribePackageVersionResponse :: Int -> PackageVersionDescription -> DescribePackageVersionResponse
-- | See: newDescribeRepository smart constructor.
data DescribeRepository
DescribeRepository' :: Maybe Text -> Text -> Text -> DescribeRepository
-- | Create a value of DescribeRepository 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:
--
-- DescribeRepository, describeRepository_domainOwner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- $sel:domain:DescribeRepository',
-- describeRepository_domain - The name of the domain that
-- contains the repository to describe.
--
-- DescribeRepository, describeRepository_repository - A
-- string that specifies the name of the requested repository.
newDescribeRepository :: Text -> Text -> DescribeRepository
-- | See: newDescribeRepositoryResponse smart constructor.
data DescribeRepositoryResponse
DescribeRepositoryResponse' :: Maybe RepositoryDescription -> Int -> DescribeRepositoryResponse
-- | Create a value of DescribeRepositoryResponse 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:
--
-- DescribeRepository,
-- describeRepositoryResponse_repository - A
-- RepositoryDescription object that contains the requested
-- repository information.
--
-- $sel:httpStatus:DescribeRepositoryResponse',
-- describeRepositoryResponse_httpStatus - The response's http
-- status code.
newDescribeRepositoryResponse :: Int -> DescribeRepositoryResponse
-- | See: newDisassociateExternalConnection smart
-- constructor.
data DisassociateExternalConnection
DisassociateExternalConnection' :: Maybe Text -> Text -> Text -> Text -> DisassociateExternalConnection
-- | Create a value of DisassociateExternalConnection 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:
--
-- DisassociateExternalConnection,
-- disassociateExternalConnection_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- $sel:domain:DisassociateExternalConnection',
-- disassociateExternalConnection_domain - The name of the domain
-- that contains the repository from which to remove the external
-- repository.
--
-- DisassociateExternalConnection,
-- disassociateExternalConnection_repository - The name of the
-- repository from which the external connection will be removed.
--
-- $sel:externalConnection:DisassociateExternalConnection',
-- disassociateExternalConnection_externalConnection - The name of
-- the external connection to be removed from the repository.
newDisassociateExternalConnection :: Text -> Text -> Text -> DisassociateExternalConnection
-- | See: newDisassociateExternalConnectionResponse smart
-- constructor.
data DisassociateExternalConnectionResponse
DisassociateExternalConnectionResponse' :: Maybe RepositoryDescription -> Int -> DisassociateExternalConnectionResponse
-- | Create a value of DisassociateExternalConnectionResponse 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:
--
-- DisassociateExternalConnection,
-- disassociateExternalConnectionResponse_repository - The
-- repository associated with the removed external connection.
--
-- $sel:httpStatus:DisassociateExternalConnectionResponse',
-- disassociateExternalConnectionResponse_httpStatus - The
-- response's http status code.
newDisassociateExternalConnectionResponse :: Int -> DisassociateExternalConnectionResponse
-- | See: newDisposePackageVersions smart constructor.
data DisposePackageVersions
DisposePackageVersions' :: Maybe Text -> Maybe PackageVersionStatus -> Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> PackageFormat -> Text -> [Text] -> DisposePackageVersions
-- | Create a value of DisposePackageVersions 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:
--
-- DisposePackageVersions,
-- disposePackageVersions_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:expectedStatus:DisposePackageVersions',
-- disposePackageVersions_expectedStatus - The expected status of
-- the package version to dispose.
--
-- DisposePackageVersions, disposePackageVersions_namespace
-- - The namespace of the package versions to be disposed. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:versionRevisions:DisposePackageVersions',
-- disposePackageVersions_versionRevisions - The revisions of the
-- package versions you want to dispose.
--
-- $sel:domain:DisposePackageVersions',
-- disposePackageVersions_domain - The name of the domain that
-- contains the repository you want to dispose.
--
-- $sel:repository:DisposePackageVersions',
-- disposePackageVersions_repository - The name of the repository
-- that contains the package versions you want to dispose.
--
-- DisposePackageVersions, disposePackageVersions_format -
-- A format that specifies the type of package versions you want to
-- dispose.
--
-- DisposePackageVersions, disposePackageVersions_package -
-- The name of the package with the versions you want to dispose.
--
-- $sel:versions:DisposePackageVersions',
-- disposePackageVersions_versions - The versions of the package
-- you want to dispose.
newDisposePackageVersions :: Text -> Text -> PackageFormat -> Text -> DisposePackageVersions
-- | See: newDisposePackageVersionsResponse smart
-- constructor.
data DisposePackageVersionsResponse
DisposePackageVersionsResponse' :: Maybe (HashMap Text PackageVersionError) -> Maybe (HashMap Text SuccessfulPackageVersionInfo) -> Int -> DisposePackageVersionsResponse
-- | Create a value of DisposePackageVersionsResponse 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:failedVersions:DisposePackageVersionsResponse',
-- disposePackageVersionsResponse_failedVersions - A
-- PackageVersionError object that contains a map of errors
-- codes for the disposed package versions that failed. The possible
-- error codes are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
--
-- $sel:successfulVersions:DisposePackageVersionsResponse',
-- disposePackageVersionsResponse_successfulVersions - A list of
-- the package versions that were successfully disposed.
--
-- $sel:httpStatus:DisposePackageVersionsResponse',
-- disposePackageVersionsResponse_httpStatus - The response's http
-- status code.
newDisposePackageVersionsResponse :: Int -> DisposePackageVersionsResponse
-- | See: newGetAuthorizationToken smart constructor.
data GetAuthorizationToken
GetAuthorizationToken' :: Maybe Text -> Maybe Natural -> Text -> GetAuthorizationToken
-- | Create a value of GetAuthorizationToken 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:
--
-- GetAuthorizationToken, getAuthorizationToken_domainOwner
-- - The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
--
-- $sel:durationSeconds:GetAuthorizationToken',
-- getAuthorizationToken_durationSeconds - The time, in seconds,
-- that the generated authorization token is valid. Valid values are
-- 0 and any number between 900 (15 minutes) and
-- 43200 (12 hours). A value of 0 will set the
-- expiration of the authorization token to the same expiration of the
-- user's role's temporary credentials.
--
-- $sel:domain:GetAuthorizationToken',
-- getAuthorizationToken_domain - The name of the domain that is
-- in scope for the generated authorization token.
newGetAuthorizationToken :: Text -> GetAuthorizationToken
-- | See: newGetAuthorizationTokenResponse smart constructor.
data GetAuthorizationTokenResponse
GetAuthorizationTokenResponse' :: Maybe Text -> Maybe POSIX -> Int -> GetAuthorizationTokenResponse
-- | Create a value of GetAuthorizationTokenResponse 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:authorizationToken:GetAuthorizationTokenResponse',
-- getAuthorizationTokenResponse_authorizationToken - The returned
-- authentication token.
--
-- $sel:expiration:GetAuthorizationTokenResponse',
-- getAuthorizationTokenResponse_expiration - A timestamp that
-- specifies the date and time the authorization token expires.
--
-- $sel:httpStatus:GetAuthorizationTokenResponse',
-- getAuthorizationTokenResponse_httpStatus - The response's http
-- status code.
newGetAuthorizationTokenResponse :: Int -> GetAuthorizationTokenResponse
-- | See: newGetDomainPermissionsPolicy smart constructor.
data GetDomainPermissionsPolicy
GetDomainPermissionsPolicy' :: Maybe Text -> Text -> GetDomainPermissionsPolicy
-- | Create a value of GetDomainPermissionsPolicy 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:
--
-- GetDomainPermissionsPolicy,
-- getDomainPermissionsPolicy_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:domain:GetDomainPermissionsPolicy',
-- getDomainPermissionsPolicy_domain - The name of the domain to
-- which the resource policy is attached.
newGetDomainPermissionsPolicy :: Text -> GetDomainPermissionsPolicy
-- | See: newGetDomainPermissionsPolicyResponse smart
-- constructor.
data GetDomainPermissionsPolicyResponse
GetDomainPermissionsPolicyResponse' :: Maybe ResourcePolicy -> Int -> GetDomainPermissionsPolicyResponse
-- | Create a value of GetDomainPermissionsPolicyResponse 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:policy:GetDomainPermissionsPolicyResponse',
-- getDomainPermissionsPolicyResponse_policy - The returned
-- resource policy.
--
-- $sel:httpStatus:GetDomainPermissionsPolicyResponse',
-- getDomainPermissionsPolicyResponse_httpStatus - The response's
-- http status code.
newGetDomainPermissionsPolicyResponse :: Int -> GetDomainPermissionsPolicyResponse
-- | See: newGetPackageVersionAsset smart constructor.
data GetPackageVersionAsset
GetPackageVersionAsset' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> Text -> Text -> GetPackageVersionAsset
-- | Create a value of GetPackageVersionAsset 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:
--
-- GetPackageVersionAsset,
-- getPackageVersionAsset_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- GetPackageVersionAsset, getPackageVersionAsset_namespace
-- - The namespace of the package version with the requested asset file.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- GetPackageVersionAsset,
-- getPackageVersionAsset_packageVersionRevision - The name of the
-- package version revision that contains the requested asset.
--
-- $sel:domain:GetPackageVersionAsset',
-- getPackageVersionAsset_domain - The name of the domain that
-- contains the repository that contains the package version with the
-- requested asset.
--
-- $sel:repository:GetPackageVersionAsset',
-- getPackageVersionAsset_repository - The repository that
-- contains the package version with the requested asset.
--
-- GetPackageVersionAsset, getPackageVersionAsset_format -
-- A format that specifies the type of the package version with the
-- requested asset file.
--
-- GetPackageVersionAsset, getPackageVersionAsset_package -
-- The name of the package that contains the requested asset.
--
-- GetPackageVersionAsset,
-- getPackageVersionAsset_packageVersion - A string that contains
-- the package version (for example, 3.5.2).
--
-- GetPackageVersionAsset, getPackageVersionAsset_asset -
-- The name of the requested asset.
newGetPackageVersionAsset :: Text -> Text -> PackageFormat -> Text -> Text -> Text -> GetPackageVersionAsset
-- | See: newGetPackageVersionAssetResponse smart
-- constructor.
data GetPackageVersionAssetResponse
GetPackageVersionAssetResponse' :: Maybe Text -> Maybe Text -> Maybe Text -> Int -> ResponseBody -> GetPackageVersionAssetResponse
-- | Create a value of GetPackageVersionAssetResponse 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:assetName:GetPackageVersionAssetResponse',
-- getPackageVersionAssetResponse_assetName - The name of the
-- asset that is downloaded.
--
-- GetPackageVersionAsset,
-- getPackageVersionAssetResponse_packageVersion - A string that
-- contains the package version (for example, 3.5.2).
--
-- GetPackageVersionAsset,
-- getPackageVersionAssetResponse_packageVersionRevision - The
-- name of the package version revision that contains the downloaded
-- asset.
--
-- $sel:httpStatus:GetPackageVersionAssetResponse',
-- getPackageVersionAssetResponse_httpStatus - The response's http
-- status code.
--
-- GetPackageVersionAsset,
-- getPackageVersionAssetResponse_asset - The binary file, or
-- asset, that is downloaded.
newGetPackageVersionAssetResponse :: Int -> ResponseBody -> GetPackageVersionAssetResponse
-- | See: newGetPackageVersionReadme smart constructor.
data GetPackageVersionReadme
GetPackageVersionReadme' :: Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> Text -> GetPackageVersionReadme
-- | Create a value of GetPackageVersionReadme 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:
--
-- GetPackageVersionReadme,
-- getPackageVersionReadme_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- GetPackageVersionReadme,
-- getPackageVersionReadme_namespace - The namespace of the
-- package version with the requested readme file. The package version
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:domain:GetPackageVersionReadme',
-- getPackageVersionReadme_domain - The name of the domain that
-- contains the repository that contains the package version with the
-- requested readme file.
--
-- $sel:repository:GetPackageVersionReadme',
-- getPackageVersionReadme_repository - The repository that
-- contains the package with the requested readme file.
--
-- GetPackageVersionReadme, getPackageVersionReadme_format
-- - A format that specifies the type of the package version with the
-- requested readme file.
--
-- GetPackageVersionReadme, getPackageVersionReadme_package
-- - The name of the package version that contains the requested readme
-- file.
--
-- $sel:packageVersion:GetPackageVersionReadme',
-- getPackageVersionReadme_packageVersion - A string that contains
-- the package version (for example, 3.5.2).
newGetPackageVersionReadme :: Text -> Text -> PackageFormat -> Text -> Text -> GetPackageVersionReadme
-- | See: newGetPackageVersionReadmeResponse smart
-- constructor.
data GetPackageVersionReadmeResponse
GetPackageVersionReadmeResponse' :: Maybe PackageFormat -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> GetPackageVersionReadmeResponse
-- | Create a value of GetPackageVersionReadmeResponse 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:
--
-- GetPackageVersionReadme,
-- getPackageVersionReadmeResponse_format - The format of the
-- package with the requested readme file.
--
-- GetPackageVersionReadme,
-- getPackageVersionReadmeResponse_namespace - The namespace of
-- the package version with the requested readme file. The package
-- version component that specifies its namespace depends on its type.
-- For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- GetPackageVersionReadme,
-- getPackageVersionReadmeResponse_package - The name of the
-- package that contains the returned readme file.
--
-- $sel:readme:GetPackageVersionReadmeResponse',
-- getPackageVersionReadmeResponse_readme - The text of the
-- returned readme file.
--
-- GetPackageVersionReadmeResponse,
-- getPackageVersionReadmeResponse_version - The version of the
-- package with the requested readme file.
--
-- $sel:versionRevision:GetPackageVersionReadmeResponse',
-- getPackageVersionReadmeResponse_versionRevision - The current
-- revision associated with the package version.
--
-- $sel:httpStatus:GetPackageVersionReadmeResponse',
-- getPackageVersionReadmeResponse_httpStatus - The response's
-- http status code.
newGetPackageVersionReadmeResponse :: Int -> GetPackageVersionReadmeResponse
-- | See: newGetRepositoryEndpoint smart constructor.
data GetRepositoryEndpoint
GetRepositoryEndpoint' :: Maybe Text -> Text -> Text -> PackageFormat -> GetRepositoryEndpoint
-- | Create a value of GetRepositoryEndpoint 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:
--
-- GetRepositoryEndpoint, getRepositoryEndpoint_domainOwner
-- - The 12-digit account number of the Amazon Web Services account that
-- owns the domain that contains the repository. It does not include
-- dashes or spaces.
--
-- $sel:domain:GetRepositoryEndpoint',
-- getRepositoryEndpoint_domain - The name of the domain that
-- contains the repository.
--
-- $sel:repository:GetRepositoryEndpoint',
-- getRepositoryEndpoint_repository - The name of the repository.
--
-- GetRepositoryEndpoint, getRepositoryEndpoint_format -
-- Returns which endpoint of a repository to return. A repository has one
-- endpoint for each package format.
newGetRepositoryEndpoint :: Text -> Text -> PackageFormat -> GetRepositoryEndpoint
-- | See: newGetRepositoryEndpointResponse smart constructor.
data GetRepositoryEndpointResponse
GetRepositoryEndpointResponse' :: Maybe Text -> Int -> GetRepositoryEndpointResponse
-- | Create a value of GetRepositoryEndpointResponse 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:repositoryEndpoint:GetRepositoryEndpointResponse',
-- getRepositoryEndpointResponse_repositoryEndpoint - A string
-- that specifies the URL of the returned endpoint.
--
-- $sel:httpStatus:GetRepositoryEndpointResponse',
-- getRepositoryEndpointResponse_httpStatus - The response's http
-- status code.
newGetRepositoryEndpointResponse :: Int -> GetRepositoryEndpointResponse
-- | See: newGetRepositoryPermissionsPolicy smart
-- constructor.
data GetRepositoryPermissionsPolicy
GetRepositoryPermissionsPolicy' :: Maybe Text -> Text -> Text -> GetRepositoryPermissionsPolicy
-- | Create a value of GetRepositoryPermissionsPolicy 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:
--
-- GetRepositoryPermissionsPolicy,
-- getRepositoryPermissionsPolicy_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- $sel:domain:GetRepositoryPermissionsPolicy',
-- getRepositoryPermissionsPolicy_domain - The name of the domain
-- containing the repository whose associated resource policy is to be
-- retrieved.
--
-- $sel:repository:GetRepositoryPermissionsPolicy',
-- getRepositoryPermissionsPolicy_repository - The name of the
-- repository whose associated resource policy is to be retrieved.
newGetRepositoryPermissionsPolicy :: Text -> Text -> GetRepositoryPermissionsPolicy
-- | See: newGetRepositoryPermissionsPolicyResponse smart
-- constructor.
data GetRepositoryPermissionsPolicyResponse
GetRepositoryPermissionsPolicyResponse' :: Maybe ResourcePolicy -> Int -> GetRepositoryPermissionsPolicyResponse
-- | Create a value of GetRepositoryPermissionsPolicyResponse 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:policy:GetRepositoryPermissionsPolicyResponse',
-- getRepositoryPermissionsPolicyResponse_policy - The returned
-- resource policy.
--
-- $sel:httpStatus:GetRepositoryPermissionsPolicyResponse',
-- getRepositoryPermissionsPolicyResponse_httpStatus - The
-- response's http status code.
newGetRepositoryPermissionsPolicyResponse :: Int -> GetRepositoryPermissionsPolicyResponse
-- | See: newListDomains smart constructor.
data ListDomains
ListDomains' :: Maybe Natural -> Maybe Text -> ListDomains
-- | Create a value of ListDomains 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:maxResults:ListDomains', listDomains_maxResults -
-- The maximum number of results to return per page.
--
-- ListDomains, listDomains_nextToken - The token for the
-- next set of results. Use the value returned in the previous response
-- in the next request to retrieve the next set of results.
newListDomains :: ListDomains
-- | See: newListDomainsResponse smart constructor.
data ListDomainsResponse
ListDomainsResponse' :: Maybe [DomainSummary] -> Maybe Text -> Int -> ListDomainsResponse
-- | Create a value of ListDomainsResponse 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:domains:ListDomainsResponse',
-- listDomainsResponse_domains - The returned list of
-- DomainSummary objects.
--
-- ListDomains, listDomainsResponse_nextToken - The token
-- for the next set of results. Use the value returned in the previous
-- response in the next request to retrieve the next set of results.
--
-- $sel:httpStatus:ListDomainsResponse',
-- listDomainsResponse_httpStatus - The response's http status
-- code.
newListDomainsResponse :: Int -> ListDomainsResponse
-- | See: newListPackageVersionAssets smart constructor.
data ListPackageVersionAssets
ListPackageVersionAssets' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> Text -> ListPackageVersionAssets
-- | Create a value of ListPackageVersionAssets 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:
--
-- ListPackageVersionAssets,
-- listPackageVersionAssets_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:maxResults:ListPackageVersionAssets',
-- listPackageVersionAssets_maxResults - The maximum number of
-- results to return per page.
--
-- ListPackageVersionAssets,
-- listPackageVersionAssets_namespace - The namespace of the
-- package version that contains the requested package version assets.
-- The package version component that specifies its namespace depends on
-- its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- ListPackageVersionAssets,
-- listPackageVersionAssets_nextToken - The token for the next set
-- of results. Use the value returned in the previous response in the
-- next request to retrieve the next set of results.
--
-- $sel:domain:ListPackageVersionAssets',
-- listPackageVersionAssets_domain - The name of the domain that
-- contains the repository associated with the package version assets.
--
-- $sel:repository:ListPackageVersionAssets',
-- listPackageVersionAssets_repository - The name of the
-- repository that contains the package that contains the requested
-- package version assets.
--
-- ListPackageVersionAssets,
-- listPackageVersionAssets_format - The format of the package
-- that contains the requested package version assets.
--
-- ListPackageVersionAssets,
-- listPackageVersionAssets_package - The name of the package that
-- contains the requested package version assets.
--
-- $sel:packageVersion:ListPackageVersionAssets',
-- listPackageVersionAssets_packageVersion - A string that
-- contains the package version (for example, 3.5.2).
newListPackageVersionAssets :: Text -> Text -> PackageFormat -> Text -> Text -> ListPackageVersionAssets
-- | See: newListPackageVersionAssetsResponse smart
-- constructor.
data ListPackageVersionAssetsResponse
ListPackageVersionAssetsResponse' :: Maybe [AssetSummary] -> Maybe PackageFormat -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> ListPackageVersionAssetsResponse
-- | Create a value of ListPackageVersionAssetsResponse 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:assets:ListPackageVersionAssetsResponse',
-- listPackageVersionAssetsResponse_assets - The returned list of
-- AssetSummary objects.
--
-- ListPackageVersionAssets,
-- listPackageVersionAssetsResponse_format - The format of the
-- package that contains the requested package version assets.
--
-- ListPackageVersionAssets,
-- listPackageVersionAssetsResponse_namespace - The namespace of
-- the package version that contains the requested package version
-- assets. The package version component that specifies its namespace
-- depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- ListPackageVersionAssets,
-- listPackageVersionAssetsResponse_nextToken - If there are
-- additional results, this is the token for the next set of results.
--
-- ListPackageVersionAssets,
-- listPackageVersionAssetsResponse_package - The name of the
-- package that contains the requested package version assets.
--
-- ListPackageVersionAssetsResponse,
-- listPackageVersionAssetsResponse_version - The version of the
-- package associated with the requested assets.
--
-- $sel:versionRevision:ListPackageVersionAssetsResponse',
-- listPackageVersionAssetsResponse_versionRevision - The current
-- revision associated with the package version.
--
-- $sel:httpStatus:ListPackageVersionAssetsResponse',
-- listPackageVersionAssetsResponse_httpStatus - The response's
-- http status code.
newListPackageVersionAssetsResponse :: Int -> ListPackageVersionAssetsResponse
-- | See: newListPackageVersionDependencies smart
-- constructor.
data ListPackageVersionDependencies
ListPackageVersionDependencies' :: Maybe Text -> Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> Text -> ListPackageVersionDependencies
-- | Create a value of ListPackageVersionDependencies 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:
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependencies_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependencies_namespace - The namespace of the
-- package version with the requested dependencies. The package version
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependencies_nextToken - The token for the
-- next set of results. Use the value returned in the previous response
-- in the next request to retrieve the next set of results.
--
-- $sel:domain:ListPackageVersionDependencies',
-- listPackageVersionDependencies_domain - The name of the domain
-- that contains the repository that contains the requested package
-- version dependencies.
--
-- $sel:repository:ListPackageVersionDependencies',
-- listPackageVersionDependencies_repository - The name of the
-- repository that contains the requested package version.
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependencies_format - The format of the
-- package with the requested dependencies.
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependencies_package - The name of the
-- package versions' package.
--
-- $sel:packageVersion:ListPackageVersionDependencies',
-- listPackageVersionDependencies_packageVersion - A string that
-- contains the package version (for example, 3.5.2).
newListPackageVersionDependencies :: Text -> Text -> PackageFormat -> Text -> Text -> ListPackageVersionDependencies
-- | See: newListPackageVersionDependenciesResponse smart
-- constructor.
data ListPackageVersionDependenciesResponse
ListPackageVersionDependenciesResponse' :: Maybe [PackageDependency] -> Maybe PackageFormat -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> ListPackageVersionDependenciesResponse
-- | Create a value of ListPackageVersionDependenciesResponse 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:dependencies:ListPackageVersionDependenciesResponse',
-- listPackageVersionDependenciesResponse_dependencies - The
-- returned list of PackageDependency objects.
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependenciesResponse_format - A format that
-- specifies the type of the package that contains the returned
-- dependencies.
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependenciesResponse_namespace - The
-- namespace of the package version that contains the returned
-- dependencies. The package version component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependenciesResponse_nextToken - The token
-- for the next set of results. Use the value returned in the previous
-- response in the next request to retrieve the next set of results.
--
-- ListPackageVersionDependencies,
-- listPackageVersionDependenciesResponse_package - The name of
-- the package that contains the returned package versions dependencies.
--
-- ListPackageVersionDependenciesResponse,
-- listPackageVersionDependenciesResponse_version - The version of
-- the package that is specified in the request.
--
-- $sel:versionRevision:ListPackageVersionDependenciesResponse',
-- listPackageVersionDependenciesResponse_versionRevision - The
-- current revision associated with the package version.
--
-- $sel:httpStatus:ListPackageVersionDependenciesResponse',
-- listPackageVersionDependenciesResponse_httpStatus - The
-- response's http status code.
newListPackageVersionDependenciesResponse :: Int -> ListPackageVersionDependenciesResponse
-- | See: newListPackageVersions smart constructor.
data ListPackageVersions
ListPackageVersions' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe PackageVersionOriginType -> Maybe PackageVersionSortType -> Maybe PackageVersionStatus -> Text -> Text -> PackageFormat -> Text -> ListPackageVersions
-- | Create a value of ListPackageVersions 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:
--
-- ListPackageVersions, listPackageVersions_domainOwner -
-- The 12-digit account number of the Amazon Web Services account that
-- owns the domain. It does not include dashes or spaces.
--
-- $sel:maxResults:ListPackageVersions',
-- listPackageVersions_maxResults - The maximum number of results
-- to return per page.
--
-- ListPackageVersions, listPackageVersions_namespace - The
-- namespace of the package that contains the requested package versions.
-- The package component that specifies its namespace depends on its
-- type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- ListPackageVersions, listPackageVersions_nextToken - The
-- token for the next set of results. Use the value returned in the
-- previous response in the next request to retrieve the next set of
-- results.
--
-- ListPackageVersions, listPackageVersions_originType -
-- The originType used to filter package versions. Only package
-- versions with the provided originType will be returned.
--
-- $sel:sortBy:ListPackageVersions',
-- listPackageVersions_sortBy - How to sort the requested list of
-- package versions.
--
-- ListPackageVersions, listPackageVersions_status - A
-- string that filters the requested package versions by status.
--
-- $sel:domain:ListPackageVersions',
-- listPackageVersions_domain - The name of the domain that
-- contains the repository that contains the requested package versions.
--
-- $sel:repository:ListPackageVersions',
-- listPackageVersions_repository - The name of the repository
-- that contains the requested package versions.
--
-- ListPackageVersions, listPackageVersions_format - The
-- format of the returned package versions.
--
-- ListPackageVersions, listPackageVersions_package - The
-- name of the package for which you want to request package versions.
newListPackageVersions :: Text -> Text -> PackageFormat -> Text -> ListPackageVersions
-- | See: newListPackageVersionsResponse smart constructor.
data ListPackageVersionsResponse
ListPackageVersionsResponse' :: Maybe Text -> Maybe PackageFormat -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [PackageVersionSummary] -> Int -> ListPackageVersionsResponse
-- | Create a value of ListPackageVersionsResponse 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:defaultDisplayVersion:ListPackageVersionsResponse',
-- listPackageVersionsResponse_defaultDisplayVersion - The default
-- package version to display. This depends on the package format:
--
--
-- - For Maven and PyPI packages, it's the most recently published
-- package version.
-- - For npm packages, it's the version referenced by the
-- latest tag. If the latest tag is not set, it's the
-- most recently published package version.
--
--
-- ListPackageVersions, listPackageVersionsResponse_format
-- - A format of the package.
--
-- ListPackageVersions,
-- listPackageVersionsResponse_namespace - The namespace of the
-- package that contains the requested package versions. The package
-- component that specifies its namespace depends on its type. For
-- example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- ListPackageVersions,
-- listPackageVersionsResponse_nextToken - If there are additional
-- results, this is the token for the next set of results.
--
-- ListPackageVersions, listPackageVersionsResponse_package
-- - The name of the package.
--
-- $sel:versions:ListPackageVersionsResponse',
-- listPackageVersionsResponse_versions - The returned list of
-- PackageVersionSummary objects.
--
-- $sel:httpStatus:ListPackageVersionsResponse',
-- listPackageVersionsResponse_httpStatus - The response's http
-- status code.
newListPackageVersionsResponse :: Int -> ListPackageVersionsResponse
-- | See: newListPackages smart constructor.
data ListPackages
ListPackages' :: Maybe Text -> Maybe PackageFormat -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe AllowPublish -> Maybe AllowUpstream -> Text -> Text -> ListPackages
-- | Create a value of ListPackages 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:
--
-- ListPackages, listPackages_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- ListPackages, listPackages_format - The format used to
-- filter requested packages. Only packages from the provided format will
-- be returned.
--
-- $sel:maxResults:ListPackages', listPackages_maxResults -
-- The maximum number of results to return per page.
--
-- ListPackages, listPackages_namespace - The namespace
-- used to filter requested packages. Only packages with the provided
-- namespace will be returned. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- ListPackages, listPackages_nextToken - The token for the
-- next set of results. Use the value returned in the previous response
-- in the next request to retrieve the next set of results.
--
-- $sel:packagePrefix:ListPackages',
-- listPackages_packagePrefix - A prefix used to filter requested
-- packages. Only packages with names that start with
-- packagePrefix are returned.
--
-- ListPackages, listPackages_publish - The value of the
-- Publish package origin control restriction used to filter
-- requested packages. Only packages with the provided restriction are
-- returned. For more information, see PackageOriginRestrictions.
--
-- ListPackages, listPackages_upstream - The value of the
-- Upstream package origin control restriction used to filter
-- requested packages. Only packages with the provided restriction are
-- returned. For more information, see PackageOriginRestrictions.
--
-- $sel:domain:ListPackages', listPackages_domain - The
-- name of the domain that contains the repository that contains the
-- requested packages.
--
-- $sel:repository:ListPackages', listPackages_repository -
-- The name of the repository that contains the requested packages.
newListPackages :: Text -> Text -> ListPackages
-- | See: newListPackagesResponse smart constructor.
data ListPackagesResponse
ListPackagesResponse' :: Maybe Text -> Maybe [PackageSummary] -> Int -> ListPackagesResponse
-- | Create a value of ListPackagesResponse 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:
--
-- ListPackages, listPackagesResponse_nextToken - If there
-- are additional results, this is the token for the next set of results.
--
-- $sel:packages:ListPackagesResponse',
-- listPackagesResponse_packages - The list of returned
-- PackageSummary objects.
--
-- $sel:httpStatus:ListPackagesResponse',
-- listPackagesResponse_httpStatus - The response's http status
-- code.
newListPackagesResponse :: Int -> ListPackagesResponse
-- | See: newListRepositories smart constructor.
data ListRepositories
ListRepositories' :: Maybe Natural -> Maybe Text -> Maybe Text -> ListRepositories
-- | Create a value of ListRepositories 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:maxResults:ListRepositories',
-- listRepositories_maxResults - The maximum number of results to
-- return per page.
--
-- ListRepositories, listRepositories_nextToken - The token
-- for the next set of results. Use the value returned in the previous
-- response in the next request to retrieve the next set of results.
--
-- $sel:repositoryPrefix:ListRepositories',
-- listRepositories_repositoryPrefix - A prefix used to filter
-- returned repositories. Only repositories with names that start with
-- repositoryPrefix are returned.
newListRepositories :: ListRepositories
-- | See: newListRepositoriesResponse smart constructor.
data ListRepositoriesResponse
ListRepositoriesResponse' :: Maybe Text -> Maybe [RepositorySummary] -> Int -> ListRepositoriesResponse
-- | Create a value of ListRepositoriesResponse 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:
--
-- ListRepositories, listRepositoriesResponse_nextToken -
-- If there are additional results, this is the token for the next set of
-- results.
--
-- $sel:repositories:ListRepositoriesResponse',
-- listRepositoriesResponse_repositories - The returned list of
-- RepositorySummary objects.
--
-- $sel:httpStatus:ListRepositoriesResponse',
-- listRepositoriesResponse_httpStatus - The response's http
-- status code.
newListRepositoriesResponse :: Int -> ListRepositoriesResponse
-- | See: newListRepositoriesInDomain smart constructor.
data ListRepositoriesInDomain
ListRepositoriesInDomain' :: Maybe Text -> Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Text -> ListRepositoriesInDomain
-- | Create a value of ListRepositoriesInDomain 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:
--
-- ListRepositoriesInDomain,
-- listRepositoriesInDomain_administratorAccount - Filter the list
-- of repositories to only include those that are managed by the Amazon
-- Web Services account ID.
--
-- ListRepositoriesInDomain,
-- listRepositoriesInDomain_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:maxResults:ListRepositoriesInDomain',
-- listRepositoriesInDomain_maxResults - The maximum number of
-- results to return per page.
--
-- ListRepositoriesInDomain,
-- listRepositoriesInDomain_nextToken - The token for the next set
-- of results. Use the value returned in the previous response in the
-- next request to retrieve the next set of results.
--
-- $sel:repositoryPrefix:ListRepositoriesInDomain',
-- listRepositoriesInDomain_repositoryPrefix - A prefix used to
-- filter returned repositories. Only repositories with names that start
-- with repositoryPrefix are returned.
--
-- $sel:domain:ListRepositoriesInDomain',
-- listRepositoriesInDomain_domain - The name of the domain that
-- contains the returned list of repositories.
newListRepositoriesInDomain :: Text -> ListRepositoriesInDomain
-- | See: newListRepositoriesInDomainResponse smart
-- constructor.
data ListRepositoriesInDomainResponse
ListRepositoriesInDomainResponse' :: Maybe Text -> Maybe [RepositorySummary] -> Int -> ListRepositoriesInDomainResponse
-- | Create a value of ListRepositoriesInDomainResponse 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:
--
-- ListRepositoriesInDomain,
-- listRepositoriesInDomainResponse_nextToken - If there are
-- additional results, this is the token for the next set of results.
--
-- $sel:repositories:ListRepositoriesInDomainResponse',
-- listRepositoriesInDomainResponse_repositories - The returned
-- list of repositories.
--
-- $sel:httpStatus:ListRepositoriesInDomainResponse',
-- listRepositoriesInDomainResponse_httpStatus - The response's
-- http status code.
newListRepositoriesInDomainResponse :: Int -> ListRepositoriesInDomainResponse
-- | See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Text -> ListTagsForResource
-- | Create a value of ListTagsForResource 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:
--
-- ListTagsForResource, listTagsForResource_resourceArn -
-- The Amazon Resource Name (ARN) of the resource to get tags for.
newListTagsForResource :: Text -> ListTagsForResource
-- | See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse
-- | Create a value of ListTagsForResourceResponse 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:tags:ListTagsForResourceResponse',
-- listTagsForResourceResponse_tags - A list of tag key and value
-- pairs associated with the specified resource.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | See: newPutDomainPermissionsPolicy smart constructor.
data PutDomainPermissionsPolicy
PutDomainPermissionsPolicy' :: Maybe Text -> Maybe Text -> Text -> Text -> PutDomainPermissionsPolicy
-- | Create a value of PutDomainPermissionsPolicy 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:
--
-- PutDomainPermissionsPolicy,
-- putDomainPermissionsPolicy_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:policyRevision:PutDomainPermissionsPolicy',
-- putDomainPermissionsPolicy_policyRevision - The current
-- revision of the resource policy to be set. This revision is used for
-- optimistic locking, which prevents others from overwriting your
-- changes to the domain's resource policy.
--
-- $sel:domain:PutDomainPermissionsPolicy',
-- putDomainPermissionsPolicy_domain - The name of the domain on
-- which to set the resource policy.
--
-- $sel:policyDocument:PutDomainPermissionsPolicy',
-- putDomainPermissionsPolicy_policyDocument - A valid displayable
-- JSON Aspen policy string to be set as the access control resource
-- policy on the provided domain.
newPutDomainPermissionsPolicy :: Text -> Text -> PutDomainPermissionsPolicy
-- | See: newPutDomainPermissionsPolicyResponse smart
-- constructor.
data PutDomainPermissionsPolicyResponse
PutDomainPermissionsPolicyResponse' :: Maybe ResourcePolicy -> Int -> PutDomainPermissionsPolicyResponse
-- | Create a value of PutDomainPermissionsPolicyResponse 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:policy:PutDomainPermissionsPolicyResponse',
-- putDomainPermissionsPolicyResponse_policy - The resource policy
-- that was set after processing the request.
--
-- $sel:httpStatus:PutDomainPermissionsPolicyResponse',
-- putDomainPermissionsPolicyResponse_httpStatus - The response's
-- http status code.
newPutDomainPermissionsPolicyResponse :: Int -> PutDomainPermissionsPolicyResponse
-- | See: newPutPackageOriginConfiguration smart constructor.
data PutPackageOriginConfiguration
PutPackageOriginConfiguration' :: Maybe Text -> Maybe Text -> Text -> Text -> PackageFormat -> Text -> PackageOriginRestrictions -> PutPackageOriginConfiguration
-- | Create a value of PutPackageOriginConfiguration 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:
--
-- PutPackageOriginConfiguration,
-- putPackageOriginConfiguration_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- PutPackageOriginConfiguration,
-- putPackageOriginConfiguration_namespace - The namespace of the
-- package to be updated. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- $sel:domain:PutPackageOriginConfiguration',
-- putPackageOriginConfiguration_domain - The name of the domain
-- that contains the repository that contains the package.
--
-- $sel:repository:PutPackageOriginConfiguration',
-- putPackageOriginConfiguration_repository - The name of the
-- repository that contains the package.
--
-- PutPackageOriginConfiguration,
-- putPackageOriginConfiguration_format - A format that specifies
-- the type of the package to be updated.
--
-- PutPackageOriginConfiguration,
-- putPackageOriginConfiguration_package - The name of the package
-- to be updated.
--
-- PutPackageOriginConfiguration,
-- putPackageOriginConfiguration_restrictions - A
-- PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin
-- restrictions. The upstream restriction determines if new
-- package versions can be ingested or retained from external connections
-- or upstream repositories. The publish restriction determines
-- if new package versions can be published directly to the repository.
--
-- You must include both the desired upstream and
-- publish restrictions.
newPutPackageOriginConfiguration :: Text -> Text -> PackageFormat -> Text -> PackageOriginRestrictions -> PutPackageOriginConfiguration
-- | See: newPutPackageOriginConfigurationResponse smart
-- constructor.
data PutPackageOriginConfigurationResponse
PutPackageOriginConfigurationResponse' :: Maybe PackageOriginConfiguration -> Int -> PutPackageOriginConfigurationResponse
-- | Create a value of PutPackageOriginConfigurationResponse 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:
--
-- PutPackageOriginConfigurationResponse,
-- putPackageOriginConfigurationResponse_originConfiguration - A
-- PackageOriginConfiguration object that describes the origin
-- configuration set for the package. It contains a
-- PackageOriginRestrictions object that describes how new
-- versions of the package can be introduced to the repository.
--
-- $sel:httpStatus:PutPackageOriginConfigurationResponse',
-- putPackageOriginConfigurationResponse_httpStatus - The
-- response's http status code.
newPutPackageOriginConfigurationResponse :: Int -> PutPackageOriginConfigurationResponse
-- | See: newPutRepositoryPermissionsPolicy smart
-- constructor.
data PutRepositoryPermissionsPolicy
PutRepositoryPermissionsPolicy' :: Maybe Text -> Maybe Text -> Text -> Text -> Text -> PutRepositoryPermissionsPolicy
-- | Create a value of PutRepositoryPermissionsPolicy 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:
--
-- PutRepositoryPermissionsPolicy,
-- putRepositoryPermissionsPolicy_domainOwner - The 12-digit
-- account number of the Amazon Web Services account that owns the
-- domain. It does not include dashes or spaces.
--
-- $sel:policyRevision:PutRepositoryPermissionsPolicy',
-- putRepositoryPermissionsPolicy_policyRevision - Sets the
-- revision of the resource policy that specifies permissions to access
-- the repository. This revision is used for optimistic locking, which
-- prevents others from overwriting your changes to the repository's
-- resource policy.
--
-- $sel:domain:PutRepositoryPermissionsPolicy',
-- putRepositoryPermissionsPolicy_domain - The name of the domain
-- containing the repository to set the resource policy on.
--
-- $sel:repository:PutRepositoryPermissionsPolicy',
-- putRepositoryPermissionsPolicy_repository - The name of the
-- repository to set the resource policy on.
--
-- $sel:policyDocument:PutRepositoryPermissionsPolicy',
-- putRepositoryPermissionsPolicy_policyDocument - A valid
-- displayable JSON Aspen policy string to be set as the access control
-- resource policy on the provided repository.
newPutRepositoryPermissionsPolicy :: Text -> Text -> Text -> PutRepositoryPermissionsPolicy
-- | See: newPutRepositoryPermissionsPolicyResponse smart
-- constructor.
data PutRepositoryPermissionsPolicyResponse
PutRepositoryPermissionsPolicyResponse' :: Maybe ResourcePolicy -> Int -> PutRepositoryPermissionsPolicyResponse
-- | Create a value of PutRepositoryPermissionsPolicyResponse 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:policy:PutRepositoryPermissionsPolicyResponse',
-- putRepositoryPermissionsPolicyResponse_policy - The resource
-- policy that was set after processing the request.
--
-- $sel:httpStatus:PutRepositoryPermissionsPolicyResponse',
-- putRepositoryPermissionsPolicyResponse_httpStatus - The
-- response's http status code.
newPutRepositoryPermissionsPolicyResponse :: Int -> PutRepositoryPermissionsPolicyResponse
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> [Tag] -> TagResource
-- | Create a value of TagResource 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:
--
-- TagResource, tagResource_resourceArn - The Amazon
-- Resource Name (ARN) of the resource that you want to add or update
-- tags for.
--
-- $sel:tags:TagResource', tagResource_tags - The tags you
-- want to modify or add to the resource.
newTagResource :: Text -> TagResource
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Int -> TagResourceResponse
-- | Create a value of TagResourceResponse 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:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> [Text] -> UntagResource
-- | Create a value of UntagResource 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:
--
-- UntagResource, untagResource_resourceArn - The Amazon
-- Resource Name (ARN) of the resource that you want to remove tags from.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - The
-- tag key for each tag that you want to remove from the resource.
newUntagResource :: Text -> UntagResource
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Int -> UntagResourceResponse
-- | Create a value of UntagResourceResponse 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:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | See: newUpdatePackageVersionsStatus smart constructor.
data UpdatePackageVersionsStatus
UpdatePackageVersionsStatus' :: Maybe Text -> Maybe PackageVersionStatus -> Maybe Text -> Maybe (HashMap Text Text) -> Text -> Text -> PackageFormat -> Text -> [Text] -> PackageVersionStatus -> UpdatePackageVersionsStatus
-- | Create a value of UpdatePackageVersionsStatus 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:
--
-- UpdatePackageVersionsStatus,
-- updatePackageVersionsStatus_domainOwner - The 12-digit account
-- number of the Amazon Web Services account that owns the domain. It
-- does not include dashes or spaces.
--
-- $sel:expectedStatus:UpdatePackageVersionsStatus',
-- updatePackageVersionsStatus_expectedStatus - The package
-- version’s expected status before it is updated. If
-- expectedStatus is provided, the package version's status is
-- updated only if its status at the time
-- UpdatePackageVersionsStatus is called matches
-- expectedStatus.
--
-- UpdatePackageVersionsStatus,
-- updatePackageVersionsStatus_namespace - The namespace of the
-- package version to be updated. The package version component that
-- specifies its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:versionRevisions:UpdatePackageVersionsStatus',
-- updatePackageVersionsStatus_versionRevisions - A map of package
-- versions and package version revisions. The map key is the
-- package version (for example, 3.5.2), and the map
-- value is the package version revision.
--
-- $sel:domain:UpdatePackageVersionsStatus',
-- updatePackageVersionsStatus_domain - The name of the domain
-- that contains the repository that contains the package versions with a
-- status to be updated.
--
-- $sel:repository:UpdatePackageVersionsStatus',
-- updatePackageVersionsStatus_repository - The repository that
-- contains the package versions with the status you want to update.
--
-- UpdatePackageVersionsStatus,
-- updatePackageVersionsStatus_format - A format that specifies
-- the type of the package with the statuses to update.
--
-- UpdatePackageVersionsStatus,
-- updatePackageVersionsStatus_package - The name of the package
-- with the version statuses to update.
--
-- $sel:versions:UpdatePackageVersionsStatus',
-- updatePackageVersionsStatus_versions - An array of strings that
-- specify the versions of the package with the statuses to update.
--
-- $sel:targetStatus:UpdatePackageVersionsStatus',
-- updatePackageVersionsStatus_targetStatus - The status you want
-- to change the package version status to.
newUpdatePackageVersionsStatus :: Text -> Text -> PackageFormat -> Text -> PackageVersionStatus -> UpdatePackageVersionsStatus
-- | See: newUpdatePackageVersionsStatusResponse smart
-- constructor.
data UpdatePackageVersionsStatusResponse
UpdatePackageVersionsStatusResponse' :: Maybe (HashMap Text PackageVersionError) -> Maybe (HashMap Text SuccessfulPackageVersionInfo) -> Int -> UpdatePackageVersionsStatusResponse
-- | Create a value of UpdatePackageVersionsStatusResponse 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:failedVersions:UpdatePackageVersionsStatusResponse',
-- updatePackageVersionsStatusResponse_failedVersions - A list of
-- SuccessfulPackageVersionInfo objects, one for each package
-- version with a status that successfully updated.
--
-- $sel:successfulVersions:UpdatePackageVersionsStatusResponse',
-- updatePackageVersionsStatusResponse_successfulVersions - A list
-- of PackageVersionError objects, one for each package version
-- with a status that failed to update.
--
-- $sel:httpStatus:UpdatePackageVersionsStatusResponse',
-- updatePackageVersionsStatusResponse_httpStatus - The response's
-- http status code.
newUpdatePackageVersionsStatusResponse :: Int -> UpdatePackageVersionsStatusResponse
-- | See: newUpdateRepository smart constructor.
data UpdateRepository
UpdateRepository' :: Maybe Text -> Maybe Text -> Maybe [UpstreamRepository] -> Text -> Text -> UpdateRepository
-- | Create a value of UpdateRepository 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:
--
-- UpdateRepository, updateRepository_description - An
-- updated repository description.
--
-- UpdateRepository, updateRepository_domainOwner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- UpdateRepository, updateRepository_upstreams - A list of
-- upstream repositories to associate with the repository. The order of
-- the upstream repositories in the list determines their priority order
-- when CodeArtifact looks for a requested package version. For more
-- information, see Working with upstream repositories.
--
-- $sel:domain:UpdateRepository', updateRepository_domain -
-- The name of the domain associated with the repository to update.
--
-- UpdateRepository, updateRepository_repository - The name
-- of the repository to update.
newUpdateRepository :: Text -> Text -> UpdateRepository
-- | See: newUpdateRepositoryResponse smart constructor.
data UpdateRepositoryResponse
UpdateRepositoryResponse' :: Maybe RepositoryDescription -> Int -> UpdateRepositoryResponse
-- | Create a value of UpdateRepositoryResponse 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:
--
-- UpdateRepository, updateRepositoryResponse_repository -
-- The updated repository.
--
-- $sel:httpStatus:UpdateRepositoryResponse',
-- updateRepositoryResponse_httpStatus - The response's http
-- status code.
newUpdateRepositoryResponse :: Int -> UpdateRepositoryResponse
newtype AllowPublish
AllowPublish' :: Text -> AllowPublish
[fromAllowPublish] :: AllowPublish -> Text
pattern AllowPublish_ALLOW :: AllowPublish
pattern AllowPublish_BLOCK :: AllowPublish
newtype AllowUpstream
AllowUpstream' :: Text -> AllowUpstream
[fromAllowUpstream] :: AllowUpstream -> Text
pattern AllowUpstream_ALLOW :: AllowUpstream
pattern AllowUpstream_BLOCK :: AllowUpstream
newtype DomainStatus
DomainStatus' :: Text -> DomainStatus
[fromDomainStatus] :: DomainStatus -> Text
pattern DomainStatus_Active :: DomainStatus
pattern DomainStatus_Deleted :: DomainStatus
newtype ExternalConnectionStatus
ExternalConnectionStatus' :: Text -> ExternalConnectionStatus
[fromExternalConnectionStatus] :: ExternalConnectionStatus -> Text
pattern ExternalConnectionStatus_Available :: ExternalConnectionStatus
newtype HashAlgorithm
HashAlgorithm' :: Text -> HashAlgorithm
[fromHashAlgorithm] :: HashAlgorithm -> Text
pattern HashAlgorithm_MD5 :: HashAlgorithm
pattern HashAlgorithm_SHA_1 :: HashAlgorithm
pattern HashAlgorithm_SHA_256 :: HashAlgorithm
pattern HashAlgorithm_SHA_512 :: HashAlgorithm
newtype PackageFormat
PackageFormat' :: Text -> PackageFormat
[fromPackageFormat] :: PackageFormat -> Text
pattern PackageFormat_Maven :: PackageFormat
pattern PackageFormat_Npm :: PackageFormat
pattern PackageFormat_Nuget :: PackageFormat
pattern PackageFormat_Pypi :: PackageFormat
newtype PackageVersionErrorCode
PackageVersionErrorCode' :: Text -> PackageVersionErrorCode
[fromPackageVersionErrorCode] :: PackageVersionErrorCode -> Text
pattern PackageVersionErrorCode_ALREADY_EXISTS :: PackageVersionErrorCode
pattern PackageVersionErrorCode_MISMATCHED_REVISION :: PackageVersionErrorCode
pattern PackageVersionErrorCode_MISMATCHED_STATUS :: PackageVersionErrorCode
pattern PackageVersionErrorCode_NOT_ALLOWED :: PackageVersionErrorCode
pattern PackageVersionErrorCode_NOT_FOUND :: PackageVersionErrorCode
pattern PackageVersionErrorCode_SKIPPED :: PackageVersionErrorCode
newtype PackageVersionOriginType
PackageVersionOriginType' :: Text -> PackageVersionOriginType
[fromPackageVersionOriginType] :: PackageVersionOriginType -> Text
pattern PackageVersionOriginType_EXTERNAL :: PackageVersionOriginType
pattern PackageVersionOriginType_INTERNAL :: PackageVersionOriginType
pattern PackageVersionOriginType_UNKNOWN :: PackageVersionOriginType
newtype PackageVersionSortType
PackageVersionSortType' :: Text -> PackageVersionSortType
[fromPackageVersionSortType] :: PackageVersionSortType -> Text
pattern PackageVersionSortType_PUBLISHED_TIME :: PackageVersionSortType
newtype PackageVersionStatus
PackageVersionStatus' :: Text -> PackageVersionStatus
[fromPackageVersionStatus] :: PackageVersionStatus -> Text
pattern PackageVersionStatus_Archived :: PackageVersionStatus
pattern PackageVersionStatus_Deleted :: PackageVersionStatus
pattern PackageVersionStatus_Disposed :: PackageVersionStatus
pattern PackageVersionStatus_Published :: PackageVersionStatus
pattern PackageVersionStatus_Unfinished :: PackageVersionStatus
pattern PackageVersionStatus_Unlisted :: PackageVersionStatus
-- | Contains details about a package version asset.
--
-- See: newAssetSummary smart constructor.
data AssetSummary
AssetSummary' :: Maybe (HashMap HashAlgorithm Text) -> Maybe Integer -> Text -> AssetSummary
-- | Create a value of AssetSummary 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:hashes:AssetSummary', assetSummary_hashes - The
-- hashes of the asset.
--
-- $sel:size:AssetSummary', assetSummary_size - The size of
-- the asset.
--
-- $sel:name:AssetSummary', assetSummary_name - The name of
-- the asset.
newAssetSummary :: Text -> AssetSummary
-- | Information about a domain. A domain is a container for repositories.
-- When you create a domain, it is empty until you add one or more
-- repositories.
--
-- See: newDomainDescription smart constructor.
data DomainDescription
DomainDescription' :: Maybe Text -> Maybe Integer -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe DomainStatus -> DomainDescription
-- | Create a value of DomainDescription 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:DomainDescription', domainDescription_arn - The
-- Amazon Resource Name (ARN) of the domain.
--
-- $sel:assetSizeBytes:DomainDescription',
-- domainDescription_assetSizeBytes - The total size of all assets
-- in the domain.
--
-- $sel:createdTime:DomainDescription',
-- domainDescription_createdTime - A timestamp that represents the
-- date and time the domain was created.
--
-- $sel:encryptionKey:DomainDescription',
-- domainDescription_encryptionKey - The ARN of an Key Management
-- Service (KMS) key associated with a domain.
--
-- $sel:name:DomainDescription', domainDescription_name -
-- The name of the domain.
--
-- $sel:owner:DomainDescription', domainDescription_owner -
-- The Amazon Web Services account ID that owns the domain.
--
-- $sel:repositoryCount:DomainDescription',
-- domainDescription_repositoryCount - The number of repositories
-- in the domain.
--
-- $sel:s3BucketArn:DomainDescription',
-- domainDescription_s3BucketArn - The Amazon Resource Name (ARN)
-- of the Amazon S3 bucket that is used to store package assets in the
-- domain.
--
-- $sel:status:DomainDescription', domainDescription_status
-- - The current status of a domain.
newDomainDescription :: DomainDescription
-- | Information about how a package originally entered the CodeArtifact
-- domain. For packages published directly to CodeArtifact, the entry
-- point is the repository it was published to. For packages ingested
-- from an external repository, the entry point is the external
-- connection that it was ingested from. An external connection is a
-- CodeArtifact repository that is connected to an external repository
-- such as the npm registry or NuGet gallery.
--
-- See: newDomainEntryPoint smart constructor.
data DomainEntryPoint
DomainEntryPoint' :: Maybe Text -> Maybe Text -> DomainEntryPoint
-- | Create a value of DomainEntryPoint 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:externalConnectionName:DomainEntryPoint',
-- domainEntryPoint_externalConnectionName - The name of the
-- external connection that a package was ingested from.
--
-- $sel:repositoryName:DomainEntryPoint',
-- domainEntryPoint_repositoryName - The name of the repository
-- that a package was originally published to.
newDomainEntryPoint :: DomainEntryPoint
-- | Information about a domain, including its name, Amazon Resource Name
-- (ARN), and status. The ListDomains operation returns a list of
-- DomainSummary objects.
--
-- See: newDomainSummary smart constructor.
data DomainSummary
DomainSummary' :: Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe DomainStatus -> DomainSummary
-- | Create a value of DomainSummary 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:DomainSummary', domainSummary_arn - The ARN of
-- the domain.
--
-- $sel:createdTime:DomainSummary',
-- domainSummary_createdTime - A timestamp that contains the date
-- and time the domain was created.
--
-- $sel:encryptionKey:DomainSummary',
-- domainSummary_encryptionKey - The key used to encrypt the
-- domain.
--
-- $sel:name:DomainSummary', domainSummary_name - The name
-- of the domain.
--
-- $sel:owner:DomainSummary', domainSummary_owner - The
-- 12-digit account number of the Amazon Web Services account that owns
-- the domain. It does not include dashes or spaces.
--
-- $sel:status:DomainSummary', domainSummary_status - A
-- string that contains the status of the domain.
newDomainSummary :: DomainSummary
-- | Details of the license data.
--
-- See: newLicenseInfo smart constructor.
data LicenseInfo
LicenseInfo' :: Maybe Text -> Maybe Text -> LicenseInfo
-- | Create a value of LicenseInfo 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:name:LicenseInfo', licenseInfo_name - Name of the
-- license.
--
-- $sel:url:LicenseInfo', licenseInfo_url - The URL for
-- license data.
newLicenseInfo :: LicenseInfo
-- | Details about a package dependency.
--
-- See: newPackageDependency smart constructor.
data PackageDependency
PackageDependency' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> PackageDependency
-- | Create a value of PackageDependency 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:dependencyType:PackageDependency',
-- packageDependency_dependencyType - The type of a package
-- dependency. The possible values depend on the package type. Example
-- types are compile, runtime, and test for
-- Maven packages, and dev, prod, and optional
-- for npm packages.
--
-- $sel:namespace:PackageDependency',
-- packageDependency_namespace - The namespace of the package that
-- this package depends on. The package component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- $sel:package:PackageDependency',
-- packageDependency_package - The name of the package that this
-- package depends on.
--
-- $sel:versionRequirement:PackageDependency',
-- packageDependency_versionRequirement - The required version, or
-- version range, of the package that this package depends on. The
-- version format is specific to the package type. For example, the
-- following are possible valid required versions: 1.2.3,
-- ^2.3.4, or 4.x.
newPackageDependency :: PackageDependency
-- | Details about a package.
--
-- See: newPackageDescription smart constructor.
data PackageDescription
PackageDescription' :: Maybe PackageFormat -> Maybe Text -> Maybe Text -> Maybe PackageOriginConfiguration -> PackageDescription
-- | Create a value of PackageDescription 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:format:PackageDescription',
-- packageDescription_format - A format that specifies the type of
-- the package.
--
-- $sel:name:PackageDescription', packageDescription_name -
-- The name of the package.
--
-- $sel:namespace:PackageDescription',
-- packageDescription_namespace - The namespace of the package.
-- The package component that specifies its namespace depends on its
-- type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- $sel:originConfiguration:PackageDescription',
-- packageDescription_originConfiguration - The package origin
-- configuration for the package.
newPackageDescription :: PackageDescription
-- | Details about the package origin configuration of a package.
--
-- See: newPackageOriginConfiguration smart constructor.
data PackageOriginConfiguration
PackageOriginConfiguration' :: Maybe PackageOriginRestrictions -> PackageOriginConfiguration
-- | Create a value of PackageOriginConfiguration 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:restrictions:PackageOriginConfiguration',
-- packageOriginConfiguration_restrictions - A
-- PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin configuration for the
-- package.
newPackageOriginConfiguration :: PackageOriginConfiguration
-- | Details about the origin restrictions set on the package. The package
-- origin restrictions determine how new versions of a package can be
-- added to a specific repository.
--
-- See: newPackageOriginRestrictions smart constructor.
data PackageOriginRestrictions
PackageOriginRestrictions' :: AllowPublish -> AllowUpstream -> PackageOriginRestrictions
-- | Create a value of PackageOriginRestrictions 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:publish:PackageOriginRestrictions',
-- packageOriginRestrictions_publish - The package origin
-- configuration that determines if new versions of the package can be
-- published directly to the repository.
--
-- $sel:upstream:PackageOriginRestrictions',
-- packageOriginRestrictions_upstream - The package origin
-- configuration that determines if new versions of the package can be
-- added to the repository from an external connection or upstream
-- source.
newPackageOriginRestrictions :: AllowPublish -> AllowUpstream -> PackageOriginRestrictions
-- | Details about a package, including its format, namespace, and name.
-- The ListPackages operation returns a list of
-- PackageSummary objects.
--
-- See: newPackageSummary smart constructor.
data PackageSummary
PackageSummary' :: Maybe PackageFormat -> Maybe Text -> Maybe PackageOriginConfiguration -> Maybe Text -> PackageSummary
-- | Create a value of PackageSummary 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:format:PackageSummary', packageSummary_format - The
-- format of the package.
--
-- $sel:namespace:PackageSummary', packageSummary_namespace
-- - The namespace of the package. The package component that specifies
-- its namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package is its groupId.
-- - The namespace of an npm package is its scope.
-- - Python and NuGet packages do not contain a corresponding
-- component, packages of those formats do not have a namespace.
--
--
-- $sel:originConfiguration:PackageSummary',
-- packageSummary_originConfiguration - A
-- PackageOriginConfiguration object that contains a
-- PackageOriginRestrictions object that contains information
-- about the upstream and publish package origin restrictions.
--
-- $sel:package:PackageSummary', packageSummary_package -
-- The name of the package.
newPackageSummary :: PackageSummary
-- | Details about a package version.
--
-- See: newPackageVersionDescription smart constructor.
data PackageVersionDescription
PackageVersionDescription' :: Maybe Text -> Maybe PackageFormat -> Maybe Text -> Maybe [LicenseInfo] -> Maybe Text -> Maybe PackageVersionOrigin -> Maybe Text -> Maybe POSIX -> Maybe Text -> Maybe Text -> Maybe PackageVersionStatus -> Maybe Text -> Maybe Text -> PackageVersionDescription
-- | Create a value of PackageVersionDescription 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:displayName:PackageVersionDescription',
-- packageVersionDescription_displayName - The name of the package
-- that is displayed. The displayName varies depending on the
-- package version's format. For example, if an npm package is named
-- ui, is in the namespace vue, and has the format
-- npm, then the displayName is @vue/ui.
--
-- $sel:format:PackageVersionDescription',
-- packageVersionDescription_format - The format of the package
-- version.
--
-- $sel:homePage:PackageVersionDescription',
-- packageVersionDescription_homePage - The homepage associated
-- with the package.
--
-- $sel:licenses:PackageVersionDescription',
-- packageVersionDescription_licenses - Information about licenses
-- associated with the package version.
--
-- $sel:namespace:PackageVersionDescription',
-- packageVersionDescription_namespace - The namespace of the
-- package version. The package version component that specifies its
-- namespace depends on its type. For example:
--
--
-- - The namespace of a Maven package version is its
-- groupId.
-- - The namespace of an npm package version is its
-- scope.
-- - Python and NuGet package versions do not contain a corresponding
-- component, package versions of those formats do not have a
-- namespace.
--
--
-- $sel:origin:PackageVersionDescription',
-- packageVersionDescription_origin - A
-- PackageVersionOrigin object that contains information about how
-- the package version was added to the repository.
--
-- $sel:packageName:PackageVersionDescription',
-- packageVersionDescription_packageName - The name of the
-- requested package.
--
-- $sel:publishedTime:PackageVersionDescription',
-- packageVersionDescription_publishedTime - A timestamp that
-- contains the date and time the package version was published.
--
-- $sel:revision:PackageVersionDescription',
-- packageVersionDescription_revision - The revision of the
-- package version.
--
-- $sel:sourceCodeRepository:PackageVersionDescription',
-- packageVersionDescription_sourceCodeRepository - The repository
-- for the source code in the package version, or the source code used to
-- build it.
--
-- $sel:status:PackageVersionDescription',
-- packageVersionDescription_status - A string that contains the
-- status of the package version.
--
-- $sel:summary:PackageVersionDescription',
-- packageVersionDescription_summary - A summary of the package
-- version. The summary is extracted from the package. The information in
-- and detail level of the summary depends on the package version's
-- format.
--
-- $sel:version:PackageVersionDescription',
-- packageVersionDescription_version - The version of the package.
newPackageVersionDescription :: PackageVersionDescription
-- | l An error associated with package.
--
-- See: newPackageVersionError smart constructor.
data PackageVersionError
PackageVersionError' :: Maybe PackageVersionErrorCode -> Maybe Text -> PackageVersionError
-- | Create a value of PackageVersionError 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:errorCode:PackageVersionError',
-- packageVersionError_errorCode - The error code associated with
-- the error. Valid error codes are:
--
--
-- ALREADY_EXISTS
-- MISMATCHED_REVISION
-- MISMATCHED_STATUS
-- NOT_ALLOWED
-- NOT_FOUND
-- SKIPPED
--
--
-- $sel:errorMessage:PackageVersionError',
-- packageVersionError_errorMessage - The error message associated
-- with the error.
newPackageVersionError :: PackageVersionError
-- | Information about how a package version was added to a repository.
--
-- See: newPackageVersionOrigin smart constructor.
data PackageVersionOrigin
PackageVersionOrigin' :: Maybe DomainEntryPoint -> Maybe PackageVersionOriginType -> PackageVersionOrigin
-- | Create a value of PackageVersionOrigin 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:domainEntryPoint:PackageVersionOrigin',
-- packageVersionOrigin_domainEntryPoint - A
-- DomainEntryPoint object that contains information about from
-- which repository or external connection the package version was added
-- to the domain.
--
-- $sel:originType:PackageVersionOrigin',
-- packageVersionOrigin_originType - Describes how the package
-- version was originally added to the domain. An INTERNAL
-- origin type means the package version was published directly to a
-- repository in the domain. An EXTERNAL origin type means the
-- package version was ingested from an external connection.
newPackageVersionOrigin :: PackageVersionOrigin
-- | Details about a package version, including its status, version, and
-- revision. The ListPackageVersions operation returns a list of
-- PackageVersionSummary objects.
--
-- See: newPackageVersionSummary smart constructor.
data PackageVersionSummary
PackageVersionSummary' :: Maybe PackageVersionOrigin -> Maybe Text -> Text -> PackageVersionStatus -> PackageVersionSummary
-- | Create a value of PackageVersionSummary 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:origin:PackageVersionSummary',
-- packageVersionSummary_origin - A PackageVersionOrigin
-- object that contains information about how the package version was
-- added to the repository.
--
-- $sel:revision:PackageVersionSummary',
-- packageVersionSummary_revision - The revision associated with a
-- package version.
--
-- $sel:version:PackageVersionSummary',
-- packageVersionSummary_version - Information about a package
-- version.
--
-- $sel:status:PackageVersionSummary',
-- packageVersionSummary_status - A string that contains the
-- status of the package version. It can be one of the following:
newPackageVersionSummary :: Text -> PackageVersionStatus -> PackageVersionSummary
-- | The details of a repository stored in CodeArtifact. A CodeArtifact
-- repository contains a set of package versions, each of which maps to a
-- set of assets. Repositories are polyglot—a single repository can
-- contain packages of any supported type. Each repository exposes
-- endpoints for fetching and publishing packages using tools like the
-- npm CLI, the Maven CLI (mvn), and pip. You
-- can create up to 100 repositories per Amazon Web Services account.
--
-- See: newRepositoryDescription smart constructor.
data RepositoryDescription
RepositoryDescription' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe [RepositoryExternalConnectionInfo] -> Maybe Text -> Maybe [UpstreamRepositoryInfo] -> RepositoryDescription
-- | Create a value of RepositoryDescription 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:administratorAccount:RepositoryDescription',
-- repositoryDescription_administratorAccount - The 12-digit
-- account number of the Amazon Web Services account that manages the
-- repository.
--
-- $sel:arn:RepositoryDescription',
-- repositoryDescription_arn - The Amazon Resource Name (ARN) of
-- the repository.
--
-- $sel:description:RepositoryDescription',
-- repositoryDescription_description - A text description of the
-- repository.
--
-- $sel:domainName:RepositoryDescription',
-- repositoryDescription_domainName - The name of the domain that
-- contains the repository.
--
-- $sel:domainOwner:RepositoryDescription',
-- repositoryDescription_domainOwner - The 12-digit account number
-- of the Amazon Web Services account that owns the domain that contains
-- the repository. It does not include dashes or spaces.
--
-- $sel:externalConnections:RepositoryDescription',
-- repositoryDescription_externalConnections - An array of
-- external connections associated with the repository.
--
-- $sel:name:RepositoryDescription',
-- repositoryDescription_name - The name of the repository.
--
-- $sel:upstreams:RepositoryDescription',
-- repositoryDescription_upstreams - A list of upstream
-- repositories to associate with the repository. The order of the
-- upstream repositories in the list determines their priority order when
-- CodeArtifact looks for a requested package version. For more
-- information, see Working with upstream repositories.
newRepositoryDescription :: RepositoryDescription
-- | Contains information about the external connection of a repository.
--
-- See: newRepositoryExternalConnectionInfo smart
-- constructor.
data RepositoryExternalConnectionInfo
RepositoryExternalConnectionInfo' :: Maybe Text -> Maybe PackageFormat -> Maybe ExternalConnectionStatus -> RepositoryExternalConnectionInfo
-- | Create a value of RepositoryExternalConnectionInfo 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:externalConnectionName:RepositoryExternalConnectionInfo',
-- repositoryExternalConnectionInfo_externalConnectionName - The
-- name of the external connection associated with a repository.
--
-- $sel:packageFormat:RepositoryExternalConnectionInfo',
-- repositoryExternalConnectionInfo_packageFormat - The package
-- format associated with a repository's external connection. The valid
-- package formats are:
--
--
-- - npm: A Node Package Manager (npm) package.
-- - pypi: A Python Package Index (PyPI) package.
-- - maven: A Maven package that contains compiled code in a
-- distributable format, such as a JAR file.
-- - nuget: A NuGet package.
--
--
-- $sel:status:RepositoryExternalConnectionInfo',
-- repositoryExternalConnectionInfo_status - The status of the
-- external connection of a repository. There is one valid value,
-- Available.
newRepositoryExternalConnectionInfo :: RepositoryExternalConnectionInfo
-- | Details about a repository, including its Amazon Resource Name (ARN),
-- description, and domain information. The ListRepositories
-- operation returns a list of RepositorySummary objects.
--
-- See: newRepositorySummary smart constructor.
data RepositorySummary
RepositorySummary' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> RepositorySummary
-- | Create a value of RepositorySummary 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:administratorAccount:RepositorySummary',
-- repositorySummary_administratorAccount - The Amazon Web
-- Services account ID that manages the repository.
--
-- $sel:arn:RepositorySummary', repositorySummary_arn - The
-- ARN of the repository.
--
-- $sel:description:RepositorySummary',
-- repositorySummary_description - The description of the
-- repository.
--
-- $sel:domainName:RepositorySummary',
-- repositorySummary_domainName - The name of the domain that
-- contains the repository.
--
-- $sel:domainOwner:RepositorySummary',
-- repositorySummary_domainOwner - The 12-digit account number of
-- the Amazon Web Services account that owns the domain. It does not
-- include dashes or spaces.
--
-- $sel:name:RepositorySummary', repositorySummary_name -
-- The name of the repository.
newRepositorySummary :: RepositorySummary
-- | An CodeArtifact resource policy that contains a resource ARN, document
-- details, and a revision.
--
-- See: newResourcePolicy smart constructor.
data ResourcePolicy
ResourcePolicy' :: Maybe Text -> Maybe Text -> Maybe Text -> ResourcePolicy
-- | Create a value of ResourcePolicy 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:document:ResourcePolicy', resourcePolicy_document -
-- The resource policy formatted in JSON.
--
-- $sel:resourceArn:ResourcePolicy',
-- resourcePolicy_resourceArn - The ARN of the resource associated
-- with the resource policy
--
-- $sel:revision:ResourcePolicy', resourcePolicy_revision -
-- The current revision of the resource policy.
newResourcePolicy :: ResourcePolicy
-- | Contains the revision and status of a package version.
--
-- See: newSuccessfulPackageVersionInfo smart constructor.
data SuccessfulPackageVersionInfo
SuccessfulPackageVersionInfo' :: Maybe Text -> Maybe PackageVersionStatus -> SuccessfulPackageVersionInfo
-- | Create a value of SuccessfulPackageVersionInfo 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:revision:SuccessfulPackageVersionInfo',
-- successfulPackageVersionInfo_revision - The revision of a
-- package version.
--
-- $sel:status:SuccessfulPackageVersionInfo',
-- successfulPackageVersionInfo_status - The status of a package
-- version.
newSuccessfulPackageVersionInfo :: SuccessfulPackageVersionInfo
-- | A tag is a key-value pair that can be used to manage, search for, or
-- filter resources in CodeArtifact.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Text -> Text -> Tag
-- | Create a value of Tag 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:key:Tag', tag_key - The tag key.
--
-- $sel:value:Tag', tag_value - The tag value.
newTag :: Text -> Text -> Tag
-- | Information about an upstream repository. A list of
-- UpstreamRepository objects is an input parameter to
-- CreateRepository and UpdateRepository.
--
-- See: newUpstreamRepository smart constructor.
data UpstreamRepository
UpstreamRepository' :: Text -> UpstreamRepository
-- | Create a value of UpstreamRepository 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:repositoryName:UpstreamRepository',
-- upstreamRepository_repositoryName - The name of an upstream
-- repository.
newUpstreamRepository :: Text -> UpstreamRepository
-- | Information about an upstream repository.
--
-- See: newUpstreamRepositoryInfo smart constructor.
data UpstreamRepositoryInfo
UpstreamRepositoryInfo' :: Maybe Text -> UpstreamRepositoryInfo
-- | Create a value of UpstreamRepositoryInfo 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:repositoryName:UpstreamRepositoryInfo',
-- upstreamRepositoryInfo_repositoryName - The name of an upstream
-- repository.
newUpstreamRepositoryInfo :: UpstreamRepositoryInfo