amazonka-servicecatalog 1.4.5 → 1.5.0
raw patch · 82 files changed
+5843/−3159 lines, 82 filesdep ~amazonka-coredep ~amazonka-servicecatalogdep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core, amazonka-servicecatalog, amazonka-test
API changes (from Hackage documentation)
- Network.AWS.ServiceCatalog: Error' :: RecordStatus
- Network.AWS.ServiceCatalog: InProgress :: RecordStatus
- Network.AWS.ServiceCatalog: Succeeded :: RecordStatus
- Network.AWS.ServiceCatalog.CreatePortfolio: cAcceptLanguage :: Lens' CreatePortfolio (Maybe Text)
- Network.AWS.ServiceCatalog.CreatePortfolio: cDescription :: Lens' CreatePortfolio (Maybe Text)
- Network.AWS.ServiceCatalog.CreatePortfolio: cDisplayName :: Lens' CreatePortfolio Text
- Network.AWS.ServiceCatalog.CreatePortfolio: cIdempotencyToken :: Lens' CreatePortfolio Text
- Network.AWS.ServiceCatalog.CreatePortfolio: cProviderName :: Lens' CreatePortfolio Text
- Network.AWS.ServiceCatalog.CreatePortfolio: cTags :: Lens' CreatePortfolio [Tag]
- Network.AWS.ServiceCatalog.DescribeConstraint: drsConstraintDetail :: Lens' DescribeConstraintResponse (Maybe ConstraintDetail)
- Network.AWS.ServiceCatalog.DescribeConstraint: drsConstraintParameters :: Lens' DescribeConstraintResponse (Maybe Text)
- Network.AWS.ServiceCatalog.DescribeConstraint: drsResponseStatus :: Lens' DescribeConstraintResponse Int
- Network.AWS.ServiceCatalog.DescribeConstraint: drsStatus :: Lens' DescribeConstraintResponse (Maybe RequestStatus)
- Network.AWS.ServiceCatalog.DescribeProvisioningArtifact: desrsInfo :: Lens' DescribeProvisioningArtifactResponse (HashMap Text Text)
- Network.AWS.ServiceCatalog.DescribeProvisioningArtifact: desrsProvisioningArtifactDetail :: Lens' DescribeProvisioningArtifactResponse (Maybe ProvisioningArtifactDetail)
- Network.AWS.ServiceCatalog.DescribeProvisioningArtifact: desrsResponseStatus :: Lens' DescribeProvisioningArtifactResponse Int
- Network.AWS.ServiceCatalog.DescribeProvisioningArtifact: desrsStatus :: Lens' DescribeProvisioningArtifactResponse (Maybe RequestStatus)
- Network.AWS.ServiceCatalog.Types: Error' :: RecordStatus
- Network.AWS.ServiceCatalog.Types: InProgress :: RecordStatus
- Network.AWS.ServiceCatalog.Types: Succeeded :: RecordStatus
+ Network.AWS.ServiceCatalog: CPSFailed :: CopyProductStatus
+ Network.AWS.ServiceCatalog: CPSInProgress :: CopyProductStatus
+ Network.AWS.ServiceCatalog: CPSSucceeded :: CopyProductStatus
+ Network.AWS.ServiceCatalog: CopyTags :: CopyOption
+ Network.AWS.ServiceCatalog: Id :: ProvisioningArtifactPropertyName
+ Network.AWS.ServiceCatalog: Marketplace :: ProductType
+ Network.AWS.ServiceCatalog: PATMarketplaceAMI :: ProvisioningArtifactType
+ Network.AWS.ServiceCatalog: PATMarketplaceCar :: ProvisioningArtifactType
+ Network.AWS.ServiceCatalog: PPSAvailable :: ProvisionedProductStatus
+ Network.AWS.ServiceCatalog: PPSError' :: ProvisionedProductStatus
+ Network.AWS.ServiceCatalog: PPSTainted :: ProvisionedProductStatus
+ Network.AWS.ServiceCatalog: PPSUnderChange :: ProvisionedProductStatus
+ Network.AWS.ServiceCatalog: RSCreated :: RecordStatus
+ Network.AWS.ServiceCatalog: RSFailed :: RecordStatus
+ Network.AWS.ServiceCatalog: RSInProgress :: RecordStatus
+ Network.AWS.ServiceCatalog: RSInProgressInError :: RecordStatus
+ Network.AWS.ServiceCatalog: RSSucceeded :: RecordStatus
+ Network.AWS.ServiceCatalog: SourceProductId :: ProductViewFilterBy
+ Network.AWS.ServiceCatalog: _InvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.ServiceCatalog: _TagOptionNotMigratedException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.ServiceCatalog: data CopyOption
+ Network.AWS.ServiceCatalog: data CopyProductStatus
+ Network.AWS.ServiceCatalog: data ListTagOptionsFilters
+ Network.AWS.ServiceCatalog: data ProvisionedProductStatus
+ Network.AWS.ServiceCatalog: data ProvisioningArtifactPropertyName
+ Network.AWS.ServiceCatalog: data ProvisioningArtifactSummary
+ Network.AWS.ServiceCatalog: data ResourceDetail
+ Network.AWS.ServiceCatalog: data TagOptionDetail
+ Network.AWS.ServiceCatalog: data TagOptionSummary
+ Network.AWS.ServiceCatalog: listTagOptionsFilters :: ListTagOptionsFilters
+ Network.AWS.ServiceCatalog: ltofActive :: Lens' ListTagOptionsFilters (Maybe Bool)
+ Network.AWS.ServiceCatalog: ltofKey :: Lens' ListTagOptionsFilters (Maybe Text)
+ Network.AWS.ServiceCatalog: ltofValue :: Lens' ListTagOptionsFilters (Maybe Text)
+ Network.AWS.ServiceCatalog: pasCreatedTime :: Lens' ProvisioningArtifactSummary (Maybe UTCTime)
+ Network.AWS.ServiceCatalog: pasDescription :: Lens' ProvisioningArtifactSummary (Maybe Text)
+ Network.AWS.ServiceCatalog: pasId :: Lens' ProvisioningArtifactSummary (Maybe Text)
+ Network.AWS.ServiceCatalog: pasName :: Lens' ProvisioningArtifactSummary (Maybe Text)
+ Network.AWS.ServiceCatalog: pasProvisioningArtifactMetadata :: Lens' ProvisioningArtifactSummary (HashMap Text Text)
+ Network.AWS.ServiceCatalog: provisioningArtifactSummary :: ProvisioningArtifactSummary
+ Network.AWS.ServiceCatalog: rARN :: Lens' ResourceDetail (Maybe Text)
+ Network.AWS.ServiceCatalog: rCreatedTime :: Lens' ResourceDetail (Maybe UTCTime)
+ Network.AWS.ServiceCatalog: rDescription :: Lens' ResourceDetail (Maybe Text)
+ Network.AWS.ServiceCatalog: rId :: Lens' ResourceDetail (Maybe Text)
+ Network.AWS.ServiceCatalog: rName :: Lens' ResourceDetail (Maybe Text)
+ Network.AWS.ServiceCatalog: resourceDetail :: ResourceDetail
+ Network.AWS.ServiceCatalog: tagOptionDetail :: TagOptionDetail
+ Network.AWS.ServiceCatalog: tagOptionSummary :: TagOptionSummary
+ Network.AWS.ServiceCatalog: todActive :: Lens' TagOptionDetail (Maybe Bool)
+ Network.AWS.ServiceCatalog: todId :: Lens' TagOptionDetail (Maybe Text)
+ Network.AWS.ServiceCatalog: todKey :: Lens' TagOptionDetail (Maybe Text)
+ Network.AWS.ServiceCatalog: todValue :: Lens' TagOptionDetail (Maybe Text)
+ Network.AWS.ServiceCatalog: tosKey :: Lens' TagOptionSummary (Maybe Text)
+ Network.AWS.ServiceCatalog: tosValues :: Lens' TagOptionSummary [Text]
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: associateTagOptionWithResource :: Text -> Text -> AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: associateTagOptionWithResourceResponse :: Int -> AssociateTagOptionWithResourceResponse
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: atowrResourceId :: Lens' AssociateTagOptionWithResource Text
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: atowrTagOptionId :: Lens' AssociateTagOptionWithResource Text
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: atowrrsResponseStatus :: Lens' AssociateTagOptionWithResourceResponse Int
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: data AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: data AssociateTagOptionWithResourceResponse
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResourceResponse
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance Data.Data.Data Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance Data.Data.Data Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResourceResponse
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance Data.Hashable.Class.Hashable Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResourceResponse
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResourceResponse
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance GHC.Read.Read Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance GHC.Read.Read Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResourceResponse
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance GHC.Show.Show Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance GHC.Show.Show Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResourceResponse
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance Network.AWS.Data.Path.ToPath Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance Network.AWS.Data.Query.ToQuery Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.AssociateTagOptionWithResource: instance Network.AWS.Types.AWSRequest Network.AWS.ServiceCatalog.AssociateTagOptionWithResource.AssociateTagOptionWithResource
+ Network.AWS.ServiceCatalog.CopyProduct: cAcceptLanguage :: Lens' CopyProduct (Maybe Text)
+ Network.AWS.ServiceCatalog.CopyProduct: cCopyOptions :: Lens' CopyProduct [CopyOption]
+ Network.AWS.ServiceCatalog.CopyProduct: cIdempotencyToken :: Lens' CopyProduct Text
+ Network.AWS.ServiceCatalog.CopyProduct: cSourceProductARN :: Lens' CopyProduct Text
+ Network.AWS.ServiceCatalog.CopyProduct: cSourceProvisioningArtifactIdentifiers :: Lens' CopyProduct [HashMap ProvisioningArtifactPropertyName Text]
+ Network.AWS.ServiceCatalog.CopyProduct: cTargetProductId :: Lens' CopyProduct (Maybe Text)
+ Network.AWS.ServiceCatalog.CopyProduct: cTargetProductName :: Lens' CopyProduct (Maybe Text)
+ Network.AWS.ServiceCatalog.CopyProduct: coprsCopyProductToken :: Lens' CopyProductResponse (Maybe Text)
+ Network.AWS.ServiceCatalog.CopyProduct: coprsResponseStatus :: Lens' CopyProductResponse Int
+ Network.AWS.ServiceCatalog.CopyProduct: copyProduct :: Text -> Text -> CopyProduct
+ Network.AWS.ServiceCatalog.CopyProduct: copyProductResponse :: Int -> CopyProductResponse
+ Network.AWS.ServiceCatalog.CopyProduct: data CopyProduct
+ Network.AWS.ServiceCatalog.CopyProduct: data CopyProductResponse
+ Network.AWS.ServiceCatalog.CopyProduct: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.CopyProduct.CopyProduct
+ Network.AWS.ServiceCatalog.CopyProduct: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.CopyProduct.CopyProductResponse
+ Network.AWS.ServiceCatalog.CopyProduct: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ServiceCatalog.CopyProduct.CopyProduct
+ Network.AWS.ServiceCatalog.CopyProduct: instance Data.Data.Data Network.AWS.ServiceCatalog.CopyProduct.CopyProduct
+ Network.AWS.ServiceCatalog.CopyProduct: instance Data.Data.Data Network.AWS.ServiceCatalog.CopyProduct.CopyProductResponse
+ Network.AWS.ServiceCatalog.CopyProduct: instance Data.Hashable.Class.Hashable Network.AWS.ServiceCatalog.CopyProduct.CopyProduct
+ Network.AWS.ServiceCatalog.CopyProduct: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.CopyProduct.CopyProduct
+ Network.AWS.ServiceCatalog.CopyProduct: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.CopyProduct.CopyProductResponse
+ Network.AWS.ServiceCatalog.CopyProduct: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.CopyProduct.CopyProduct
+ Network.AWS.ServiceCatalog.CopyProduct: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.CopyProduct.CopyProductResponse
+ Network.AWS.ServiceCatalog.CopyProduct: instance GHC.Read.Read Network.AWS.ServiceCatalog.CopyProduct.CopyProduct
+ Network.AWS.ServiceCatalog.CopyProduct: instance GHC.Read.Read Network.AWS.ServiceCatalog.CopyProduct.CopyProductResponse
+ Network.AWS.ServiceCatalog.CopyProduct: instance GHC.Show.Show Network.AWS.ServiceCatalog.CopyProduct.CopyProduct
+ Network.AWS.ServiceCatalog.CopyProduct: instance GHC.Show.Show Network.AWS.ServiceCatalog.CopyProduct.CopyProductResponse
+ Network.AWS.ServiceCatalog.CopyProduct: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ServiceCatalog.CopyProduct.CopyProduct
+ Network.AWS.ServiceCatalog.CopyProduct: instance Network.AWS.Data.Path.ToPath Network.AWS.ServiceCatalog.CopyProduct.CopyProduct
+ Network.AWS.ServiceCatalog.CopyProduct: instance Network.AWS.Data.Query.ToQuery Network.AWS.ServiceCatalog.CopyProduct.CopyProduct
+ Network.AWS.ServiceCatalog.CopyProduct: instance Network.AWS.Types.AWSRequest Network.AWS.ServiceCatalog.CopyProduct.CopyProduct
+ Network.AWS.ServiceCatalog.CreatePortfolio: creAcceptLanguage :: Lens' CreatePortfolio (Maybe Text)
+ Network.AWS.ServiceCatalog.CreatePortfolio: creDescription :: Lens' CreatePortfolio (Maybe Text)
+ Network.AWS.ServiceCatalog.CreatePortfolio: creDisplayName :: Lens' CreatePortfolio Text
+ Network.AWS.ServiceCatalog.CreatePortfolio: creIdempotencyToken :: Lens' CreatePortfolio Text
+ Network.AWS.ServiceCatalog.CreatePortfolio: creProviderName :: Lens' CreatePortfolio Text
+ Network.AWS.ServiceCatalog.CreatePortfolio: creTags :: Lens' CreatePortfolio [Tag]
+ Network.AWS.ServiceCatalog.CreateTagOption: createTagOption :: Text -> Text -> CreateTagOption
+ Network.AWS.ServiceCatalog.CreateTagOption: createTagOptionResponse :: Int -> CreateTagOptionResponse
+ Network.AWS.ServiceCatalog.CreateTagOption: ctoKey :: Lens' CreateTagOption Text
+ Network.AWS.ServiceCatalog.CreateTagOption: ctoValue :: Lens' CreateTagOption Text
+ Network.AWS.ServiceCatalog.CreateTagOption: ctorsResponseStatus :: Lens' CreateTagOptionResponse Int
+ Network.AWS.ServiceCatalog.CreateTagOption: ctorsTagOptionDetail :: Lens' CreateTagOptionResponse (Maybe TagOptionDetail)
+ Network.AWS.ServiceCatalog.CreateTagOption: data CreateTagOption
+ Network.AWS.ServiceCatalog.CreateTagOption: data CreateTagOptionResponse
+ Network.AWS.ServiceCatalog.CreateTagOption: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOption
+ Network.AWS.ServiceCatalog.CreateTagOption: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOptionResponse
+ Network.AWS.ServiceCatalog.CreateTagOption: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOption
+ Network.AWS.ServiceCatalog.CreateTagOption: instance Data.Data.Data Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOption
+ Network.AWS.ServiceCatalog.CreateTagOption: instance Data.Data.Data Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOptionResponse
+ Network.AWS.ServiceCatalog.CreateTagOption: instance Data.Hashable.Class.Hashable Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOption
+ Network.AWS.ServiceCatalog.CreateTagOption: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOption
+ Network.AWS.ServiceCatalog.CreateTagOption: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOptionResponse
+ Network.AWS.ServiceCatalog.CreateTagOption: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOption
+ Network.AWS.ServiceCatalog.CreateTagOption: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOptionResponse
+ Network.AWS.ServiceCatalog.CreateTagOption: instance GHC.Read.Read Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOption
+ Network.AWS.ServiceCatalog.CreateTagOption: instance GHC.Read.Read Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOptionResponse
+ Network.AWS.ServiceCatalog.CreateTagOption: instance GHC.Show.Show Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOption
+ Network.AWS.ServiceCatalog.CreateTagOption: instance GHC.Show.Show Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOptionResponse
+ Network.AWS.ServiceCatalog.CreateTagOption: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOption
+ Network.AWS.ServiceCatalog.CreateTagOption: instance Network.AWS.Data.Path.ToPath Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOption
+ Network.AWS.ServiceCatalog.CreateTagOption: instance Network.AWS.Data.Query.ToQuery Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOption
+ Network.AWS.ServiceCatalog.CreateTagOption: instance Network.AWS.Types.AWSRequest Network.AWS.ServiceCatalog.CreateTagOption.CreateTagOption
+ Network.AWS.ServiceCatalog.DescribeConstraint: desrsConstraintDetail :: Lens' DescribeConstraintResponse (Maybe ConstraintDetail)
+ Network.AWS.ServiceCatalog.DescribeConstraint: desrsConstraintParameters :: Lens' DescribeConstraintResponse (Maybe Text)
+ Network.AWS.ServiceCatalog.DescribeConstraint: desrsResponseStatus :: Lens' DescribeConstraintResponse Int
+ Network.AWS.ServiceCatalog.DescribeConstraint: desrsStatus :: Lens' DescribeConstraintResponse (Maybe RequestStatus)
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: data DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: data DescribeCopyProductStatusResponse
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: dcpsAcceptLanguage :: Lens' DescribeCopyProductStatus (Maybe Text)
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: dcpsCopyProductToken :: Lens' DescribeCopyProductStatus Text
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: dcpsrsCopyProductStatus :: Lens' DescribeCopyProductStatusResponse (Maybe CopyProductStatus)
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: dcpsrsResponseStatus :: Lens' DescribeCopyProductStatusResponse Int
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: dcpsrsStatusDetail :: Lens' DescribeCopyProductStatusResponse (Maybe Text)
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: dcpsrsTargetProductId :: Lens' DescribeCopyProductStatusResponse (Maybe Text)
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: describeCopyProductStatus :: Text -> DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: describeCopyProductStatusResponse :: Int -> DescribeCopyProductStatusResponse
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatusResponse
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance Data.Data.Data Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance Data.Data.Data Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatusResponse
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance Data.Hashable.Class.Hashable Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatusResponse
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatusResponse
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance GHC.Read.Read Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance GHC.Read.Read Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatusResponse
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance GHC.Show.Show Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance GHC.Show.Show Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatusResponse
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance Network.AWS.Data.Path.ToPath Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance Network.AWS.Data.Query.ToQuery Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribeCopyProductStatus: instance Network.AWS.Types.AWSRequest Network.AWS.ServiceCatalog.DescribeCopyProductStatus.DescribeCopyProductStatus
+ Network.AWS.ServiceCatalog.DescribePortfolio: dprsTagOptions :: Lens' DescribePortfolioResponse [TagOptionDetail]
+ Network.AWS.ServiceCatalog.DescribeProductAsAdmin: dpaarsProvisioningArtifactSummaries :: Lens' DescribeProductAsAdminResponse [ProvisioningArtifactSummary]
+ Network.AWS.ServiceCatalog.DescribeProductAsAdmin: dpaarsTagOptions :: Lens' DescribeProductAsAdminResponse [TagOptionDetail]
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: data DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: data DescribeProvisionedProductResponse
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: describeProvisionedProduct :: Text -> DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: describeProvisionedProductResponse :: Int -> DescribeProvisionedProductResponse
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: dpppAcceptLanguage :: Lens' DescribeProvisionedProduct (Maybe Text)
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: dpppId :: Lens' DescribeProvisionedProduct Text
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: drsProvisionedProductDetail :: Lens' DescribeProvisionedProductResponse (Maybe ProvisionedProductDetail)
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: drsResponseStatus :: Lens' DescribeProvisionedProductResponse Int
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProductResponse
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance Data.Data.Data Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance Data.Data.Data Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProductResponse
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance Data.Hashable.Class.Hashable Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProductResponse
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProductResponse
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance GHC.Read.Read Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance GHC.Read.Read Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProductResponse
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance GHC.Show.Show Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance GHC.Show.Show Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProductResponse
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance Network.AWS.Data.Path.ToPath Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance Network.AWS.Data.Query.ToQuery Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisionedProduct: instance Network.AWS.Types.AWSRequest Network.AWS.ServiceCatalog.DescribeProvisionedProduct.DescribeProvisionedProduct
+ Network.AWS.ServiceCatalog.DescribeProvisioningArtifact: dpaVerbose :: Lens' DescribeProvisioningArtifact (Maybe Bool)
+ Network.AWS.ServiceCatalog.DescribeProvisioningArtifact: dpaprsInfo :: Lens' DescribeProvisioningArtifactResponse (HashMap Text Text)
+ Network.AWS.ServiceCatalog.DescribeProvisioningArtifact: dpaprsProvisioningArtifactDetail :: Lens' DescribeProvisioningArtifactResponse (Maybe ProvisioningArtifactDetail)
+ Network.AWS.ServiceCatalog.DescribeProvisioningArtifact: dpaprsResponseStatus :: Lens' DescribeProvisioningArtifactResponse Int
+ Network.AWS.ServiceCatalog.DescribeProvisioningArtifact: dpaprsStatus :: Lens' DescribeProvisioningArtifactResponse (Maybe RequestStatus)
+ Network.AWS.ServiceCatalog.DescribeProvisioningParameters: dpprsTagOptions :: Lens' DescribeProvisioningParametersResponse [TagOptionSummary]
+ Network.AWS.ServiceCatalog.DescribeTagOption: data DescribeTagOption
+ Network.AWS.ServiceCatalog.DescribeTagOption: data DescribeTagOptionResponse
+ Network.AWS.ServiceCatalog.DescribeTagOption: describeTagOption :: Text -> DescribeTagOption
+ Network.AWS.ServiceCatalog.DescribeTagOption: describeTagOptionResponse :: Int -> DescribeTagOptionResponse
+ Network.AWS.ServiceCatalog.DescribeTagOption: dtoId :: Lens' DescribeTagOption Text
+ Network.AWS.ServiceCatalog.DescribeTagOption: dtorsResponseStatus :: Lens' DescribeTagOptionResponse Int
+ Network.AWS.ServiceCatalog.DescribeTagOption: dtorsTagOptionDetail :: Lens' DescribeTagOptionResponse (Maybe TagOptionDetail)
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOption
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOptionResponse
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOption
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance Data.Data.Data Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOption
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance Data.Data.Data Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOptionResponse
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance Data.Hashable.Class.Hashable Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOption
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOption
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOptionResponse
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOption
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOptionResponse
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance GHC.Read.Read Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOption
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance GHC.Read.Read Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOptionResponse
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance GHC.Show.Show Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOption
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance GHC.Show.Show Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOptionResponse
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOption
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance Network.AWS.Data.Path.ToPath Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOption
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance Network.AWS.Data.Query.ToQuery Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOption
+ Network.AWS.ServiceCatalog.DescribeTagOption: instance Network.AWS.Types.AWSRequest Network.AWS.ServiceCatalog.DescribeTagOption.DescribeTagOption
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: data DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: data DisassociateTagOptionFromResourceResponse
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: disassociateTagOptionFromResource :: Text -> Text -> DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: disassociateTagOptionFromResourceResponse :: Int -> DisassociateTagOptionFromResourceResponse
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: dtofrResourceId :: Lens' DisassociateTagOptionFromResource Text
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: dtofrTagOptionId :: Lens' DisassociateTagOptionFromResource Text
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: dtofrrsResponseStatus :: Lens' DisassociateTagOptionFromResourceResponse Int
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResourceResponse
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance Data.Data.Data Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance Data.Data.Data Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResourceResponse
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance Data.Hashable.Class.Hashable Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResourceResponse
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResourceResponse
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance GHC.Read.Read Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance GHC.Read.Read Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResourceResponse
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance GHC.Show.Show Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance GHC.Show.Show Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResourceResponse
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance Network.AWS.Data.Path.ToPath Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance Network.AWS.Data.Query.ToQuery Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource: instance Network.AWS.Types.AWSRequest Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource.DisassociateTagOptionFromResource
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: data ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: data ListResourcesForTagOptionResponse
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOptionResponse
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance Data.Data.Data Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance Data.Data.Data Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOptionResponse
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance Data.Hashable.Class.Hashable Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOptionResponse
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOptionResponse
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance GHC.Read.Read Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance GHC.Read.Read Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOptionResponse
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance GHC.Show.Show Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance GHC.Show.Show Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOptionResponse
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance Network.AWS.Data.Path.ToPath Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance Network.AWS.Data.Query.ToQuery Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: instance Network.AWS.Types.AWSRequest Network.AWS.ServiceCatalog.ListResourcesForTagOption.ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: listResourcesForTagOption :: Text -> ListResourcesForTagOption
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: listResourcesForTagOptionResponse :: Int -> ListResourcesForTagOptionResponse
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: lrftoPageSize :: Lens' ListResourcesForTagOption (Maybe Natural)
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: lrftoPageToken :: Lens' ListResourcesForTagOption (Maybe Text)
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: lrftoResourceType :: Lens' ListResourcesForTagOption (Maybe Text)
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: lrftoTagOptionId :: Lens' ListResourcesForTagOption Text
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: lrftorsPageToken :: Lens' ListResourcesForTagOptionResponse (Maybe Text)
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: lrftorsResourceDetails :: Lens' ListResourcesForTagOptionResponse [ResourceDetail]
+ Network.AWS.ServiceCatalog.ListResourcesForTagOption: lrftorsResponseStatus :: Lens' ListResourcesForTagOptionResponse Int
+ Network.AWS.ServiceCatalog.ListTagOptions: data ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: data ListTagOptionsResponse
+ Network.AWS.ServiceCatalog.ListTagOptions: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptionsResponse
+ Network.AWS.ServiceCatalog.ListTagOptions: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: instance Data.Data.Data Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: instance Data.Data.Data Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptionsResponse
+ Network.AWS.ServiceCatalog.ListTagOptions: instance Data.Hashable.Class.Hashable Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptionsResponse
+ Network.AWS.ServiceCatalog.ListTagOptions: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptionsResponse
+ Network.AWS.ServiceCatalog.ListTagOptions: instance GHC.Read.Read Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: instance GHC.Read.Read Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptionsResponse
+ Network.AWS.ServiceCatalog.ListTagOptions: instance GHC.Show.Show Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: instance GHC.Show.Show Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptionsResponse
+ Network.AWS.ServiceCatalog.ListTagOptions: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: instance Network.AWS.Data.Path.ToPath Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: instance Network.AWS.Data.Query.ToQuery Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: instance Network.AWS.Types.AWSRequest Network.AWS.ServiceCatalog.ListTagOptions.ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: listTagOptions :: ListTagOptions
+ Network.AWS.ServiceCatalog.ListTagOptions: listTagOptionsResponse :: Int -> ListTagOptionsResponse
+ Network.AWS.ServiceCatalog.ListTagOptions: ltoFilters :: Lens' ListTagOptions (Maybe ListTagOptionsFilters)
+ Network.AWS.ServiceCatalog.ListTagOptions: ltoPageSize :: Lens' ListTagOptions (Maybe Natural)
+ Network.AWS.ServiceCatalog.ListTagOptions: ltoPageToken :: Lens' ListTagOptions (Maybe Text)
+ Network.AWS.ServiceCatalog.ListTagOptions: ltorsPageToken :: Lens' ListTagOptionsResponse (Maybe Text)
+ Network.AWS.ServiceCatalog.ListTagOptions: ltorsResponseStatus :: Lens' ListTagOptionsResponse Int
+ Network.AWS.ServiceCatalog.ListTagOptions: ltorsTagOptionDetails :: Lens' ListTagOptionsResponse [TagOptionDetail]
+ Network.AWS.ServiceCatalog.Types: CPSFailed :: CopyProductStatus
+ Network.AWS.ServiceCatalog.Types: CPSInProgress :: CopyProductStatus
+ Network.AWS.ServiceCatalog.Types: CPSSucceeded :: CopyProductStatus
+ Network.AWS.ServiceCatalog.Types: CopyTags :: CopyOption
+ Network.AWS.ServiceCatalog.Types: Id :: ProvisioningArtifactPropertyName
+ Network.AWS.ServiceCatalog.Types: Marketplace :: ProductType
+ Network.AWS.ServiceCatalog.Types: PATMarketplaceAMI :: ProvisioningArtifactType
+ Network.AWS.ServiceCatalog.Types: PATMarketplaceCar :: ProvisioningArtifactType
+ Network.AWS.ServiceCatalog.Types: PPSAvailable :: ProvisionedProductStatus
+ Network.AWS.ServiceCatalog.Types: PPSError' :: ProvisionedProductStatus
+ Network.AWS.ServiceCatalog.Types: PPSTainted :: ProvisionedProductStatus
+ Network.AWS.ServiceCatalog.Types: PPSUnderChange :: ProvisionedProductStatus
+ Network.AWS.ServiceCatalog.Types: RSCreated :: RecordStatus
+ Network.AWS.ServiceCatalog.Types: RSFailed :: RecordStatus
+ Network.AWS.ServiceCatalog.Types: RSInProgress :: RecordStatus
+ Network.AWS.ServiceCatalog.Types: RSInProgressInError :: RecordStatus
+ Network.AWS.ServiceCatalog.Types: RSSucceeded :: RecordStatus
+ Network.AWS.ServiceCatalog.Types: SourceProductId :: ProductViewFilterBy
+ Network.AWS.ServiceCatalog.Types: _InvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.ServiceCatalog.Types: _TagOptionNotMigratedException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.ServiceCatalog.Types: data CopyOption
+ Network.AWS.ServiceCatalog.Types: data CopyProductStatus
+ Network.AWS.ServiceCatalog.Types: data ListTagOptionsFilters
+ Network.AWS.ServiceCatalog.Types: data ProvisionedProductStatus
+ Network.AWS.ServiceCatalog.Types: data ProvisioningArtifactPropertyName
+ Network.AWS.ServiceCatalog.Types: data ProvisioningArtifactSummary
+ Network.AWS.ServiceCatalog.Types: data ResourceDetail
+ Network.AWS.ServiceCatalog.Types: data TagOptionDetail
+ Network.AWS.ServiceCatalog.Types: data TagOptionSummary
+ Network.AWS.ServiceCatalog.Types: listTagOptionsFilters :: ListTagOptionsFilters
+ Network.AWS.ServiceCatalog.Types: ltofActive :: Lens' ListTagOptionsFilters (Maybe Bool)
+ Network.AWS.ServiceCatalog.Types: ltofKey :: Lens' ListTagOptionsFilters (Maybe Text)
+ Network.AWS.ServiceCatalog.Types: ltofValue :: Lens' ListTagOptionsFilters (Maybe Text)
+ Network.AWS.ServiceCatalog.Types: pasCreatedTime :: Lens' ProvisioningArtifactSummary (Maybe UTCTime)
+ Network.AWS.ServiceCatalog.Types: pasDescription :: Lens' ProvisioningArtifactSummary (Maybe Text)
+ Network.AWS.ServiceCatalog.Types: pasId :: Lens' ProvisioningArtifactSummary (Maybe Text)
+ Network.AWS.ServiceCatalog.Types: pasName :: Lens' ProvisioningArtifactSummary (Maybe Text)
+ Network.AWS.ServiceCatalog.Types: pasProvisioningArtifactMetadata :: Lens' ProvisioningArtifactSummary (HashMap Text Text)
+ Network.AWS.ServiceCatalog.Types: provisioningArtifactSummary :: ProvisioningArtifactSummary
+ Network.AWS.ServiceCatalog.Types: rARN :: Lens' ResourceDetail (Maybe Text)
+ Network.AWS.ServiceCatalog.Types: rCreatedTime :: Lens' ResourceDetail (Maybe UTCTime)
+ Network.AWS.ServiceCatalog.Types: rDescription :: Lens' ResourceDetail (Maybe Text)
+ Network.AWS.ServiceCatalog.Types: rId :: Lens' ResourceDetail (Maybe Text)
+ Network.AWS.ServiceCatalog.Types: rName :: Lens' ResourceDetail (Maybe Text)
+ Network.AWS.ServiceCatalog.Types: resourceDetail :: ResourceDetail
+ Network.AWS.ServiceCatalog.Types: tagOptionDetail :: TagOptionDetail
+ Network.AWS.ServiceCatalog.Types: tagOptionSummary :: TagOptionSummary
+ Network.AWS.ServiceCatalog.Types: todActive :: Lens' TagOptionDetail (Maybe Bool)
+ Network.AWS.ServiceCatalog.Types: todId :: Lens' TagOptionDetail (Maybe Text)
+ Network.AWS.ServiceCatalog.Types: todKey :: Lens' TagOptionDetail (Maybe Text)
+ Network.AWS.ServiceCatalog.Types: todValue :: Lens' TagOptionDetail (Maybe Text)
+ Network.AWS.ServiceCatalog.Types: tosKey :: Lens' TagOptionSummary (Maybe Text)
+ Network.AWS.ServiceCatalog.Types: tosValues :: Lens' TagOptionSummary [Text]
+ Network.AWS.ServiceCatalog.UpdateTagOption: data UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: data UpdateTagOptionResponse
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance Control.DeepSeq.NFData Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOptionResponse
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance Data.Data.Data Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance Data.Data.Data Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOptionResponse
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance Data.Hashable.Class.Hashable Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance GHC.Classes.Eq Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOptionResponse
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance GHC.Generics.Generic Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOptionResponse
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance GHC.Read.Read Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance GHC.Read.Read Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOptionResponse
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance GHC.Show.Show Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance GHC.Show.Show Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOptionResponse
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance Network.AWS.Data.Path.ToPath Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance Network.AWS.Data.Query.ToQuery Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: instance Network.AWS.Types.AWSRequest Network.AWS.ServiceCatalog.UpdateTagOption.UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: updateTagOption :: Text -> UpdateTagOption
+ Network.AWS.ServiceCatalog.UpdateTagOption: updateTagOptionResponse :: Int -> UpdateTagOptionResponse
+ Network.AWS.ServiceCatalog.UpdateTagOption: utoActive :: Lens' UpdateTagOption (Maybe Bool)
+ Network.AWS.ServiceCatalog.UpdateTagOption: utoId :: Lens' UpdateTagOption Text
+ Network.AWS.ServiceCatalog.UpdateTagOption: utoValue :: Lens' UpdateTagOption (Maybe Text)
+ Network.AWS.ServiceCatalog.UpdateTagOption: utorsResponseStatus :: Lens' UpdateTagOptionResponse Int
+ Network.AWS.ServiceCatalog.UpdateTagOption: utorsTagOptionDetail :: Lens' UpdateTagOptionResponse (Maybe TagOptionDetail)
- Network.AWS.ServiceCatalog: ppdStatus :: Lens' ProvisionedProductDetail (Maybe RecordStatus)
+ Network.AWS.ServiceCatalog: ppdStatus :: Lens' ProvisionedProductDetail (Maybe ProvisionedProductStatus)
- Network.AWS.ServiceCatalog.Types: ppdStatus :: Lens' ProvisionedProductDetail (Maybe RecordStatus)
+ Network.AWS.ServiceCatalog.Types: ppdStatus :: Lens' ProvisionedProductDetail (Maybe ProvisionedProductStatus)
Files
- README.md +1/−1
- amazonka-servicecatalog.cabal +26/−11
- fixture/AssociateTagOptionWithResource.yaml +10/−0
- fixture/AssociateTagOptionWithResourceResponse.proto +0/−0
- fixture/CopyProduct.yaml +10/−0
- fixture/CopyProductResponse.proto +0/−0
- fixture/CreateTagOption.yaml +10/−0
- fixture/CreateTagOptionResponse.proto +0/−0
- fixture/DescribeCopyProductStatus.yaml +10/−0
- fixture/DescribeCopyProductStatusResponse.proto +0/−0
- fixture/DescribeProvisionedProduct.yaml +10/−0
- fixture/DescribeProvisionedProductResponse.proto +0/−0
- fixture/DescribeTagOption.yaml +10/−0
- fixture/DescribeTagOptionResponse.proto +0/−0
- fixture/DisassociateTagOptionFromResource.yaml +10/−0
- fixture/DisassociateTagOptionFromResourceResponse.proto +0/−0
- fixture/ListResourcesForTagOption.yaml +10/−0
- fixture/ListResourcesForTagOptionResponse.proto +0/−0
- fixture/ListTagOptions.yaml +10/−0
- fixture/ListTagOptionsResponse.proto +0/−0
- fixture/UpdateTagOption.yaml +10/−0
- fixture/UpdateTagOptionResponse.proto +0/−0
- gen/Network/AWS/ServiceCatalog.hs +145/−48
- gen/Network/AWS/ServiceCatalog/AcceptPortfolioShare.hs +25/−25
- gen/Network/AWS/ServiceCatalog/AssociatePrincipalWithPortfolio.hs +33/−28
- gen/Network/AWS/ServiceCatalog/AssociateProductWithPortfolio.hs +31/−28
- gen/Network/AWS/ServiceCatalog/AssociateTagOptionWithResource.hs +143/−0
- gen/Network/AWS/ServiceCatalog/CopyProduct.hs +202/−0
- gen/Network/AWS/ServiceCatalog/CreateConstraint.hs +52/−48
- gen/Network/AWS/ServiceCatalog/CreatePortfolio.hs +74/−70
- gen/Network/AWS/ServiceCatalog/CreatePortfolioShare.hs +29/−27
- gen/Network/AWS/ServiceCatalog/CreateProduct.hs +57/−53
- gen/Network/AWS/ServiceCatalog/CreateProvisioningArtifact.hs +44/−39
- gen/Network/AWS/ServiceCatalog/CreateTagOption.hs +144/−0
- gen/Network/AWS/ServiceCatalog/DeleteConstraint.hs +24/−25
- gen/Network/AWS/ServiceCatalog/DeletePortfolio.hs +25/−26
- gen/Network/AWS/ServiceCatalog/DeletePortfolioShare.hs +29/−27
- gen/Network/AWS/ServiceCatalog/DeleteProduct.hs +25/−26
- gen/Network/AWS/ServiceCatalog/DeleteProvisioningArtifact.hs +32/−29
- gen/Network/AWS/ServiceCatalog/DescribeConstraint.hs +49/−48
- gen/Network/AWS/ServiceCatalog/DescribeCopyProductStatus.hs +169/−0
- gen/Network/AWS/ServiceCatalog/DescribePortfolio.hs +41/−30
- gen/Network/AWS/ServiceCatalog/DescribeProduct.hs +30/−29
- gen/Network/AWS/ServiceCatalog/DescribeProductAsAdmin.hs +52/−30
- gen/Network/AWS/ServiceCatalog/DescribeProductView.hs +30/−29
- gen/Network/AWS/ServiceCatalog/DescribeProvisionedProduct.hs +148/−0
- gen/Network/AWS/ServiceCatalog/DescribeProvisioningArtifact.hs +67/−52
- gen/Network/AWS/ServiceCatalog/DescribeProvisioningParameters.hs +54/−36
- gen/Network/AWS/ServiceCatalog/DescribeRecord.hs +39/−35
- gen/Network/AWS/ServiceCatalog/DescribeTagOption.hs +131/−0
- gen/Network/AWS/ServiceCatalog/DisassociatePrincipalFromPortfolio.hs +33/−26
- gen/Network/AWS/ServiceCatalog/DisassociateProductFromPortfolio.hs +31/−25
- gen/Network/AWS/ServiceCatalog/DisassociateTagOptionFromResource.hs +147/−0
- gen/Network/AWS/ServiceCatalog/ListAcceptedPortfolioShares.hs +35/−30
- gen/Network/AWS/ServiceCatalog/ListConstraintsForPortfolio.hs +39/−34
- gen/Network/AWS/ServiceCatalog/ListLaunchPaths.hs +39/−35
- gen/Network/AWS/ServiceCatalog/ListPortfolioAccess.hs +31/−29
- gen/Network/AWS/ServiceCatalog/ListPortfolios.hs +32/−31
- gen/Network/AWS/ServiceCatalog/ListPortfoliosForProduct.hs +37/−32
- gen/Network/AWS/ServiceCatalog/ListPrincipalsForPortfolio.hs +37/−32
- gen/Network/AWS/ServiceCatalog/ListProvisioningArtifacts.hs +31/−28
- gen/Network/AWS/ServiceCatalog/ListRecordHistory.hs +39/−35
- gen/Network/AWS/ServiceCatalog/ListResourcesForTagOption.hs +181/−0
- gen/Network/AWS/ServiceCatalog/ListTagOptions.hs +165/−0
- gen/Network/AWS/ServiceCatalog/ProvisionProduct.hs +47/−45
- gen/Network/AWS/ServiceCatalog/RejectPortfolioShare.hs +25/−25
- gen/Network/AWS/ServiceCatalog/ScanProvisionedProducts.hs +37/−33
- gen/Network/AWS/ServiceCatalog/SearchProducts.hs +43/−39
- gen/Network/AWS/ServiceCatalog/SearchProductsAsAdmin.hs +45/−41
- gen/Network/AWS/ServiceCatalog/TerminateProvisionedProduct.hs +39/−36
- gen/Network/AWS/ServiceCatalog/Types.hs +109/−30
- gen/Network/AWS/ServiceCatalog/Types/Product.hs +1822/−1512
- gen/Network/AWS/ServiceCatalog/Types/Sum.hs +185/−46
- gen/Network/AWS/ServiceCatalog/UpdateConstraint.hs +34/−33
- gen/Network/AWS/ServiceCatalog/UpdatePortfolio.hs +44/−40
- gen/Network/AWS/ServiceCatalog/UpdateProduct.hs +51/−47
- gen/Network/AWS/ServiceCatalog/UpdateProvisionedProduct.hs +47/−44
- gen/Network/AWS/ServiceCatalog/UpdateProvisioningArtifact.hs +44/−39
- gen/Network/AWS/ServiceCatalog/UpdateTagOption.hs +151/−0
- gen/Network/AWS/ServiceCatalog/Waiters.hs +6/−6
- test/Main.hs +2/−2
- test/Test/AWS/Gen/ServiceCatalog.hs +184/−4
README.md view
@@ -8,7 +8,7 @@ ## Version -`1.4.5`+`1.5.0` ## Description
amazonka-servicecatalog.cabal view
@@ -1,13 +1,13 @@ name: amazonka-servicecatalog-version: 1.4.5+version: 1.5.0 synopsis: Amazon Service Catalog SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues-license: OtherLicense+license: MPL-2.0 license-file: LICENSE author: Brendan Hay-maintainer: Brendan Hay <brendan.g.hay@gmail.com>-copyright: Copyright (c) 2013-2016 Brendan Hay+maintainer: Brendan Hay <brendan.g.hay+amazonka@gmail.com>+copyright: Copyright (c) 2013-2017 Brendan Hay category: Network, AWS, Cloud, Distributed Computing build-type: Simple cabal-version: >= 1.10@@ -29,40 +29,52 @@ to get started. source-repository head- type: git- location: git://github.com/brendanhay/amazonka.git+ type: git+ location: git://github.com/brendanhay/amazonka.git+ subdir: amazonka-servicecatalog library default-language: Haskell2010 hs-source-dirs: src gen - ghc-options: -Wall+ ghc-options:+ -Wall+ -fwarn-incomplete-uni-patterns+ -fwarn-incomplete-record-updates+ -funbox-strict-fields exposed-modules: Network.AWS.ServiceCatalog , Network.AWS.ServiceCatalog.AcceptPortfolioShare , Network.AWS.ServiceCatalog.AssociatePrincipalWithPortfolio , Network.AWS.ServiceCatalog.AssociateProductWithPortfolio+ , Network.AWS.ServiceCatalog.AssociateTagOptionWithResource+ , Network.AWS.ServiceCatalog.CopyProduct , Network.AWS.ServiceCatalog.CreateConstraint , Network.AWS.ServiceCatalog.CreatePortfolio , Network.AWS.ServiceCatalog.CreatePortfolioShare , Network.AWS.ServiceCatalog.CreateProduct , Network.AWS.ServiceCatalog.CreateProvisioningArtifact+ , Network.AWS.ServiceCatalog.CreateTagOption , Network.AWS.ServiceCatalog.DeleteConstraint , Network.AWS.ServiceCatalog.DeletePortfolio , Network.AWS.ServiceCatalog.DeletePortfolioShare , Network.AWS.ServiceCatalog.DeleteProduct , Network.AWS.ServiceCatalog.DeleteProvisioningArtifact , Network.AWS.ServiceCatalog.DescribeConstraint+ , Network.AWS.ServiceCatalog.DescribeCopyProductStatus , Network.AWS.ServiceCatalog.DescribePortfolio , Network.AWS.ServiceCatalog.DescribeProduct , Network.AWS.ServiceCatalog.DescribeProductAsAdmin , Network.AWS.ServiceCatalog.DescribeProductView+ , Network.AWS.ServiceCatalog.DescribeProvisionedProduct , Network.AWS.ServiceCatalog.DescribeProvisioningArtifact , Network.AWS.ServiceCatalog.DescribeProvisioningParameters , Network.AWS.ServiceCatalog.DescribeRecord+ , Network.AWS.ServiceCatalog.DescribeTagOption , Network.AWS.ServiceCatalog.DisassociatePrincipalFromPortfolio , Network.AWS.ServiceCatalog.DisassociateProductFromPortfolio+ , Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource , Network.AWS.ServiceCatalog.ListAcceptedPortfolioShares , Network.AWS.ServiceCatalog.ListConstraintsForPortfolio , Network.AWS.ServiceCatalog.ListLaunchPaths@@ -72,6 +84,8 @@ , Network.AWS.ServiceCatalog.ListPrincipalsForPortfolio , Network.AWS.ServiceCatalog.ListProvisioningArtifacts , Network.AWS.ServiceCatalog.ListRecordHistory+ , Network.AWS.ServiceCatalog.ListResourcesForTagOption+ , Network.AWS.ServiceCatalog.ListTagOptions , Network.AWS.ServiceCatalog.ProvisionProduct , Network.AWS.ServiceCatalog.RejectPortfolioShare , Network.AWS.ServiceCatalog.ScanProvisionedProducts@@ -84,6 +98,7 @@ , Network.AWS.ServiceCatalog.UpdateProduct , Network.AWS.ServiceCatalog.UpdateProvisionedProduct , Network.AWS.ServiceCatalog.UpdateProvisioningArtifact+ , Network.AWS.ServiceCatalog.UpdateTagOption , Network.AWS.ServiceCatalog.Waiters other-modules:@@ -91,7 +106,7 @@ , Network.AWS.ServiceCatalog.Types.Sum build-depends:- amazonka-core == 1.4.5.*+ amazonka-core == 1.5.0.* , base >= 4.7 && < 5 test-suite amazonka-servicecatalog-test@@ -111,9 +126,9 @@ , Test.AWS.ServiceCatalog.Internal build-depends:- amazonka-core == 1.4.5.*- , amazonka-test == 1.4.5.*- , amazonka-servicecatalog == 1.4.5.*+ amazonka-core == 1.5.0.*+ , amazonka-test == 1.5.0.*+ , amazonka-servicecatalog , base , bytestring , tasty
+ fixture/AssociateTagOptionWithResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/servicecatalog/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: servicecatalog.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/AssociateTagOptionWithResourceResponse.proto view
+ fixture/CopyProduct.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/servicecatalog/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: servicecatalog.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CopyProductResponse.proto view
+ fixture/CreateTagOption.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/servicecatalog/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: servicecatalog.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/CreateTagOptionResponse.proto view
+ fixture/DescribeCopyProductStatus.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/servicecatalog/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: servicecatalog.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeCopyProductStatusResponse.proto view
+ fixture/DescribeProvisionedProduct.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/servicecatalog/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: servicecatalog.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeProvisionedProductResponse.proto view
+ fixture/DescribeTagOption.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/servicecatalog/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: servicecatalog.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DescribeTagOptionResponse.proto view
+ fixture/DisassociateTagOptionFromResource.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/servicecatalog/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: servicecatalog.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/DisassociateTagOptionFromResourceResponse.proto view
+ fixture/ListResourcesForTagOption.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/servicecatalog/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: servicecatalog.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListResourcesForTagOptionResponse.proto view
+ fixture/ListTagOptions.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/servicecatalog/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: servicecatalog.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/ListTagOptionsResponse.proto view
+ fixture/UpdateTagOption.yaml view
@@ -0,0 +1,10 @@+---+method: POST+headers:+ Authorization: AWS4-HMAC-SHA256 Credential=access/20091028/us-east-1/servicecatalog/aws4_request, SignedHeaders=content-type;host;x-amz-content-sha256;x-amz-date, Signature=?+ Host: servicecatalog.us-east-1.amazonaws.com+ Content-Type: application/x-www-form-urlencoded; charset=utf-8+ X-Amz-Content-SHA256: abcdef+ X-Amz-Date: 20091028T223200Z+body:+ ''
+ fixture/UpdateTagOptionResponse.proto view
gen/Network/AWS/ServiceCatalog.hs view
@@ -5,9 +5,9 @@ -- | -- Module : Network.AWS.ServiceCatalog--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -15,7 +15,7 @@ -- -- __Overview__ ----- <https://aws.amazon.com/servicecatalog/ AWS Service Catalog> allows organizations to create and manage catalogs of IT services that are approved for use on AWS. This documentation provides reference material for the AWS Service Catalog end user API. To get the most out of this documentation, you need to be familiar with the terminology discussed in <http://docs.aws.amazon.com/servicecatalog/latest/userguide/what-is_concepts.html AWS Service Catalog Concepts> .+-- <https://aws.amazon.com/servicecatalog/ AWS Service Catalog> allows organizations to create and manage catalogs of IT services that are approved for use on AWS. This documentation provides reference material for the AWS Service Catalog end user API. To get the most out of this documentation, be familiar with the terminology discussed in <http://docs.aws.amazon.com/servicecatalog/latest/adminguide/what-is_concepts.html AWS Service Catalog Concepts> . -- -- /Additional Resources/ --@@ -39,9 +39,15 @@ -- ** DuplicateResourceException , _DuplicateResourceException + -- ** TagOptionNotMigratedException+ , _TagOptionNotMigratedException+ -- ** ResourceNotFoundException , _ResourceNotFoundException + -- ** InvalidStateException+ , _InvalidStateException+ -- ** LimitExceededException , _LimitExceededException @@ -63,6 +69,9 @@ -- ** CreateProduct , module Network.AWS.ServiceCatalog.CreateProduct + -- ** DescribeCopyProductStatus+ , module Network.AWS.ServiceCatalog.DescribeCopyProductStatus+ -- ** TerminateProvisionedProduct , module Network.AWS.ServiceCatalog.TerminateProvisionedProduct @@ -75,6 +84,12 @@ -- ** ListRecordHistory , module Network.AWS.ServiceCatalog.ListRecordHistory + -- ** AssociateTagOptionWithResource+ , module Network.AWS.ServiceCatalog.AssociateTagOptionWithResource++ -- ** CreateTagOption+ , module Network.AWS.ServiceCatalog.CreateTagOption+ -- ** DisassociateProductFromPortfolio , module Network.AWS.ServiceCatalog.DisassociateProductFromPortfolio @@ -117,6 +132,12 @@ -- ** DisassociatePrincipalFromPortfolio , module Network.AWS.ServiceCatalog.DisassociatePrincipalFromPortfolio + -- ** DescribeTagOption+ , module Network.AWS.ServiceCatalog.DescribeTagOption++ -- ** DisassociateTagOptionFromResource+ , module Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource+ -- ** DescribePortfolio , module Network.AWS.ServiceCatalog.DescribePortfolio @@ -147,6 +168,12 @@ -- ** RejectPortfolioShare , module Network.AWS.ServiceCatalog.RejectPortfolioShare + -- ** UpdateTagOption+ , module Network.AWS.ServiceCatalog.UpdateTagOption++ -- ** ListTagOptions+ , module Network.AWS.ServiceCatalog.ListTagOptions+ -- ** SearchProductsAsAdmin , module Network.AWS.ServiceCatalog.SearchProductsAsAdmin @@ -168,6 +195,12 @@ -- ** AssociatePrincipalWithPortfolio , module Network.AWS.ServiceCatalog.AssociatePrincipalWithPortfolio + -- ** DescribeProvisionedProduct+ , module Network.AWS.ServiceCatalog.DescribeProvisionedProduct++ -- ** CopyProduct+ , module Network.AWS.ServiceCatalog.CopyProduct+ -- ** UpdateProvisioningArtifact , module Network.AWS.ServiceCatalog.UpdateProvisioningArtifact @@ -183,11 +216,20 @@ -- ** ListLaunchPaths , module Network.AWS.ServiceCatalog.ListLaunchPaths + -- ** ListResourcesForTagOption+ , module Network.AWS.ServiceCatalog.ListResourcesForTagOption+ -- * Types -- ** AccessLevelFilterKey , AccessLevelFilterKey (..) + -- ** CopyOption+ , CopyOption (..)++ -- ** CopyProductStatus+ , CopyProductStatus (..)+ -- ** PrincipalType , PrincipalType (..) @@ -203,6 +245,12 @@ -- ** ProductViewSortBy , ProductViewSortBy (..) + -- ** ProvisionedProductStatus+ , ProvisionedProductStatus (..)++ -- ** ProvisioningArtifactPropertyName+ , ProvisioningArtifactPropertyName (..)+ -- ** ProvisioningArtifactType , ProvisioningArtifactType (..) @@ -249,6 +297,13 @@ , lrhsfValue , lrhsfKey + -- ** ListTagOptionsFilters+ , ListTagOptionsFilters+ , listTagOptionsFilters+ , ltofValue+ , ltofActive+ , ltofKey+ -- ** ParameterConstraints , ParameterConstraints , parameterConstraints@@ -347,6 +402,15 @@ , papDescription , papInfo + -- ** ProvisioningArtifactSummary+ , ProvisioningArtifactSummary+ , provisioningArtifactSummary+ , pasProvisioningArtifactMetadata+ , pasCreatedTime+ , pasName+ , pasId+ , pasDescription+ -- ** ProvisioningParameter , ProvisioningParameter , provisioningParameter@@ -389,12 +453,35 @@ , rtValue , rtKey + -- ** ResourceDetail+ , ResourceDetail+ , resourceDetail+ , rARN+ , rCreatedTime+ , rName+ , rId+ , rDescription+ -- ** Tag , Tag , tag , tagKey , tagValue + -- ** TagOptionDetail+ , TagOptionDetail+ , tagOptionDetail+ , todValue+ , todActive+ , todKey+ , todId++ -- ** TagOptionSummary+ , TagOptionSummary+ , tagOptionSummary+ , tosValues+ , tosKey+ -- ** UpdateProvisioningParameter , UpdateProvisioningParameter , updateProvisioningParameter@@ -409,51 +496,61 @@ , uiType ) where -import Network.AWS.ServiceCatalog.AcceptPortfolioShare-import Network.AWS.ServiceCatalog.AssociatePrincipalWithPortfolio-import Network.AWS.ServiceCatalog.AssociateProductWithPortfolio-import Network.AWS.ServiceCatalog.CreateConstraint-import Network.AWS.ServiceCatalog.CreatePortfolio-import Network.AWS.ServiceCatalog.CreatePortfolioShare-import Network.AWS.ServiceCatalog.CreateProduct-import Network.AWS.ServiceCatalog.CreateProvisioningArtifact-import Network.AWS.ServiceCatalog.DeleteConstraint-import Network.AWS.ServiceCatalog.DeletePortfolio-import Network.AWS.ServiceCatalog.DeletePortfolioShare-import Network.AWS.ServiceCatalog.DeleteProduct-import Network.AWS.ServiceCatalog.DeleteProvisioningArtifact-import Network.AWS.ServiceCatalog.DescribeConstraint-import Network.AWS.ServiceCatalog.DescribePortfolio-import Network.AWS.ServiceCatalog.DescribeProduct-import Network.AWS.ServiceCatalog.DescribeProductAsAdmin-import Network.AWS.ServiceCatalog.DescribeProductView-import Network.AWS.ServiceCatalog.DescribeProvisioningArtifact-import Network.AWS.ServiceCatalog.DescribeProvisioningParameters-import Network.AWS.ServiceCatalog.DescribeRecord-import Network.AWS.ServiceCatalog.DisassociatePrincipalFromPortfolio-import Network.AWS.ServiceCatalog.DisassociateProductFromPortfolio-import Network.AWS.ServiceCatalog.ListAcceptedPortfolioShares-import Network.AWS.ServiceCatalog.ListConstraintsForPortfolio-import Network.AWS.ServiceCatalog.ListLaunchPaths-import Network.AWS.ServiceCatalog.ListPortfolioAccess-import Network.AWS.ServiceCatalog.ListPortfolios-import Network.AWS.ServiceCatalog.ListPortfoliosForProduct-import Network.AWS.ServiceCatalog.ListPrincipalsForPortfolio-import Network.AWS.ServiceCatalog.ListProvisioningArtifacts-import Network.AWS.ServiceCatalog.ListRecordHistory-import Network.AWS.ServiceCatalog.ProvisionProduct-import Network.AWS.ServiceCatalog.RejectPortfolioShare-import Network.AWS.ServiceCatalog.ScanProvisionedProducts-import Network.AWS.ServiceCatalog.SearchProducts-import Network.AWS.ServiceCatalog.SearchProductsAsAdmin-import Network.AWS.ServiceCatalog.TerminateProvisionedProduct-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.UpdateConstraint-import Network.AWS.ServiceCatalog.UpdatePortfolio-import Network.AWS.ServiceCatalog.UpdateProduct-import Network.AWS.ServiceCatalog.UpdateProvisionedProduct-import Network.AWS.ServiceCatalog.UpdateProvisioningArtifact-import Network.AWS.ServiceCatalog.Waiters+import Network.AWS.ServiceCatalog.AcceptPortfolioShare+import Network.AWS.ServiceCatalog.AssociatePrincipalWithPortfolio+import Network.AWS.ServiceCatalog.AssociateProductWithPortfolio+import Network.AWS.ServiceCatalog.AssociateTagOptionWithResource+import Network.AWS.ServiceCatalog.CopyProduct+import Network.AWS.ServiceCatalog.CreateConstraint+import Network.AWS.ServiceCatalog.CreatePortfolio+import Network.AWS.ServiceCatalog.CreatePortfolioShare+import Network.AWS.ServiceCatalog.CreateProduct+import Network.AWS.ServiceCatalog.CreateProvisioningArtifact+import Network.AWS.ServiceCatalog.CreateTagOption+import Network.AWS.ServiceCatalog.DeleteConstraint+import Network.AWS.ServiceCatalog.DeletePortfolio+import Network.AWS.ServiceCatalog.DeletePortfolioShare+import Network.AWS.ServiceCatalog.DeleteProduct+import Network.AWS.ServiceCatalog.DeleteProvisioningArtifact+import Network.AWS.ServiceCatalog.DescribeConstraint+import Network.AWS.ServiceCatalog.DescribeCopyProductStatus+import Network.AWS.ServiceCatalog.DescribePortfolio+import Network.AWS.ServiceCatalog.DescribeProduct+import Network.AWS.ServiceCatalog.DescribeProductAsAdmin+import Network.AWS.ServiceCatalog.DescribeProductView+import Network.AWS.ServiceCatalog.DescribeProvisionedProduct+import Network.AWS.ServiceCatalog.DescribeProvisioningArtifact+import Network.AWS.ServiceCatalog.DescribeProvisioningParameters+import Network.AWS.ServiceCatalog.DescribeRecord+import Network.AWS.ServiceCatalog.DescribeTagOption+import Network.AWS.ServiceCatalog.DisassociatePrincipalFromPortfolio+import Network.AWS.ServiceCatalog.DisassociateProductFromPortfolio+import Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource+import Network.AWS.ServiceCatalog.ListAcceptedPortfolioShares+import Network.AWS.ServiceCatalog.ListConstraintsForPortfolio+import Network.AWS.ServiceCatalog.ListLaunchPaths+import Network.AWS.ServiceCatalog.ListPortfolioAccess+import Network.AWS.ServiceCatalog.ListPortfolios+import Network.AWS.ServiceCatalog.ListPortfoliosForProduct+import Network.AWS.ServiceCatalog.ListPrincipalsForPortfolio+import Network.AWS.ServiceCatalog.ListProvisioningArtifacts+import Network.AWS.ServiceCatalog.ListRecordHistory+import Network.AWS.ServiceCatalog.ListResourcesForTagOption+import Network.AWS.ServiceCatalog.ListTagOptions+import Network.AWS.ServiceCatalog.ProvisionProduct+import Network.AWS.ServiceCatalog.RejectPortfolioShare+import Network.AWS.ServiceCatalog.ScanProvisionedProducts+import Network.AWS.ServiceCatalog.SearchProducts+import Network.AWS.ServiceCatalog.SearchProductsAsAdmin+import Network.AWS.ServiceCatalog.TerminateProvisionedProduct+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.UpdateConstraint+import Network.AWS.ServiceCatalog.UpdatePortfolio+import Network.AWS.ServiceCatalog.UpdateProduct+import Network.AWS.ServiceCatalog.UpdateProvisionedProduct+import Network.AWS.ServiceCatalog.UpdateProvisioningArtifact+import Network.AWS.ServiceCatalog.UpdateTagOption+import Network.AWS.ServiceCatalog.Waiters {- $errors Error matchers are designed for use with the functions provided by
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.AcceptPortfolioShare--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -37,36 +37,36 @@ , apsrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'acceptPortfolioShare' smart constructor. data AcceptPortfolioShare = AcceptPortfolioShare'- { _apsAcceptLanguage :: !(Maybe Text)- , _apsPortfolioId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _apsAcceptLanguage :: !(Maybe Text)+ , _apsPortfolioId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'AcceptPortfolioShare' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'apsAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'apsAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'apsPortfolioId' - The portfolio identifier. acceptPortfolioShare :: Text -- ^ 'apsPortfolioId' -> AcceptPortfolioShare acceptPortfolioShare pPortfolioId_ =- AcceptPortfolioShare'- { _apsAcceptLanguage = Nothing- , _apsPortfolioId = pPortfolioId_- }+ AcceptPortfolioShare'+ {_apsAcceptLanguage = Nothing, _apsPortfolioId = pPortfolioId_} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese apsAcceptLanguage :: Lens' AcceptPortfolioShare (Maybe Text) apsAcceptLanguage = lens _apsAcceptLanguage (\ s a -> s{_apsAcceptLanguage = a}); @@ -84,9 +84,9 @@ AcceptPortfolioShareResponse' <$> (pure (fromEnum s))) -instance Hashable AcceptPortfolioShare+instance Hashable AcceptPortfolioShare where -instance NFData AcceptPortfolioShare+instance NFData AcceptPortfolioShare where instance ToHeaders AcceptPortfolioShare where toHeaders@@ -113,9 +113,10 @@ -- | /See:/ 'acceptPortfolioShareResponse' smart constructor. newtype AcceptPortfolioShareResponse = AcceptPortfolioShareResponse'- { _apsrsResponseStatus :: Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _apsrsResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'AcceptPortfolioShareResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -125,12 +126,11 @@ :: Int -- ^ 'apsrsResponseStatus' -> AcceptPortfolioShareResponse acceptPortfolioShareResponse pResponseStatus_ =- AcceptPortfolioShareResponse'- { _apsrsResponseStatus = pResponseStatus_- }+ AcceptPortfolioShareResponse' {_apsrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. apsrsResponseStatus :: Lens' AcceptPortfolioShareResponse Int apsrsResponseStatus = lens _apsrsResponseStatus (\ s a -> s{_apsrsResponseStatus = a}); -instance NFData AcceptPortfolioShareResponse+instance NFData AcceptPortfolioShareResponse where
gen/Network/AWS/ServiceCatalog/AssociatePrincipalWithPortfolio.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.AssociatePrincipalWithPortfolio--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -39,26 +39,27 @@ , apwprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'associatePrincipalWithPortfolio' smart constructor. data AssociatePrincipalWithPortfolio = AssociatePrincipalWithPortfolio'- { _aAcceptLanguage :: !(Maybe Text)- , _aPortfolioId :: !Text- , _aPrincipalARN :: !Text- , _aPrincipalType :: !PrincipalType- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _aAcceptLanguage :: !(Maybe Text)+ , _aPortfolioId :: !Text+ , _aPrincipalARN :: !Text+ , _aPrincipalType :: !PrincipalType+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'AssociatePrincipalWithPortfolio' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'aAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'aPortfolioId' - The portfolio identifier. --@@ -71,14 +72,15 @@ -> PrincipalType -- ^ 'aPrincipalType' -> AssociatePrincipalWithPortfolio associatePrincipalWithPortfolio pPortfolioId_ pPrincipalARN_ pPrincipalType_ =- AssociatePrincipalWithPortfolio'- { _aAcceptLanguage = Nothing- , _aPortfolioId = pPortfolioId_- , _aPrincipalARN = pPrincipalARN_- , _aPrincipalType = pPrincipalType_- }+ AssociatePrincipalWithPortfolio'+ { _aAcceptLanguage = Nothing+ , _aPortfolioId = pPortfolioId_+ , _aPrincipalARN = pPrincipalARN_+ , _aPrincipalType = pPrincipalType_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese aAcceptLanguage :: Lens' AssociatePrincipalWithPortfolio (Maybe Text) aAcceptLanguage = lens _aAcceptLanguage (\ s a -> s{_aAcceptLanguage = a}); @@ -106,8 +108,9 @@ (pure (fromEnum s))) instance Hashable AssociatePrincipalWithPortfolio+ where -instance NFData AssociatePrincipalWithPortfolio+instance NFData AssociatePrincipalWithPortfolio where instance ToHeaders AssociatePrincipalWithPortfolio where@@ -138,9 +141,10 @@ -- | /See:/ 'associatePrincipalWithPortfolioResponse' smart constructor. newtype AssociatePrincipalWithPortfolioResponse = AssociatePrincipalWithPortfolioResponse'- { _apwprsResponseStatus :: Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _apwprsResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'AssociatePrincipalWithPortfolioResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -150,13 +154,14 @@ :: Int -- ^ 'apwprsResponseStatus' -> AssociatePrincipalWithPortfolioResponse associatePrincipalWithPortfolioResponse pResponseStatus_ =- AssociatePrincipalWithPortfolioResponse'- { _apwprsResponseStatus = pResponseStatus_- }+ AssociatePrincipalWithPortfolioResponse'+ {_apwprsResponseStatus = pResponseStatus_} + -- | -- | The response status code. apwprsResponseStatus :: Lens' AssociatePrincipalWithPortfolioResponse Int apwprsResponseStatus = lens _apwprsResponseStatus (\ s a -> s{_apwprsResponseStatus = a}); instance NFData- AssociatePrincipalWithPortfolioResponse+ AssociatePrincipalWithPortfolioResponse+ where
gen/Network/AWS/ServiceCatalog/AssociateProductWithPortfolio.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.AssociateProductWithPortfolio--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -39,28 +39,29 @@ , arsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'associateProductWithPortfolio' smart constructor. data AssociateProductWithPortfolio = AssociateProductWithPortfolio'- { _apwpSourcePortfolioId :: !(Maybe Text)- , _apwpAcceptLanguage :: !(Maybe Text)- , _apwpProductId :: !Text- , _apwpPortfolioId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _apwpSourcePortfolioId :: !(Maybe Text)+ , _apwpAcceptLanguage :: !(Maybe Text)+ , _apwpProductId :: !Text+ , _apwpPortfolioId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'AssociateProductWithPortfolio' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- * 'apwpSourcePortfolioId' - The identifier of the source portfolio to use with this association. ----- * 'apwpAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'apwpAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'apwpProductId' - The product identifier. --@@ -70,18 +71,19 @@ -> Text -- ^ 'apwpPortfolioId' -> AssociateProductWithPortfolio associateProductWithPortfolio pProductId_ pPortfolioId_ =- AssociateProductWithPortfolio'- { _apwpSourcePortfolioId = Nothing- , _apwpAcceptLanguage = Nothing- , _apwpProductId = pProductId_- , _apwpPortfolioId = pPortfolioId_- }+ AssociateProductWithPortfolio'+ { _apwpSourcePortfolioId = Nothing+ , _apwpAcceptLanguage = Nothing+ , _apwpProductId = pProductId_+ , _apwpPortfolioId = pPortfolioId_+ } + -- | The identifier of the source portfolio to use with this association. apwpSourcePortfolioId :: Lens' AssociateProductWithPortfolio (Maybe Text) apwpSourcePortfolioId = lens _apwpSourcePortfolioId (\ s a -> s{_apwpSourcePortfolioId = a}); --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese apwpAcceptLanguage :: Lens' AssociateProductWithPortfolio (Maybe Text) apwpAcceptLanguage = lens _apwpAcceptLanguage (\ s a -> s{_apwpAcceptLanguage = a}); @@ -104,9 +106,9 @@ AssociateProductWithPortfolioResponse' <$> (pure (fromEnum s))) -instance Hashable AssociateProductWithPortfolio+instance Hashable AssociateProductWithPortfolio where -instance NFData AssociateProductWithPortfolio+instance NFData AssociateProductWithPortfolio where instance ToHeaders AssociateProductWithPortfolio where@@ -136,9 +138,10 @@ -- | /See:/ 'associateProductWithPortfolioResponse' smart constructor. newtype AssociateProductWithPortfolioResponse = AssociateProductWithPortfolioResponse'- { _arsResponseStatus :: Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _arsResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'AssociateProductWithPortfolioResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -148,12 +151,12 @@ :: Int -- ^ 'arsResponseStatus' -> AssociateProductWithPortfolioResponse associateProductWithPortfolioResponse pResponseStatus_ =- AssociateProductWithPortfolioResponse'- { _arsResponseStatus = pResponseStatus_- }+ AssociateProductWithPortfolioResponse' {_arsResponseStatus = pResponseStatus_} + -- | -- | The response status code. arsResponseStatus :: Lens' AssociateProductWithPortfolioResponse Int arsResponseStatus = lens _arsResponseStatus (\ s a -> s{_arsResponseStatus = a}); instance NFData AssociateProductWithPortfolioResponse+ where
+ gen/Network/AWS/ServiceCatalog/AssociateTagOptionWithResource.hs view
@@ -0,0 +1,143 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.ServiceCatalog.AssociateTagOptionWithResource+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Associate a TagOption identifier with a resource identifier.+--+--+module Network.AWS.ServiceCatalog.AssociateTagOptionWithResource+ (+ -- * Creating a Request+ associateTagOptionWithResource+ , AssociateTagOptionWithResource+ -- * Request Lenses+ , atowrResourceId+ , atowrTagOptionId++ -- * Destructuring the Response+ , associateTagOptionWithResourceResponse+ , AssociateTagOptionWithResourceResponse+ -- * Response Lenses+ , atowrrsResponseStatus+ ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product++-- | /See:/ 'associateTagOptionWithResource' smart constructor.+data AssociateTagOptionWithResource = AssociateTagOptionWithResource'+ { _atowrResourceId :: !Text+ , _atowrTagOptionId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AssociateTagOptionWithResource' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'atowrResourceId' - The resource identifier.+--+-- * 'atowrTagOptionId' - The TagOption identifier.+associateTagOptionWithResource+ :: Text -- ^ 'atowrResourceId'+ -> Text -- ^ 'atowrTagOptionId'+ -> AssociateTagOptionWithResource+associateTagOptionWithResource pResourceId_ pTagOptionId_ =+ AssociateTagOptionWithResource'+ {_atowrResourceId = pResourceId_, _atowrTagOptionId = pTagOptionId_}+++-- | The resource identifier.+atowrResourceId :: Lens' AssociateTagOptionWithResource Text+atowrResourceId = lens _atowrResourceId (\ s a -> s{_atowrResourceId = a});++-- | The TagOption identifier.+atowrTagOptionId :: Lens' AssociateTagOptionWithResource Text+atowrTagOptionId = lens _atowrTagOptionId (\ s a -> s{_atowrTagOptionId = a});++instance AWSRequest AssociateTagOptionWithResource+ where+ type Rs AssociateTagOptionWithResource =+ AssociateTagOptionWithResourceResponse+ request = postJSON serviceCatalog+ response+ = receiveEmpty+ (\ s h x ->+ AssociateTagOptionWithResourceResponse' <$>+ (pure (fromEnum s)))++instance Hashable AssociateTagOptionWithResource+ where++instance NFData AssociateTagOptionWithResource where++instance ToHeaders AssociateTagOptionWithResource+ where+ toHeaders+ = const+ (mconcat+ ["X-Amz-Target" =#+ ("AWS242ServiceCatalogService.AssociateTagOptionWithResource"+ :: ByteString),+ "Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON AssociateTagOptionWithResource where+ toJSON AssociateTagOptionWithResource'{..}+ = object+ (catMaybes+ [Just ("ResourceId" .= _atowrResourceId),+ Just ("TagOptionId" .= _atowrTagOptionId)])++instance ToPath AssociateTagOptionWithResource where+ toPath = const "/"++instance ToQuery AssociateTagOptionWithResource where+ toQuery = const mempty++-- | /See:/ 'associateTagOptionWithResourceResponse' smart constructor.+newtype AssociateTagOptionWithResourceResponse = AssociateTagOptionWithResourceResponse'+ { _atowrrsResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AssociateTagOptionWithResourceResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'atowrrsResponseStatus' - -- | The response status code.+associateTagOptionWithResourceResponse+ :: Int -- ^ 'atowrrsResponseStatus'+ -> AssociateTagOptionWithResourceResponse+associateTagOptionWithResourceResponse pResponseStatus_ =+ AssociateTagOptionWithResourceResponse'+ {_atowrrsResponseStatus = pResponseStatus_}+++-- | -- | The response status code.+atowrrsResponseStatus :: Lens' AssociateTagOptionWithResourceResponse Int+atowrrsResponseStatus = lens _atowrrsResponseStatus (\ s a -> s{_atowrrsResponseStatus = a});++instance NFData+ AssociateTagOptionWithResourceResponse+ where
+ gen/Network/AWS/ServiceCatalog/CopyProduct.hs view
@@ -0,0 +1,202 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.ServiceCatalog.CopyProduct+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Copies the specified source product to the specified target product or a new product.+--+--+-- You can copy the product to the same account or another account. You can copy the product to the same region or another region.+--+-- This operation is performed asynchronously. To track the progress of the operation, use 'DescribeCopyProductStatus' .+--+module Network.AWS.ServiceCatalog.CopyProduct+ (+ -- * Creating a Request+ copyProduct+ , CopyProduct+ -- * Request Lenses+ , cTargetProductId+ , cSourceProvisioningArtifactIdentifiers+ , cTargetProductName+ , cCopyOptions+ , cAcceptLanguage+ , cSourceProductARN+ , cIdempotencyToken++ -- * Destructuring the Response+ , copyProductResponse+ , CopyProductResponse+ -- * Response Lenses+ , coprsCopyProductToken+ , coprsResponseStatus+ ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product++-- | /See:/ 'copyProduct' smart constructor.+data CopyProduct = CopyProduct'+ { _cTargetProductId :: !(Maybe Text)+ , _cSourceProvisioningArtifactIdentifiers :: !(Maybe [Map ProvisioningArtifactPropertyName Text])+ , _cTargetProductName :: !(Maybe Text)+ , _cCopyOptions :: !(Maybe [CopyOption])+ , _cAcceptLanguage :: !(Maybe Text)+ , _cSourceProductARN :: !Text+ , _cIdempotencyToken :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CopyProduct' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cTargetProductId' - The ID of the target product. By default, a new product is created.+--+-- * 'cSourceProvisioningArtifactIdentifiers' - The IDs of the product versions to copy. By default, all provisioning artifacts are copied.+--+-- * 'cTargetProductName' - A name for the target product. The default is the name of the source product.+--+-- * 'cCopyOptions' - The copy options. If the value is @CopyTags@ , the tags from the source product are copied to the target product.+--+-- * 'cAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese+--+-- * 'cSourceProductARN' - The Amazon Resource Name (ARN) of the source product.+--+-- * 'cIdempotencyToken' - A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.+copyProduct+ :: Text -- ^ 'cSourceProductARN'+ -> Text -- ^ 'cIdempotencyToken'+ -> CopyProduct+copyProduct pSourceProductARN_ pIdempotencyToken_ =+ CopyProduct'+ { _cTargetProductId = Nothing+ , _cSourceProvisioningArtifactIdentifiers = Nothing+ , _cTargetProductName = Nothing+ , _cCopyOptions = Nothing+ , _cAcceptLanguage = Nothing+ , _cSourceProductARN = pSourceProductARN_+ , _cIdempotencyToken = pIdempotencyToken_+ }+++-- | The ID of the target product. By default, a new product is created.+cTargetProductId :: Lens' CopyProduct (Maybe Text)+cTargetProductId = lens _cTargetProductId (\ s a -> s{_cTargetProductId = a});++-- | The IDs of the product versions to copy. By default, all provisioning artifacts are copied.+cSourceProvisioningArtifactIdentifiers :: Lens' CopyProduct [HashMap ProvisioningArtifactPropertyName Text]+cSourceProvisioningArtifactIdentifiers = lens _cSourceProvisioningArtifactIdentifiers (\ s a -> s{_cSourceProvisioningArtifactIdentifiers = a}) . _Default . _Coerce;++-- | A name for the target product. The default is the name of the source product.+cTargetProductName :: Lens' CopyProduct (Maybe Text)+cTargetProductName = lens _cTargetProductName (\ s a -> s{_cTargetProductName = a});++-- | The copy options. If the value is @CopyTags@ , the tags from the source product are copied to the target product.+cCopyOptions :: Lens' CopyProduct [CopyOption]+cCopyOptions = lens _cCopyOptions (\ s a -> s{_cCopyOptions = a}) . _Default . _Coerce;++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese+cAcceptLanguage :: Lens' CopyProduct (Maybe Text)+cAcceptLanguage = lens _cAcceptLanguage (\ s a -> s{_cAcceptLanguage = a});++-- | The Amazon Resource Name (ARN) of the source product.+cSourceProductARN :: Lens' CopyProduct Text+cSourceProductARN = lens _cSourceProductARN (\ s a -> s{_cSourceProductARN = a});++-- | A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.+cIdempotencyToken :: Lens' CopyProduct Text+cIdempotencyToken = lens _cIdempotencyToken (\ s a -> s{_cIdempotencyToken = a});++instance AWSRequest CopyProduct where+ type Rs CopyProduct = CopyProductResponse+ request = postJSON serviceCatalog+ response+ = receiveJSON+ (\ s h x ->+ CopyProductResponse' <$>+ (x .?> "CopyProductToken") <*> (pure (fromEnum s)))++instance Hashable CopyProduct where++instance NFData CopyProduct where++instance ToHeaders CopyProduct where+ toHeaders+ = const+ (mconcat+ ["X-Amz-Target" =#+ ("AWS242ServiceCatalogService.CopyProduct" ::+ ByteString),+ "Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON CopyProduct where+ toJSON CopyProduct'{..}+ = object+ (catMaybes+ [("TargetProductId" .=) <$> _cTargetProductId,+ ("SourceProvisioningArtifactIdentifiers" .=) <$>+ _cSourceProvisioningArtifactIdentifiers,+ ("TargetProductName" .=) <$> _cTargetProductName,+ ("CopyOptions" .=) <$> _cCopyOptions,+ ("AcceptLanguage" .=) <$> _cAcceptLanguage,+ Just ("SourceProductArn" .= _cSourceProductARN),+ Just ("IdempotencyToken" .= _cIdempotencyToken)])++instance ToPath CopyProduct where+ toPath = const "/"++instance ToQuery CopyProduct where+ toQuery = const mempty++-- | /See:/ 'copyProductResponse' smart constructor.+data CopyProductResponse = CopyProductResponse'+ { _coprsCopyProductToken :: !(Maybe Text)+ , _coprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CopyProductResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'coprsCopyProductToken' - A unique token to pass to @DescribeCopyProductStatus@ to track the progress of the operation.+--+-- * 'coprsResponseStatus' - -- | The response status code.+copyProductResponse+ :: Int -- ^ 'coprsResponseStatus'+ -> CopyProductResponse+copyProductResponse pResponseStatus_ =+ CopyProductResponse'+ {_coprsCopyProductToken = Nothing, _coprsResponseStatus = pResponseStatus_}+++-- | A unique token to pass to @DescribeCopyProductStatus@ to track the progress of the operation.+coprsCopyProductToken :: Lens' CopyProductResponse (Maybe Text)+coprsCopyProductToken = lens _coprsCopyProductToken (\ s a -> s{_coprsCopyProductToken = a});++-- | -- | The response status code.+coprsResponseStatus :: Lens' CopyProductResponse Int+coprsResponseStatus = lens _coprsResponseStatus (\ s a -> s{_coprsResponseStatus = a});++instance NFData CopyProductResponse where
gen/Network/AWS/ServiceCatalog/CreateConstraint.hs view
@@ -12,13 +12,13 @@ -- | -- Module : Network.AWS.ServiceCatalog.CreateConstraint--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a new constraint.+-- Creates a new constraint. For more information, see <http://docs.aws.amazon.com/servicecatalog/latest/adminguide/constraints.html Using Constraints> . -- -- module Network.AWS.ServiceCatalog.CreateConstraint@@ -45,29 +45,30 @@ , ccrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'createConstraint' smart constructor. data CreateConstraint = CreateConstraint'- { _ccAcceptLanguage :: !(Maybe Text)- , _ccDescription :: !(Maybe Text)- , _ccPortfolioId :: !Text- , _ccProductId :: !Text- , _ccParameters :: !Text- , _ccType :: !Text- , _ccIdempotencyToken :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ccAcceptLanguage :: !(Maybe Text)+ , _ccDescription :: !(Maybe Text)+ , _ccPortfolioId :: !Text+ , _ccProductId :: !Text+ , _ccParameters :: !Text+ , _ccType :: !Text+ , _ccIdempotencyToken :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateConstraint' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ccAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'ccAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'ccDescription' - The text description of the constraint. --@@ -75,11 +76,11 @@ -- -- * 'ccProductId' - The product identifier. ----- * 'ccParameters' - The constraint parameters.+-- * 'ccParameters' - The constraint parameters. Expected values vary depending on which __Type__ is specified. For more information, see the Examples section. For Type @LAUNCH@ , the @RoleArn@ property is required. For Type @NOTIFICATION@ , the @NotificationArns@ property is required. For Type @TEMPLATE@ , the @Rules@ property is required. ----- * 'ccType' - The type of the constraint.+-- * 'ccType' - The type of the constraint. Case-sensitive valid values are: @LAUNCH@ , @NOTIFICATION@ , or @TEMPLATE@ . ----- * 'ccIdempotencyToken' - A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.+-- * 'ccIdempotencyToken' - A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request. createConstraint :: Text -- ^ 'ccPortfolioId' -> Text -- ^ 'ccProductId'@@ -88,17 +89,18 @@ -> Text -- ^ 'ccIdempotencyToken' -> CreateConstraint createConstraint pPortfolioId_ pProductId_ pParameters_ pType_ pIdempotencyToken_ =- CreateConstraint'- { _ccAcceptLanguage = Nothing- , _ccDescription = Nothing- , _ccPortfolioId = pPortfolioId_- , _ccProductId = pProductId_- , _ccParameters = pParameters_- , _ccType = pType_- , _ccIdempotencyToken = pIdempotencyToken_- }+ CreateConstraint'+ { _ccAcceptLanguage = Nothing+ , _ccDescription = Nothing+ , _ccPortfolioId = pPortfolioId_+ , _ccProductId = pProductId_+ , _ccParameters = pParameters_+ , _ccType = pType_+ , _ccIdempotencyToken = pIdempotencyToken_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese ccAcceptLanguage :: Lens' CreateConstraint (Maybe Text) ccAcceptLanguage = lens _ccAcceptLanguage (\ s a -> s{_ccAcceptLanguage = a}); @@ -114,15 +116,15 @@ ccProductId :: Lens' CreateConstraint Text ccProductId = lens _ccProductId (\ s a -> s{_ccProductId = a}); --- | The constraint parameters.+-- | The constraint parameters. Expected values vary depending on which __Type__ is specified. For more information, see the Examples section. For Type @LAUNCH@ , the @RoleArn@ property is required. For Type @NOTIFICATION@ , the @NotificationArns@ property is required. For Type @TEMPLATE@ , the @Rules@ property is required. ccParameters :: Lens' CreateConstraint Text ccParameters = lens _ccParameters (\ s a -> s{_ccParameters = a}); --- | The type of the constraint.+-- | The type of the constraint. Case-sensitive valid values are: @LAUNCH@ , @NOTIFICATION@ , or @TEMPLATE@ . ccType :: Lens' CreateConstraint Text ccType = lens _ccType (\ s a -> s{_ccType = a}); --- | A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.+-- | A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request. ccIdempotencyToken :: Lens' CreateConstraint Text ccIdempotencyToken = lens _ccIdempotencyToken (\ s a -> s{_ccIdempotencyToken = a}); @@ -137,9 +139,9 @@ (x .?> "ConstraintParameters") <*> (pure (fromEnum s))) -instance Hashable CreateConstraint+instance Hashable CreateConstraint where -instance NFData CreateConstraint+instance NFData CreateConstraint where instance ToHeaders CreateConstraint where toHeaders@@ -171,12 +173,13 @@ -- | /See:/ 'createConstraintResponse' smart constructor. data CreateConstraintResponse = CreateConstraintResponse'- { _ccrsStatus :: !(Maybe RequestStatus)- , _ccrsConstraintDetail :: !(Maybe ConstraintDetail)- , _ccrsConstraintParameters :: !(Maybe Text)- , _ccrsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ccrsStatus :: !(Maybe RequestStatus)+ , _ccrsConstraintDetail :: !(Maybe ConstraintDetail)+ , _ccrsConstraintParameters :: !(Maybe Text)+ , _ccrsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateConstraintResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -192,13 +195,14 @@ :: Int -- ^ 'ccrsResponseStatus' -> CreateConstraintResponse createConstraintResponse pResponseStatus_ =- CreateConstraintResponse'- { _ccrsStatus = Nothing- , _ccrsConstraintDetail = Nothing- , _ccrsConstraintParameters = Nothing- , _ccrsResponseStatus = pResponseStatus_- }+ CreateConstraintResponse'+ { _ccrsStatus = Nothing+ , _ccrsConstraintDetail = Nothing+ , _ccrsConstraintParameters = Nothing+ , _ccrsResponseStatus = pResponseStatus_+ } + -- | The status of the current request. ccrsStatus :: Lens' CreateConstraintResponse (Maybe RequestStatus) ccrsStatus = lens _ccrsStatus (\ s a -> s{_ccrsStatus = a});@@ -215,4 +219,4 @@ ccrsResponseStatus :: Lens' CreateConstraintResponse Int ccrsResponseStatus = lens _ccrsResponseStatus (\ s a -> s{_ccrsResponseStatus = a}); -instance NFData CreateConstraintResponse+instance NFData CreateConstraintResponse where
gen/Network/AWS/ServiceCatalog/CreatePortfolio.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.CreatePortfolio--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -27,12 +27,12 @@ createPortfolio , CreatePortfolio -- * Request Lenses- , cAcceptLanguage- , cDescription- , cTags- , cDisplayName- , cProviderName- , cIdempotencyToken+ , creAcceptLanguage+ , creDescription+ , creTags+ , creDisplayName+ , creProviderName+ , creIdempotencyToken -- * Destructuring the Response , createPortfolioResponse@@ -43,76 +43,78 @@ , crsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'createPortfolio' smart constructor. data CreatePortfolio = CreatePortfolio'- { _cAcceptLanguage :: !(Maybe Text)- , _cDescription :: !(Maybe Text)- , _cTags :: !(Maybe [Tag])- , _cDisplayName :: !Text- , _cProviderName :: !Text- , _cIdempotencyToken :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _creAcceptLanguage :: !(Maybe Text)+ , _creDescription :: !(Maybe Text)+ , _creTags :: !(Maybe [Tag])+ , _creDisplayName :: !Text+ , _creProviderName :: !Text+ , _creIdempotencyToken :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreatePortfolio' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'creAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese ----- * 'cDescription' - The text description of the portfolio.+-- * 'creDescription' - The text description of the portfolio. ----- * 'cTags' - Tags to associate with the new portfolio.+-- * 'creTags' - Tags to associate with the new portfolio. ----- * 'cDisplayName' - The name to use for display purposes.+-- * 'creDisplayName' - The name to use for display purposes. ----- * 'cProviderName' - The name of the portfolio provider.+-- * 'creProviderName' - The name of the portfolio provider. ----- * 'cIdempotencyToken' - A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.+-- * 'creIdempotencyToken' - A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request. createPortfolio- :: Text -- ^ 'cDisplayName'- -> Text -- ^ 'cProviderName'- -> Text -- ^ 'cIdempotencyToken'+ :: Text -- ^ 'creDisplayName'+ -> Text -- ^ 'creProviderName'+ -> Text -- ^ 'creIdempotencyToken' -> CreatePortfolio createPortfolio pDisplayName_ pProviderName_ pIdempotencyToken_ =- CreatePortfolio'- { _cAcceptLanguage = Nothing- , _cDescription = Nothing- , _cTags = Nothing- , _cDisplayName = pDisplayName_- , _cProviderName = pProviderName_- , _cIdempotencyToken = pIdempotencyToken_- }+ CreatePortfolio'+ { _creAcceptLanguage = Nothing+ , _creDescription = Nothing+ , _creTags = Nothing+ , _creDisplayName = pDisplayName_+ , _creProviderName = pProviderName_+ , _creIdempotencyToken = pIdempotencyToken_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.-cAcceptLanguage :: Lens' CreatePortfolio (Maybe Text)-cAcceptLanguage = lens _cAcceptLanguage (\ s a -> s{_cAcceptLanguage = a}); +-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese+creAcceptLanguage :: Lens' CreatePortfolio (Maybe Text)+creAcceptLanguage = lens _creAcceptLanguage (\ s a -> s{_creAcceptLanguage = a});+ -- | The text description of the portfolio.-cDescription :: Lens' CreatePortfolio (Maybe Text)-cDescription = lens _cDescription (\ s a -> s{_cDescription = a});+creDescription :: Lens' CreatePortfolio (Maybe Text)+creDescription = lens _creDescription (\ s a -> s{_creDescription = a}); -- | Tags to associate with the new portfolio.-cTags :: Lens' CreatePortfolio [Tag]-cTags = lens _cTags (\ s a -> s{_cTags = a}) . _Default . _Coerce;+creTags :: Lens' CreatePortfolio [Tag]+creTags = lens _creTags (\ s a -> s{_creTags = a}) . _Default . _Coerce; -- | The name to use for display purposes.-cDisplayName :: Lens' CreatePortfolio Text-cDisplayName = lens _cDisplayName (\ s a -> s{_cDisplayName = a});+creDisplayName :: Lens' CreatePortfolio Text+creDisplayName = lens _creDisplayName (\ s a -> s{_creDisplayName = a}); -- | The name of the portfolio provider.-cProviderName :: Lens' CreatePortfolio Text-cProviderName = lens _cProviderName (\ s a -> s{_cProviderName = a});+creProviderName :: Lens' CreatePortfolio Text+creProviderName = lens _creProviderName (\ s a -> s{_creProviderName = a}); --- | A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.-cIdempotencyToken :: Lens' CreatePortfolio Text-cIdempotencyToken = lens _cIdempotencyToken (\ s a -> s{_cIdempotencyToken = a});+-- | A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.+creIdempotencyToken :: Lens' CreatePortfolio Text+creIdempotencyToken = lens _creIdempotencyToken (\ s a -> s{_creIdempotencyToken = a}); instance AWSRequest CreatePortfolio where type Rs CreatePortfolio = CreatePortfolioResponse@@ -125,9 +127,9 @@ (x .?> "Tags" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable CreatePortfolio+instance Hashable CreatePortfolio where -instance NFData CreatePortfolio+instance NFData CreatePortfolio where instance ToHeaders CreatePortfolio where toHeaders@@ -143,12 +145,12 @@ toJSON CreatePortfolio'{..} = object (catMaybes- [("AcceptLanguage" .=) <$> _cAcceptLanguage,- ("Description" .=) <$> _cDescription,- ("Tags" .=) <$> _cTags,- Just ("DisplayName" .= _cDisplayName),- Just ("ProviderName" .= _cProviderName),- Just ("IdempotencyToken" .= _cIdempotencyToken)])+ [("AcceptLanguage" .=) <$> _creAcceptLanguage,+ ("Description" .=) <$> _creDescription,+ ("Tags" .=) <$> _creTags,+ Just ("DisplayName" .= _creDisplayName),+ Just ("ProviderName" .= _creProviderName),+ Just ("IdempotencyToken" .= _creIdempotencyToken)]) instance ToPath CreatePortfolio where toPath = const "/"@@ -158,11 +160,12 @@ -- | /See:/ 'createPortfolioResponse' smart constructor. data CreatePortfolioResponse = CreatePortfolioResponse'- { _crsPortfolioDetail :: !(Maybe PortfolioDetail)- , _crsTags :: !(Maybe [Tag])- , _crsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _crsPortfolioDetail :: !(Maybe PortfolioDetail)+ , _crsTags :: !(Maybe [Tag])+ , _crsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreatePortfolioResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -176,12 +179,13 @@ :: Int -- ^ 'crsResponseStatus' -> CreatePortfolioResponse createPortfolioResponse pResponseStatus_ =- CreatePortfolioResponse'- { _crsPortfolioDetail = Nothing- , _crsTags = Nothing- , _crsResponseStatus = pResponseStatus_- }+ CreatePortfolioResponse'+ { _crsPortfolioDetail = Nothing+ , _crsTags = Nothing+ , _crsResponseStatus = pResponseStatus_+ } + -- | The resulting detailed portfolio information. crsPortfolioDetail :: Lens' CreatePortfolioResponse (Maybe PortfolioDetail) crsPortfolioDetail = lens _crsPortfolioDetail (\ s a -> s{_crsPortfolioDetail = a});@@ -194,4 +198,4 @@ crsResponseStatus :: Lens' CreatePortfolioResponse Int crsResponseStatus = lens _crsResponseStatus (\ s a -> s{_crsResponseStatus = a}); -instance NFData CreatePortfolioResponse+instance NFData CreatePortfolioResponse where
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.CreatePortfolioShare--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -38,25 +38,26 @@ , cpsrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'createPortfolioShare' smart constructor. data CreatePortfolioShare = CreatePortfolioShare'- { _cpsAcceptLanguage :: !(Maybe Text)- , _cpsPortfolioId :: !Text- , _cpsAccountId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _cpsAcceptLanguage :: !(Maybe Text)+ , _cpsPortfolioId :: !Text+ , _cpsAccountId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreatePortfolioShare' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cpsAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'cpsAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'cpsPortfolioId' - The portfolio identifier. --@@ -66,13 +67,14 @@ -> Text -- ^ 'cpsAccountId' -> CreatePortfolioShare createPortfolioShare pPortfolioId_ pAccountId_ =- CreatePortfolioShare'- { _cpsAcceptLanguage = Nothing- , _cpsPortfolioId = pPortfolioId_- , _cpsAccountId = pAccountId_- }+ CreatePortfolioShare'+ { _cpsAcceptLanguage = Nothing+ , _cpsPortfolioId = pPortfolioId_+ , _cpsAccountId = pAccountId_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese cpsAcceptLanguage :: Lens' CreatePortfolioShare (Maybe Text) cpsAcceptLanguage = lens _cpsAcceptLanguage (\ s a -> s{_cpsAcceptLanguage = a}); @@ -94,9 +96,9 @@ CreatePortfolioShareResponse' <$> (pure (fromEnum s))) -instance Hashable CreatePortfolioShare+instance Hashable CreatePortfolioShare where -instance NFData CreatePortfolioShare+instance NFData CreatePortfolioShare where instance ToHeaders CreatePortfolioShare where toHeaders@@ -124,9 +126,10 @@ -- | /See:/ 'createPortfolioShareResponse' smart constructor. newtype CreatePortfolioShareResponse = CreatePortfolioShareResponse'- { _cpsrsResponseStatus :: Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _cpsrsResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreatePortfolioShareResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -136,12 +139,11 @@ :: Int -- ^ 'cpsrsResponseStatus' -> CreatePortfolioShareResponse createPortfolioShareResponse pResponseStatus_ =- CreatePortfolioShareResponse'- { _cpsrsResponseStatus = pResponseStatus_- }+ CreatePortfolioShareResponse' {_cpsrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. cpsrsResponseStatus :: Lens' CreatePortfolioShareResponse Int cpsrsResponseStatus = lens _cpsrsResponseStatus (\ s a -> s{_cpsrsResponseStatus = a}); -instance NFData CreatePortfolioShareResponse+instance NFData CreatePortfolioShareResponse where
gen/Network/AWS/ServiceCatalog/CreateProduct.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.CreateProduct--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -50,29 +50,30 @@ , cprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'createProduct' smart constructor. data CreateProduct = CreateProduct'- { _cpSupportURL :: !(Maybe Text)- , _cpDistributor :: !(Maybe Text)- , _cpAcceptLanguage :: !(Maybe Text)- , _cpSupportEmail :: !(Maybe Text)- , _cpDescription :: !(Maybe Text)- , _cpTags :: !(Maybe [Tag])- , _cpSupportDescription :: !(Maybe Text)- , _cpName :: !Text- , _cpOwner :: !Text- , _cpProductType :: !ProductType- , _cpProvisioningArtifactParameters :: !ProvisioningArtifactProperties- , _cpIdempotencyToken :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _cpSupportURL :: !(Maybe Text)+ , _cpDistributor :: !(Maybe Text)+ , _cpAcceptLanguage :: !(Maybe Text)+ , _cpSupportEmail :: !(Maybe Text)+ , _cpDescription :: !(Maybe Text)+ , _cpTags :: !(Maybe [Tag])+ , _cpSupportDescription :: !(Maybe Text)+ , _cpName :: !Text+ , _cpOwner :: !Text+ , _cpProductType :: !ProductType+ , _cpProvisioningArtifactParameters :: !ProvisioningArtifactProperties+ , _cpIdempotencyToken :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateProduct' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -81,7 +82,7 @@ -- -- * 'cpDistributor' - The distributor of the product. ----- * 'cpAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'cpAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'cpSupportEmail' - Contact email for product support. --@@ -99,7 +100,7 @@ -- -- * 'cpProvisioningArtifactParameters' - Parameters for the provisioning artifact. ----- * 'cpIdempotencyToken' - A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.+-- * 'cpIdempotencyToken' - A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request. createProduct :: Text -- ^ 'cpName' -> Text -- ^ 'cpOwner'@@ -108,21 +109,22 @@ -> Text -- ^ 'cpIdempotencyToken' -> CreateProduct createProduct pName_ pOwner_ pProductType_ pProvisioningArtifactParameters_ pIdempotencyToken_ =- CreateProduct'- { _cpSupportURL = Nothing- , _cpDistributor = Nothing- , _cpAcceptLanguage = Nothing- , _cpSupportEmail = Nothing- , _cpDescription = Nothing- , _cpTags = Nothing- , _cpSupportDescription = Nothing- , _cpName = pName_- , _cpOwner = pOwner_- , _cpProductType = pProductType_- , _cpProvisioningArtifactParameters = pProvisioningArtifactParameters_- , _cpIdempotencyToken = pIdempotencyToken_- }+ CreateProduct'+ { _cpSupportURL = Nothing+ , _cpDistributor = Nothing+ , _cpAcceptLanguage = Nothing+ , _cpSupportEmail = Nothing+ , _cpDescription = Nothing+ , _cpTags = Nothing+ , _cpSupportDescription = Nothing+ , _cpName = pName_+ , _cpOwner = pOwner_+ , _cpProductType = pProductType_+ , _cpProvisioningArtifactParameters = pProvisioningArtifactParameters_+ , _cpIdempotencyToken = pIdempotencyToken_+ } + -- | Contact URL for product support. cpSupportURL :: Lens' CreateProduct (Maybe Text) cpSupportURL = lens _cpSupportURL (\ s a -> s{_cpSupportURL = a});@@ -131,7 +133,7 @@ cpDistributor :: Lens' CreateProduct (Maybe Text) cpDistributor = lens _cpDistributor (\ s a -> s{_cpDistributor = a}); --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese cpAcceptLanguage :: Lens' CreateProduct (Maybe Text) cpAcceptLanguage = lens _cpAcceptLanguage (\ s a -> s{_cpAcceptLanguage = a}); @@ -167,7 +169,7 @@ cpProvisioningArtifactParameters :: Lens' CreateProduct ProvisioningArtifactProperties cpProvisioningArtifactParameters = lens _cpProvisioningArtifactParameters (\ s a -> s{_cpProvisioningArtifactParameters = a}); --- | A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.+-- | A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request. cpIdempotencyToken :: Lens' CreateProduct Text cpIdempotencyToken = lens _cpIdempotencyToken (\ s a -> s{_cpIdempotencyToken = a}); @@ -183,9 +185,9 @@ <*> (x .?> "Tags" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable CreateProduct+instance Hashable CreateProduct where -instance NFData CreateProduct+instance NFData CreateProduct where instance ToHeaders CreateProduct where toHeaders@@ -223,12 +225,13 @@ -- | /See:/ 'createProductResponse' smart constructor. data CreateProductResponse = CreateProductResponse'- { _cprsProductViewDetail :: !(Maybe ProductViewDetail)- , _cprsProvisioningArtifactDetail :: !(Maybe ProvisioningArtifactDetail)- , _cprsTags :: !(Maybe [Tag])- , _cprsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _cprsProductViewDetail :: !(Maybe ProductViewDetail)+ , _cprsProvisioningArtifactDetail :: !(Maybe ProvisioningArtifactDetail)+ , _cprsTags :: !(Maybe [Tag])+ , _cprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateProductResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -244,13 +247,14 @@ :: Int -- ^ 'cprsResponseStatus' -> CreateProductResponse createProductResponse pResponseStatus_ =- CreateProductResponse'- { _cprsProductViewDetail = Nothing- , _cprsProvisioningArtifactDetail = Nothing- , _cprsTags = Nothing- , _cprsResponseStatus = pResponseStatus_- }+ CreateProductResponse'+ { _cprsProductViewDetail = Nothing+ , _cprsProvisioningArtifactDetail = Nothing+ , _cprsTags = Nothing+ , _cprsResponseStatus = pResponseStatus_+ } + -- | The resulting detailed product view information. cprsProductViewDetail :: Lens' CreateProductResponse (Maybe ProductViewDetail) cprsProductViewDetail = lens _cprsProductViewDetail (\ s a -> s{_cprsProductViewDetail = a});@@ -267,4 +271,4 @@ cprsResponseStatus :: Lens' CreateProductResponse Int cprsResponseStatus = lens _cprsResponseStatus (\ s a -> s{_cprsResponseStatus = a}); -instance NFData CreateProductResponse+instance NFData CreateProductResponse where
gen/Network/AWS/ServiceCatalog/CreateProvisioningArtifact.hs view
@@ -12,13 +12,13 @@ -- | -- Module : Network.AWS.ServiceCatalog.CreateProvisioningArtifact--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Create a new provisioning artifact for the specified product. This operation will not work with a product that has been shared with you.+-- Create a new provisioning artifact for the specified product. This operation does not work with a product that has been shared with you. -- -- module Network.AWS.ServiceCatalog.CreateProvisioningArtifact@@ -42,46 +42,48 @@ , cparsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'createProvisioningArtifact' smart constructor. data CreateProvisioningArtifact = CreateProvisioningArtifact'- { _cpaAcceptLanguage :: !(Maybe Text)- , _cpaProductId :: !Text- , _cpaParameters :: !ProvisioningArtifactProperties- , _cpaIdempotencyToken :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _cpaAcceptLanguage :: !(Maybe Text)+ , _cpaProductId :: !Text+ , _cpaParameters :: !ProvisioningArtifactProperties+ , _cpaIdempotencyToken :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateProvisioningArtifact' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cpaAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'cpaAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'cpaProductId' - The product identifier. -- -- * 'cpaParameters' - The parameters to use when creating the new provisioning artifact. ----- * 'cpaIdempotencyToken' - A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.+-- * 'cpaIdempotencyToken' - A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request. createProvisioningArtifact :: Text -- ^ 'cpaProductId' -> ProvisioningArtifactProperties -- ^ 'cpaParameters' -> Text -- ^ 'cpaIdempotencyToken' -> CreateProvisioningArtifact createProvisioningArtifact pProductId_ pParameters_ pIdempotencyToken_ =- CreateProvisioningArtifact'- { _cpaAcceptLanguage = Nothing- , _cpaProductId = pProductId_- , _cpaParameters = pParameters_- , _cpaIdempotencyToken = pIdempotencyToken_- }+ CreateProvisioningArtifact'+ { _cpaAcceptLanguage = Nothing+ , _cpaProductId = pProductId_+ , _cpaParameters = pParameters_+ , _cpaIdempotencyToken = pIdempotencyToken_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese cpaAcceptLanguage :: Lens' CreateProvisioningArtifact (Maybe Text) cpaAcceptLanguage = lens _cpaAcceptLanguage (\ s a -> s{_cpaAcceptLanguage = a}); @@ -93,7 +95,7 @@ cpaParameters :: Lens' CreateProvisioningArtifact ProvisioningArtifactProperties cpaParameters = lens _cpaParameters (\ s a -> s{_cpaParameters = a}); --- | A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.+-- | A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request. cpaIdempotencyToken :: Lens' CreateProvisioningArtifact Text cpaIdempotencyToken = lens _cpaIdempotencyToken (\ s a -> s{_cpaIdempotencyToken = a}); @@ -109,9 +111,9 @@ (x .?> "ProvisioningArtifactDetail") <*> (pure (fromEnum s))) -instance Hashable CreateProvisioningArtifact+instance Hashable CreateProvisioningArtifact where -instance NFData CreateProvisioningArtifact+instance NFData CreateProvisioningArtifact where instance ToHeaders CreateProvisioningArtifact where toHeaders@@ -140,19 +142,20 @@ -- | /See:/ 'createProvisioningArtifactResponse' smart constructor. data CreateProvisioningArtifactResponse = CreateProvisioningArtifactResponse'- { _cparsStatus :: !(Maybe RequestStatus)- , _cparsInfo :: !(Maybe (Map Text Text))- , _cparsProvisioningArtifactDetail :: !(Maybe ProvisioningArtifactDetail)- , _cparsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _cparsStatus :: !(Maybe RequestStatus)+ , _cparsInfo :: !(Maybe (Map Text Text))+ , _cparsProvisioningArtifactDetail :: !(Maybe ProvisioningArtifactDetail)+ , _cparsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'CreateProvisioningArtifactResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- * 'cparsStatus' - The status of the current request. ----- * 'cparsInfo' - Additional information about the provisioning artifact create request.+-- * 'cparsInfo' - Additional information about the creation request for the provisioning artifact. -- -- * 'cparsProvisioningArtifactDetail' - The resulting detailed provisioning artifact information. --@@ -161,18 +164,19 @@ :: Int -- ^ 'cparsResponseStatus' -> CreateProvisioningArtifactResponse createProvisioningArtifactResponse pResponseStatus_ =- CreateProvisioningArtifactResponse'- { _cparsStatus = Nothing- , _cparsInfo = Nothing- , _cparsProvisioningArtifactDetail = Nothing- , _cparsResponseStatus = pResponseStatus_- }+ CreateProvisioningArtifactResponse'+ { _cparsStatus = Nothing+ , _cparsInfo = Nothing+ , _cparsProvisioningArtifactDetail = Nothing+ , _cparsResponseStatus = pResponseStatus_+ } + -- | The status of the current request. cparsStatus :: Lens' CreateProvisioningArtifactResponse (Maybe RequestStatus) cparsStatus = lens _cparsStatus (\ s a -> s{_cparsStatus = a}); --- | Additional information about the provisioning artifact create request.+-- | Additional information about the creation request for the provisioning artifact. cparsInfo :: Lens' CreateProvisioningArtifactResponse (HashMap Text Text) cparsInfo = lens _cparsInfo (\ s a -> s{_cparsInfo = a}) . _Default . _Map; @@ -185,3 +189,4 @@ cparsResponseStatus = lens _cparsResponseStatus (\ s a -> s{_cparsResponseStatus = a}); instance NFData CreateProvisioningArtifactResponse+ where
+ gen/Network/AWS/ServiceCatalog/CreateTagOption.hs view
@@ -0,0 +1,144 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.ServiceCatalog.CreateTagOption+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Create a new TagOption.+--+--+module Network.AWS.ServiceCatalog.CreateTagOption+ (+ -- * Creating a Request+ createTagOption+ , CreateTagOption+ -- * Request Lenses+ , ctoKey+ , ctoValue++ -- * Destructuring the Response+ , createTagOptionResponse+ , CreateTagOptionResponse+ -- * Response Lenses+ , ctorsTagOptionDetail+ , ctorsResponseStatus+ ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product++-- | /See:/ 'createTagOption' smart constructor.+data CreateTagOption = CreateTagOption'+ { _ctoKey :: !Text+ , _ctoValue :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CreateTagOption' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ctoKey' - The TagOption key.+--+-- * 'ctoValue' - The TagOption value.+createTagOption+ :: Text -- ^ 'ctoKey'+ -> Text -- ^ 'ctoValue'+ -> CreateTagOption+createTagOption pKey_ pValue_ =+ CreateTagOption' {_ctoKey = pKey_, _ctoValue = pValue_}+++-- | The TagOption key.+ctoKey :: Lens' CreateTagOption Text+ctoKey = lens _ctoKey (\ s a -> s{_ctoKey = a});++-- | The TagOption value.+ctoValue :: Lens' CreateTagOption Text+ctoValue = lens _ctoValue (\ s a -> s{_ctoValue = a});++instance AWSRequest CreateTagOption where+ type Rs CreateTagOption = CreateTagOptionResponse+ request = postJSON serviceCatalog+ response+ = receiveJSON+ (\ s h x ->+ CreateTagOptionResponse' <$>+ (x .?> "TagOptionDetail") <*> (pure (fromEnum s)))++instance Hashable CreateTagOption where++instance NFData CreateTagOption where++instance ToHeaders CreateTagOption where+ toHeaders+ = const+ (mconcat+ ["X-Amz-Target" =#+ ("AWS242ServiceCatalogService.CreateTagOption" ::+ ByteString),+ "Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON CreateTagOption where+ toJSON CreateTagOption'{..}+ = object+ (catMaybes+ [Just ("Key" .= _ctoKey),+ Just ("Value" .= _ctoValue)])++instance ToPath CreateTagOption where+ toPath = const "/"++instance ToQuery CreateTagOption where+ toQuery = const mempty++-- | /See:/ 'createTagOptionResponse' smart constructor.+data CreateTagOptionResponse = CreateTagOptionResponse'+ { _ctorsTagOptionDetail :: !(Maybe TagOptionDetail)+ , _ctorsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'CreateTagOptionResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ctorsTagOptionDetail' - The resulting detailed TagOption information.+--+-- * 'ctorsResponseStatus' - -- | The response status code.+createTagOptionResponse+ :: Int -- ^ 'ctorsResponseStatus'+ -> CreateTagOptionResponse+createTagOptionResponse pResponseStatus_ =+ CreateTagOptionResponse'+ {_ctorsTagOptionDetail = Nothing, _ctorsResponseStatus = pResponseStatus_}+++-- | The resulting detailed TagOption information.+ctorsTagOptionDetail :: Lens' CreateTagOptionResponse (Maybe TagOptionDetail)+ctorsTagOptionDetail = lens _ctorsTagOptionDetail (\ s a -> s{_ctorsTagOptionDetail = a});++-- | -- | The response status code.+ctorsResponseStatus :: Lens' CreateTagOptionResponse Int+ctorsResponseStatus = lens _ctorsResponseStatus (\ s a -> s{_ctorsResponseStatus = a});++instance NFData CreateTagOptionResponse where
gen/Network/AWS/ServiceCatalog/DeleteConstraint.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.DeleteConstraint--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -37,36 +37,35 @@ , dcrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'deleteConstraint' smart constructor. data DeleteConstraint = DeleteConstraint'- { _dcAcceptLanguage :: !(Maybe Text)- , _dcId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dcAcceptLanguage :: !(Maybe Text)+ , _dcId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteConstraint' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dcAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'dcAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'dcId' - The identifier of the constraint to delete. deleteConstraint :: Text -- ^ 'dcId' -> DeleteConstraint deleteConstraint pId_ =- DeleteConstraint'- { _dcAcceptLanguage = Nothing- , _dcId = pId_- }+ DeleteConstraint' {_dcAcceptLanguage = Nothing, _dcId = pId_} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese dcAcceptLanguage :: Lens' DeleteConstraint (Maybe Text) dcAcceptLanguage = lens _dcAcceptLanguage (\ s a -> s{_dcAcceptLanguage = a}); @@ -82,9 +81,9 @@ (\ s h x -> DeleteConstraintResponse' <$> (pure (fromEnum s))) -instance Hashable DeleteConstraint+instance Hashable DeleteConstraint where -instance NFData DeleteConstraint+instance NFData DeleteConstraint where instance ToHeaders DeleteConstraint where toHeaders@@ -111,9 +110,10 @@ -- | /See:/ 'deleteConstraintResponse' smart constructor. newtype DeleteConstraintResponse = DeleteConstraintResponse'- { _dcrsResponseStatus :: Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dcrsResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteConstraintResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -123,12 +123,11 @@ :: Int -- ^ 'dcrsResponseStatus' -> DeleteConstraintResponse deleteConstraintResponse pResponseStatus_ =- DeleteConstraintResponse'- { _dcrsResponseStatus = pResponseStatus_- }+ DeleteConstraintResponse' {_dcrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. dcrsResponseStatus :: Lens' DeleteConstraintResponse Int dcrsResponseStatus = lens _dcrsResponseStatus (\ s a -> s{_dcrsResponseStatus = a}); -instance NFData DeleteConstraintResponse+instance NFData DeleteConstraintResponse where
gen/Network/AWS/ServiceCatalog/DeletePortfolio.hs view
@@ -12,13 +12,13 @@ -- | -- Module : Network.AWS.ServiceCatalog.DeletePortfolio--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified portfolio. This operation will not work with a portfolio that has been shared with you or if it has products, users, constraints, or shared accounts associated with it.+-- Deletes the specified portfolio. This operation does not work with a portfolio that has been shared with you or if it has products, users, constraints, or shared accounts associated with it. -- -- module Network.AWS.ServiceCatalog.DeletePortfolio@@ -37,36 +37,35 @@ , delrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'deletePortfolio' smart constructor. data DeletePortfolio = DeletePortfolio'- { _dppAcceptLanguage :: !(Maybe Text)- , _dppId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dppAcceptLanguage :: !(Maybe Text)+ , _dppId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeletePortfolio' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dppAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'dppAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'dppId' - The identifier of the portfolio for the delete request. deletePortfolio :: Text -- ^ 'dppId' -> DeletePortfolio deletePortfolio pId_ =- DeletePortfolio'- { _dppAcceptLanguage = Nothing- , _dppId = pId_- }+ DeletePortfolio' {_dppAcceptLanguage = Nothing, _dppId = pId_} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese dppAcceptLanguage :: Lens' DeletePortfolio (Maybe Text) dppAcceptLanguage = lens _dppAcceptLanguage (\ s a -> s{_dppAcceptLanguage = a}); @@ -82,9 +81,9 @@ (\ s h x -> DeletePortfolioResponse' <$> (pure (fromEnum s))) -instance Hashable DeletePortfolio+instance Hashable DeletePortfolio where -instance NFData DeletePortfolio+instance NFData DeletePortfolio where instance ToHeaders DeletePortfolio where toHeaders@@ -111,9 +110,10 @@ -- | /See:/ 'deletePortfolioResponse' smart constructor. newtype DeletePortfolioResponse = DeletePortfolioResponse'- { _delrsResponseStatus :: Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _delrsResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeletePortfolioResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -123,12 +123,11 @@ :: Int -- ^ 'delrsResponseStatus' -> DeletePortfolioResponse deletePortfolioResponse pResponseStatus_ =- DeletePortfolioResponse'- { _delrsResponseStatus = pResponseStatus_- }+ DeletePortfolioResponse' {_delrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. delrsResponseStatus :: Lens' DeletePortfolioResponse Int delrsResponseStatus = lens _delrsResponseStatus (\ s a -> s{_delrsResponseStatus = a}); -instance NFData DeletePortfolioResponse+instance NFData DeletePortfolioResponse where
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.DeletePortfolioShare--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -38,25 +38,26 @@ , dpsrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'deletePortfolioShare' smart constructor. data DeletePortfolioShare = DeletePortfolioShare'- { _dpsAcceptLanguage :: !(Maybe Text)- , _dpsPortfolioId :: !Text- , _dpsAccountId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dpsAcceptLanguage :: !(Maybe Text)+ , _dpsPortfolioId :: !Text+ , _dpsAccountId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeletePortfolioShare' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dpsAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'dpsAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'dpsPortfolioId' - The portfolio identifier. --@@ -66,13 +67,14 @@ -> Text -- ^ 'dpsAccountId' -> DeletePortfolioShare deletePortfolioShare pPortfolioId_ pAccountId_ =- DeletePortfolioShare'- { _dpsAcceptLanguage = Nothing- , _dpsPortfolioId = pPortfolioId_- , _dpsAccountId = pAccountId_- }+ DeletePortfolioShare'+ { _dpsAcceptLanguage = Nothing+ , _dpsPortfolioId = pPortfolioId_+ , _dpsAccountId = pAccountId_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese dpsAcceptLanguage :: Lens' DeletePortfolioShare (Maybe Text) dpsAcceptLanguage = lens _dpsAcceptLanguage (\ s a -> s{_dpsAcceptLanguage = a}); @@ -94,9 +96,9 @@ DeletePortfolioShareResponse' <$> (pure (fromEnum s))) -instance Hashable DeletePortfolioShare+instance Hashable DeletePortfolioShare where -instance NFData DeletePortfolioShare+instance NFData DeletePortfolioShare where instance ToHeaders DeletePortfolioShare where toHeaders@@ -124,9 +126,10 @@ -- | /See:/ 'deletePortfolioShareResponse' smart constructor. newtype DeletePortfolioShareResponse = DeletePortfolioShareResponse'- { _dpsrsResponseStatus :: Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dpsrsResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeletePortfolioShareResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -136,12 +139,11 @@ :: Int -- ^ 'dpsrsResponseStatus' -> DeletePortfolioShareResponse deletePortfolioShareResponse pResponseStatus_ =- DeletePortfolioShareResponse'- { _dpsrsResponseStatus = pResponseStatus_- }+ DeletePortfolioShareResponse' {_dpsrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. dpsrsResponseStatus :: Lens' DeletePortfolioShareResponse Int dpsrsResponseStatus = lens _dpsrsResponseStatus (\ s a -> s{_dpsrsResponseStatus = a}); -instance NFData DeletePortfolioShareResponse+instance NFData DeletePortfolioShareResponse where
gen/Network/AWS/ServiceCatalog/DeleteProduct.hs view
@@ -12,13 +12,13 @@ -- | -- Module : Network.AWS.ServiceCatalog.DeleteProduct--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified product. This operation will not work with a product that has been shared with you or is associated with a portfolio.+-- Deletes the specified product. This operation does not work with a product that has been shared with you or is associated with a portfolio. -- -- module Network.AWS.ServiceCatalog.DeleteProduct@@ -37,36 +37,35 @@ , delersResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'deleteProduct' smart constructor. data DeleteProduct = DeleteProduct'- { _delAcceptLanguage :: !(Maybe Text)- , _delId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _delAcceptLanguage :: !(Maybe Text)+ , _delId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteProduct' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'delAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'delAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'delId' - The identifier of the product for the delete request. deleteProduct :: Text -- ^ 'delId' -> DeleteProduct deleteProduct pId_ =- DeleteProduct'- { _delAcceptLanguage = Nothing- , _delId = pId_- }+ DeleteProduct' {_delAcceptLanguage = Nothing, _delId = pId_} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese delAcceptLanguage :: Lens' DeleteProduct (Maybe Text) delAcceptLanguage = lens _delAcceptLanguage (\ s a -> s{_delAcceptLanguage = a}); @@ -82,9 +81,9 @@ (\ s h x -> DeleteProductResponse' <$> (pure (fromEnum s))) -instance Hashable DeleteProduct+instance Hashable DeleteProduct where -instance NFData DeleteProduct+instance NFData DeleteProduct where instance ToHeaders DeleteProduct where toHeaders@@ -111,9 +110,10 @@ -- | /See:/ 'deleteProductResponse' smart constructor. newtype DeleteProductResponse = DeleteProductResponse'- { _delersResponseStatus :: Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _delersResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteProductResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -123,12 +123,11 @@ :: Int -- ^ 'delersResponseStatus' -> DeleteProductResponse deleteProductResponse pResponseStatus_ =- DeleteProductResponse'- { _delersResponseStatus = pResponseStatus_- }+ DeleteProductResponse' {_delersResponseStatus = pResponseStatus_} + -- | -- | The response status code. delersResponseStatus :: Lens' DeleteProductResponse Int delersResponseStatus = lens _delersResponseStatus (\ s a -> s{_delersResponseStatus = a}); -instance NFData DeleteProductResponse+instance NFData DeleteProductResponse where
gen/Network/AWS/ServiceCatalog/DeleteProvisioningArtifact.hs view
@@ -12,13 +12,13 @@ -- | -- Module : Network.AWS.ServiceCatalog.DeleteProvisioningArtifact--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the specified provisioning artifact. This operation will not work on a provisioning artifact associated with a product that has been shared with you, or on the last provisioning artifact associated with a product (a product must have at least one provisioning artifact).+-- Deletes the specified provisioning artifact. This operation does not work on a provisioning artifact associated with a product that has been shared with you, or on the last provisioning artifact associated with a product (a product must have at least one provisioning artifact). -- -- module Network.AWS.ServiceCatalog.DeleteProvisioningArtifact@@ -38,41 +38,43 @@ , dparsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'deleteProvisioningArtifact' smart constructor. data DeleteProvisioningArtifact = DeleteProvisioningArtifact'- { _dpapAcceptLanguage :: !(Maybe Text)- , _dpapProductId :: !Text- , _dpapProvisioningArtifactId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dpapAcceptLanguage :: !(Maybe Text)+ , _dpapProductId :: !Text+ , _dpapProvisioningArtifactId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteProvisioningArtifact' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dpapAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'dpapAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'dpapProductId' - The product identifier. ----- * 'dpapProvisioningArtifactId' - The identifier of the provisioning artifact for the delete request.+-- * 'dpapProvisioningArtifactId' - The identifier of the provisioning artifact for the delete request. This is sometimes referred to as the product version. deleteProvisioningArtifact :: Text -- ^ 'dpapProductId' -> Text -- ^ 'dpapProvisioningArtifactId' -> DeleteProvisioningArtifact deleteProvisioningArtifact pProductId_ pProvisioningArtifactId_ =- DeleteProvisioningArtifact'- { _dpapAcceptLanguage = Nothing- , _dpapProductId = pProductId_- , _dpapProvisioningArtifactId = pProvisioningArtifactId_- }+ DeleteProvisioningArtifact'+ { _dpapAcceptLanguage = Nothing+ , _dpapProductId = pProductId_+ , _dpapProvisioningArtifactId = pProvisioningArtifactId_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese dpapAcceptLanguage :: Lens' DeleteProvisioningArtifact (Maybe Text) dpapAcceptLanguage = lens _dpapAcceptLanguage (\ s a -> s{_dpapAcceptLanguage = a}); @@ -80,7 +82,7 @@ dpapProductId :: Lens' DeleteProvisioningArtifact Text dpapProductId = lens _dpapProductId (\ s a -> s{_dpapProductId = a}); --- | The identifier of the provisioning artifact for the delete request.+-- | The identifier of the provisioning artifact for the delete request. This is sometimes referred to as the product version. dpapProvisioningArtifactId :: Lens' DeleteProvisioningArtifact Text dpapProvisioningArtifactId = lens _dpapProvisioningArtifactId (\ s a -> s{_dpapProvisioningArtifactId = a}); @@ -94,9 +96,9 @@ DeleteProvisioningArtifactResponse' <$> (pure (fromEnum s))) -instance Hashable DeleteProvisioningArtifact+instance Hashable DeleteProvisioningArtifact where -instance NFData DeleteProvisioningArtifact+instance NFData DeleteProvisioningArtifact where instance ToHeaders DeleteProvisioningArtifact where toHeaders@@ -126,9 +128,10 @@ -- | /See:/ 'deleteProvisioningArtifactResponse' smart constructor. newtype DeleteProvisioningArtifactResponse = DeleteProvisioningArtifactResponse'- { _dparsResponseStatus :: Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dparsResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DeleteProvisioningArtifactResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -138,12 +141,12 @@ :: Int -- ^ 'dparsResponseStatus' -> DeleteProvisioningArtifactResponse deleteProvisioningArtifactResponse pResponseStatus_ =- DeleteProvisioningArtifactResponse'- { _dparsResponseStatus = pResponseStatus_- }+ DeleteProvisioningArtifactResponse' {_dparsResponseStatus = pResponseStatus_} + -- | -- | The response status code. dparsResponseStatus :: Lens' DeleteProvisioningArtifactResponse Int dparsResponseStatus = lens _dparsResponseStatus (\ s a -> s{_dparsResponseStatus = a}); instance NFData DeleteProvisioningArtifactResponse+ where
gen/Network/AWS/ServiceCatalog/DescribeConstraint.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.DescribeConstraint--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -34,42 +34,41 @@ , describeConstraintResponse , DescribeConstraintResponse -- * Response Lenses- , drsStatus- , drsConstraintDetail- , drsConstraintParameters- , drsResponseStatus+ , desrsStatus+ , desrsConstraintDetail+ , desrsConstraintParameters+ , desrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'describeConstraint' smart constructor. data DescribeConstraint = DescribeConstraint'- { _dAcceptLanguage :: !(Maybe Text)- , _dId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dAcceptLanguage :: !(Maybe Text)+ , _dId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeConstraint' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'dAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'dId' - The identifier of the constraint. describeConstraint :: Text -- ^ 'dId' -> DescribeConstraint describeConstraint pId_ =- DescribeConstraint'- { _dAcceptLanguage = Nothing- , _dId = pId_- }+ DescribeConstraint' {_dAcceptLanguage = Nothing, _dId = pId_} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese dAcceptLanguage :: Lens' DescribeConstraint (Maybe Text) dAcceptLanguage = lens _dAcceptLanguage (\ s a -> s{_dAcceptLanguage = a}); @@ -89,9 +88,9 @@ (x .?> "ConstraintParameters") <*> (pure (fromEnum s))) -instance Hashable DescribeConstraint+instance Hashable DescribeConstraint where -instance NFData DescribeConstraint+instance NFData DescribeConstraint where instance ToHeaders DescribeConstraint where toHeaders@@ -118,48 +117,50 @@ -- | /See:/ 'describeConstraintResponse' smart constructor. data DescribeConstraintResponse = DescribeConstraintResponse'- { _drsStatus :: !(Maybe RequestStatus)- , _drsConstraintDetail :: !(Maybe ConstraintDetail)- , _drsConstraintParameters :: !(Maybe Text)- , _drsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _desrsStatus :: !(Maybe RequestStatus)+ , _desrsConstraintDetail :: !(Maybe ConstraintDetail)+ , _desrsConstraintParameters :: !(Maybe Text)+ , _desrsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeConstraintResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drsStatus' - The status of the current request.+-- * 'desrsStatus' - The status of the current request. ----- * 'drsConstraintDetail' - Detailed constraint information.+-- * 'desrsConstraintDetail' - Detailed constraint information. ----- * 'drsConstraintParameters' - The current parameters associated with the specified constraint.+-- * 'desrsConstraintParameters' - The current parameters associated with the specified constraint. ----- * 'drsResponseStatus' - -- | The response status code.+-- * 'desrsResponseStatus' - -- | The response status code. describeConstraintResponse- :: Int -- ^ 'drsResponseStatus'+ :: Int -- ^ 'desrsResponseStatus' -> DescribeConstraintResponse describeConstraintResponse pResponseStatus_ =- DescribeConstraintResponse'- { _drsStatus = Nothing- , _drsConstraintDetail = Nothing- , _drsConstraintParameters = Nothing- , _drsResponseStatus = pResponseStatus_- }+ DescribeConstraintResponse'+ { _desrsStatus = Nothing+ , _desrsConstraintDetail = Nothing+ , _desrsConstraintParameters = Nothing+ , _desrsResponseStatus = pResponseStatus_+ } + -- | The status of the current request.-drsStatus :: Lens' DescribeConstraintResponse (Maybe RequestStatus)-drsStatus = lens _drsStatus (\ s a -> s{_drsStatus = a});+desrsStatus :: Lens' DescribeConstraintResponse (Maybe RequestStatus)+desrsStatus = lens _desrsStatus (\ s a -> s{_desrsStatus = a}); -- | Detailed constraint information.-drsConstraintDetail :: Lens' DescribeConstraintResponse (Maybe ConstraintDetail)-drsConstraintDetail = lens _drsConstraintDetail (\ s a -> s{_drsConstraintDetail = a});+desrsConstraintDetail :: Lens' DescribeConstraintResponse (Maybe ConstraintDetail)+desrsConstraintDetail = lens _desrsConstraintDetail (\ s a -> s{_desrsConstraintDetail = a}); -- | The current parameters associated with the specified constraint.-drsConstraintParameters :: Lens' DescribeConstraintResponse (Maybe Text)-drsConstraintParameters = lens _drsConstraintParameters (\ s a -> s{_drsConstraintParameters = a});+desrsConstraintParameters :: Lens' DescribeConstraintResponse (Maybe Text)+desrsConstraintParameters = lens _desrsConstraintParameters (\ s a -> s{_desrsConstraintParameters = a}); -- | -- | The response status code.-drsResponseStatus :: Lens' DescribeConstraintResponse Int-drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a});+desrsResponseStatus :: Lens' DescribeConstraintResponse Int+desrsResponseStatus = lens _desrsResponseStatus (\ s a -> s{_desrsResponseStatus = a}); -instance NFData DescribeConstraintResponse+instance NFData DescribeConstraintResponse where
+ gen/Network/AWS/ServiceCatalog/DescribeCopyProductStatus.hs view
@@ -0,0 +1,169 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.ServiceCatalog.DescribeCopyProductStatus+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes the status of the specified copy product operation.+--+--+module Network.AWS.ServiceCatalog.DescribeCopyProductStatus+ (+ -- * Creating a Request+ describeCopyProductStatus+ , DescribeCopyProductStatus+ -- * Request Lenses+ , dcpsAcceptLanguage+ , dcpsCopyProductToken++ -- * Destructuring the Response+ , describeCopyProductStatusResponse+ , DescribeCopyProductStatusResponse+ -- * Response Lenses+ , dcpsrsTargetProductId+ , dcpsrsCopyProductStatus+ , dcpsrsStatusDetail+ , dcpsrsResponseStatus+ ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product++-- | /See:/ 'describeCopyProductStatus' smart constructor.+data DescribeCopyProductStatus = DescribeCopyProductStatus'+ { _dcpsAcceptLanguage :: !(Maybe Text)+ , _dcpsCopyProductToken :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DescribeCopyProductStatus' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dcpsAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese+--+-- * 'dcpsCopyProductToken' - The token returned from the call to @CopyProduct@ that initiated the operation.+describeCopyProductStatus+ :: Text -- ^ 'dcpsCopyProductToken'+ -> DescribeCopyProductStatus+describeCopyProductStatus pCopyProductToken_ =+ DescribeCopyProductStatus'+ {_dcpsAcceptLanguage = Nothing, _dcpsCopyProductToken = pCopyProductToken_}+++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese+dcpsAcceptLanguage :: Lens' DescribeCopyProductStatus (Maybe Text)+dcpsAcceptLanguage = lens _dcpsAcceptLanguage (\ s a -> s{_dcpsAcceptLanguage = a});++-- | The token returned from the call to @CopyProduct@ that initiated the operation.+dcpsCopyProductToken :: Lens' DescribeCopyProductStatus Text+dcpsCopyProductToken = lens _dcpsCopyProductToken (\ s a -> s{_dcpsCopyProductToken = a});++instance AWSRequest DescribeCopyProductStatus where+ type Rs DescribeCopyProductStatus =+ DescribeCopyProductStatusResponse+ request = postJSON serviceCatalog+ response+ = receiveJSON+ (\ s h x ->+ DescribeCopyProductStatusResponse' <$>+ (x .?> "TargetProductId") <*>+ (x .?> "CopyProductStatus")+ <*> (x .?> "StatusDetail")+ <*> (pure (fromEnum s)))++instance Hashable DescribeCopyProductStatus where++instance NFData DescribeCopyProductStatus where++instance ToHeaders DescribeCopyProductStatus where+ toHeaders+ = const+ (mconcat+ ["X-Amz-Target" =#+ ("AWS242ServiceCatalogService.DescribeCopyProductStatus"+ :: ByteString),+ "Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON DescribeCopyProductStatus where+ toJSON DescribeCopyProductStatus'{..}+ = object+ (catMaybes+ [("AcceptLanguage" .=) <$> _dcpsAcceptLanguage,+ Just ("CopyProductToken" .= _dcpsCopyProductToken)])++instance ToPath DescribeCopyProductStatus where+ toPath = const "/"++instance ToQuery DescribeCopyProductStatus where+ toQuery = const mempty++-- | /See:/ 'describeCopyProductStatusResponse' smart constructor.+data DescribeCopyProductStatusResponse = DescribeCopyProductStatusResponse'+ { _dcpsrsTargetProductId :: !(Maybe Text)+ , _dcpsrsCopyProductStatus :: !(Maybe CopyProductStatus)+ , _dcpsrsStatusDetail :: !(Maybe Text)+ , _dcpsrsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DescribeCopyProductStatusResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dcpsrsTargetProductId' - The ID of the copied product.+--+-- * 'dcpsrsCopyProductStatus' - The status of the copy product operation.+--+-- * 'dcpsrsStatusDetail' - The status message.+--+-- * 'dcpsrsResponseStatus' - -- | The response status code.+describeCopyProductStatusResponse+ :: Int -- ^ 'dcpsrsResponseStatus'+ -> DescribeCopyProductStatusResponse+describeCopyProductStatusResponse pResponseStatus_ =+ DescribeCopyProductStatusResponse'+ { _dcpsrsTargetProductId = Nothing+ , _dcpsrsCopyProductStatus = Nothing+ , _dcpsrsStatusDetail = Nothing+ , _dcpsrsResponseStatus = pResponseStatus_+ }+++-- | The ID of the copied product.+dcpsrsTargetProductId :: Lens' DescribeCopyProductStatusResponse (Maybe Text)+dcpsrsTargetProductId = lens _dcpsrsTargetProductId (\ s a -> s{_dcpsrsTargetProductId = a});++-- | The status of the copy product operation.+dcpsrsCopyProductStatus :: Lens' DescribeCopyProductStatusResponse (Maybe CopyProductStatus)+dcpsrsCopyProductStatus = lens _dcpsrsCopyProductStatus (\ s a -> s{_dcpsrsCopyProductStatus = a});++-- | The status message.+dcpsrsStatusDetail :: Lens' DescribeCopyProductStatusResponse (Maybe Text)+dcpsrsStatusDetail = lens _dcpsrsStatusDetail (\ s a -> s{_dcpsrsStatusDetail = a});++-- | -- | The response status code.+dcpsrsResponseStatus :: Lens' DescribeCopyProductStatusResponse Int+dcpsrsResponseStatus = lens _dcpsrsResponseStatus (\ s a -> s{_dcpsrsResponseStatus = a});++instance NFData DescribeCopyProductStatusResponse+ where
gen/Network/AWS/ServiceCatalog/DescribePortfolio.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.DescribePortfolio--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -35,40 +35,40 @@ , DescribePortfolioResponse -- * Response Lenses , dprsPortfolioDetail+ , dprsTagOptions , dprsTags , dprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'describePortfolio' smart constructor. data DescribePortfolio = DescribePortfolio'- { _desAcceptLanguage :: !(Maybe Text)- , _desId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _desAcceptLanguage :: !(Maybe Text)+ , _desId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribePortfolio' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'desAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'desAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'desId' - The identifier of the portfolio for which to retrieve information. describePortfolio :: Text -- ^ 'desId' -> DescribePortfolio describePortfolio pId_ =- DescribePortfolio'- { _desAcceptLanguage = Nothing- , _desId = pId_- }+ DescribePortfolio' {_desAcceptLanguage = Nothing, _desId = pId_} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese desAcceptLanguage :: Lens' DescribePortfolio (Maybe Text) desAcceptLanguage = lens _desAcceptLanguage (\ s a -> s{_desAcceptLanguage = a}); @@ -84,12 +84,13 @@ (\ s h x -> DescribePortfolioResponse' <$> (x .?> "PortfolioDetail") <*>- (x .?> "Tags" .!@ mempty)+ (x .?> "TagOptions" .!@ mempty)+ <*> (x .?> "Tags" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable DescribePortfolio+instance Hashable DescribePortfolio where -instance NFData DescribePortfolio+instance NFData DescribePortfolio where instance ToHeaders DescribePortfolio where toHeaders@@ -116,17 +117,21 @@ -- | /See:/ 'describePortfolioResponse' smart constructor. data DescribePortfolioResponse = DescribePortfolioResponse'- { _dprsPortfolioDetail :: !(Maybe PortfolioDetail)- , _dprsTags :: !(Maybe [Tag])- , _dprsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dprsPortfolioDetail :: !(Maybe PortfolioDetail)+ , _dprsTagOptions :: !(Maybe [TagOptionDetail])+ , _dprsTags :: !(Maybe [Tag])+ , _dprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribePortfolioResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- * 'dprsPortfolioDetail' - Detailed portfolio information. --+-- * 'dprsTagOptions' - TagOptions associated with the portfolio.+-- -- * 'dprsTags' - Tags associated with the portfolio. -- -- * 'dprsResponseStatus' - -- | The response status code.@@ -134,16 +139,22 @@ :: Int -- ^ 'dprsResponseStatus' -> DescribePortfolioResponse describePortfolioResponse pResponseStatus_ =- DescribePortfolioResponse'- { _dprsPortfolioDetail = Nothing- , _dprsTags = Nothing- , _dprsResponseStatus = pResponseStatus_- }+ DescribePortfolioResponse'+ { _dprsPortfolioDetail = Nothing+ , _dprsTagOptions = Nothing+ , _dprsTags = Nothing+ , _dprsResponseStatus = pResponseStatus_+ } + -- | Detailed portfolio information. dprsPortfolioDetail :: Lens' DescribePortfolioResponse (Maybe PortfolioDetail) dprsPortfolioDetail = lens _dprsPortfolioDetail (\ s a -> s{_dprsPortfolioDetail = a}); +-- | TagOptions associated with the portfolio.+dprsTagOptions :: Lens' DescribePortfolioResponse [TagOptionDetail]+dprsTagOptions = lens _dprsTagOptions (\ s a -> s{_dprsTagOptions = a}) . _Default . _Coerce;+ -- | Tags associated with the portfolio. dprsTags :: Lens' DescribePortfolioResponse [Tag] dprsTags = lens _dprsTags (\ s a -> s{_dprsTags = a}) . _Default . _Coerce;@@ -152,4 +163,4 @@ dprsResponseStatus :: Lens' DescribePortfolioResponse Int dprsResponseStatus = lens _dprsResponseStatus (\ s a -> s{_dprsResponseStatus = a}); -instance NFData DescribePortfolioResponse+instance NFData DescribePortfolioResponse where
gen/Network/AWS/ServiceCatalog/DescribeProduct.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.DescribeProduct--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -41,36 +41,35 @@ , ddrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'describeProduct' smart constructor. data DescribeProduct = DescribeProduct'- { _dpAcceptLanguage :: !(Maybe Text)- , _dpId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dpAcceptLanguage :: !(Maybe Text)+ , _dpId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeProduct' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dpAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'dpAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'dpId' - The @ProductId@ of the product to describe. describeProduct :: Text -- ^ 'dpId' -> DescribeProduct describeProduct pId_ =- DescribeProduct'- { _dpAcceptLanguage = Nothing- , _dpId = pId_- }+ DescribeProduct' {_dpAcceptLanguage = Nothing, _dpId = pId_} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese dpAcceptLanguage :: Lens' DescribeProduct (Maybe Text) dpAcceptLanguage = lens _dpAcceptLanguage (\ s a -> s{_dpAcceptLanguage = a}); @@ -89,9 +88,9 @@ (x .?> "ProvisioningArtifacts" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable DescribeProduct+instance Hashable DescribeProduct where -instance NFData DescribeProduct+instance NFData DescribeProduct where instance ToHeaders DescribeProduct where toHeaders@@ -118,11 +117,12 @@ -- | /See:/ 'describeProductResponse' smart constructor. data DescribeProductResponse = DescribeProductResponse'- { _ddrsProductViewSummary :: !(Maybe ProductViewSummary)- , _ddrsProvisioningArtifacts :: !(Maybe [ProvisioningArtifact])- , _ddrsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ddrsProductViewSummary :: !(Maybe ProductViewSummary)+ , _ddrsProvisioningArtifacts :: !(Maybe [ProvisioningArtifact])+ , _ddrsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeProductResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -136,12 +136,13 @@ :: Int -- ^ 'ddrsResponseStatus' -> DescribeProductResponse describeProductResponse pResponseStatus_ =- DescribeProductResponse'- { _ddrsProductViewSummary = Nothing- , _ddrsProvisioningArtifacts = Nothing- , _ddrsResponseStatus = pResponseStatus_- }+ DescribeProductResponse'+ { _ddrsProductViewSummary = Nothing+ , _ddrsProvisioningArtifacts = Nothing+ , _ddrsResponseStatus = pResponseStatus_+ } + -- | The summary metadata about the specified product. ddrsProductViewSummary :: Lens' DescribeProductResponse (Maybe ProductViewSummary) ddrsProductViewSummary = lens _ddrsProductViewSummary (\ s a -> s{_ddrsProductViewSummary = a});@@ -154,4 +155,4 @@ ddrsResponseStatus :: Lens' DescribeProductResponse Int ddrsResponseStatus = lens _ddrsResponseStatus (\ s a -> s{_ddrsResponseStatus = a}); -instance NFData DescribeProductResponse+instance NFData DescribeProductResponse where
gen/Network/AWS/ServiceCatalog/DescribeProductAsAdmin.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.DescribeProductAsAdmin--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -35,40 +35,41 @@ , DescribeProductAsAdminResponse -- * Response Lenses , dpaarsProductViewDetail+ , dpaarsTagOptions+ , dpaarsProvisioningArtifactSummaries , dpaarsTags , dpaarsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'describeProductAsAdmin' smart constructor. data DescribeProductAsAdmin = DescribeProductAsAdmin'- { _dpaaAcceptLanguage :: !(Maybe Text)- , _dpaaId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dpaaAcceptLanguage :: !(Maybe Text)+ , _dpaaId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeProductAsAdmin' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dpaaAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'dpaaAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'dpaaId' - The identifier of the product for which to retrieve information. describeProductAsAdmin :: Text -- ^ 'dpaaId' -> DescribeProductAsAdmin describeProductAsAdmin pId_ =- DescribeProductAsAdmin'- { _dpaaAcceptLanguage = Nothing- , _dpaaId = pId_- }+ DescribeProductAsAdmin' {_dpaaAcceptLanguage = Nothing, _dpaaId = pId_} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese dpaaAcceptLanguage :: Lens' DescribeProductAsAdmin (Maybe Text) dpaaAcceptLanguage = lens _dpaaAcceptLanguage (\ s a -> s{_dpaaAcceptLanguage = a}); @@ -85,12 +86,15 @@ (\ s h x -> DescribeProductAsAdminResponse' <$> (x .?> "ProductViewDetail") <*>- (x .?> "Tags" .!@ mempty)+ (x .?> "TagOptions" .!@ mempty)+ <*>+ (x .?> "ProvisioningArtifactSummaries" .!@ mempty)+ <*> (x .?> "Tags" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable DescribeProductAsAdmin+instance Hashable DescribeProductAsAdmin where -instance NFData DescribeProductAsAdmin+instance NFData DescribeProductAsAdmin where instance ToHeaders DescribeProductAsAdmin where toHeaders@@ -117,17 +121,24 @@ -- | /See:/ 'describeProductAsAdminResponse' smart constructor. data DescribeProductAsAdminResponse = DescribeProductAsAdminResponse'- { _dpaarsProductViewDetail :: !(Maybe ProductViewDetail)- , _dpaarsTags :: !(Maybe [Tag])- , _dpaarsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dpaarsProductViewDetail :: !(Maybe ProductViewDetail)+ , _dpaarsTagOptions :: !(Maybe [TagOptionDetail])+ , _dpaarsProvisioningArtifactSummaries :: !(Maybe [ProvisioningArtifactSummary])+ , _dpaarsTags :: !(Maybe [Tag])+ , _dpaarsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeProductAsAdminResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- * 'dpaarsProductViewDetail' - Detailed product view information. --+-- * 'dpaarsTagOptions' - List of TagOptions associated with the product.+--+-- * 'dpaarsProvisioningArtifactSummaries' - A list of provisioning artifact summaries for the product.+-- -- * 'dpaarsTags' - Tags associated with the product. -- -- * 'dpaarsResponseStatus' - -- | The response status code.@@ -135,16 +146,27 @@ :: Int -- ^ 'dpaarsResponseStatus' -> DescribeProductAsAdminResponse describeProductAsAdminResponse pResponseStatus_ =- DescribeProductAsAdminResponse'- { _dpaarsProductViewDetail = Nothing- , _dpaarsTags = Nothing- , _dpaarsResponseStatus = pResponseStatus_- }+ DescribeProductAsAdminResponse'+ { _dpaarsProductViewDetail = Nothing+ , _dpaarsTagOptions = Nothing+ , _dpaarsProvisioningArtifactSummaries = Nothing+ , _dpaarsTags = Nothing+ , _dpaarsResponseStatus = pResponseStatus_+ } + -- | Detailed product view information. dpaarsProductViewDetail :: Lens' DescribeProductAsAdminResponse (Maybe ProductViewDetail) dpaarsProductViewDetail = lens _dpaarsProductViewDetail (\ s a -> s{_dpaarsProductViewDetail = a}); +-- | List of TagOptions associated with the product.+dpaarsTagOptions :: Lens' DescribeProductAsAdminResponse [TagOptionDetail]+dpaarsTagOptions = lens _dpaarsTagOptions (\ s a -> s{_dpaarsTagOptions = a}) . _Default . _Coerce;++-- | A list of provisioning artifact summaries for the product.+dpaarsProvisioningArtifactSummaries :: Lens' DescribeProductAsAdminResponse [ProvisioningArtifactSummary]+dpaarsProvisioningArtifactSummaries = lens _dpaarsProvisioningArtifactSummaries (\ s a -> s{_dpaarsProvisioningArtifactSummaries = a}) . _Default . _Coerce;+ -- | Tags associated with the product. dpaarsTags :: Lens' DescribeProductAsAdminResponse [Tag] dpaarsTags = lens _dpaarsTags (\ s a -> s{_dpaarsTags = a}) . _Default . _Coerce;@@ -153,4 +175,4 @@ dpaarsResponseStatus :: Lens' DescribeProductAsAdminResponse Int dpaarsResponseStatus = lens _dpaarsResponseStatus (\ s a -> s{_dpaarsResponseStatus = a}); -instance NFData DescribeProductAsAdminResponse+instance NFData DescribeProductAsAdminResponse where
gen/Network/AWS/ServiceCatalog/DescribeProductView.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.DescribeProductView--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -41,36 +41,35 @@ , dpvrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'describeProductView' smart constructor. data DescribeProductView = DescribeProductView'- { _dpvAcceptLanguage :: !(Maybe Text)- , _dpvId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dpvAcceptLanguage :: !(Maybe Text)+ , _dpvId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeProductView' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dpvAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'dpvAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'dpvId' - The @ProductViewId@ of the product to describe. describeProductView :: Text -- ^ 'dpvId' -> DescribeProductView describeProductView pId_ =- DescribeProductView'- { _dpvAcceptLanguage = Nothing- , _dpvId = pId_- }+ DescribeProductView' {_dpvAcceptLanguage = Nothing, _dpvId = pId_} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese dpvAcceptLanguage :: Lens' DescribeProductView (Maybe Text) dpvAcceptLanguage = lens _dpvAcceptLanguage (\ s a -> s{_dpvAcceptLanguage = a}); @@ -90,9 +89,9 @@ (x .?> "ProvisioningArtifacts" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable DescribeProductView+instance Hashable DescribeProductView where -instance NFData DescribeProductView+instance NFData DescribeProductView where instance ToHeaders DescribeProductView where toHeaders@@ -119,11 +118,12 @@ -- | /See:/ 'describeProductViewResponse' smart constructor. data DescribeProductViewResponse = DescribeProductViewResponse'- { _dpvrsProductViewSummary :: !(Maybe ProductViewSummary)- , _dpvrsProvisioningArtifacts :: !(Maybe [ProvisioningArtifact])- , _dpvrsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dpvrsProductViewSummary :: !(Maybe ProductViewSummary)+ , _dpvrsProvisioningArtifacts :: !(Maybe [ProvisioningArtifact])+ , _dpvrsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeProductViewResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -137,12 +137,13 @@ :: Int -- ^ 'dpvrsResponseStatus' -> DescribeProductViewResponse describeProductViewResponse pResponseStatus_ =- DescribeProductViewResponse'- { _dpvrsProductViewSummary = Nothing- , _dpvrsProvisioningArtifacts = Nothing- , _dpvrsResponseStatus = pResponseStatus_- }+ DescribeProductViewResponse'+ { _dpvrsProductViewSummary = Nothing+ , _dpvrsProvisioningArtifacts = Nothing+ , _dpvrsResponseStatus = pResponseStatus_+ } + -- | The summary metadata about the specified product. dpvrsProductViewSummary :: Lens' DescribeProductViewResponse (Maybe ProductViewSummary) dpvrsProductViewSummary = lens _dpvrsProductViewSummary (\ s a -> s{_dpvrsProductViewSummary = a});@@ -155,4 +156,4 @@ dpvrsResponseStatus :: Lens' DescribeProductViewResponse Int dpvrsResponseStatus = lens _dpvrsResponseStatus (\ s a -> s{_dpvrsResponseStatus = a}); -instance NFData DescribeProductViewResponse+instance NFData DescribeProductViewResponse where
+ gen/Network/AWS/ServiceCatalog/DescribeProvisionedProduct.hs view
@@ -0,0 +1,148 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.ServiceCatalog.DescribeProvisionedProduct+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Retrieve detailed information about the provisioned product.+--+--+module Network.AWS.ServiceCatalog.DescribeProvisionedProduct+ (+ -- * Creating a Request+ describeProvisionedProduct+ , DescribeProvisionedProduct+ -- * Request Lenses+ , dpppAcceptLanguage+ , dpppId++ -- * Destructuring the Response+ , describeProvisionedProductResponse+ , DescribeProvisionedProductResponse+ -- * Response Lenses+ , drsProvisionedProductDetail+ , drsResponseStatus+ ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product++-- | /See:/ 'describeProvisionedProduct' smart constructor.+data DescribeProvisionedProduct = DescribeProvisionedProduct'+ { _dpppAcceptLanguage :: !(Maybe Text)+ , _dpppId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DescribeProvisionedProduct' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dpppAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese+--+-- * 'dpppId' - The provisioned product identifier.+describeProvisionedProduct+ :: Text -- ^ 'dpppId'+ -> DescribeProvisionedProduct+describeProvisionedProduct pId_ =+ DescribeProvisionedProduct' {_dpppAcceptLanguage = Nothing, _dpppId = pId_}+++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese+dpppAcceptLanguage :: Lens' DescribeProvisionedProduct (Maybe Text)+dpppAcceptLanguage = lens _dpppAcceptLanguage (\ s a -> s{_dpppAcceptLanguage = a});++-- | The provisioned product identifier.+dpppId :: Lens' DescribeProvisionedProduct Text+dpppId = lens _dpppId (\ s a -> s{_dpppId = a});++instance AWSRequest DescribeProvisionedProduct where+ type Rs DescribeProvisionedProduct =+ DescribeProvisionedProductResponse+ request = postJSON serviceCatalog+ response+ = receiveJSON+ (\ s h x ->+ DescribeProvisionedProductResponse' <$>+ (x .?> "ProvisionedProductDetail") <*>+ (pure (fromEnum s)))++instance Hashable DescribeProvisionedProduct where++instance NFData DescribeProvisionedProduct where++instance ToHeaders DescribeProvisionedProduct where+ toHeaders+ = const+ (mconcat+ ["X-Amz-Target" =#+ ("AWS242ServiceCatalogService.DescribeProvisionedProduct"+ :: ByteString),+ "Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON DescribeProvisionedProduct where+ toJSON DescribeProvisionedProduct'{..}+ = object+ (catMaybes+ [("AcceptLanguage" .=) <$> _dpppAcceptLanguage,+ Just ("Id" .= _dpppId)])++instance ToPath DescribeProvisionedProduct where+ toPath = const "/"++instance ToQuery DescribeProvisionedProduct where+ toQuery = const mempty++-- | /See:/ 'describeProvisionedProductResponse' smart constructor.+data DescribeProvisionedProductResponse = DescribeProvisionedProductResponse'+ { _drsProvisionedProductDetail :: !(Maybe ProvisionedProductDetail)+ , _drsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DescribeProvisionedProductResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'drsProvisionedProductDetail' - Detailed provisioned product information.+--+-- * 'drsResponseStatus' - -- | The response status code.+describeProvisionedProductResponse+ :: Int -- ^ 'drsResponseStatus'+ -> DescribeProvisionedProductResponse+describeProvisionedProductResponse pResponseStatus_ =+ DescribeProvisionedProductResponse'+ { _drsProvisionedProductDetail = Nothing+ , _drsResponseStatus = pResponseStatus_+ }+++-- | Detailed provisioned product information.+drsProvisionedProductDetail :: Lens' DescribeProvisionedProductResponse (Maybe ProvisionedProductDetail)+drsProvisionedProductDetail = lens _drsProvisionedProductDetail (\ s a -> s{_drsProvisionedProductDetail = a});++-- | -- | The response status code.+drsResponseStatus :: Lens' DescribeProvisionedProductResponse Int+drsResponseStatus = lens _drsResponseStatus (\ s a -> s{_drsResponseStatus = a});++instance NFData DescribeProvisionedProductResponse+ where
gen/Network/AWS/ServiceCatalog/DescribeProvisioningArtifact.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.DescribeProvisioningArtifact--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -27,6 +27,7 @@ describeProvisioningArtifact , DescribeProvisioningArtifact -- * Request Lenses+ , dpaVerbose , dpaAcceptLanguage , dpaProvisioningArtifactId , dpaProductId@@ -35,51 +36,61 @@ , describeProvisioningArtifactResponse , DescribeProvisioningArtifactResponse -- * Response Lenses- , desrsStatus- , desrsInfo- , desrsProvisioningArtifactDetail- , desrsResponseStatus+ , dpaprsStatus+ , dpaprsInfo+ , dpaprsProvisioningArtifactDetail+ , dpaprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'describeProvisioningArtifact' smart constructor. data DescribeProvisioningArtifact = DescribeProvisioningArtifact'- { _dpaAcceptLanguage :: !(Maybe Text)- , _dpaProvisioningArtifactId :: !Text- , _dpaProductId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dpaVerbose :: !(Maybe Bool)+ , _dpaAcceptLanguage :: !(Maybe Text)+ , _dpaProvisioningArtifactId :: !Text+ , _dpaProductId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeProvisioningArtifact' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dpaAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'dpaVerbose' - Enable a verbose level of details for the provisioning artifact. ----- * 'dpaProvisioningArtifactId' - The identifier of the provisioning artifact.+-- * 'dpaAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese --+-- * 'dpaProvisioningArtifactId' - The identifier of the provisioning artifact. This is sometimes referred to as the product version.+-- -- * 'dpaProductId' - The product identifier. describeProvisioningArtifact :: Text -- ^ 'dpaProvisioningArtifactId' -> Text -- ^ 'dpaProductId' -> DescribeProvisioningArtifact describeProvisioningArtifact pProvisioningArtifactId_ pProductId_ =- DescribeProvisioningArtifact'- { _dpaAcceptLanguage = Nothing- , _dpaProvisioningArtifactId = pProvisioningArtifactId_- , _dpaProductId = pProductId_- }+ DescribeProvisioningArtifact'+ { _dpaVerbose = Nothing+ , _dpaAcceptLanguage = Nothing+ , _dpaProvisioningArtifactId = pProvisioningArtifactId_+ , _dpaProductId = pProductId_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | Enable a verbose level of details for the provisioning artifact.+dpaVerbose :: Lens' DescribeProvisioningArtifact (Maybe Bool)+dpaVerbose = lens _dpaVerbose (\ s a -> s{_dpaVerbose = a});++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese dpaAcceptLanguage :: Lens' DescribeProvisioningArtifact (Maybe Text) dpaAcceptLanguage = lens _dpaAcceptLanguage (\ s a -> s{_dpaAcceptLanguage = a}); --- | The identifier of the provisioning artifact.+-- | The identifier of the provisioning artifact. This is sometimes referred to as the product version. dpaProvisioningArtifactId :: Lens' DescribeProvisioningArtifact Text dpaProvisioningArtifactId = lens _dpaProvisioningArtifactId (\ s a -> s{_dpaProvisioningArtifactId = a}); @@ -100,9 +111,9 @@ (x .?> "ProvisioningArtifactDetail") <*> (pure (fromEnum s))) -instance Hashable DescribeProvisioningArtifact+instance Hashable DescribeProvisioningArtifact where -instance NFData DescribeProvisioningArtifact+instance NFData DescribeProvisioningArtifact where instance ToHeaders DescribeProvisioningArtifact where toHeaders@@ -118,7 +129,8 @@ toJSON DescribeProvisioningArtifact'{..} = object (catMaybes- [("AcceptLanguage" .=) <$> _dpaAcceptLanguage,+ [("Verbose" .=) <$> _dpaVerbose,+ ("AcceptLanguage" .=) <$> _dpaAcceptLanguage, Just ("ProvisioningArtifactId" .= _dpaProvisioningArtifactId),@@ -132,48 +144,51 @@ -- | /See:/ 'describeProvisioningArtifactResponse' smart constructor. data DescribeProvisioningArtifactResponse = DescribeProvisioningArtifactResponse'- { _desrsStatus :: !(Maybe RequestStatus)- , _desrsInfo :: !(Maybe (Map Text Text))- , _desrsProvisioningArtifactDetail :: !(Maybe ProvisioningArtifactDetail)- , _desrsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dpaprsStatus :: !(Maybe RequestStatus)+ , _dpaprsInfo :: !(Maybe (Map Text Text))+ , _dpaprsProvisioningArtifactDetail :: !(Maybe ProvisioningArtifactDetail)+ , _dpaprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeProvisioningArtifactResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'desrsStatus' - The status of the current request.+-- * 'dpaprsStatus' - The status of the current request. ----- * 'desrsInfo' - Additional information about the provisioning artifact.+-- * 'dpaprsInfo' - Additional information about the provisioning artifact. ----- * 'desrsProvisioningArtifactDetail' - Detailed provisioning artifact information.+-- * 'dpaprsProvisioningArtifactDetail' - Detailed provisioning artifact information. ----- * 'desrsResponseStatus' - -- | The response status code.+-- * 'dpaprsResponseStatus' - -- | The response status code. describeProvisioningArtifactResponse- :: Int -- ^ 'desrsResponseStatus'+ :: Int -- ^ 'dpaprsResponseStatus' -> DescribeProvisioningArtifactResponse describeProvisioningArtifactResponse pResponseStatus_ =- DescribeProvisioningArtifactResponse'- { _desrsStatus = Nothing- , _desrsInfo = Nothing- , _desrsProvisioningArtifactDetail = Nothing- , _desrsResponseStatus = pResponseStatus_- }+ DescribeProvisioningArtifactResponse'+ { _dpaprsStatus = Nothing+ , _dpaprsInfo = Nothing+ , _dpaprsProvisioningArtifactDetail = Nothing+ , _dpaprsResponseStatus = pResponseStatus_+ } + -- | The status of the current request.-desrsStatus :: Lens' DescribeProvisioningArtifactResponse (Maybe RequestStatus)-desrsStatus = lens _desrsStatus (\ s a -> s{_desrsStatus = a});+dpaprsStatus :: Lens' DescribeProvisioningArtifactResponse (Maybe RequestStatus)+dpaprsStatus = lens _dpaprsStatus (\ s a -> s{_dpaprsStatus = a}); -- | Additional information about the provisioning artifact.-desrsInfo :: Lens' DescribeProvisioningArtifactResponse (HashMap Text Text)-desrsInfo = lens _desrsInfo (\ s a -> s{_desrsInfo = a}) . _Default . _Map;+dpaprsInfo :: Lens' DescribeProvisioningArtifactResponse (HashMap Text Text)+dpaprsInfo = lens _dpaprsInfo (\ s a -> s{_dpaprsInfo = a}) . _Default . _Map; -- | Detailed provisioning artifact information.-desrsProvisioningArtifactDetail :: Lens' DescribeProvisioningArtifactResponse (Maybe ProvisioningArtifactDetail)-desrsProvisioningArtifactDetail = lens _desrsProvisioningArtifactDetail (\ s a -> s{_desrsProvisioningArtifactDetail = a});+dpaprsProvisioningArtifactDetail :: Lens' DescribeProvisioningArtifactResponse (Maybe ProvisioningArtifactDetail)+dpaprsProvisioningArtifactDetail = lens _dpaprsProvisioningArtifactDetail (\ s a -> s{_dpaprsProvisioningArtifactDetail = a}); -- | -- | The response status code.-desrsResponseStatus :: Lens' DescribeProvisioningArtifactResponse Int-desrsResponseStatus = lens _desrsResponseStatus (\ s a -> s{_desrsResponseStatus = a});+dpaprsResponseStatus :: Lens' DescribeProvisioningArtifactResponse Int+dpaprsResponseStatus = lens _dpaprsResponseStatus (\ s a -> s{_dpaprsResponseStatus = a}); instance NFData DescribeProvisioningArtifactResponse+ where
gen/Network/AWS/ServiceCatalog/DescribeProvisioningParameters.hs view
@@ -12,15 +12,17 @@ -- | -- Module : Network.AWS.ServiceCatalog.DescribeProvisioningParameters--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Provides information about parameters required to provision a specified product in a specified manner. Use this operation to obtain the list of @ProvisioningArtifactParameters@ parameters available to call the 'ProvisionProduct' operation for the specified product. -- --+-- If the output contains a TagOption key with an empty list of values, there is a TagOption conflict for that key. The end user cannot take action to fix the conflict, and launch is not blocked. In subsequent calls to the @ProvisionProduct@ operation, do not include conflicted TagOption keys as tags. Calls to @ProvisionProduct@ with empty TagOption values cause the error "Parameter validation failed: Missing required parameter in Tags[/N/ ]:/Value/ ". Calls to @ProvisionProduct@ with conflicted TagOption keys automatically tag the provisioned product with the conflicted keys with the value "@sc-tagoption-conflict-portfolioId-productId@ ".+-- module Network.AWS.ServiceCatalog.DescribeProvisioningParameters ( -- * Creating a Request@@ -39,48 +41,51 @@ , dpprsProvisioningArtifactParameters , dpprsUsageInstructions , dpprsConstraintSummaries+ , dpprsTagOptions , dpprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'describeProvisioningParameters' smart constructor. data DescribeProvisioningParameters = DescribeProvisioningParameters'- { _dppsAcceptLanguage :: !(Maybe Text)- , _dppsPathId :: !(Maybe Text)- , _dppsProductId :: !Text- , _dppsProvisioningArtifactId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dppsAcceptLanguage :: !(Maybe Text)+ , _dppsPathId :: !(Maybe Text)+ , _dppsProductId :: !Text+ , _dppsProvisioningArtifactId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeProvisioningParameters' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dppsAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'dppsAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'dppsPathId' - The identifier of the path for this product's provisioning. This value is optional if the product has a default path, and is required if there is more than one path for the specified product. -- -- * 'dppsProductId' - The product identifier. ----- * 'dppsProvisioningArtifactId' - The provisioning artifact identifier for this product.+-- * 'dppsProvisioningArtifactId' - The provisioning artifact identifier for this product. This is sometimes referred to as the product version. describeProvisioningParameters :: Text -- ^ 'dppsProductId' -> Text -- ^ 'dppsProvisioningArtifactId' -> DescribeProvisioningParameters describeProvisioningParameters pProductId_ pProvisioningArtifactId_ =- DescribeProvisioningParameters'- { _dppsAcceptLanguage = Nothing- , _dppsPathId = Nothing- , _dppsProductId = pProductId_- , _dppsProvisioningArtifactId = pProvisioningArtifactId_- }+ DescribeProvisioningParameters'+ { _dppsAcceptLanguage = Nothing+ , _dppsPathId = Nothing+ , _dppsProductId = pProductId_+ , _dppsProvisioningArtifactId = pProvisioningArtifactId_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese dppsAcceptLanguage :: Lens' DescribeProvisioningParameters (Maybe Text) dppsAcceptLanguage = lens _dppsAcceptLanguage (\ s a -> s{_dppsAcceptLanguage = a}); @@ -92,7 +97,7 @@ dppsProductId :: Lens' DescribeProvisioningParameters Text dppsProductId = lens _dppsProductId (\ s a -> s{_dppsProductId = a}); --- | The provisioning artifact identifier for this product.+-- | The provisioning artifact identifier for this product. This is sometimes referred to as the product version. dppsProvisioningArtifactId :: Lens' DescribeProvisioningParameters Text dppsProvisioningArtifactId = lens _dppsProvisioningArtifactId (\ s a -> s{_dppsProvisioningArtifactId = a}); @@ -108,11 +113,13 @@ (x .?> "ProvisioningArtifactParameters" .!@ mempty) <*> (x .?> "UsageInstructions" .!@ mempty) <*> (x .?> "ConstraintSummaries" .!@ mempty)+ <*> (x .?> "TagOptions" .!@ mempty) <*> (pure (fromEnum s))) instance Hashable DescribeProvisioningParameters+ where -instance NFData DescribeProvisioningParameters+instance NFData DescribeProvisioningParameters where instance ToHeaders DescribeProvisioningParameters where@@ -144,12 +151,14 @@ -- | /See:/ 'describeProvisioningParametersResponse' smart constructor. data DescribeProvisioningParametersResponse = DescribeProvisioningParametersResponse'- { _dpprsProvisioningArtifactParameters :: !(Maybe [ProvisioningArtifactParameter])- , _dpprsUsageInstructions :: !(Maybe [UsageInstruction])- , _dpprsConstraintSummaries :: !(Maybe [ConstraintSummary])- , _dpprsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dpprsProvisioningArtifactParameters :: !(Maybe [ProvisioningArtifactParameter])+ , _dpprsUsageInstructions :: !(Maybe [UsageInstruction])+ , _dpprsConstraintSummaries :: !(Maybe [ConstraintSummary])+ , _dpprsTagOptions :: !(Maybe [TagOptionSummary])+ , _dpprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeProvisioningParametersResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -160,18 +169,22 @@ -- -- * 'dpprsConstraintSummaries' - The list of constraint summaries that apply to provisioning this product. --+-- * 'dpprsTagOptions' - List of TagOptions associated with the provisioned provisioning parameters.+-- -- * 'dpprsResponseStatus' - -- | The response status code. describeProvisioningParametersResponse :: Int -- ^ 'dpprsResponseStatus' -> DescribeProvisioningParametersResponse describeProvisioningParametersResponse pResponseStatus_ =- DescribeProvisioningParametersResponse'- { _dpprsProvisioningArtifactParameters = Nothing- , _dpprsUsageInstructions = Nothing- , _dpprsConstraintSummaries = Nothing- , _dpprsResponseStatus = pResponseStatus_- }+ DescribeProvisioningParametersResponse'+ { _dpprsProvisioningArtifactParameters = Nothing+ , _dpprsUsageInstructions = Nothing+ , _dpprsConstraintSummaries = Nothing+ , _dpprsTagOptions = Nothing+ , _dpprsResponseStatus = pResponseStatus_+ } + -- | The list of parameters used to successfully provision the product. Each parameter includes a list of allowable values and additional metadata about each parameter. dpprsProvisioningArtifactParameters :: Lens' DescribeProvisioningParametersResponse [ProvisioningArtifactParameter] dpprsProvisioningArtifactParameters = lens _dpprsProvisioningArtifactParameters (\ s a -> s{_dpprsProvisioningArtifactParameters = a}) . _Default . _Coerce;@@ -184,9 +197,14 @@ dpprsConstraintSummaries :: Lens' DescribeProvisioningParametersResponse [ConstraintSummary] dpprsConstraintSummaries = lens _dpprsConstraintSummaries (\ s a -> s{_dpprsConstraintSummaries = a}) . _Default . _Coerce; +-- | List of TagOptions associated with the provisioned provisioning parameters.+dpprsTagOptions :: Lens' DescribeProvisioningParametersResponse [TagOptionSummary]+dpprsTagOptions = lens _dpprsTagOptions (\ s a -> s{_dpprsTagOptions = a}) . _Default . _Coerce;+ -- | -- | The response status code. dpprsResponseStatus :: Lens' DescribeProvisioningParametersResponse Int dpprsResponseStatus = lens _dpprsResponseStatus (\ s a -> s{_dpprsResponseStatus = a}); instance NFData- DescribeProvisioningParametersResponse+ DescribeProvisioningParametersResponse+ where
gen/Network/AWS/ServiceCatalog/DescribeRecord.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.DescribeRecord--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -42,26 +42,27 @@ , drrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'describeRecord' smart constructor. data DescribeRecord = DescribeRecord'- { _drAcceptLanguage :: !(Maybe Text)- , _drPageToken :: !(Maybe Text)- , _drPageSize :: !(Maybe Nat)- , _drId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _drAcceptLanguage :: !(Maybe Text)+ , _drPageToken :: !(Maybe Text)+ , _drPageSize :: !(Maybe Nat)+ , _drId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeRecord' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'drAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'drPageToken' - The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ . --@@ -72,14 +73,15 @@ :: Text -- ^ 'drId' -> DescribeRecord describeRecord pId_ =- DescribeRecord'- { _drAcceptLanguage = Nothing- , _drPageToken = Nothing- , _drPageSize = Nothing- , _drId = pId_- }+ DescribeRecord'+ { _drAcceptLanguage = Nothing+ , _drPageToken = Nothing+ , _drPageSize = Nothing+ , _drId = pId_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese drAcceptLanguage :: Lens' DescribeRecord (Maybe Text) drAcceptLanguage = lens _drAcceptLanguage (\ s a -> s{_drAcceptLanguage = a}); @@ -106,9 +108,9 @@ <*> (x .?> "RecordOutputs" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable DescribeRecord+instance Hashable DescribeRecord where -instance NFData DescribeRecord+instance NFData DescribeRecord where instance ToHeaders DescribeRecord where toHeaders@@ -137,12 +139,13 @@ -- | /See:/ 'describeRecordResponse' smart constructor. data DescribeRecordResponse = DescribeRecordResponse'- { _drrsRecordDetail :: !(Maybe RecordDetail)- , _drrsNextPageToken :: !(Maybe Text)- , _drrsRecordOutputs :: !(Maybe [RecordOutput])- , _drrsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _drrsRecordDetail :: !(Maybe RecordDetail)+ , _drrsNextPageToken :: !(Maybe Text)+ , _drrsRecordOutputs :: !(Maybe [RecordOutput])+ , _drrsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DescribeRecordResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -158,13 +161,14 @@ :: Int -- ^ 'drrsResponseStatus' -> DescribeRecordResponse describeRecordResponse pResponseStatus_ =- DescribeRecordResponse'- { _drrsRecordDetail = Nothing- , _drrsNextPageToken = Nothing- , _drrsRecordOutputs = Nothing- , _drrsResponseStatus = pResponseStatus_- }+ DescribeRecordResponse'+ { _drrsRecordDetail = Nothing+ , _drrsNextPageToken = Nothing+ , _drrsRecordOutputs = Nothing+ , _drrsResponseStatus = pResponseStatus_+ } + -- | Detailed record information for the specified product. drrsRecordDetail :: Lens' DescribeRecordResponse (Maybe RecordDetail) drrsRecordDetail = lens _drrsRecordDetail (\ s a -> s{_drrsRecordDetail = a});@@ -181,4 +185,4 @@ drrsResponseStatus :: Lens' DescribeRecordResponse Int drrsResponseStatus = lens _drrsResponseStatus (\ s a -> s{_drrsResponseStatus = a}); -instance NFData DescribeRecordResponse+instance NFData DescribeRecordResponse where
+ gen/Network/AWS/ServiceCatalog/DescribeTagOption.hs view
@@ -0,0 +1,131 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.ServiceCatalog.DescribeTagOption+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Describes a TagOption.+--+--+module Network.AWS.ServiceCatalog.DescribeTagOption+ (+ -- * Creating a Request+ describeTagOption+ , DescribeTagOption+ -- * Request Lenses+ , dtoId++ -- * Destructuring the Response+ , describeTagOptionResponse+ , DescribeTagOptionResponse+ -- * Response Lenses+ , dtorsTagOptionDetail+ , dtorsResponseStatus+ ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product++-- | /See:/ 'describeTagOption' smart constructor.+newtype DescribeTagOption = DescribeTagOption'+ { _dtoId :: Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DescribeTagOption' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dtoId' - The identifier of the TagOption.+describeTagOption+ :: Text -- ^ 'dtoId'+ -> DescribeTagOption+describeTagOption pId_ = DescribeTagOption' {_dtoId = pId_}+++-- | The identifier of the TagOption.+dtoId :: Lens' DescribeTagOption Text+dtoId = lens _dtoId (\ s a -> s{_dtoId = a});++instance AWSRequest DescribeTagOption where+ type Rs DescribeTagOption = DescribeTagOptionResponse+ request = postJSON serviceCatalog+ response+ = receiveJSON+ (\ s h x ->+ DescribeTagOptionResponse' <$>+ (x .?> "TagOptionDetail") <*> (pure (fromEnum s)))++instance Hashable DescribeTagOption where++instance NFData DescribeTagOption where++instance ToHeaders DescribeTagOption where+ toHeaders+ = const+ (mconcat+ ["X-Amz-Target" =#+ ("AWS242ServiceCatalogService.DescribeTagOption" ::+ ByteString),+ "Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON DescribeTagOption where+ toJSON DescribeTagOption'{..}+ = object (catMaybes [Just ("Id" .= _dtoId)])++instance ToPath DescribeTagOption where+ toPath = const "/"++instance ToQuery DescribeTagOption where+ toQuery = const mempty++-- | /See:/ 'describeTagOptionResponse' smart constructor.+data DescribeTagOptionResponse = DescribeTagOptionResponse'+ { _dtorsTagOptionDetail :: !(Maybe TagOptionDetail)+ , _dtorsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DescribeTagOptionResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dtorsTagOptionDetail' - The resulting detailed TagOption information.+--+-- * 'dtorsResponseStatus' - -- | The response status code.+describeTagOptionResponse+ :: Int -- ^ 'dtorsResponseStatus'+ -> DescribeTagOptionResponse+describeTagOptionResponse pResponseStatus_ =+ DescribeTagOptionResponse'+ {_dtorsTagOptionDetail = Nothing, _dtorsResponseStatus = pResponseStatus_}+++-- | The resulting detailed TagOption information.+dtorsTagOptionDetail :: Lens' DescribeTagOptionResponse (Maybe TagOptionDetail)+dtorsTagOptionDetail = lens _dtorsTagOptionDetail (\ s a -> s{_dtorsTagOptionDetail = a});++-- | -- | The response status code.+dtorsResponseStatus :: Lens' DescribeTagOptionResponse Int+dtorsResponseStatus = lens _dtorsResponseStatus (\ s a -> s{_dtorsResponseStatus = a});++instance NFData DescribeTagOptionResponse where
gen/Network/AWS/ServiceCatalog/DisassociatePrincipalFromPortfolio.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.DisassociatePrincipalFromPortfolio--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -38,25 +38,26 @@ , dpfprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'disassociatePrincipalFromPortfolio' smart constructor. data DisassociatePrincipalFromPortfolio = DisassociatePrincipalFromPortfolio'- { _disAcceptLanguage :: !(Maybe Text)- , _disPortfolioId :: !Text- , _disPrincipalARN :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _disAcceptLanguage :: !(Maybe Text)+ , _disPortfolioId :: !Text+ , _disPrincipalARN :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DisassociatePrincipalFromPortfolio' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'disAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'disAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'disPortfolioId' - The portfolio identifier. --@@ -66,13 +67,14 @@ -> Text -- ^ 'disPrincipalARN' -> DisassociatePrincipalFromPortfolio disassociatePrincipalFromPortfolio pPortfolioId_ pPrincipalARN_ =- DisassociatePrincipalFromPortfolio'- { _disAcceptLanguage = Nothing- , _disPortfolioId = pPortfolioId_- , _disPrincipalARN = pPrincipalARN_- }+ DisassociatePrincipalFromPortfolio'+ { _disAcceptLanguage = Nothing+ , _disPortfolioId = pPortfolioId_+ , _disPrincipalARN = pPrincipalARN_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese disAcceptLanguage :: Lens' DisassociatePrincipalFromPortfolio (Maybe Text) disAcceptLanguage = lens _disAcceptLanguage (\ s a -> s{_disAcceptLanguage = a}); @@ -85,7 +87,8 @@ disPrincipalARN = lens _disPrincipalARN (\ s a -> s{_disPrincipalARN = a}); instance AWSRequest- DisassociatePrincipalFromPortfolio where+ DisassociatePrincipalFromPortfolio+ where type Rs DisassociatePrincipalFromPortfolio = DisassociatePrincipalFromPortfolioResponse request = postJSON serviceCatalog@@ -96,8 +99,10 @@ (pure (fromEnum s))) instance Hashable DisassociatePrincipalFromPortfolio+ where instance NFData DisassociatePrincipalFromPortfolio+ where instance ToHeaders DisassociatePrincipalFromPortfolio where@@ -129,9 +134,10 @@ -- | /See:/ 'disassociatePrincipalFromPortfolioResponse' smart constructor. newtype DisassociatePrincipalFromPortfolioResponse = DisassociatePrincipalFromPortfolioResponse'- { _dpfprsResponseStatus :: Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dpfprsResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DisassociatePrincipalFromPortfolioResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -141,13 +147,14 @@ :: Int -- ^ 'dpfprsResponseStatus' -> DisassociatePrincipalFromPortfolioResponse disassociatePrincipalFromPortfolioResponse pResponseStatus_ =- DisassociatePrincipalFromPortfolioResponse'- { _dpfprsResponseStatus = pResponseStatus_- }+ DisassociatePrincipalFromPortfolioResponse'+ {_dpfprsResponseStatus = pResponseStatus_} + -- | -- | The response status code. dpfprsResponseStatus :: Lens' DisassociatePrincipalFromPortfolioResponse Int dpfprsResponseStatus = lens _dpfprsResponseStatus (\ s a -> s{_dpfprsResponseStatus = a}); instance NFData- DisassociatePrincipalFromPortfolioResponse+ DisassociatePrincipalFromPortfolioResponse+ where
gen/Network/AWS/ServiceCatalog/DisassociateProductFromPortfolio.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.DisassociateProductFromPortfolio--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -38,25 +38,26 @@ , disrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'disassociateProductFromPortfolio' smart constructor. data DisassociateProductFromPortfolio = DisassociateProductFromPortfolio'- { _dpfpAcceptLanguage :: !(Maybe Text)- , _dpfpProductId :: !Text- , _dpfpPortfolioId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _dpfpAcceptLanguage :: !(Maybe Text)+ , _dpfpProductId :: !Text+ , _dpfpPortfolioId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DisassociateProductFromPortfolio' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dpfpAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'dpfpAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'dpfpProductId' - The product identifier. --@@ -66,13 +67,14 @@ -> Text -- ^ 'dpfpPortfolioId' -> DisassociateProductFromPortfolio disassociateProductFromPortfolio pProductId_ pPortfolioId_ =- DisassociateProductFromPortfolio'- { _dpfpAcceptLanguage = Nothing- , _dpfpProductId = pProductId_- , _dpfpPortfolioId = pPortfolioId_- }+ DisassociateProductFromPortfolio'+ { _dpfpAcceptLanguage = Nothing+ , _dpfpProductId = pProductId_+ , _dpfpPortfolioId = pPortfolioId_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese dpfpAcceptLanguage :: Lens' DisassociateProductFromPortfolio (Maybe Text) dpfpAcceptLanguage = lens _dpfpAcceptLanguage (\ s a -> s{_dpfpAcceptLanguage = a}); @@ -96,8 +98,10 @@ (pure (fromEnum s))) instance Hashable DisassociateProductFromPortfolio+ where instance NFData DisassociateProductFromPortfolio+ where instance ToHeaders DisassociateProductFromPortfolio where@@ -129,9 +133,10 @@ -- | /See:/ 'disassociateProductFromPortfolioResponse' smart constructor. newtype DisassociateProductFromPortfolioResponse = DisassociateProductFromPortfolioResponse'- { _disrsResponseStatus :: Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _disrsResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'DisassociateProductFromPortfolioResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -141,13 +146,14 @@ :: Int -- ^ 'disrsResponseStatus' -> DisassociateProductFromPortfolioResponse disassociateProductFromPortfolioResponse pResponseStatus_ =- DisassociateProductFromPortfolioResponse'- { _disrsResponseStatus = pResponseStatus_- }+ DisassociateProductFromPortfolioResponse'+ {_disrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. disrsResponseStatus :: Lens' DisassociateProductFromPortfolioResponse Int disrsResponseStatus = lens _disrsResponseStatus (\ s a -> s{_disrsResponseStatus = a}); instance NFData- DisassociateProductFromPortfolioResponse+ DisassociateProductFromPortfolioResponse+ where
+ gen/Network/AWS/ServiceCatalog/DisassociateTagOptionFromResource.hs view
@@ -0,0 +1,147 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Disassociates a TagOption from a resource.+--+--+module Network.AWS.ServiceCatalog.DisassociateTagOptionFromResource+ (+ -- * Creating a Request+ disassociateTagOptionFromResource+ , DisassociateTagOptionFromResource+ -- * Request Lenses+ , dtofrResourceId+ , dtofrTagOptionId++ -- * Destructuring the Response+ , disassociateTagOptionFromResourceResponse+ , DisassociateTagOptionFromResourceResponse+ -- * Response Lenses+ , dtofrrsResponseStatus+ ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product++-- | /See:/ 'disassociateTagOptionFromResource' smart constructor.+data DisassociateTagOptionFromResource = DisassociateTagOptionFromResource'+ { _dtofrResourceId :: !Text+ , _dtofrTagOptionId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DisassociateTagOptionFromResource' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dtofrResourceId' - Identifier of the resource from which to disassociate the TagOption.+--+-- * 'dtofrTagOptionId' - Identifier of the TagOption to disassociate from the resource.+disassociateTagOptionFromResource+ :: Text -- ^ 'dtofrResourceId'+ -> Text -- ^ 'dtofrTagOptionId'+ -> DisassociateTagOptionFromResource+disassociateTagOptionFromResource pResourceId_ pTagOptionId_ =+ DisassociateTagOptionFromResource'+ {_dtofrResourceId = pResourceId_, _dtofrTagOptionId = pTagOptionId_}+++-- | Identifier of the resource from which to disassociate the TagOption.+dtofrResourceId :: Lens' DisassociateTagOptionFromResource Text+dtofrResourceId = lens _dtofrResourceId (\ s a -> s{_dtofrResourceId = a});++-- | Identifier of the TagOption to disassociate from the resource.+dtofrTagOptionId :: Lens' DisassociateTagOptionFromResource Text+dtofrTagOptionId = lens _dtofrTagOptionId (\ s a -> s{_dtofrTagOptionId = a});++instance AWSRequest DisassociateTagOptionFromResource+ where+ type Rs DisassociateTagOptionFromResource =+ DisassociateTagOptionFromResourceResponse+ request = postJSON serviceCatalog+ response+ = receiveEmpty+ (\ s h x ->+ DisassociateTagOptionFromResourceResponse' <$>+ (pure (fromEnum s)))++instance Hashable DisassociateTagOptionFromResource+ where++instance NFData DisassociateTagOptionFromResource+ where++instance ToHeaders DisassociateTagOptionFromResource+ where+ toHeaders+ = const+ (mconcat+ ["X-Amz-Target" =#+ ("AWS242ServiceCatalogService.DisassociateTagOptionFromResource"+ :: ByteString),+ "Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON DisassociateTagOptionFromResource+ where+ toJSON DisassociateTagOptionFromResource'{..}+ = object+ (catMaybes+ [Just ("ResourceId" .= _dtofrResourceId),+ Just ("TagOptionId" .= _dtofrTagOptionId)])++instance ToPath DisassociateTagOptionFromResource+ where+ toPath = const "/"++instance ToQuery DisassociateTagOptionFromResource+ where+ toQuery = const mempty++-- | /See:/ 'disassociateTagOptionFromResourceResponse' smart constructor.+newtype DisassociateTagOptionFromResourceResponse = DisassociateTagOptionFromResourceResponse'+ { _dtofrrsResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'DisassociateTagOptionFromResourceResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dtofrrsResponseStatus' - -- | The response status code.+disassociateTagOptionFromResourceResponse+ :: Int -- ^ 'dtofrrsResponseStatus'+ -> DisassociateTagOptionFromResourceResponse+disassociateTagOptionFromResourceResponse pResponseStatus_ =+ DisassociateTagOptionFromResourceResponse'+ {_dtofrrsResponseStatus = pResponseStatus_}+++-- | -- | The response status code.+dtofrrsResponseStatus :: Lens' DisassociateTagOptionFromResourceResponse Int+dtofrrsResponseStatus = lens _dtofrrsResponseStatus (\ s a -> s{_dtofrrsResponseStatus = a});++instance NFData+ DisassociateTagOptionFromResourceResponse+ where
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.ListAcceptedPortfolioShares--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -40,25 +40,26 @@ , lapsrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'listAcceptedPortfolioShares' smart constructor. data ListAcceptedPortfolioShares = ListAcceptedPortfolioShares'- { _lapsAcceptLanguage :: !(Maybe Text)- , _lapsPageToken :: !(Maybe Text)- , _lapsPageSize :: !(Maybe Nat)- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lapsAcceptLanguage :: !(Maybe Text)+ , _lapsPageToken :: !(Maybe Text)+ , _lapsPageSize :: !(Maybe Nat)+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListAcceptedPortfolioShares' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lapsAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'lapsAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'lapsPageToken' - The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ . --@@ -66,13 +67,14 @@ listAcceptedPortfolioShares :: ListAcceptedPortfolioShares listAcceptedPortfolioShares =- ListAcceptedPortfolioShares'- { _lapsAcceptLanguage = Nothing- , _lapsPageToken = Nothing- , _lapsPageSize = Nothing- }+ ListAcceptedPortfolioShares'+ { _lapsAcceptLanguage = Nothing+ , _lapsPageToken = Nothing+ , _lapsPageSize = Nothing+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese lapsAcceptLanguage :: Lens' ListAcceptedPortfolioShares (Maybe Text) lapsAcceptLanguage = lens _lapsAcceptLanguage (\ s a -> s{_lapsAcceptLanguage = a}); @@ -96,9 +98,9 @@ (x .?> "PortfolioDetails" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable ListAcceptedPortfolioShares+instance Hashable ListAcceptedPortfolioShares where -instance NFData ListAcceptedPortfolioShares+instance NFData ListAcceptedPortfolioShares where instance ToHeaders ListAcceptedPortfolioShares where toHeaders@@ -126,11 +128,12 @@ -- | /See:/ 'listAcceptedPortfolioSharesResponse' smart constructor. data ListAcceptedPortfolioSharesResponse = ListAcceptedPortfolioSharesResponse'- { _lapsrsNextPageToken :: !(Maybe Text)- , _lapsrsPortfolioDetails :: !(Maybe [PortfolioDetail])- , _lapsrsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lapsrsNextPageToken :: !(Maybe Text)+ , _lapsrsPortfolioDetails :: !(Maybe [PortfolioDetail])+ , _lapsrsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListAcceptedPortfolioSharesResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -144,12 +147,13 @@ :: Int -- ^ 'lapsrsResponseStatus' -> ListAcceptedPortfolioSharesResponse listAcceptedPortfolioSharesResponse pResponseStatus_ =- ListAcceptedPortfolioSharesResponse'- { _lapsrsNextPageToken = Nothing- , _lapsrsPortfolioDetails = Nothing- , _lapsrsResponseStatus = pResponseStatus_- }+ ListAcceptedPortfolioSharesResponse'+ { _lapsrsNextPageToken = Nothing+ , _lapsrsPortfolioDetails = Nothing+ , _lapsrsResponseStatus = pResponseStatus_+ } + -- | The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. lapsrsNextPageToken :: Lens' ListAcceptedPortfolioSharesResponse (Maybe Text) lapsrsNextPageToken = lens _lapsrsNextPageToken (\ s a -> s{_lapsrsNextPageToken = a});@@ -163,3 +167,4 @@ lapsrsResponseStatus = lens _lapsrsResponseStatus (\ s a -> s{_lapsrsResponseStatus = a}); instance NFData ListAcceptedPortfolioSharesResponse+ where
gen/Network/AWS/ServiceCatalog/ListConstraintsForPortfolio.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.ListConstraintsForPortfolio--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -42,27 +42,28 @@ , lcfprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'listConstraintsForPortfolio' smart constructor. data ListConstraintsForPortfolio = ListConstraintsForPortfolio'- { _lcfpAcceptLanguage :: !(Maybe Text)- , _lcfpPageToken :: !(Maybe Text)- , _lcfpPageSize :: !(Maybe Nat)- , _lcfpProductId :: !(Maybe Text)- , _lcfpPortfolioId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lcfpAcceptLanguage :: !(Maybe Text)+ , _lcfpPageToken :: !(Maybe Text)+ , _lcfpPageSize :: !(Maybe Nat)+ , _lcfpProductId :: !(Maybe Text)+ , _lcfpPortfolioId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListConstraintsForPortfolio' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lcfpAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'lcfpAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'lcfpPageToken' - The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ . --@@ -75,15 +76,16 @@ :: Text -- ^ 'lcfpPortfolioId' -> ListConstraintsForPortfolio listConstraintsForPortfolio pPortfolioId_ =- ListConstraintsForPortfolio'- { _lcfpAcceptLanguage = Nothing- , _lcfpPageToken = Nothing- , _lcfpPageSize = Nothing- , _lcfpProductId = Nothing- , _lcfpPortfolioId = pPortfolioId_- }+ ListConstraintsForPortfolio'+ { _lcfpAcceptLanguage = Nothing+ , _lcfpPageToken = Nothing+ , _lcfpPageSize = Nothing+ , _lcfpProductId = Nothing+ , _lcfpPortfolioId = pPortfolioId_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese lcfpAcceptLanguage :: Lens' ListConstraintsForPortfolio (Maybe Text) lcfpAcceptLanguage = lens _lcfpAcceptLanguage (\ s a -> s{_lcfpAcceptLanguage = a}); @@ -115,9 +117,9 @@ (x .?> "ConstraintDetails" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable ListConstraintsForPortfolio+instance Hashable ListConstraintsForPortfolio where -instance NFData ListConstraintsForPortfolio+instance NFData ListConstraintsForPortfolio where instance ToHeaders ListConstraintsForPortfolio where toHeaders@@ -147,11 +149,12 @@ -- | /See:/ 'listConstraintsForPortfolioResponse' smart constructor. data ListConstraintsForPortfolioResponse = ListConstraintsForPortfolioResponse'- { _lcfprsNextPageToken :: !(Maybe Text)- , _lcfprsConstraintDetails :: !(Maybe [ConstraintDetail])- , _lcfprsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lcfprsNextPageToken :: !(Maybe Text)+ , _lcfprsConstraintDetails :: !(Maybe [ConstraintDetail])+ , _lcfprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListConstraintsForPortfolioResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -165,12 +168,13 @@ :: Int -- ^ 'lcfprsResponseStatus' -> ListConstraintsForPortfolioResponse listConstraintsForPortfolioResponse pResponseStatus_ =- ListConstraintsForPortfolioResponse'- { _lcfprsNextPageToken = Nothing- , _lcfprsConstraintDetails = Nothing- , _lcfprsResponseStatus = pResponseStatus_- }+ ListConstraintsForPortfolioResponse'+ { _lcfprsNextPageToken = Nothing+ , _lcfprsConstraintDetails = Nothing+ , _lcfprsResponseStatus = pResponseStatus_+ } + -- | The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. lcfprsNextPageToken :: Lens' ListConstraintsForPortfolioResponse (Maybe Text) lcfprsNextPageToken = lens _lcfprsNextPageToken (\ s a -> s{_lcfprsNextPageToken = a});@@ -184,3 +188,4 @@ lcfprsResponseStatus = lens _lcfprsResponseStatus (\ s a -> s{_lcfprsResponseStatus = a}); instance NFData ListConstraintsForPortfolioResponse+ where
gen/Network/AWS/ServiceCatalog/ListLaunchPaths.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.ListLaunchPaths--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -41,44 +41,46 @@ , llprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'listLaunchPaths' smart constructor. data ListLaunchPaths = ListLaunchPaths'- { _llpAcceptLanguage :: !(Maybe Text)- , _llpPageToken :: !(Maybe Text)- , _llpPageSize :: !(Maybe Nat)- , _llpProductId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _llpAcceptLanguage :: !(Maybe Text)+ , _llpPageToken :: !(Maybe Text)+ , _llpPageSize :: !(Maybe Nat)+ , _llpProductId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListLaunchPaths' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'llpAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'llpAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'llpPageToken' - The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ . -- -- * 'llpPageSize' - The maximum number of items to return in the results. If more results exist than fit in the specified @PageSize@ , the value of @NextPageToken@ in the response is non-null. ----- * 'llpProductId' - The product identifier.. Identifies the product for which to retrieve @LaunchPathSummaries@ information.+-- * 'llpProductId' - The product identifier. Identifies the product for which to retrieve @LaunchPathSummaries@ information. listLaunchPaths :: Text -- ^ 'llpProductId' -> ListLaunchPaths listLaunchPaths pProductId_ =- ListLaunchPaths'- { _llpAcceptLanguage = Nothing- , _llpPageToken = Nothing- , _llpPageSize = Nothing- , _llpProductId = pProductId_- }+ ListLaunchPaths'+ { _llpAcceptLanguage = Nothing+ , _llpPageToken = Nothing+ , _llpPageSize = Nothing+ , _llpProductId = pProductId_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese llpAcceptLanguage :: Lens' ListLaunchPaths (Maybe Text) llpAcceptLanguage = lens _llpAcceptLanguage (\ s a -> s{_llpAcceptLanguage = a}); @@ -90,7 +92,7 @@ llpPageSize :: Lens' ListLaunchPaths (Maybe Natural) llpPageSize = lens _llpPageSize (\ s a -> s{_llpPageSize = a}) . mapping _Nat; --- | The product identifier.. Identifies the product for which to retrieve @LaunchPathSummaries@ information.+-- | The product identifier. Identifies the product for which to retrieve @LaunchPathSummaries@ information. llpProductId :: Lens' ListLaunchPaths Text llpProductId = lens _llpProductId (\ s a -> s{_llpProductId = a}); @@ -105,9 +107,9 @@ (x .?> "LaunchPathSummaries" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable ListLaunchPaths+instance Hashable ListLaunchPaths where -instance NFData ListLaunchPaths+instance NFData ListLaunchPaths where instance ToHeaders ListLaunchPaths where toHeaders@@ -136,11 +138,12 @@ -- | /See:/ 'listLaunchPathsResponse' smart constructor. data ListLaunchPathsResponse = ListLaunchPathsResponse'- { _llprsNextPageToken :: !(Maybe Text)- , _llprsLaunchPathSummaries :: !(Maybe [LaunchPathSummary])- , _llprsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _llprsNextPageToken :: !(Maybe Text)+ , _llprsLaunchPathSummaries :: !(Maybe [LaunchPathSummary])+ , _llprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListLaunchPathsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -154,12 +157,13 @@ :: Int -- ^ 'llprsResponseStatus' -> ListLaunchPathsResponse listLaunchPathsResponse pResponseStatus_ =- ListLaunchPathsResponse'- { _llprsNextPageToken = Nothing- , _llprsLaunchPathSummaries = Nothing- , _llprsResponseStatus = pResponseStatus_- }+ ListLaunchPathsResponse'+ { _llprsNextPageToken = Nothing+ , _llprsLaunchPathSummaries = Nothing+ , _llprsResponseStatus = pResponseStatus_+ } + -- | The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. llprsNextPageToken :: Lens' ListLaunchPathsResponse (Maybe Text) llprsNextPageToken = lens _llprsNextPageToken (\ s a -> s{_llprsNextPageToken = a});@@ -172,4 +176,4 @@ llprsResponseStatus :: Lens' ListLaunchPathsResponse Int llprsResponseStatus = lens _llprsResponseStatus (\ s a -> s{_llprsResponseStatus = a}); -instance NFData ListLaunchPathsResponse+instance NFData ListLaunchPathsResponse where
gen/Network/AWS/ServiceCatalog/ListPortfolioAccess.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.ListPortfolioAccess--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -39,36 +39,36 @@ , lparsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'listPortfolioAccess' smart constructor. data ListPortfolioAccess = ListPortfolioAccess'- { _lAcceptLanguage :: !(Maybe Text)- , _lPortfolioId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lAcceptLanguage :: !(Maybe Text)+ , _lPortfolioId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListPortfolioAccess' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'lAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'lPortfolioId' - The portfolio identifier. listPortfolioAccess :: Text -- ^ 'lPortfolioId' -> ListPortfolioAccess listPortfolioAccess pPortfolioId_ =- ListPortfolioAccess'- { _lAcceptLanguage = Nothing- , _lPortfolioId = pPortfolioId_- }+ ListPortfolioAccess'+ {_lAcceptLanguage = Nothing, _lPortfolioId = pPortfolioId_} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese lAcceptLanguage :: Lens' ListPortfolioAccess (Maybe Text) lAcceptLanguage = lens _lAcceptLanguage (\ s a -> s{_lAcceptLanguage = a}); @@ -88,9 +88,9 @@ (x .?> "AccountIds" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable ListPortfolioAccess+instance Hashable ListPortfolioAccess where -instance NFData ListPortfolioAccess+instance NFData ListPortfolioAccess where instance ToHeaders ListPortfolioAccess where toHeaders@@ -117,11 +117,12 @@ -- | /See:/ 'listPortfolioAccessResponse' smart constructor. data ListPortfolioAccessResponse = ListPortfolioAccessResponse'- { _lparsNextPageToken :: !(Maybe Text)- , _lparsAccountIds :: !(Maybe [Text])- , _lparsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lparsNextPageToken :: !(Maybe Text)+ , _lparsAccountIds :: !(Maybe [Text])+ , _lparsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListPortfolioAccessResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -135,12 +136,13 @@ :: Int -- ^ 'lparsResponseStatus' -> ListPortfolioAccessResponse listPortfolioAccessResponse pResponseStatus_ =- ListPortfolioAccessResponse'- { _lparsNextPageToken = Nothing- , _lparsAccountIds = Nothing- , _lparsResponseStatus = pResponseStatus_- }+ ListPortfolioAccessResponse'+ { _lparsNextPageToken = Nothing+ , _lparsAccountIds = Nothing+ , _lparsResponseStatus = pResponseStatus_+ } + -- | The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. lparsNextPageToken :: Lens' ListPortfolioAccessResponse (Maybe Text) lparsNextPageToken = lens _lparsNextPageToken (\ s a -> s{_lparsNextPageToken = a});@@ -153,4 +155,4 @@ lparsResponseStatus :: Lens' ListPortfolioAccessResponse Int lparsResponseStatus = lens _lparsResponseStatus (\ s a -> s{_lparsResponseStatus = a}); -instance NFData ListPortfolioAccessResponse+instance NFData ListPortfolioAccessResponse where
gen/Network/AWS/ServiceCatalog/ListPortfolios.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.ListPortfolios--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -40,25 +40,26 @@ , lprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'listPortfolios' smart constructor. data ListPortfolios = ListPortfolios'- { _lpAcceptLanguage :: !(Maybe Text)- , _lpPageToken :: !(Maybe Text)- , _lpPageSize :: !(Maybe Nat)- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lpAcceptLanguage :: !(Maybe Text)+ , _lpPageToken :: !(Maybe Text)+ , _lpPageSize :: !(Maybe Nat)+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListPortfolios' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lpAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'lpAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'lpPageToken' - The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ . --@@ -66,13 +67,11 @@ listPortfolios :: ListPortfolios listPortfolios =- ListPortfolios'- { _lpAcceptLanguage = Nothing- , _lpPageToken = Nothing- , _lpPageSize = Nothing- }+ ListPortfolios'+ {_lpAcceptLanguage = Nothing, _lpPageToken = Nothing, _lpPageSize = Nothing} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese lpAcceptLanguage :: Lens' ListPortfolios (Maybe Text) lpAcceptLanguage = lens _lpAcceptLanguage (\ s a -> s{_lpAcceptLanguage = a}); @@ -95,9 +94,9 @@ (x .?> "PortfolioDetails" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable ListPortfolios+instance Hashable ListPortfolios where -instance NFData ListPortfolios+instance NFData ListPortfolios where instance ToHeaders ListPortfolios where toHeaders@@ -125,11 +124,12 @@ -- | /See:/ 'listPortfoliosResponse' smart constructor. data ListPortfoliosResponse = ListPortfoliosResponse'- { _lprsNextPageToken :: !(Maybe Text)- , _lprsPortfolioDetails :: !(Maybe [PortfolioDetail])- , _lprsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lprsNextPageToken :: !(Maybe Text)+ , _lprsPortfolioDetails :: !(Maybe [PortfolioDetail])+ , _lprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListPortfoliosResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -143,12 +143,13 @@ :: Int -- ^ 'lprsResponseStatus' -> ListPortfoliosResponse listPortfoliosResponse pResponseStatus_ =- ListPortfoliosResponse'- { _lprsNextPageToken = Nothing- , _lprsPortfolioDetails = Nothing- , _lprsResponseStatus = pResponseStatus_- }+ ListPortfoliosResponse'+ { _lprsNextPageToken = Nothing+ , _lprsPortfolioDetails = Nothing+ , _lprsResponseStatus = pResponseStatus_+ } + -- | The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. lprsNextPageToken :: Lens' ListPortfoliosResponse (Maybe Text) lprsNextPageToken = lens _lprsNextPageToken (\ s a -> s{_lprsNextPageToken = a});@@ -161,4 +162,4 @@ lprsResponseStatus :: Lens' ListPortfoliosResponse Int lprsResponseStatus = lens _lprsResponseStatus (\ s a -> s{_lprsResponseStatus = a}); -instance NFData ListPortfoliosResponse+instance NFData ListPortfoliosResponse where
gen/Network/AWS/ServiceCatalog/ListPortfoliosForProduct.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.ListPortfoliosForProduct--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -41,26 +41,27 @@ , lpfprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'listPortfoliosForProduct' smart constructor. data ListPortfoliosForProduct = ListPortfoliosForProduct'- { _lisAcceptLanguage :: !(Maybe Text)- , _lisPageToken :: !(Maybe Text)- , _lisPageSize :: !(Maybe Nat)- , _lisProductId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lisAcceptLanguage :: !(Maybe Text)+ , _lisPageToken :: !(Maybe Text)+ , _lisPageSize :: !(Maybe Nat)+ , _lisProductId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListPortfoliosForProduct' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lisAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'lisAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'lisPageToken' - The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ . --@@ -71,14 +72,15 @@ :: Text -- ^ 'lisProductId' -> ListPortfoliosForProduct listPortfoliosForProduct pProductId_ =- ListPortfoliosForProduct'- { _lisAcceptLanguage = Nothing- , _lisPageToken = Nothing- , _lisPageSize = Nothing- , _lisProductId = pProductId_- }+ ListPortfoliosForProduct'+ { _lisAcceptLanguage = Nothing+ , _lisPageToken = Nothing+ , _lisPageSize = Nothing+ , _lisProductId = pProductId_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese lisAcceptLanguage :: Lens' ListPortfoliosForProduct (Maybe Text) lisAcceptLanguage = lens _lisAcceptLanguage (\ s a -> s{_lisAcceptLanguage = a}); @@ -106,9 +108,9 @@ (x .?> "PortfolioDetails" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable ListPortfoliosForProduct+instance Hashable ListPortfoliosForProduct where -instance NFData ListPortfoliosForProduct+instance NFData ListPortfoliosForProduct where instance ToHeaders ListPortfoliosForProduct where toHeaders@@ -137,11 +139,12 @@ -- | /See:/ 'listPortfoliosForProductResponse' smart constructor. data ListPortfoliosForProductResponse = ListPortfoliosForProductResponse'- { _lpfprsNextPageToken :: !(Maybe Text)- , _lpfprsPortfolioDetails :: !(Maybe [PortfolioDetail])- , _lpfprsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lpfprsNextPageToken :: !(Maybe Text)+ , _lpfprsPortfolioDetails :: !(Maybe [PortfolioDetail])+ , _lpfprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListPortfoliosForProductResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -155,12 +158,13 @@ :: Int -- ^ 'lpfprsResponseStatus' -> ListPortfoliosForProductResponse listPortfoliosForProductResponse pResponseStatus_ =- ListPortfoliosForProductResponse'- { _lpfprsNextPageToken = Nothing- , _lpfprsPortfolioDetails = Nothing- , _lpfprsResponseStatus = pResponseStatus_- }+ ListPortfoliosForProductResponse'+ { _lpfprsNextPageToken = Nothing+ , _lpfprsPortfolioDetails = Nothing+ , _lpfprsResponseStatus = pResponseStatus_+ } + -- | The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. lpfprsNextPageToken :: Lens' ListPortfoliosForProductResponse (Maybe Text) lpfprsNextPageToken = lens _lpfprsNextPageToken (\ s a -> s{_lpfprsNextPageToken = a});@@ -174,3 +178,4 @@ lpfprsResponseStatus = lens _lpfprsResponseStatus (\ s a -> s{_lpfprsResponseStatus = a}); instance NFData ListPortfoliosForProductResponse+ where
gen/Network/AWS/ServiceCatalog/ListPrincipalsForPortfolio.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.ListPrincipalsForPortfolio--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -41,26 +41,27 @@ , lisrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'listPrincipalsForPortfolio' smart constructor. data ListPrincipalsForPortfolio = ListPrincipalsForPortfolio'- { _lpfpAcceptLanguage :: !(Maybe Text)- , _lpfpPageToken :: !(Maybe Text)- , _lpfpPageSize :: !(Maybe Nat)- , _lpfpPortfolioId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lpfpAcceptLanguage :: !(Maybe Text)+ , _lpfpPageToken :: !(Maybe Text)+ , _lpfpPageSize :: !(Maybe Nat)+ , _lpfpPortfolioId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListPrincipalsForPortfolio' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lpfpAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'lpfpAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'lpfpPageToken' - The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ . --@@ -71,14 +72,15 @@ :: Text -- ^ 'lpfpPortfolioId' -> ListPrincipalsForPortfolio listPrincipalsForPortfolio pPortfolioId_ =- ListPrincipalsForPortfolio'- { _lpfpAcceptLanguage = Nothing- , _lpfpPageToken = Nothing- , _lpfpPageSize = Nothing- , _lpfpPortfolioId = pPortfolioId_- }+ ListPrincipalsForPortfolio'+ { _lpfpAcceptLanguage = Nothing+ , _lpfpPageToken = Nothing+ , _lpfpPageSize = Nothing+ , _lpfpPortfolioId = pPortfolioId_+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese lpfpAcceptLanguage :: Lens' ListPrincipalsForPortfolio (Maybe Text) lpfpAcceptLanguage = lens _lpfpAcceptLanguage (\ s a -> s{_lpfpAcceptLanguage = a}); @@ -106,9 +108,9 @@ (x .?> "Principals" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable ListPrincipalsForPortfolio+instance Hashable ListPrincipalsForPortfolio where -instance NFData ListPrincipalsForPortfolio+instance NFData ListPrincipalsForPortfolio where instance ToHeaders ListPrincipalsForPortfolio where toHeaders@@ -137,11 +139,12 @@ -- | /See:/ 'listPrincipalsForPortfolioResponse' smart constructor. data ListPrincipalsForPortfolioResponse = ListPrincipalsForPortfolioResponse'- { _lisrsNextPageToken :: !(Maybe Text)- , _lisrsPrincipals :: !(Maybe [Principal])- , _lisrsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lisrsNextPageToken :: !(Maybe Text)+ , _lisrsPrincipals :: !(Maybe [Principal])+ , _lisrsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListPrincipalsForPortfolioResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -155,12 +158,13 @@ :: Int -- ^ 'lisrsResponseStatus' -> ListPrincipalsForPortfolioResponse listPrincipalsForPortfolioResponse pResponseStatus_ =- ListPrincipalsForPortfolioResponse'- { _lisrsNextPageToken = Nothing- , _lisrsPrincipals = Nothing- , _lisrsResponseStatus = pResponseStatus_- }+ ListPrincipalsForPortfolioResponse'+ { _lisrsNextPageToken = Nothing+ , _lisrsPrincipals = Nothing+ , _lisrsResponseStatus = pResponseStatus_+ } + -- | The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. lisrsNextPageToken :: Lens' ListPrincipalsForPortfolioResponse (Maybe Text) lisrsNextPageToken = lens _lisrsNextPageToken (\ s a -> s{_lisrsNextPageToken = a});@@ -174,3 +178,4 @@ lisrsResponseStatus = lens _lisrsResponseStatus (\ s a -> s{_lisrsResponseStatus = a}); instance NFData ListPrincipalsForPortfolioResponse+ where
gen/Network/AWS/ServiceCatalog/ListProvisioningArtifacts.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.ListProvisioningArtifacts--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -39,36 +39,36 @@ , lrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'listProvisioningArtifacts' smart constructor. data ListProvisioningArtifacts = ListProvisioningArtifacts'- { _lpaAcceptLanguage :: !(Maybe Text)- , _lpaProductId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lpaAcceptLanguage :: !(Maybe Text)+ , _lpaProductId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListProvisioningArtifacts' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lpaAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'lpaAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'lpaProductId' - The product identifier. listProvisioningArtifacts :: Text -- ^ 'lpaProductId' -> ListProvisioningArtifacts listProvisioningArtifacts pProductId_ =- ListProvisioningArtifacts'- { _lpaAcceptLanguage = Nothing- , _lpaProductId = pProductId_- }+ ListProvisioningArtifacts'+ {_lpaAcceptLanguage = Nothing, _lpaProductId = pProductId_} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese lpaAcceptLanguage :: Lens' ListProvisioningArtifacts (Maybe Text) lpaAcceptLanguage = lens _lpaAcceptLanguage (\ s a -> s{_lpaAcceptLanguage = a}); @@ -88,9 +88,9 @@ (x .?> "ProvisioningArtifactDetails" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable ListProvisioningArtifacts+instance Hashable ListProvisioningArtifacts where -instance NFData ListProvisioningArtifacts+instance NFData ListProvisioningArtifacts where instance ToHeaders ListProvisioningArtifacts where toHeaders@@ -117,11 +117,12 @@ -- | /See:/ 'listProvisioningArtifactsResponse' smart constructor. data ListProvisioningArtifactsResponse = ListProvisioningArtifactsResponse'- { _lrsNextPageToken :: !(Maybe Text)- , _lrsProvisioningArtifactDetails :: !(Maybe [ProvisioningArtifactDetail])- , _lrsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lrsNextPageToken :: !(Maybe Text)+ , _lrsProvisioningArtifactDetails :: !(Maybe [ProvisioningArtifactDetail])+ , _lrsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListProvisioningArtifactsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -135,12 +136,13 @@ :: Int -- ^ 'lrsResponseStatus' -> ListProvisioningArtifactsResponse listProvisioningArtifactsResponse pResponseStatus_ =- ListProvisioningArtifactsResponse'- { _lrsNextPageToken = Nothing- , _lrsProvisioningArtifactDetails = Nothing- , _lrsResponseStatus = pResponseStatus_- }+ ListProvisioningArtifactsResponse'+ { _lrsNextPageToken = Nothing+ , _lrsProvisioningArtifactDetails = Nothing+ , _lrsResponseStatus = pResponseStatus_+ } + -- | The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. lrsNextPageToken :: Lens' ListProvisioningArtifactsResponse (Maybe Text) lrsNextPageToken = lens _lrsNextPageToken (\ s a -> s{_lrsNextPageToken = a});@@ -154,3 +156,4 @@ lrsResponseStatus = lens _lrsResponseStatus (\ s a -> s{_lrsResponseStatus = a}); instance NFData ListProvisioningArtifactsResponse+ where
gen/Network/AWS/ServiceCatalog/ListRecordHistory.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.ListRecordHistory--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -42,29 +42,30 @@ , lrhrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'listRecordHistory' smart constructor. data ListRecordHistory = ListRecordHistory'- { _lrhSearchFilter :: !(Maybe ListRecordHistorySearchFilter)- , _lrhAcceptLanguage :: !(Maybe Text)- , _lrhAccessLevelFilter :: !(Maybe AccessLevelFilter)- , _lrhPageToken :: !(Maybe Text)- , _lrhPageSize :: !(Maybe Nat)- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lrhSearchFilter :: !(Maybe ListRecordHistorySearchFilter)+ , _lrhAcceptLanguage :: !(Maybe Text)+ , _lrhAccessLevelFilter :: !(Maybe AccessLevelFilter)+ , _lrhPageToken :: !(Maybe Text)+ , _lrhPageSize :: !(Maybe Nat)+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListRecordHistory' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- * 'lrhSearchFilter' - The filter to limit search results. ----- * 'lrhAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'lrhAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'lrhAccessLevelFilter' - The access level for obtaining results. If left unspecified, @User@ level access is used. --@@ -74,19 +75,20 @@ listRecordHistory :: ListRecordHistory listRecordHistory =- ListRecordHistory'- { _lrhSearchFilter = Nothing- , _lrhAcceptLanguage = Nothing- , _lrhAccessLevelFilter = Nothing- , _lrhPageToken = Nothing- , _lrhPageSize = Nothing- }+ ListRecordHistory'+ { _lrhSearchFilter = Nothing+ , _lrhAcceptLanguage = Nothing+ , _lrhAccessLevelFilter = Nothing+ , _lrhPageToken = Nothing+ , _lrhPageSize = Nothing+ } + -- | The filter to limit search results. lrhSearchFilter :: Lens' ListRecordHistory (Maybe ListRecordHistorySearchFilter) lrhSearchFilter = lens _lrhSearchFilter (\ s a -> s{_lrhSearchFilter = a}); --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese lrhAcceptLanguage :: Lens' ListRecordHistory (Maybe Text) lrhAcceptLanguage = lens _lrhAcceptLanguage (\ s a -> s{_lrhAcceptLanguage = a}); @@ -113,9 +115,9 @@ (x .?> "RecordDetails" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable ListRecordHistory+instance Hashable ListRecordHistory where -instance NFData ListRecordHistory+instance NFData ListRecordHistory where instance ToHeaders ListRecordHistory where toHeaders@@ -145,11 +147,12 @@ -- | /See:/ 'listRecordHistoryResponse' smart constructor. data ListRecordHistoryResponse = ListRecordHistoryResponse'- { _lrhrsNextPageToken :: !(Maybe Text)- , _lrhrsRecordDetails :: !(Maybe [RecordDetail])- , _lrhrsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _lrhrsNextPageToken :: !(Maybe Text)+ , _lrhrsRecordDetails :: !(Maybe [RecordDetail])+ , _lrhrsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ListRecordHistoryResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -163,12 +166,13 @@ :: Int -- ^ 'lrhrsResponseStatus' -> ListRecordHistoryResponse listRecordHistoryResponse pResponseStatus_ =- ListRecordHistoryResponse'- { _lrhrsNextPageToken = Nothing- , _lrhrsRecordDetails = Nothing- , _lrhrsResponseStatus = pResponseStatus_- }+ ListRecordHistoryResponse'+ { _lrhrsNextPageToken = Nothing+ , _lrhrsRecordDetails = Nothing+ , _lrhrsResponseStatus = pResponseStatus_+ } + -- | The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. lrhrsNextPageToken :: Lens' ListRecordHistoryResponse (Maybe Text) lrhrsNextPageToken = lens _lrhrsNextPageToken (\ s a -> s{_lrhrsNextPageToken = a});@@ -181,4 +185,4 @@ lrhrsResponseStatus :: Lens' ListRecordHistoryResponse Int lrhrsResponseStatus = lens _lrhrsResponseStatus (\ s a -> s{_lrhrsResponseStatus = a}); -instance NFData ListRecordHistoryResponse+instance NFData ListRecordHistoryResponse where
+ gen/Network/AWS/ServiceCatalog/ListResourcesForTagOption.hs view
@@ -0,0 +1,181 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.ServiceCatalog.ListResourcesForTagOption+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists resources associated with a TagOption.+--+--+module Network.AWS.ServiceCatalog.ListResourcesForTagOption+ (+ -- * Creating a Request+ listResourcesForTagOption+ , ListResourcesForTagOption+ -- * Request Lenses+ , lrftoResourceType+ , lrftoPageToken+ , lrftoPageSize+ , lrftoTagOptionId++ -- * Destructuring the Response+ , listResourcesForTagOptionResponse+ , ListResourcesForTagOptionResponse+ -- * Response Lenses+ , lrftorsResourceDetails+ , lrftorsPageToken+ , lrftorsResponseStatus+ ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product++-- | /See:/ 'listResourcesForTagOption' smart constructor.+data ListResourcesForTagOption = ListResourcesForTagOption'+ { _lrftoResourceType :: !(Maybe Text)+ , _lrftoPageToken :: !(Maybe Text)+ , _lrftoPageSize :: !(Maybe Nat)+ , _lrftoTagOptionId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ListResourcesForTagOption' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'lrftoResourceType' - Resource type.+--+-- * 'lrftoPageToken' - The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ .+--+-- * 'lrftoPageSize' - The maximum number of items to return in the results. If more results exist than fit in the specified @PageSize@ , the value of @NextPageToken@ in the response is non-null.+--+-- * 'lrftoTagOptionId' - Identifier of the TagOption.+listResourcesForTagOption+ :: Text -- ^ 'lrftoTagOptionId'+ -> ListResourcesForTagOption+listResourcesForTagOption pTagOptionId_ =+ ListResourcesForTagOption'+ { _lrftoResourceType = Nothing+ , _lrftoPageToken = Nothing+ , _lrftoPageSize = Nothing+ , _lrftoTagOptionId = pTagOptionId_+ }+++-- | Resource type.+lrftoResourceType :: Lens' ListResourcesForTagOption (Maybe Text)+lrftoResourceType = lens _lrftoResourceType (\ s a -> s{_lrftoResourceType = a});++-- | The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ .+lrftoPageToken :: Lens' ListResourcesForTagOption (Maybe Text)+lrftoPageToken = lens _lrftoPageToken (\ s a -> s{_lrftoPageToken = a});++-- | The maximum number of items to return in the results. If more results exist than fit in the specified @PageSize@ , the value of @NextPageToken@ in the response is non-null.+lrftoPageSize :: Lens' ListResourcesForTagOption (Maybe Natural)+lrftoPageSize = lens _lrftoPageSize (\ s a -> s{_lrftoPageSize = a}) . mapping _Nat;++-- | Identifier of the TagOption.+lrftoTagOptionId :: Lens' ListResourcesForTagOption Text+lrftoTagOptionId = lens _lrftoTagOptionId (\ s a -> s{_lrftoTagOptionId = a});++instance AWSRequest ListResourcesForTagOption where+ type Rs ListResourcesForTagOption =+ ListResourcesForTagOptionResponse+ request = postJSON serviceCatalog+ response+ = receiveJSON+ (\ s h x ->+ ListResourcesForTagOptionResponse' <$>+ (x .?> "ResourceDetails" .!@ mempty) <*>+ (x .?> "PageToken")+ <*> (pure (fromEnum s)))++instance Hashable ListResourcesForTagOption where++instance NFData ListResourcesForTagOption where++instance ToHeaders ListResourcesForTagOption where+ toHeaders+ = const+ (mconcat+ ["X-Amz-Target" =#+ ("AWS242ServiceCatalogService.ListResourcesForTagOption"+ :: ByteString),+ "Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON ListResourcesForTagOption where+ toJSON ListResourcesForTagOption'{..}+ = object+ (catMaybes+ [("ResourceType" .=) <$> _lrftoResourceType,+ ("PageToken" .=) <$> _lrftoPageToken,+ ("PageSize" .=) <$> _lrftoPageSize,+ Just ("TagOptionId" .= _lrftoTagOptionId)])++instance ToPath ListResourcesForTagOption where+ toPath = const "/"++instance ToQuery ListResourcesForTagOption where+ toQuery = const mempty++-- | /See:/ 'listResourcesForTagOptionResponse' smart constructor.+data ListResourcesForTagOptionResponse = ListResourcesForTagOptionResponse'+ { _lrftorsResourceDetails :: !(Maybe [ResourceDetail])+ , _lrftorsPageToken :: !(Maybe Text)+ , _lrftorsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ListResourcesForTagOptionResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'lrftorsResourceDetails' - The resulting detailed resource information.+--+-- * 'lrftorsPageToken' - The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ .+--+-- * 'lrftorsResponseStatus' - -- | The response status code.+listResourcesForTagOptionResponse+ :: Int -- ^ 'lrftorsResponseStatus'+ -> ListResourcesForTagOptionResponse+listResourcesForTagOptionResponse pResponseStatus_ =+ ListResourcesForTagOptionResponse'+ { _lrftorsResourceDetails = Nothing+ , _lrftorsPageToken = Nothing+ , _lrftorsResponseStatus = pResponseStatus_+ }+++-- | The resulting detailed resource information.+lrftorsResourceDetails :: Lens' ListResourcesForTagOptionResponse [ResourceDetail]+lrftorsResourceDetails = lens _lrftorsResourceDetails (\ s a -> s{_lrftorsResourceDetails = a}) . _Default . _Coerce;++-- | The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ .+lrftorsPageToken :: Lens' ListResourcesForTagOptionResponse (Maybe Text)+lrftorsPageToken = lens _lrftorsPageToken (\ s a -> s{_lrftorsPageToken = a});++-- | -- | The response status code.+lrftorsResponseStatus :: Lens' ListResourcesForTagOptionResponse Int+lrftorsResponseStatus = lens _lrftorsResponseStatus (\ s a -> s{_lrftorsResponseStatus = a});++instance NFData ListResourcesForTagOptionResponse+ where
+ gen/Network/AWS/ServiceCatalog/ListTagOptions.hs view
@@ -0,0 +1,165 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.ServiceCatalog.ListTagOptions+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Lists detailed TagOptions information.+--+--+module Network.AWS.ServiceCatalog.ListTagOptions+ (+ -- * Creating a Request+ listTagOptions+ , ListTagOptions+ -- * Request Lenses+ , ltoFilters+ , ltoPageToken+ , ltoPageSize++ -- * Destructuring the Response+ , listTagOptionsResponse+ , ListTagOptionsResponse+ -- * Response Lenses+ , ltorsPageToken+ , ltorsTagOptionDetails+ , ltorsResponseStatus+ ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product++-- | /See:/ 'listTagOptions' smart constructor.+data ListTagOptions = ListTagOptions'+ { _ltoFilters :: !(Maybe ListTagOptionsFilters)+ , _ltoPageToken :: !(Maybe Text)+ , _ltoPageSize :: !(Maybe Nat)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ListTagOptions' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ltoFilters' - The list of filters with which to limit search results. If no search filters are specified, the output is all TagOptions.+--+-- * 'ltoPageToken' - The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ .+--+-- * 'ltoPageSize' - The maximum number of items to return in the results. If more results exist than fit in the specified @PageSize@ , the value of @NextPageToken@ in the response is non-null.+listTagOptions+ :: ListTagOptions+listTagOptions =+ ListTagOptions'+ {_ltoFilters = Nothing, _ltoPageToken = Nothing, _ltoPageSize = Nothing}+++-- | The list of filters with which to limit search results. If no search filters are specified, the output is all TagOptions.+ltoFilters :: Lens' ListTagOptions (Maybe ListTagOptionsFilters)+ltoFilters = lens _ltoFilters (\ s a -> s{_ltoFilters = a});++-- | The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ .+ltoPageToken :: Lens' ListTagOptions (Maybe Text)+ltoPageToken = lens _ltoPageToken (\ s a -> s{_ltoPageToken = a});++-- | The maximum number of items to return in the results. If more results exist than fit in the specified @PageSize@ , the value of @NextPageToken@ in the response is non-null.+ltoPageSize :: Lens' ListTagOptions (Maybe Natural)+ltoPageSize = lens _ltoPageSize (\ s a -> s{_ltoPageSize = a}) . mapping _Nat;++instance AWSRequest ListTagOptions where+ type Rs ListTagOptions = ListTagOptionsResponse+ request = postJSON serviceCatalog+ response+ = receiveJSON+ (\ s h x ->+ ListTagOptionsResponse' <$>+ (x .?> "PageToken") <*>+ (x .?> "TagOptionDetails" .!@ mempty)+ <*> (pure (fromEnum s)))++instance Hashable ListTagOptions where++instance NFData ListTagOptions where++instance ToHeaders ListTagOptions where+ toHeaders+ = const+ (mconcat+ ["X-Amz-Target" =#+ ("AWS242ServiceCatalogService.ListTagOptions" ::+ ByteString),+ "Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON ListTagOptions where+ toJSON ListTagOptions'{..}+ = object+ (catMaybes+ [("Filters" .=) <$> _ltoFilters,+ ("PageToken" .=) <$> _ltoPageToken,+ ("PageSize" .=) <$> _ltoPageSize])++instance ToPath ListTagOptions where+ toPath = const "/"++instance ToQuery ListTagOptions where+ toQuery = const mempty++-- | /See:/ 'listTagOptionsResponse' smart constructor.+data ListTagOptionsResponse = ListTagOptionsResponse'+ { _ltorsPageToken :: !(Maybe Text)+ , _ltorsTagOptionDetails :: !(Maybe [TagOptionDetail])+ , _ltorsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ListTagOptionsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ltorsPageToken' - The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ .+--+-- * 'ltorsTagOptionDetails' - The resulting detailed TagOption information.+--+-- * 'ltorsResponseStatus' - -- | The response status code.+listTagOptionsResponse+ :: Int -- ^ 'ltorsResponseStatus'+ -> ListTagOptionsResponse+listTagOptionsResponse pResponseStatus_ =+ ListTagOptionsResponse'+ { _ltorsPageToken = Nothing+ , _ltorsTagOptionDetails = Nothing+ , _ltorsResponseStatus = pResponseStatus_+ }+++-- | The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ .+ltorsPageToken :: Lens' ListTagOptionsResponse (Maybe Text)+ltorsPageToken = lens _ltorsPageToken (\ s a -> s{_ltorsPageToken = a});++-- | The resulting detailed TagOption information.+ltorsTagOptionDetails :: Lens' ListTagOptionsResponse [TagOptionDetail]+ltorsTagOptionDetails = lens _ltorsTagOptionDetails (\ s a -> s{_ltorsTagOptionDetails = a}) . _Default . _Coerce;++-- | -- | The response status code.+ltorsResponseStatus :: Lens' ListTagOptionsResponse Int+ltorsResponseStatus = lens _ltorsResponseStatus (\ s a -> s{_ltorsResponseStatus = a});++instance NFData ListTagOptionsResponse where
gen/Network/AWS/ServiceCatalog/ProvisionProduct.hs view
@@ -12,16 +12,16 @@ -- | -- Module : Network.AWS.ServiceCatalog.ProvisionProduct--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Requests a /Provision/ of a specified product. A /ProvisionedProduct/ is a resourced instance for a product. For example, provisioning a CloudFormation-template-backed product results in launching a CloudFormation stack and all the underlying resources that come with it.+-- Requests a /provision/ of a specified product. A /provisioned product/ is a resourced instance for a product. For example, provisioning a CloudFormation-template-backed product results in launching a CloudFormation stack and all the underlying resources that come with it. -- ----- You can check the status of this request using the 'DescribeRecord' operation.+-- You can check the status of this request using the 'DescribeRecord' operation. The error "Parameter validation failed: Missing required parameter in Tags[/N/ ]:/Value/ " indicates that your request contains a tag which has a tag key but no corresponding tag value (value is empty or null). Your call may have included values returned from a @DescribeProvisioningParameters@ call that resulted in a TagOption key with an empty list. This happens when TagOption keys are in conflict. For more information, see 'DescribeProvisioningParameters' . -- module Network.AWS.ServiceCatalog.ProvisionProduct (@@ -47,33 +47,34 @@ , pprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'provisionProduct' smart constructor. data ProvisionProduct = ProvisionProduct'- { _ppNotificationARNs :: !(Maybe [Text])- , _ppAcceptLanguage :: !(Maybe Text)- , _ppPathId :: !(Maybe Text)- , _ppProvisioningParameters :: !(Maybe [ProvisioningParameter])- , _ppTags :: !(Maybe [Tag])- , _ppProductId :: !Text- , _ppProvisioningArtifactId :: !Text- , _ppProvisionedProductName :: !Text- , _ppProvisionToken :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ppNotificationARNs :: !(Maybe [Text])+ , _ppAcceptLanguage :: !(Maybe Text)+ , _ppPathId :: !(Maybe Text)+ , _ppProvisioningParameters :: !(Maybe [ProvisioningParameter])+ , _ppTags :: !(Maybe [Tag])+ , _ppProductId :: !Text+ , _ppProvisioningArtifactId :: !Text+ , _ppProvisionedProductName :: !Text+ , _ppProvisionToken :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProvisionProduct' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- * 'ppNotificationARNs' - Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events. ----- * 'ppAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'ppAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'ppPathId' - The identifier of the path for this product's provisioning. This value is optional if the product has a default path, and is required if there is more than one path for the specified product. --@@ -83,7 +84,7 @@ -- -- * 'ppProductId' - The product identifier. ----- * 'ppProvisioningArtifactId' - The provisioning artifact identifier for this product.+-- * 'ppProvisioningArtifactId' - The provisioning artifact identifier for this product. This is sometimes referred to as the product version. -- -- * 'ppProvisionedProductName' - A user-friendly name to identify the ProvisionedProduct object. This value must be unique for the AWS account and cannot be updated after the product is provisioned. --@@ -95,23 +96,24 @@ -> Text -- ^ 'ppProvisionToken' -> ProvisionProduct provisionProduct pProductId_ pProvisioningArtifactId_ pProvisionedProductName_ pProvisionToken_ =- ProvisionProduct'- { _ppNotificationARNs = Nothing- , _ppAcceptLanguage = Nothing- , _ppPathId = Nothing- , _ppProvisioningParameters = Nothing- , _ppTags = Nothing- , _ppProductId = pProductId_- , _ppProvisioningArtifactId = pProvisioningArtifactId_- , _ppProvisionedProductName = pProvisionedProductName_- , _ppProvisionToken = pProvisionToken_- }+ ProvisionProduct'+ { _ppNotificationARNs = Nothing+ , _ppAcceptLanguage = Nothing+ , _ppPathId = Nothing+ , _ppProvisioningParameters = Nothing+ , _ppTags = Nothing+ , _ppProductId = pProductId_+ , _ppProvisioningArtifactId = pProvisioningArtifactId_+ , _ppProvisionedProductName = pProvisionedProductName_+ , _ppProvisionToken = pProvisionToken_+ } + -- | Passed to CloudFormation. The SNS topic ARNs to which to publish stack-related events. ppNotificationARNs :: Lens' ProvisionProduct [Text] ppNotificationARNs = lens _ppNotificationARNs (\ s a -> s{_ppNotificationARNs = a}) . _Default . _Coerce; --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese ppAcceptLanguage :: Lens' ProvisionProduct (Maybe Text) ppAcceptLanguage = lens _ppAcceptLanguage (\ s a -> s{_ppAcceptLanguage = a}); @@ -131,7 +133,7 @@ ppProductId :: Lens' ProvisionProduct Text ppProductId = lens _ppProductId (\ s a -> s{_ppProductId = a}); --- | The provisioning artifact identifier for this product.+-- | The provisioning artifact identifier for this product. This is sometimes referred to as the product version. ppProvisioningArtifactId :: Lens' ProvisionProduct Text ppProvisioningArtifactId = lens _ppProvisioningArtifactId (\ s a -> s{_ppProvisioningArtifactId = a}); @@ -152,9 +154,9 @@ ProvisionProductResponse' <$> (x .?> "RecordDetail") <*> (pure (fromEnum s))) -instance Hashable ProvisionProduct+instance Hashable ProvisionProduct where -instance NFData ProvisionProduct+instance NFData ProvisionProduct where instance ToHeaders ProvisionProduct where toHeaders@@ -193,10 +195,11 @@ -- | /See:/ 'provisionProductResponse' smart constructor. data ProvisionProductResponse = ProvisionProductResponse'- { _pprsRecordDetail :: !(Maybe RecordDetail)- , _pprsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _pprsRecordDetail :: !(Maybe RecordDetail)+ , _pprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ProvisionProductResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -208,11 +211,10 @@ :: Int -- ^ 'pprsResponseStatus' -> ProvisionProductResponse provisionProductResponse pResponseStatus_ =- ProvisionProductResponse'- { _pprsRecordDetail = Nothing- , _pprsResponseStatus = pResponseStatus_- }+ ProvisionProductResponse'+ {_pprsRecordDetail = Nothing, _pprsResponseStatus = pResponseStatus_} + -- | The detailed result of the 'ProvisionProduct' request, containing the inputs made to that request, the current state of the request, a pointer to the ProvisionedProduct object of the request, and a list of any errors that the request encountered. pprsRecordDetail :: Lens' ProvisionProductResponse (Maybe RecordDetail) pprsRecordDetail = lens _pprsRecordDetail (\ s a -> s{_pprsRecordDetail = a});@@ -221,4 +223,4 @@ pprsResponseStatus :: Lens' ProvisionProductResponse Int pprsResponseStatus = lens _pprsResponseStatus (\ s a -> s{_pprsResponseStatus = a}); -instance NFData ProvisionProductResponse+instance NFData ProvisionProductResponse where
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.RejectPortfolioShare--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -37,36 +37,36 @@ , rpsrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'rejectPortfolioShare' smart constructor. data RejectPortfolioShare = RejectPortfolioShare'- { _rpsAcceptLanguage :: !(Maybe Text)- , _rpsPortfolioId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _rpsAcceptLanguage :: !(Maybe Text)+ , _rpsPortfolioId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'RejectPortfolioShare' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rpsAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'rpsAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'rpsPortfolioId' - The portfolio identifier. rejectPortfolioShare :: Text -- ^ 'rpsPortfolioId' -> RejectPortfolioShare rejectPortfolioShare pPortfolioId_ =- RejectPortfolioShare'- { _rpsAcceptLanguage = Nothing- , _rpsPortfolioId = pPortfolioId_- }+ RejectPortfolioShare'+ {_rpsAcceptLanguage = Nothing, _rpsPortfolioId = pPortfolioId_} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese rpsAcceptLanguage :: Lens' RejectPortfolioShare (Maybe Text) rpsAcceptLanguage = lens _rpsAcceptLanguage (\ s a -> s{_rpsAcceptLanguage = a}); @@ -84,9 +84,9 @@ RejectPortfolioShareResponse' <$> (pure (fromEnum s))) -instance Hashable RejectPortfolioShare+instance Hashable RejectPortfolioShare where -instance NFData RejectPortfolioShare+instance NFData RejectPortfolioShare where instance ToHeaders RejectPortfolioShare where toHeaders@@ -113,9 +113,10 @@ -- | /See:/ 'rejectPortfolioShareResponse' smart constructor. newtype RejectPortfolioShareResponse = RejectPortfolioShareResponse'- { _rpsrsResponseStatus :: Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _rpsrsResponseStatus :: Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'RejectPortfolioShareResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -125,12 +126,11 @@ :: Int -- ^ 'rpsrsResponseStatus' -> RejectPortfolioShareResponse rejectPortfolioShareResponse pResponseStatus_ =- RejectPortfolioShareResponse'- { _rpsrsResponseStatus = pResponseStatus_- }+ RejectPortfolioShareResponse' {_rpsrsResponseStatus = pResponseStatus_} + -- | -- | The response status code. rpsrsResponseStatus :: Lens' RejectPortfolioShareResponse Int rpsrsResponseStatus = lens _rpsrsResponseStatus (\ s a -> s{_rpsrsResponseStatus = a}); -instance NFData RejectPortfolioShareResponse+instance NFData RejectPortfolioShareResponse where
gen/Network/AWS/ServiceCatalog/ScanProvisionedProducts.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.ScanProvisionedProducts--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -41,26 +41,27 @@ , spprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'scanProvisionedProducts' smart constructor. data ScanProvisionedProducts = ScanProvisionedProducts'- { _sppAcceptLanguage :: !(Maybe Text)- , _sppAccessLevelFilter :: !(Maybe AccessLevelFilter)- , _sppPageToken :: !(Maybe Text)- , _sppPageSize :: !(Maybe Nat)- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _sppAcceptLanguage :: !(Maybe Text)+ , _sppAccessLevelFilter :: !(Maybe AccessLevelFilter)+ , _sppPageToken :: !(Maybe Text)+ , _sppPageSize :: !(Maybe Nat)+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ScanProvisionedProducts' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'sppAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'sppAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'sppAccessLevelFilter' - The access level for obtaining results. If left unspecified, @User@ level access is used. --@@ -70,14 +71,15 @@ scanProvisionedProducts :: ScanProvisionedProducts scanProvisionedProducts =- ScanProvisionedProducts'- { _sppAcceptLanguage = Nothing- , _sppAccessLevelFilter = Nothing- , _sppPageToken = Nothing- , _sppPageSize = Nothing- }+ ScanProvisionedProducts'+ { _sppAcceptLanguage = Nothing+ , _sppAccessLevelFilter = Nothing+ , _sppPageToken = Nothing+ , _sppPageSize = Nothing+ } --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese sppAcceptLanguage :: Lens' ScanProvisionedProducts (Maybe Text) sppAcceptLanguage = lens _sppAcceptLanguage (\ s a -> s{_sppAcceptLanguage = a}); @@ -105,9 +107,9 @@ (x .?> "ProvisionedProducts" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable ScanProvisionedProducts+instance Hashable ScanProvisionedProducts where -instance NFData ScanProvisionedProducts+instance NFData ScanProvisionedProducts where instance ToHeaders ScanProvisionedProducts where toHeaders@@ -136,11 +138,12 @@ -- | /See:/ 'scanProvisionedProductsResponse' smart constructor. data ScanProvisionedProductsResponse = ScanProvisionedProductsResponse'- { _spprsNextPageToken :: !(Maybe Text)- , _spprsProvisionedProducts :: !(Maybe [ProvisionedProductDetail])- , _spprsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _spprsNextPageToken :: !(Maybe Text)+ , _spprsProvisionedProducts :: !(Maybe [ProvisionedProductDetail])+ , _spprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'ScanProvisionedProductsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -154,12 +157,13 @@ :: Int -- ^ 'spprsResponseStatus' -> ScanProvisionedProductsResponse scanProvisionedProductsResponse pResponseStatus_ =- ScanProvisionedProductsResponse'- { _spprsNextPageToken = Nothing- , _spprsProvisionedProducts = Nothing- , _spprsResponseStatus = pResponseStatus_- }+ ScanProvisionedProductsResponse'+ { _spprsNextPageToken = Nothing+ , _spprsProvisionedProducts = Nothing+ , _spprsResponseStatus = pResponseStatus_+ } + -- | The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. spprsNextPageToken :: Lens' ScanProvisionedProductsResponse (Maybe Text) spprsNextPageToken = lens _spprsNextPageToken (\ s a -> s{_spprsNextPageToken = a});@@ -172,4 +176,4 @@ spprsResponseStatus :: Lens' ScanProvisionedProductsResponse Int spprsResponseStatus = lens _spprsResponseStatus (\ s a -> s{_spprsResponseStatus = a}); -instance NFData ScanProvisionedProductsResponse+instance NFData ScanProvisionedProductsResponse where
gen/Network/AWS/ServiceCatalog/SearchProducts.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.SearchProducts--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -46,23 +46,24 @@ , sprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'searchProducts' smart constructor. data SearchProducts = SearchProducts'- { _spFilters :: !(Maybe (Map ProductViewFilterBy [Text]))- , _spSortOrder :: !(Maybe SortOrder)- , _spAcceptLanguage :: !(Maybe Text)- , _spPageToken :: !(Maybe Text)- , _spPageSize :: !(Maybe Nat)- , _spSortBy :: !(Maybe ProductViewSortBy)- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _spFilters :: !(Maybe (Map ProductViewFilterBy [Text]))+ , _spSortOrder :: !(Maybe SortOrder)+ , _spAcceptLanguage :: !(Maybe Text)+ , _spPageToken :: !(Maybe Text)+ , _spPageSize :: !(Maybe Nat)+ , _spSortBy :: !(Maybe ProductViewSortBy)+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SearchProducts' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -71,7 +72,7 @@ -- -- * 'spSortOrder' - The sort order specifier. If no value is specified, results are not sorted. ----- * 'spAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'spAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'spPageToken' - The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ . --@@ -81,15 +82,16 @@ searchProducts :: SearchProducts searchProducts =- SearchProducts'- { _spFilters = Nothing- , _spSortOrder = Nothing- , _spAcceptLanguage = Nothing- , _spPageToken = Nothing- , _spPageSize = Nothing- , _spSortBy = Nothing- }+ SearchProducts'+ { _spFilters = Nothing+ , _spSortOrder = Nothing+ , _spAcceptLanguage = Nothing+ , _spPageToken = Nothing+ , _spPageSize = Nothing+ , _spSortBy = Nothing+ } + -- | The list of filters with which to limit search results. If no search filters are specified, the output is all the products to which the calling user has access. spFilters :: Lens' SearchProducts (HashMap ProductViewFilterBy [Text]) spFilters = lens _spFilters (\ s a -> s{_spFilters = a}) . _Default . _Map;@@ -98,7 +100,7 @@ spSortOrder :: Lens' SearchProducts (Maybe SortOrder) spSortOrder = lens _spSortOrder (\ s a -> s{_spSortOrder = a}); --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese spAcceptLanguage :: Lens' SearchProducts (Maybe Text) spAcceptLanguage = lens _spAcceptLanguage (\ s a -> s{_spAcceptLanguage = a}); @@ -126,9 +128,9 @@ <*> (x .?> "ProductViewSummaries" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable SearchProducts+instance Hashable SearchProducts where -instance NFData SearchProducts+instance NFData SearchProducts where instance ToHeaders SearchProducts where toHeaders@@ -159,12 +161,13 @@ -- | /See:/ 'searchProductsResponse' smart constructor. data SearchProductsResponse = SearchProductsResponse'- { _sprsNextPageToken :: !(Maybe Text)- , _sprsProductViewAggregations :: !(Maybe (Map Text [ProductViewAggregationValue]))- , _sprsProductViewSummaries :: !(Maybe [ProductViewSummary])- , _sprsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _sprsNextPageToken :: !(Maybe Text)+ , _sprsProductViewAggregations :: !(Maybe (Map Text [ProductViewAggregationValue]))+ , _sprsProductViewSummaries :: !(Maybe [ProductViewSummary])+ , _sprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SearchProductsResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -180,13 +183,14 @@ :: Int -- ^ 'sprsResponseStatus' -> SearchProductsResponse searchProductsResponse pResponseStatus_ =- SearchProductsResponse'- { _sprsNextPageToken = Nothing- , _sprsProductViewAggregations = Nothing- , _sprsProductViewSummaries = Nothing- , _sprsResponseStatus = pResponseStatus_- }+ SearchProductsResponse'+ { _sprsNextPageToken = Nothing+ , _sprsProductViewAggregations = Nothing+ , _sprsProductViewSummaries = Nothing+ , _sprsResponseStatus = pResponseStatus_+ } + -- | The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. sprsNextPageToken :: Lens' SearchProductsResponse (Maybe Text) sprsNextPageToken = lens _sprsNextPageToken (\ s a -> s{_sprsNextPageToken = a});@@ -203,4 +207,4 @@ sprsResponseStatus :: Lens' SearchProductsResponse Int sprsResponseStatus = lens _sprsResponseStatus (\ s a -> s{_sprsResponseStatus = a}); -instance NFData SearchProductsResponse+instance NFData SearchProductsResponse where
gen/Network/AWS/ServiceCatalog/SearchProductsAsAdmin.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.SearchProductsAsAdmin--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -45,25 +45,26 @@ , spaarsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'searchProductsAsAdmin' smart constructor. data SearchProductsAsAdmin = SearchProductsAsAdmin'- { _spaaPortfolioId :: !(Maybe Text)- , _spaaFilters :: !(Maybe (Map ProductViewFilterBy [Text]))- , _spaaSortOrder :: !(Maybe SortOrder)- , _spaaAcceptLanguage :: !(Maybe Text)- , _spaaPageToken :: !(Maybe Text)- , _spaaPageSize :: !(Maybe Nat)- , _spaaProductSource :: !(Maybe ProductSource)- , _spaaSortBy :: !(Maybe ProductViewSortBy)- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _spaaPortfolioId :: !(Maybe Text)+ , _spaaFilters :: !(Maybe (Map ProductViewFilterBy [Text]))+ , _spaaSortOrder :: !(Maybe SortOrder)+ , _spaaAcceptLanguage :: !(Maybe Text)+ , _spaaPageToken :: !(Maybe Text)+ , _spaaPageSize :: !(Maybe Nat)+ , _spaaProductSource :: !(Maybe ProductSource)+ , _spaaSortBy :: !(Maybe ProductViewSortBy)+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SearchProductsAsAdmin' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -74,7 +75,7 @@ -- -- * 'spaaSortOrder' - The sort order specifier. If no value is specified, results are not sorted. ----- * 'spaaAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'spaaAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'spaaPageToken' - The page token of the first page retrieved. If null, this retrieves the first page of size @PageSize@ . --@@ -86,17 +87,18 @@ searchProductsAsAdmin :: SearchProductsAsAdmin searchProductsAsAdmin =- SearchProductsAsAdmin'- { _spaaPortfolioId = Nothing- , _spaaFilters = Nothing- , _spaaSortOrder = Nothing- , _spaaAcceptLanguage = Nothing- , _spaaPageToken = Nothing- , _spaaPageSize = Nothing- , _spaaProductSource = Nothing- , _spaaSortBy = Nothing- }+ SearchProductsAsAdmin'+ { _spaaPortfolioId = Nothing+ , _spaaFilters = Nothing+ , _spaaSortOrder = Nothing+ , _spaaAcceptLanguage = Nothing+ , _spaaPageToken = Nothing+ , _spaaPageSize = Nothing+ , _spaaProductSource = Nothing+ , _spaaSortBy = Nothing+ } + -- | The portfolio identifier. spaaPortfolioId :: Lens' SearchProductsAsAdmin (Maybe Text) spaaPortfolioId = lens _spaaPortfolioId (\ s a -> s{_spaaPortfolioId = a});@@ -109,7 +111,7 @@ spaaSortOrder :: Lens' SearchProductsAsAdmin (Maybe SortOrder) spaaSortOrder = lens _spaaSortOrder (\ s a -> s{_spaaSortOrder = a}); --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese spaaAcceptLanguage :: Lens' SearchProductsAsAdmin (Maybe Text) spaaAcceptLanguage = lens _spaaAcceptLanguage (\ s a -> s{_spaaAcceptLanguage = a}); @@ -141,9 +143,9 @@ (x .?> "ProductViewDetails" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable SearchProductsAsAdmin+instance Hashable SearchProductsAsAdmin where -instance NFData SearchProductsAsAdmin+instance NFData SearchProductsAsAdmin where instance ToHeaders SearchProductsAsAdmin where toHeaders@@ -176,11 +178,12 @@ -- | /See:/ 'searchProductsAsAdminResponse' smart constructor. data SearchProductsAsAdminResponse = SearchProductsAsAdminResponse'- { _spaarsNextPageToken :: !(Maybe Text)- , _spaarsProductViewDetails :: !(Maybe [ProductViewDetail])- , _spaarsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _spaarsNextPageToken :: !(Maybe Text)+ , _spaarsProductViewDetails :: !(Maybe [ProductViewDetail])+ , _spaarsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'SearchProductsAsAdminResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -194,12 +197,13 @@ :: Int -- ^ 'spaarsResponseStatus' -> SearchProductsAsAdminResponse searchProductsAsAdminResponse pResponseStatus_ =- SearchProductsAsAdminResponse'- { _spaarsNextPageToken = Nothing- , _spaarsProductViewDetails = Nothing- , _spaarsResponseStatus = pResponseStatus_- }+ SearchProductsAsAdminResponse'+ { _spaarsNextPageToken = Nothing+ , _spaarsProductViewDetails = Nothing+ , _spaarsResponseStatus = pResponseStatus_+ } + -- | The page token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null. spaarsNextPageToken :: Lens' SearchProductsAsAdminResponse (Maybe Text) spaarsNextPageToken = lens _spaarsNextPageToken (\ s a -> s{_spaarsNextPageToken = a});@@ -212,4 +216,4 @@ spaarsResponseStatus :: Lens' SearchProductsAsAdminResponse Int spaarsResponseStatus = lens _spaarsResponseStatus (\ s a -> s{_spaarsResponseStatus = a}); -instance NFData SearchProductsAsAdminResponse+instance NFData SearchProductsAsAdminResponse where
gen/Network/AWS/ServiceCatalog/TerminateProvisionedProduct.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.TerminateProvisionedProduct--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -45,52 +45,54 @@ , tpprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'terminateProvisionedProduct' smart constructor. data TerminateProvisionedProduct = TerminateProvisionedProduct'- { _tppProvisionedProductName :: !(Maybe Text)- , _tppAcceptLanguage :: !(Maybe Text)- , _tppIgnoreErrors :: !(Maybe Bool)- , _tppProvisionedProductId :: !(Maybe Text)- , _tppTerminateToken :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _tppProvisionedProductName :: !(Maybe Text)+ , _tppAcceptLanguage :: !(Maybe Text)+ , _tppIgnoreErrors :: !(Maybe Bool)+ , _tppProvisionedProductId :: !(Maybe Text)+ , _tppTerminateToken :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'TerminateProvisionedProduct' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tppProvisionedProductName' - The name of the ProvisionedProduct object to terminate. You must specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both.+-- * 'tppProvisionedProductName' - The name of the ProvisionedProduct object to terminate. Specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both. ----- * 'tppAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'tppAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'tppIgnoreErrors' - If set to true, AWS Service Catalog stops managing the specified ProvisionedProduct object even if it cannot delete the underlying resources. ----- * 'tppProvisionedProductId' - The identifier of the ProvisionedProduct object to terminate. You must specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both.+-- * 'tppProvisionedProductId' - The identifier of the ProvisionedProduct object to terminate. Specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both. -- -- * 'tppTerminateToken' - An idempotency token that uniquely identifies the termination request. This token is only valid during the termination process. After the ProvisionedProduct object is terminated, further requests to terminate the same ProvisionedProduct object always return __ResourceNotFound__ regardless of the value of @TerminateToken@ . terminateProvisionedProduct :: Text -- ^ 'tppTerminateToken' -> TerminateProvisionedProduct terminateProvisionedProduct pTerminateToken_ =- TerminateProvisionedProduct'- { _tppProvisionedProductName = Nothing- , _tppAcceptLanguage = Nothing- , _tppIgnoreErrors = Nothing- , _tppProvisionedProductId = Nothing- , _tppTerminateToken = pTerminateToken_- }+ TerminateProvisionedProduct'+ { _tppProvisionedProductName = Nothing+ , _tppAcceptLanguage = Nothing+ , _tppIgnoreErrors = Nothing+ , _tppProvisionedProductId = Nothing+ , _tppTerminateToken = pTerminateToken_+ } --- | The name of the ProvisionedProduct object to terminate. You must specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both.++-- | The name of the ProvisionedProduct object to terminate. Specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both. tppProvisionedProductName :: Lens' TerminateProvisionedProduct (Maybe Text) tppProvisionedProductName = lens _tppProvisionedProductName (\ s a -> s{_tppProvisionedProductName = a}); --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese tppAcceptLanguage :: Lens' TerminateProvisionedProduct (Maybe Text) tppAcceptLanguage = lens _tppAcceptLanguage (\ s a -> s{_tppAcceptLanguage = a}); @@ -98,7 +100,7 @@ tppIgnoreErrors :: Lens' TerminateProvisionedProduct (Maybe Bool) tppIgnoreErrors = lens _tppIgnoreErrors (\ s a -> s{_tppIgnoreErrors = a}); --- | The identifier of the ProvisionedProduct object to terminate. You must specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both.+-- | The identifier of the ProvisionedProduct object to terminate. Specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both. tppProvisionedProductId :: Lens' TerminateProvisionedProduct (Maybe Text) tppProvisionedProductId = lens _tppProvisionedProductId (\ s a -> s{_tppProvisionedProductId = a}); @@ -116,9 +118,9 @@ TerminateProvisionedProductResponse' <$> (x .?> "RecordDetail") <*> (pure (fromEnum s))) -instance Hashable TerminateProvisionedProduct+instance Hashable TerminateProvisionedProduct where -instance NFData TerminateProvisionedProduct+instance NFData TerminateProvisionedProduct where instance ToHeaders TerminateProvisionedProduct where toHeaders@@ -150,10 +152,11 @@ -- | /See:/ 'terminateProvisionedProductResponse' smart constructor. data TerminateProvisionedProductResponse = TerminateProvisionedProductResponse'- { _tpprsRecordDetail :: !(Maybe RecordDetail)- , _tpprsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _tpprsRecordDetail :: !(Maybe RecordDetail)+ , _tpprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'TerminateProvisionedProductResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -165,11 +168,10 @@ :: Int -- ^ 'tpprsResponseStatus' -> TerminateProvisionedProductResponse terminateProvisionedProductResponse pResponseStatus_ =- TerminateProvisionedProductResponse'- { _tpprsRecordDetail = Nothing- , _tpprsResponseStatus = pResponseStatus_- }+ TerminateProvisionedProductResponse'+ {_tpprsRecordDetail = Nothing, _tpprsResponseStatus = pResponseStatus_} + -- | The detailed result of the 'TerminateProvisionedProduct' request, containing the inputs made to that request, the current state of the request, a pointer to the ProvisionedProduct object that the request is modifying, and a list of any errors that the request encountered. tpprsRecordDetail :: Lens' TerminateProvisionedProductResponse (Maybe RecordDetail) tpprsRecordDetail = lens _tpprsRecordDetail (\ s a -> s{_tpprsRecordDetail = a});@@ -179,3 +181,4 @@ tpprsResponseStatus = lens _tpprsResponseStatus (\ s a -> s{_tpprsResponseStatus = a}); instance NFData TerminateProvisionedProductResponse+ where
gen/Network/AWS/ServiceCatalog/Types.hs view
@@ -4,9 +4,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.Types--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -18,13 +18,21 @@ -- * Errors , _InvalidParametersException , _DuplicateResourceException+ , _TagOptionNotMigratedException , _ResourceNotFoundException+ , _InvalidStateException , _LimitExceededException , _ResourceInUseException -- * AccessLevelFilterKey , AccessLevelFilterKey (..) + -- * CopyOption+ , CopyOption (..)++ -- * CopyProductStatus+ , CopyProductStatus (..)+ -- * PrincipalType , PrincipalType (..) @@ -40,6 +48,12 @@ -- * ProductViewSortBy , ProductViewSortBy (..) + -- * ProvisionedProductStatus+ , ProvisionedProductStatus (..)++ -- * ProvisioningArtifactPropertyName+ , ProvisioningArtifactPropertyName (..)+ -- * ProvisioningArtifactType , ProvisioningArtifactType (..) @@ -86,6 +100,13 @@ , lrhsfValue , lrhsfKey + -- * ListTagOptionsFilters+ , ListTagOptionsFilters+ , listTagOptionsFilters+ , ltofValue+ , ltofActive+ , ltofKey+ -- * ParameterConstraints , ParameterConstraints , parameterConstraints@@ -184,6 +205,15 @@ , papDescription , papInfo + -- * ProvisioningArtifactSummary+ , ProvisioningArtifactSummary+ , provisioningArtifactSummary+ , pasProvisioningArtifactMetadata+ , pasCreatedTime+ , pasName+ , pasId+ , pasDescription+ -- * ProvisioningParameter , ProvisioningParameter , provisioningParameter@@ -226,12 +256,35 @@ , rtValue , rtKey + -- * ResourceDetail+ , ResourceDetail+ , resourceDetail+ , rARN+ , rCreatedTime+ , rName+ , rId+ , rDescription+ -- * Tag , Tag , tag , tagKey , tagValue + -- * TagOptionDetail+ , TagOptionDetail+ , tagOptionDetail+ , todValue+ , todActive+ , todKey+ , todId++ -- * TagOptionSummary+ , TagOptionSummary+ , tagOptionSummary+ , tosValues+ , tosKey+ -- * UpdateProvisioningParameter , UpdateProvisioningParameter , updateProvisioningParameter@@ -246,38 +299,40 @@ , uiType ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.ServiceCatalog.Types.Product-import Network.AWS.ServiceCatalog.Types.Sum-import Network.AWS.Sign.V4+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.ServiceCatalog.Types.Sum+import Network.AWS.Sign.V4 -- | API version @2015-12-10@ of the Amazon Service Catalog SDK configuration. serviceCatalog :: Service serviceCatalog =- Service- { _svcAbbrev = "ServiceCatalog"- , _svcSigner = v4- , _svcPrefix = "servicecatalog"- , _svcVersion = "2015-12-10"- , _svcEndpoint = defaultEndpoint serviceCatalog- , _svcTimeout = Just 70- , _svcCheck = statusSuccess- , _svcError = parseJSONError "ServiceCatalog"- , _svcRetry = retry- }+ Service+ { _svcAbbrev = "ServiceCatalog"+ , _svcSigner = v4+ , _svcPrefix = "servicecatalog"+ , _svcVersion = "2015-12-10"+ , _svcEndpoint = defaultEndpoint serviceCatalog+ , _svcTimeout = Just 70+ , _svcCheck = statusSuccess+ , _svcError = parseJSONError "ServiceCatalog"+ , _svcRetry = retry+ } where retry =- Exponential- { _retryBase = 5.0e-2- , _retryGrowth = 2- , _retryAttempts = 5- , _retryCheck = check- }+ Exponential+ { _retryBase = 5.0e-2+ , _retryGrowth = 2+ , _retryAttempts = 5+ , _retryCheck = check+ } check e+ | has (hasCode "ThrottledException" . hasStatus 400) e =+ Just "throttled_exception" | has (hasStatus 429) e = Just "too_many_requests" | has (hasCode "ThrottlingException" . hasStatus 400) e =- Just "throttling_exception"+ Just "throttling_exception" | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling" | has (hasStatus 504) e = Just "gateway_timeout" | has (hasStatus 502) e = Just "bad_gateway"@@ -286,35 +341,59 @@ | has (hasStatus 509) e = Just "limit_exceeded" | otherwise = Nothing + -- | One or more parameters provided to the operation are invalid. -- -- _InvalidParametersException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidParametersException =- _ServiceError . hasCode "InvalidParametersException"+ _MatchServiceError serviceCatalog "InvalidParametersException" + -- | The specified resource is a duplicate. -- -- _DuplicateResourceException :: AsError a => Getting (First ServiceError) a ServiceError _DuplicateResourceException =- _ServiceError . hasCode "DuplicateResourceException"+ _MatchServiceError serviceCatalog "DuplicateResourceException" ++-- | An operation requiring TagOptions failed because the TagOptions migration process has not been performed for this account. Please use the AWS console to perform the migration process before retrying the operation.+--+--+_TagOptionNotMigratedException :: AsError a => Getting (First ServiceError) a ServiceError+_TagOptionNotMigratedException =+ _MatchServiceError serviceCatalog "TagOptionNotMigratedException"++ -- | The specified resource was not found. -- -- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError _ResourceNotFoundException =- _ServiceError . hasCode "ResourceNotFoundException"+ _MatchServiceError serviceCatalog "ResourceNotFoundException" ++-- | An attempt was made to modify a resource that is in an invalid state. Inspect the resource you are using for this operation to ensure that all resource states are valid before retrying the operation.+--+--+_InvalidStateException :: AsError a => Getting (First ServiceError) a ServiceError+_InvalidStateException =+ _MatchServiceError serviceCatalog "InvalidStateException"++ -- | The current limits of the service would have been exceeded by this operation. Reduce the resource use or increase the service limits and retry the operation. -- -- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError-_LimitExceededException = _ServiceError . hasCode "LimitExceededException"+_LimitExceededException =+ _MatchServiceError serviceCatalog "LimitExceededException" + -- | The operation was requested against a resource that is currently in use. Free the resource from use and retry the operation. -- -- _ResourceInUseException :: AsError a => Getting (First ServiceError) a ServiceError-_ResourceInUseException = _ServiceError . hasCode "ResourceInUseException"+_ResourceInUseException =+ _MatchServiceError serviceCatalog "ResourceInUseException"+
gen/Network/AWS/ServiceCatalog/Types/Product.hs view
@@ -9,1515 +9,1825 @@ -- | -- Module : Network.AWS.ServiceCatalog.Types.Product--- Copyright : (c) 2013-2016 Brendan Hay--- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>--- Stability : auto-generated--- Portability : non-portable (GHC extensions)----module Network.AWS.ServiceCatalog.Types.Product where--import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.ServiceCatalog.Types.Sum---- | The access level to limit results.------------ /See:/ 'accessLevelFilter' smart constructor.-data AccessLevelFilter = AccessLevelFilter'- { _alfValue :: !(Maybe Text)- , _alfKey :: !(Maybe AccessLevelFilterKey)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'AccessLevelFilter' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'alfValue' - Specifies the user to which the access level applies. A value of @Self@ is currently supported.------ * 'alfKey' - Specifies the access level. @Account@ allows results at the account level. @Role@ allows results based on the federated role of the specified user. @User@ allows results limited to the specified user.-accessLevelFilter- :: AccessLevelFilter-accessLevelFilter =- AccessLevelFilter'- { _alfValue = Nothing- , _alfKey = Nothing- }---- | Specifies the user to which the access level applies. A value of @Self@ is currently supported.-alfValue :: Lens' AccessLevelFilter (Maybe Text)-alfValue = lens _alfValue (\ s a -> s{_alfValue = a});---- | Specifies the access level. @Account@ allows results at the account level. @Role@ allows results based on the federated role of the specified user. @User@ allows results limited to the specified user.-alfKey :: Lens' AccessLevelFilter (Maybe AccessLevelFilterKey)-alfKey = lens _alfKey (\ s a -> s{_alfKey = a});--instance Hashable AccessLevelFilter--instance NFData AccessLevelFilter--instance ToJSON AccessLevelFilter where- toJSON AccessLevelFilter'{..}- = object- (catMaybes- [("Value" .=) <$> _alfValue, ("Key" .=) <$> _alfKey])---- | Detailed constraint information.------------ /See:/ 'constraintDetail' smart constructor.-data ConstraintDetail = ConstraintDetail'- { _cdConstraintId :: !(Maybe Text)- , _cdOwner :: !(Maybe Text)- , _cdType :: !(Maybe Text)- , _cdDescription :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ConstraintDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'cdConstraintId' - The identifier of the constraint.------ * 'cdOwner' - The owner of the constraint.------ * 'cdType' - The type of the constraint.------ * 'cdDescription' - The text description of the constraint.-constraintDetail- :: ConstraintDetail-constraintDetail =- ConstraintDetail'- { _cdConstraintId = Nothing- , _cdOwner = Nothing- , _cdType = Nothing- , _cdDescription = Nothing- }---- | The identifier of the constraint.-cdConstraintId :: Lens' ConstraintDetail (Maybe Text)-cdConstraintId = lens _cdConstraintId (\ s a -> s{_cdConstraintId = a});---- | The owner of the constraint.-cdOwner :: Lens' ConstraintDetail (Maybe Text)-cdOwner = lens _cdOwner (\ s a -> s{_cdOwner = a});---- | The type of the constraint.-cdType :: Lens' ConstraintDetail (Maybe Text)-cdType = lens _cdType (\ s a -> s{_cdType = a});---- | The text description of the constraint.-cdDescription :: Lens' ConstraintDetail (Maybe Text)-cdDescription = lens _cdDescription (\ s a -> s{_cdDescription = a});--instance FromJSON ConstraintDetail where- parseJSON- = withObject "ConstraintDetail"- (\ x ->- ConstraintDetail' <$>- (x .:? "ConstraintId") <*> (x .:? "Owner") <*>- (x .:? "Type")- <*> (x .:? "Description"))--instance Hashable ConstraintDetail--instance NFData ConstraintDetail---- | An administrator-specified constraint to apply when provisioning a product.------------ /See:/ 'constraintSummary' smart constructor.-data ConstraintSummary = ConstraintSummary'- { _csType :: !(Maybe Text)- , _csDescription :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ConstraintSummary' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'csType' - The type of the constraint.------ * 'csDescription' - The text description of the constraint.-constraintSummary- :: ConstraintSummary-constraintSummary =- ConstraintSummary'- { _csType = Nothing- , _csDescription = Nothing- }---- | The type of the constraint.-csType :: Lens' ConstraintSummary (Maybe Text)-csType = lens _csType (\ s a -> s{_csType = a});---- | The text description of the constraint.-csDescription :: Lens' ConstraintSummary (Maybe Text)-csDescription = lens _csDescription (\ s a -> s{_csDescription = a});--instance FromJSON ConstraintSummary where- parseJSON- = withObject "ConstraintSummary"- (\ x ->- ConstraintSummary' <$>- (x .:? "Type") <*> (x .:? "Description"))--instance Hashable ConstraintSummary--instance NFData ConstraintSummary---- | Summary information about a path for a user to have access to a specified product.------------ /See:/ 'launchPathSummary' smart constructor.-data LaunchPathSummary = LaunchPathSummary'- { _lpsConstraintSummaries :: !(Maybe [ConstraintSummary])- , _lpsName :: !(Maybe Text)- , _lpsId :: !(Maybe Text)- , _lpsTags :: !(Maybe [Tag])- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'LaunchPathSummary' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lpsConstraintSummaries' - List of constraints on the portfolio-product relationship.------ * 'lpsName' - Corresponds to the name of the portfolio to which the user was assigned.------ * 'lpsId' - The unique identifier of the product path.------ * 'lpsTags' - List of tags used by this launch path.-launchPathSummary- :: LaunchPathSummary-launchPathSummary =- LaunchPathSummary'- { _lpsConstraintSummaries = Nothing- , _lpsName = Nothing- , _lpsId = Nothing- , _lpsTags = Nothing- }---- | List of constraints on the portfolio-product relationship.-lpsConstraintSummaries :: Lens' LaunchPathSummary [ConstraintSummary]-lpsConstraintSummaries = lens _lpsConstraintSummaries (\ s a -> s{_lpsConstraintSummaries = a}) . _Default . _Coerce;---- | Corresponds to the name of the portfolio to which the user was assigned.-lpsName :: Lens' LaunchPathSummary (Maybe Text)-lpsName = lens _lpsName (\ s a -> s{_lpsName = a});---- | The unique identifier of the product path.-lpsId :: Lens' LaunchPathSummary (Maybe Text)-lpsId = lens _lpsId (\ s a -> s{_lpsId = a});---- | List of tags used by this launch path.-lpsTags :: Lens' LaunchPathSummary [Tag]-lpsTags = lens _lpsTags (\ s a -> s{_lpsTags = a}) . _Default . _Coerce;--instance FromJSON LaunchPathSummary where- parseJSON- = withObject "LaunchPathSummary"- (\ x ->- LaunchPathSummary' <$>- (x .:? "ConstraintSummaries" .!= mempty) <*>- (x .:? "Name")- <*> (x .:? "Id")- <*> (x .:? "Tags" .!= mempty))--instance Hashable LaunchPathSummary--instance NFData LaunchPathSummary---- | The search filter to limit results when listing request history records.------------ /See:/ 'listRecordHistorySearchFilter' smart constructor.-data ListRecordHistorySearchFilter = ListRecordHistorySearchFilter'- { _lrhsfValue :: !(Maybe Text)- , _lrhsfKey :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ListRecordHistorySearchFilter' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'lrhsfValue' - The filter value for @Key@ .------ * 'lrhsfKey' - The filter key.-listRecordHistorySearchFilter- :: ListRecordHistorySearchFilter-listRecordHistorySearchFilter =- ListRecordHistorySearchFilter'- { _lrhsfValue = Nothing- , _lrhsfKey = Nothing- }---- | The filter value for @Key@ .-lrhsfValue :: Lens' ListRecordHistorySearchFilter (Maybe Text)-lrhsfValue = lens _lrhsfValue (\ s a -> s{_lrhsfValue = a});---- | The filter key.-lrhsfKey :: Lens' ListRecordHistorySearchFilter (Maybe Text)-lrhsfKey = lens _lrhsfKey (\ s a -> s{_lrhsfKey = a});--instance Hashable ListRecordHistorySearchFilter--instance NFData ListRecordHistorySearchFilter--instance ToJSON ListRecordHistorySearchFilter where- toJSON ListRecordHistorySearchFilter'{..}- = object- (catMaybes- [("Value" .=) <$> _lrhsfValue,- ("Key" .=) <$> _lrhsfKey])---- | The constraints that the administrator has put on the parameter.------------ /See:/ 'parameterConstraints' smart constructor.-newtype ParameterConstraints = ParameterConstraints'- { _pcAllowedValues :: Maybe [Text]- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ParameterConstraints' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pcAllowedValues' - The values that the administrator has allowed for the parameter.-parameterConstraints- :: ParameterConstraints-parameterConstraints =- ParameterConstraints'- { _pcAllowedValues = Nothing- }---- | The values that the administrator has allowed for the parameter.-pcAllowedValues :: Lens' ParameterConstraints [Text]-pcAllowedValues = lens _pcAllowedValues (\ s a -> s{_pcAllowedValues = a}) . _Default . _Coerce;--instance FromJSON ParameterConstraints where- parseJSON- = withObject "ParameterConstraints"- (\ x ->- ParameterConstraints' <$>- (x .:? "AllowedValues" .!= mempty))--instance Hashable ParameterConstraints--instance NFData ParameterConstraints---- | Detailed portfolio information.------------ /See:/ 'portfolioDetail' smart constructor.-data PortfolioDetail = PortfolioDetail'- { _pdARN :: !(Maybe Text)- , _pdCreatedTime :: !(Maybe POSIX)- , _pdId :: !(Maybe Text)- , _pdDisplayName :: !(Maybe Text)- , _pdDescription :: !(Maybe Text)- , _pdProviderName :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'PortfolioDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pdARN' - The ARN assigned to the portfolio.------ * 'pdCreatedTime' - The UTC timestamp of the creation time.------ * 'pdId' - The identifier for the portfolio.------ * 'pdDisplayName' - The name to use for display purposes.------ * 'pdDescription' - The text description of the portfolio.------ * 'pdProviderName' - The name of the portfolio provider.-portfolioDetail- :: PortfolioDetail-portfolioDetail =- PortfolioDetail'- { _pdARN = Nothing- , _pdCreatedTime = Nothing- , _pdId = Nothing- , _pdDisplayName = Nothing- , _pdDescription = Nothing- , _pdProviderName = Nothing- }---- | The ARN assigned to the portfolio.-pdARN :: Lens' PortfolioDetail (Maybe Text)-pdARN = lens _pdARN (\ s a -> s{_pdARN = a});---- | The UTC timestamp of the creation time.-pdCreatedTime :: Lens' PortfolioDetail (Maybe UTCTime)-pdCreatedTime = lens _pdCreatedTime (\ s a -> s{_pdCreatedTime = a}) . mapping _Time;---- | The identifier for the portfolio.-pdId :: Lens' PortfolioDetail (Maybe Text)-pdId = lens _pdId (\ s a -> s{_pdId = a});---- | The name to use for display purposes.-pdDisplayName :: Lens' PortfolioDetail (Maybe Text)-pdDisplayName = lens _pdDisplayName (\ s a -> s{_pdDisplayName = a});---- | The text description of the portfolio.-pdDescription :: Lens' PortfolioDetail (Maybe Text)-pdDescription = lens _pdDescription (\ s a -> s{_pdDescription = a});---- | The name of the portfolio provider.-pdProviderName :: Lens' PortfolioDetail (Maybe Text)-pdProviderName = lens _pdProviderName (\ s a -> s{_pdProviderName = a});--instance FromJSON PortfolioDetail where- parseJSON- = withObject "PortfolioDetail"- (\ x ->- PortfolioDetail' <$>- (x .:? "ARN") <*> (x .:? "CreatedTime") <*>- (x .:? "Id")- <*> (x .:? "DisplayName")- <*> (x .:? "Description")- <*> (x .:? "ProviderName"))--instance Hashable PortfolioDetail--instance NFData PortfolioDetail---- | A principal's ARN and type.------------ /See:/ 'principal' smart constructor.-data Principal = Principal'- { _pPrincipalType :: !(Maybe PrincipalType)- , _pPrincipalARN :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'Principal' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pPrincipalType' - The principal type. Must be @IAM@------ * 'pPrincipalARN' - The ARN representing the principal (IAM user, role, or group).-principal- :: Principal-principal =- Principal'- { _pPrincipalType = Nothing- , _pPrincipalARN = Nothing- }---- | The principal type. Must be @IAM@-pPrincipalType :: Lens' Principal (Maybe PrincipalType)-pPrincipalType = lens _pPrincipalType (\ s a -> s{_pPrincipalType = a});---- | The ARN representing the principal (IAM user, role, or group).-pPrincipalARN :: Lens' Principal (Maybe Text)-pPrincipalARN = lens _pPrincipalARN (\ s a -> s{_pPrincipalARN = a});--instance FromJSON Principal where- parseJSON- = withObject "Principal"- (\ x ->- Principal' <$>- (x .:? "PrincipalType") <*> (x .:? "PrincipalARN"))--instance Hashable Principal--instance NFData Principal---- | A single product view aggregation value/count pair, containing metadata about each product to which the calling user has access.------------ /See:/ 'productViewAggregationValue' smart constructor.-data ProductViewAggregationValue = ProductViewAggregationValue'- { _pvavValue :: !(Maybe Text)- , _pvavApproximateCount :: !(Maybe Int)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ProductViewAggregationValue' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pvavValue' - The value of the product view aggregation.------ * 'pvavApproximateCount' - An approximate count of the products that match the value.-productViewAggregationValue- :: ProductViewAggregationValue-productViewAggregationValue =- ProductViewAggregationValue'- { _pvavValue = Nothing- , _pvavApproximateCount = Nothing- }---- | The value of the product view aggregation.-pvavValue :: Lens' ProductViewAggregationValue (Maybe Text)-pvavValue = lens _pvavValue (\ s a -> s{_pvavValue = a});---- | An approximate count of the products that match the value.-pvavApproximateCount :: Lens' ProductViewAggregationValue (Maybe Int)-pvavApproximateCount = lens _pvavApproximateCount (\ s a -> s{_pvavApproximateCount = a});--instance FromJSON ProductViewAggregationValue where- parseJSON- = withObject "ProductViewAggregationValue"- (\ x ->- ProductViewAggregationValue' <$>- (x .:? "Value") <*> (x .:? "ApproximateCount"))--instance Hashable ProductViewAggregationValue--instance NFData ProductViewAggregationValue---- | Detailed product view information.------------ /See:/ 'productViewDetail' smart constructor.-data ProductViewDetail = ProductViewDetail'- { _pvdStatus :: !(Maybe RequestStatus)- , _pvdProductViewSummary :: !(Maybe ProductViewSummary)- , _pvdCreatedTime :: !(Maybe POSIX)- , _pvdProductARN :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ProductViewDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pvdStatus' - Current status of the product.------ * 'pvdProductViewSummary' - The summary metadata about the specified product view.------ * 'pvdCreatedTime' - The UTC timestamp of the creation time.------ * 'pvdProductARN' - The ARN associated with the product.-productViewDetail- :: ProductViewDetail-productViewDetail =- ProductViewDetail'- { _pvdStatus = Nothing- , _pvdProductViewSummary = Nothing- , _pvdCreatedTime = Nothing- , _pvdProductARN = Nothing- }---- | Current status of the product.-pvdStatus :: Lens' ProductViewDetail (Maybe RequestStatus)-pvdStatus = lens _pvdStatus (\ s a -> s{_pvdStatus = a});---- | The summary metadata about the specified product view.-pvdProductViewSummary :: Lens' ProductViewDetail (Maybe ProductViewSummary)-pvdProductViewSummary = lens _pvdProductViewSummary (\ s a -> s{_pvdProductViewSummary = a});---- | The UTC timestamp of the creation time.-pvdCreatedTime :: Lens' ProductViewDetail (Maybe UTCTime)-pvdCreatedTime = lens _pvdCreatedTime (\ s a -> s{_pvdCreatedTime = a}) . mapping _Time;---- | The ARN associated with the product.-pvdProductARN :: Lens' ProductViewDetail (Maybe Text)-pvdProductARN = lens _pvdProductARN (\ s a -> s{_pvdProductARN = a});--instance FromJSON ProductViewDetail where- parseJSON- = withObject "ProductViewDetail"- (\ x ->- ProductViewDetail' <$>- (x .:? "Status") <*> (x .:? "ProductViewSummary") <*>- (x .:? "CreatedTime")- <*> (x .:? "ProductARN"))--instance Hashable ProductViewDetail--instance NFData ProductViewDetail---- | The summary metadata about the specified product.------------ /See:/ 'productViewSummary' smart constructor.-data ProductViewSummary = ProductViewSummary'- { _pvsOwner :: !(Maybe Text)- , _pvsSupportURL :: !(Maybe Text)- , _pvsShortDescription :: !(Maybe Text)- , _pvsHasDefaultPath :: !(Maybe Bool)- , _pvsDistributor :: !(Maybe Text)- , _pvsName :: !(Maybe Text)- , _pvsId :: !(Maybe Text)- , _pvsType :: !(Maybe ProductType)- , _pvsSupportEmail :: !(Maybe Text)- , _pvsProductId :: !(Maybe Text)- , _pvsSupportDescription :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ProductViewSummary' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pvsOwner' - The owner of the product. Contact the product administrator for the significance of this value.------ * 'pvsSupportURL' - The URL information to obtain support for this Product.------ * 'pvsShortDescription' - Short description of the product.------ * 'pvsHasDefaultPath' - A value of @false@ indicates that the product does not have a default path, while a value of @true@ indicates that it does. If it's false, call 'ListLaunchPaths' to disambiguate between paths. If true, 'ListLaunchPaths' is not required, and the output of the 'ProductViewSummary' operation can be used directly with 'DescribeProvisioningParameters' .------ * 'pvsDistributor' - The distributor of the product. Contact the product administrator for the significance of this value.------ * 'pvsName' - The name of the product.------ * 'pvsId' - The product view identifier.------ * 'pvsType' - The product type. Contact the product administrator for the significance of this value.------ * 'pvsSupportEmail' - The email contact information to obtain support for this Product.------ * 'pvsProductId' - The product identifier.------ * 'pvsSupportDescription' - The description of the support for this Product.-productViewSummary- :: ProductViewSummary-productViewSummary =- ProductViewSummary'- { _pvsOwner = Nothing- , _pvsSupportURL = Nothing- , _pvsShortDescription = Nothing- , _pvsHasDefaultPath = Nothing- , _pvsDistributor = Nothing- , _pvsName = Nothing- , _pvsId = Nothing- , _pvsType = Nothing- , _pvsSupportEmail = Nothing- , _pvsProductId = Nothing- , _pvsSupportDescription = Nothing- }---- | The owner of the product. Contact the product administrator for the significance of this value.-pvsOwner :: Lens' ProductViewSummary (Maybe Text)-pvsOwner = lens _pvsOwner (\ s a -> s{_pvsOwner = a});---- | The URL information to obtain support for this Product.-pvsSupportURL :: Lens' ProductViewSummary (Maybe Text)-pvsSupportURL = lens _pvsSupportURL (\ s a -> s{_pvsSupportURL = a});---- | Short description of the product.-pvsShortDescription :: Lens' ProductViewSummary (Maybe Text)-pvsShortDescription = lens _pvsShortDescription (\ s a -> s{_pvsShortDescription = a});---- | A value of @false@ indicates that the product does not have a default path, while a value of @true@ indicates that it does. If it's false, call 'ListLaunchPaths' to disambiguate between paths. If true, 'ListLaunchPaths' is not required, and the output of the 'ProductViewSummary' operation can be used directly with 'DescribeProvisioningParameters' .-pvsHasDefaultPath :: Lens' ProductViewSummary (Maybe Bool)-pvsHasDefaultPath = lens _pvsHasDefaultPath (\ s a -> s{_pvsHasDefaultPath = a});---- | The distributor of the product. Contact the product administrator for the significance of this value.-pvsDistributor :: Lens' ProductViewSummary (Maybe Text)-pvsDistributor = lens _pvsDistributor (\ s a -> s{_pvsDistributor = a});---- | The name of the product.-pvsName :: Lens' ProductViewSummary (Maybe Text)-pvsName = lens _pvsName (\ s a -> s{_pvsName = a});---- | The product view identifier.-pvsId :: Lens' ProductViewSummary (Maybe Text)-pvsId = lens _pvsId (\ s a -> s{_pvsId = a});---- | The product type. Contact the product administrator for the significance of this value.-pvsType :: Lens' ProductViewSummary (Maybe ProductType)-pvsType = lens _pvsType (\ s a -> s{_pvsType = a});---- | The email contact information to obtain support for this Product.-pvsSupportEmail :: Lens' ProductViewSummary (Maybe Text)-pvsSupportEmail = lens _pvsSupportEmail (\ s a -> s{_pvsSupportEmail = a});---- | The product identifier.-pvsProductId :: Lens' ProductViewSummary (Maybe Text)-pvsProductId = lens _pvsProductId (\ s a -> s{_pvsProductId = a});---- | The description of the support for this Product.-pvsSupportDescription :: Lens' ProductViewSummary (Maybe Text)-pvsSupportDescription = lens _pvsSupportDescription (\ s a -> s{_pvsSupportDescription = a});--instance FromJSON ProductViewSummary where- parseJSON- = withObject "ProductViewSummary"- (\ x ->- ProductViewSummary' <$>- (x .:? "Owner") <*> (x .:? "SupportUrl") <*>- (x .:? "ShortDescription")- <*> (x .:? "HasDefaultPath")- <*> (x .:? "Distributor")- <*> (x .:? "Name")- <*> (x .:? "Id")- <*> (x .:? "Type")- <*> (x .:? "SupportEmail")- <*> (x .:? "ProductId")- <*> (x .:? "SupportDescription"))--instance Hashable ProductViewSummary--instance NFData ProductViewSummary---- | Detailed information about a ProvisionedProduct object.------------ /See:/ 'provisionedProductDetail' smart constructor.-data ProvisionedProductDetail = ProvisionedProductDetail'- { _ppdIdempotencyToken :: !(Maybe Text)- , _ppdStatus :: !(Maybe RecordStatus)- , _ppdARN :: !(Maybe Text)- , _ppdCreatedTime :: !(Maybe POSIX)- , _ppdStatusMessage :: !(Maybe Text)- , _ppdName :: !(Maybe Text)- , _ppdLastRecordId :: !(Maybe Text)- , _ppdId :: !(Maybe Text)- , _ppdType :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ProvisionedProductDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ppdIdempotencyToken' - A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.------ * 'ppdStatus' - The current status of the ProvisionedProduct.------ * 'ppdARN' - The ARN associated with the ProvisionedProduct object.------ * 'ppdCreatedTime' - The UTC timestamp of the creation time.------ * 'ppdStatusMessage' - The current status message of the ProvisionedProduct.------ * 'ppdName' - The user-friendly name of the ProvisionedProduct object.------ * 'ppdLastRecordId' - The record identifier of the last request performed on this ProvisionedProduct object.------ * 'ppdId' - The identifier of the ProvisionedProduct object.------ * 'ppdType' - The type of the ProvisionedProduct object.-provisionedProductDetail- :: ProvisionedProductDetail-provisionedProductDetail =- ProvisionedProductDetail'- { _ppdIdempotencyToken = Nothing- , _ppdStatus = Nothing- , _ppdARN = Nothing- , _ppdCreatedTime = Nothing- , _ppdStatusMessage = Nothing- , _ppdName = Nothing- , _ppdLastRecordId = Nothing- , _ppdId = Nothing- , _ppdType = Nothing- }---- | A token to disambiguate duplicate requests. You can create multiple resources using the same input in multiple requests, provided that you also specify a different idempotency token for each request.-ppdIdempotencyToken :: Lens' ProvisionedProductDetail (Maybe Text)-ppdIdempotencyToken = lens _ppdIdempotencyToken (\ s a -> s{_ppdIdempotencyToken = a});---- | The current status of the ProvisionedProduct.-ppdStatus :: Lens' ProvisionedProductDetail (Maybe RecordStatus)-ppdStatus = lens _ppdStatus (\ s a -> s{_ppdStatus = a});---- | The ARN associated with the ProvisionedProduct object.-ppdARN :: Lens' ProvisionedProductDetail (Maybe Text)-ppdARN = lens _ppdARN (\ s a -> s{_ppdARN = a});---- | The UTC timestamp of the creation time.-ppdCreatedTime :: Lens' ProvisionedProductDetail (Maybe UTCTime)-ppdCreatedTime = lens _ppdCreatedTime (\ s a -> s{_ppdCreatedTime = a}) . mapping _Time;---- | The current status message of the ProvisionedProduct.-ppdStatusMessage :: Lens' ProvisionedProductDetail (Maybe Text)-ppdStatusMessage = lens _ppdStatusMessage (\ s a -> s{_ppdStatusMessage = a});---- | The user-friendly name of the ProvisionedProduct object.-ppdName :: Lens' ProvisionedProductDetail (Maybe Text)-ppdName = lens _ppdName (\ s a -> s{_ppdName = a});---- | The record identifier of the last request performed on this ProvisionedProduct object.-ppdLastRecordId :: Lens' ProvisionedProductDetail (Maybe Text)-ppdLastRecordId = lens _ppdLastRecordId (\ s a -> s{_ppdLastRecordId = a});---- | The identifier of the ProvisionedProduct object.-ppdId :: Lens' ProvisionedProductDetail (Maybe Text)-ppdId = lens _ppdId (\ s a -> s{_ppdId = a});---- | The type of the ProvisionedProduct object.-ppdType :: Lens' ProvisionedProductDetail (Maybe Text)-ppdType = lens _ppdType (\ s a -> s{_ppdType = a});--instance FromJSON ProvisionedProductDetail where- parseJSON- = withObject "ProvisionedProductDetail"- (\ x ->- ProvisionedProductDetail' <$>- (x .:? "IdempotencyToken") <*> (x .:? "Status") <*>- (x .:? "Arn")- <*> (x .:? "CreatedTime")- <*> (x .:? "StatusMessage")- <*> (x .:? "Name")- <*> (x .:? "LastRecordId")- <*> (x .:? "Id")- <*> (x .:? "Type"))--instance Hashable ProvisionedProductDetail--instance NFData ProvisionedProductDetail---- | Contains information indicating the ways in which a product can be provisioned.------------ /See:/ 'provisioningArtifact' smart constructor.-data ProvisioningArtifact = ProvisioningArtifact'- { _paCreatedTime :: !(Maybe POSIX)- , _paName :: !(Maybe Text)- , _paId :: !(Maybe Text)- , _paDescription :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ProvisioningArtifact' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'paCreatedTime' - The UTC timestamp of the creation time.------ * 'paName' - The name of the artifact.------ * 'paId' - The identifier for the artifact.------ * 'paDescription' - The text description of the artifact.-provisioningArtifact- :: ProvisioningArtifact-provisioningArtifact =- ProvisioningArtifact'- { _paCreatedTime = Nothing- , _paName = Nothing- , _paId = Nothing- , _paDescription = Nothing- }---- | The UTC timestamp of the creation time.-paCreatedTime :: Lens' ProvisioningArtifact (Maybe UTCTime)-paCreatedTime = lens _paCreatedTime (\ s a -> s{_paCreatedTime = a}) . mapping _Time;---- | The name of the artifact.-paName :: Lens' ProvisioningArtifact (Maybe Text)-paName = lens _paName (\ s a -> s{_paName = a});---- | The identifier for the artifact.-paId :: Lens' ProvisioningArtifact (Maybe Text)-paId = lens _paId (\ s a -> s{_paId = a});---- | The text description of the artifact.-paDescription :: Lens' ProvisioningArtifact (Maybe Text)-paDescription = lens _paDescription (\ s a -> s{_paDescription = a});--instance FromJSON ProvisioningArtifact where- parseJSON- = withObject "ProvisioningArtifact"- (\ x ->- ProvisioningArtifact' <$>- (x .:? "CreatedTime") <*> (x .:? "Name") <*>- (x .:? "Id")- <*> (x .:? "Description"))--instance Hashable ProvisioningArtifact--instance NFData ProvisioningArtifact---- | Detailed provisioning artifact information.------------ /See:/ 'provisioningArtifactDetail' smart constructor.-data ProvisioningArtifactDetail = ProvisioningArtifactDetail'- { _padCreatedTime :: !(Maybe POSIX)- , _padName :: !(Maybe Text)- , _padId :: !(Maybe Text)- , _padType :: !(Maybe ProvisioningArtifactType)- , _padDescription :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ProvisioningArtifactDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'padCreatedTime' - The UTC timestamp of the creation time.------ * 'padName' - The name assigned to the provisioning artifact.------ * 'padId' - The identifier of the provisioning artifact.------ * 'padType' - The type of the provisioning artifact.------ * 'padDescription' - The text description of the provisioning artifact.-provisioningArtifactDetail- :: ProvisioningArtifactDetail-provisioningArtifactDetail =- ProvisioningArtifactDetail'- { _padCreatedTime = Nothing- , _padName = Nothing- , _padId = Nothing- , _padType = Nothing- , _padDescription = Nothing- }---- | The UTC timestamp of the creation time.-padCreatedTime :: Lens' ProvisioningArtifactDetail (Maybe UTCTime)-padCreatedTime = lens _padCreatedTime (\ s a -> s{_padCreatedTime = a}) . mapping _Time;---- | The name assigned to the provisioning artifact.-padName :: Lens' ProvisioningArtifactDetail (Maybe Text)-padName = lens _padName (\ s a -> s{_padName = a});---- | The identifier of the provisioning artifact.-padId :: Lens' ProvisioningArtifactDetail (Maybe Text)-padId = lens _padId (\ s a -> s{_padId = a});---- | The type of the provisioning artifact.-padType :: Lens' ProvisioningArtifactDetail (Maybe ProvisioningArtifactType)-padType = lens _padType (\ s a -> s{_padType = a});---- | The text description of the provisioning artifact.-padDescription :: Lens' ProvisioningArtifactDetail (Maybe Text)-padDescription = lens _padDescription (\ s a -> s{_padDescription = a});--instance FromJSON ProvisioningArtifactDetail where- parseJSON- = withObject "ProvisioningArtifactDetail"- (\ x ->- ProvisioningArtifactDetail' <$>- (x .:? "CreatedTime") <*> (x .:? "Name") <*>- (x .:? "Id")- <*> (x .:? "Type")- <*> (x .:? "Description"))--instance Hashable ProvisioningArtifactDetail--instance NFData ProvisioningArtifactDetail---- | A parameter used to successfully provision the product. This value includes a list of allowable values and additional metadata.------------ /See:/ 'provisioningArtifactParameter' smart constructor.-data ProvisioningArtifactParameter = ProvisioningArtifactParameter'- { _pIsNoEcho :: !(Maybe Bool)- , _pParameterKey :: !(Maybe Text)- , _pParameterType :: !(Maybe Text)- , _pParameterConstraints :: !(Maybe ParameterConstraints)- , _pDefaultValue :: !(Maybe Text)- , _pDescription :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ProvisioningArtifactParameter' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'pIsNoEcho' - If this value is true, the value for this parameter is obfuscated from view when the parameter is retrieved. This parameter is used to hide sensitive information.------ * 'pParameterKey' - The parameter key.------ * 'pParameterType' - The parameter type.------ * 'pParameterConstraints' - The list of constraints that the administrator has put on the parameter.------ * 'pDefaultValue' - The default value for this parameter.------ * 'pDescription' - The text description of the parameter.-provisioningArtifactParameter- :: ProvisioningArtifactParameter-provisioningArtifactParameter =- ProvisioningArtifactParameter'- { _pIsNoEcho = Nothing- , _pParameterKey = Nothing- , _pParameterType = Nothing- , _pParameterConstraints = Nothing- , _pDefaultValue = Nothing- , _pDescription = Nothing- }---- | If this value is true, the value for this parameter is obfuscated from view when the parameter is retrieved. This parameter is used to hide sensitive information.-pIsNoEcho :: Lens' ProvisioningArtifactParameter (Maybe Bool)-pIsNoEcho = lens _pIsNoEcho (\ s a -> s{_pIsNoEcho = a});---- | The parameter key.-pParameterKey :: Lens' ProvisioningArtifactParameter (Maybe Text)-pParameterKey = lens _pParameterKey (\ s a -> s{_pParameterKey = a});---- | The parameter type.-pParameterType :: Lens' ProvisioningArtifactParameter (Maybe Text)-pParameterType = lens _pParameterType (\ s a -> s{_pParameterType = a});---- | The list of constraints that the administrator has put on the parameter.-pParameterConstraints :: Lens' ProvisioningArtifactParameter (Maybe ParameterConstraints)-pParameterConstraints = lens _pParameterConstraints (\ s a -> s{_pParameterConstraints = a});---- | The default value for this parameter.-pDefaultValue :: Lens' ProvisioningArtifactParameter (Maybe Text)-pDefaultValue = lens _pDefaultValue (\ s a -> s{_pDefaultValue = a});---- | The text description of the parameter.-pDescription :: Lens' ProvisioningArtifactParameter (Maybe Text)-pDescription = lens _pDescription (\ s a -> s{_pDescription = a});--instance FromJSON ProvisioningArtifactParameter where- parseJSON- = withObject "ProvisioningArtifactParameter"- (\ x ->- ProvisioningArtifactParameter' <$>- (x .:? "IsNoEcho") <*> (x .:? "ParameterKey") <*>- (x .:? "ParameterType")- <*> (x .:? "ParameterConstraints")- <*> (x .:? "DefaultValue")- <*> (x .:? "Description"))--instance Hashable ProvisioningArtifactParameter--instance NFData ProvisioningArtifactParameter---- | Provisioning artifact properties.------------ /See:/ 'provisioningArtifactProperties' smart constructor.-data ProvisioningArtifactProperties = ProvisioningArtifactProperties'- { _papName :: !(Maybe Text)- , _papType :: !(Maybe ProvisioningArtifactType)- , _papDescription :: !(Maybe Text)- , _papInfo :: !(Map Text Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ProvisioningArtifactProperties' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'papName' - The name assigned to the provisioning artifact properties.------ * 'papType' - The type of the provisioning artifact properties.------ * 'papDescription' - The text description of the provisioning artifact properties.------ * 'papInfo' - Additional information about the provisioning artifact properties.-provisioningArtifactProperties- :: ProvisioningArtifactProperties-provisioningArtifactProperties =- ProvisioningArtifactProperties'- { _papName = Nothing- , _papType = Nothing- , _papDescription = Nothing- , _papInfo = mempty- }---- | The name assigned to the provisioning artifact properties.-papName :: Lens' ProvisioningArtifactProperties (Maybe Text)-papName = lens _papName (\ s a -> s{_papName = a});---- | The type of the provisioning artifact properties.-papType :: Lens' ProvisioningArtifactProperties (Maybe ProvisioningArtifactType)-papType = lens _papType (\ s a -> s{_papType = a});---- | The text description of the provisioning artifact properties.-papDescription :: Lens' ProvisioningArtifactProperties (Maybe Text)-papDescription = lens _papDescription (\ s a -> s{_papDescription = a});---- | Additional information about the provisioning artifact properties.-papInfo :: Lens' ProvisioningArtifactProperties (HashMap Text Text)-papInfo = lens _papInfo (\ s a -> s{_papInfo = a}) . _Map;--instance Hashable ProvisioningArtifactProperties--instance NFData ProvisioningArtifactProperties--instance ToJSON ProvisioningArtifactProperties where- toJSON ProvisioningArtifactProperties'{..}- = object- (catMaybes- [("Name" .=) <$> _papName, ("Type" .=) <$> _papType,- ("Description" .=) <$> _papDescription,- Just ("Info" .= _papInfo)])---- | The arameter key/value pairs used to provision a product.------------ /See:/ 'provisioningParameter' smart constructor.-data ProvisioningParameter = ProvisioningParameter'- { _ppValue :: !(Maybe Text)- , _ppKey :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'ProvisioningParameter' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'ppValue' - The value to use for provisioning. Any constraints on this value can be found in @ProvisioningArtifactParameter@ for @Key@ .------ * 'ppKey' - The @ProvisioningArtifactParameter.ParameterKey@ parameter from 'DescribeProvisioningParameters' .-provisioningParameter- :: ProvisioningParameter-provisioningParameter =- ProvisioningParameter'- { _ppValue = Nothing- , _ppKey = Nothing- }---- | The value to use for provisioning. Any constraints on this value can be found in @ProvisioningArtifactParameter@ for @Key@ .-ppValue :: Lens' ProvisioningParameter (Maybe Text)-ppValue = lens _ppValue (\ s a -> s{_ppValue = a});---- | The @ProvisioningArtifactParameter.ParameterKey@ parameter from 'DescribeProvisioningParameters' .-ppKey :: Lens' ProvisioningParameter (Maybe Text)-ppKey = lens _ppKey (\ s a -> s{_ppKey = a});--instance Hashable ProvisioningParameter--instance NFData ProvisioningParameter--instance ToJSON ProvisioningParameter where- toJSON ProvisioningParameter'{..}- = object- (catMaybes- [("Value" .=) <$> _ppValue, ("Key" .=) <$> _ppKey])---- | The full details of a specific ProvisionedProduct object.------------ /See:/ 'recordDetail' smart constructor.-data RecordDetail = RecordDetail'- { _rdStatus :: !(Maybe RecordStatus)- , _rdRecordTags :: !(Maybe [RecordTag])- , _rdProvisionedProductName :: !(Maybe Text)- , _rdProvisioningArtifactId :: !(Maybe Text)- , _rdCreatedTime :: !(Maybe POSIX)- , _rdRecordType :: !(Maybe Text)- , _rdRecordId :: !(Maybe Text)- , _rdProvisionedProductType :: !(Maybe Text)- , _rdUpdatedTime :: !(Maybe POSIX)- , _rdPathId :: !(Maybe Text)- , _rdProvisionedProductId :: !(Maybe Text)- , _rdRecordErrors :: !(Maybe [RecordError])- , _rdProductId :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'RecordDetail' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rdStatus' - The status of the ProvisionedProduct object.------ * 'rdRecordTags' - List of tags associated with this record.------ * 'rdProvisionedProductName' - The user-friendly name of the ProvisionedProduct object.------ * 'rdProvisioningArtifactId' - The provisioning artifact identifier for this product.------ * 'rdCreatedTime' - The UTC timestamp of the creation time.------ * 'rdRecordType' - The record type for this record.------ * 'rdRecordId' - The identifier of the ProvisionedProduct object record.------ * 'rdProvisionedProductType' - The type of the ProvisionedProduct object.------ * 'rdUpdatedTime' - The time when the record for the ProvisionedProduct object was last updated.------ * 'rdPathId' - The identifier of the path for this product's provisioning.------ * 'rdProvisionedProductId' - The identifier of the ProvisionedProduct object.------ * 'rdRecordErrors' - A list of errors that occurred while processing the request.------ * 'rdProductId' - The product identifier.-recordDetail- :: RecordDetail-recordDetail =- RecordDetail'- { _rdStatus = Nothing- , _rdRecordTags = Nothing- , _rdProvisionedProductName = Nothing- , _rdProvisioningArtifactId = Nothing- , _rdCreatedTime = Nothing- , _rdRecordType = Nothing- , _rdRecordId = Nothing- , _rdProvisionedProductType = Nothing- , _rdUpdatedTime = Nothing- , _rdPathId = Nothing- , _rdProvisionedProductId = Nothing- , _rdRecordErrors = Nothing- , _rdProductId = Nothing- }---- | The status of the ProvisionedProduct object.-rdStatus :: Lens' RecordDetail (Maybe RecordStatus)-rdStatus = lens _rdStatus (\ s a -> s{_rdStatus = a});---- | List of tags associated with this record.-rdRecordTags :: Lens' RecordDetail [RecordTag]-rdRecordTags = lens _rdRecordTags (\ s a -> s{_rdRecordTags = a}) . _Default . _Coerce;---- | The user-friendly name of the ProvisionedProduct object.-rdProvisionedProductName :: Lens' RecordDetail (Maybe Text)-rdProvisionedProductName = lens _rdProvisionedProductName (\ s a -> s{_rdProvisionedProductName = a});---- | The provisioning artifact identifier for this product.-rdProvisioningArtifactId :: Lens' RecordDetail (Maybe Text)-rdProvisioningArtifactId = lens _rdProvisioningArtifactId (\ s a -> s{_rdProvisioningArtifactId = a});---- | The UTC timestamp of the creation time.-rdCreatedTime :: Lens' RecordDetail (Maybe UTCTime)-rdCreatedTime = lens _rdCreatedTime (\ s a -> s{_rdCreatedTime = a}) . mapping _Time;---- | The record type for this record.-rdRecordType :: Lens' RecordDetail (Maybe Text)-rdRecordType = lens _rdRecordType (\ s a -> s{_rdRecordType = a});---- | The identifier of the ProvisionedProduct object record.-rdRecordId :: Lens' RecordDetail (Maybe Text)-rdRecordId = lens _rdRecordId (\ s a -> s{_rdRecordId = a});---- | The type of the ProvisionedProduct object.-rdProvisionedProductType :: Lens' RecordDetail (Maybe Text)-rdProvisionedProductType = lens _rdProvisionedProductType (\ s a -> s{_rdProvisionedProductType = a});---- | The time when the record for the ProvisionedProduct object was last updated.-rdUpdatedTime :: Lens' RecordDetail (Maybe UTCTime)-rdUpdatedTime = lens _rdUpdatedTime (\ s a -> s{_rdUpdatedTime = a}) . mapping _Time;---- | The identifier of the path for this product's provisioning.-rdPathId :: Lens' RecordDetail (Maybe Text)-rdPathId = lens _rdPathId (\ s a -> s{_rdPathId = a});---- | The identifier of the ProvisionedProduct object.-rdProvisionedProductId :: Lens' RecordDetail (Maybe Text)-rdProvisionedProductId = lens _rdProvisionedProductId (\ s a -> s{_rdProvisionedProductId = a});---- | A list of errors that occurred while processing the request.-rdRecordErrors :: Lens' RecordDetail [RecordError]-rdRecordErrors = lens _rdRecordErrors (\ s a -> s{_rdRecordErrors = a}) . _Default . _Coerce;---- | The product identifier.-rdProductId :: Lens' RecordDetail (Maybe Text)-rdProductId = lens _rdProductId (\ s a -> s{_rdProductId = a});--instance FromJSON RecordDetail where- parseJSON- = withObject "RecordDetail"- (\ x ->- RecordDetail' <$>- (x .:? "Status") <*> (x .:? "RecordTags" .!= mempty)- <*> (x .:? "ProvisionedProductName")- <*> (x .:? "ProvisioningArtifactId")- <*> (x .:? "CreatedTime")- <*> (x .:? "RecordType")- <*> (x .:? "RecordId")- <*> (x .:? "ProvisionedProductType")- <*> (x .:? "UpdatedTime")- <*> (x .:? "PathId")- <*> (x .:? "ProvisionedProductId")- <*> (x .:? "RecordErrors" .!= mempty)- <*> (x .:? "ProductId"))--instance Hashable RecordDetail--instance NFData RecordDetail---- | The error code and description resulting from an operation.------------ /See:/ 'recordError' smart constructor.-data RecordError = RecordError'- { _reCode :: !(Maybe Text)- , _reDescription :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'RecordError' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'reCode' - The numeric value of the error.------ * 'reDescription' - The text description of the error.-recordError- :: RecordError-recordError =- RecordError'- { _reCode = Nothing- , _reDescription = Nothing- }---- | The numeric value of the error.-reCode :: Lens' RecordError (Maybe Text)-reCode = lens _reCode (\ s a -> s{_reCode = a});---- | The text description of the error.-reDescription :: Lens' RecordError (Maybe Text)-reDescription = lens _reDescription (\ s a -> s{_reDescription = a});--instance FromJSON RecordError where- parseJSON- = withObject "RecordError"- (\ x ->- RecordError' <$>- (x .:? "Code") <*> (x .:? "Description"))--instance Hashable RecordError--instance NFData RecordError---- | An output for the specified Product object created as the result of a request. For example, a CloudFormation-backed product that creates an S3 bucket would have an output for the S3 bucket URL.------------ /See:/ 'recordOutput' smart constructor.-data RecordOutput = RecordOutput'- { _roOutputValue :: !(Maybe Text)- , _roOutputKey :: !(Maybe Text)- , _roDescription :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'RecordOutput' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'roOutputValue' - The output value.------ * 'roOutputKey' - The output key.------ * 'roDescription' - The text description of the output.-recordOutput- :: RecordOutput-recordOutput =- RecordOutput'- { _roOutputValue = Nothing- , _roOutputKey = Nothing- , _roDescription = Nothing- }---- | The output value.-roOutputValue :: Lens' RecordOutput (Maybe Text)-roOutputValue = lens _roOutputValue (\ s a -> s{_roOutputValue = a});---- | The output key.-roOutputKey :: Lens' RecordOutput (Maybe Text)-roOutputKey = lens _roOutputKey (\ s a -> s{_roOutputKey = a});---- | The text description of the output.-roDescription :: Lens' RecordOutput (Maybe Text)-roDescription = lens _roDescription (\ s a -> s{_roDescription = a});--instance FromJSON RecordOutput where- parseJSON- = withObject "RecordOutput"- (\ x ->- RecordOutput' <$>- (x .:? "OutputValue") <*> (x .:? "OutputKey") <*>- (x .:? "Description"))--instance Hashable RecordOutput--instance NFData RecordOutput---- | A tag associated with the record, stored as a key-value pair.------------ /See:/ 'recordTag' smart constructor.-data RecordTag = RecordTag'- { _rtValue :: !(Maybe Text)- , _rtKey :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'RecordTag' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'rtValue' - The value for this tag.------ * 'rtKey' - The key for this tag.-recordTag- :: RecordTag-recordTag =- RecordTag'- { _rtValue = Nothing- , _rtKey = Nothing- }---- | The value for this tag.-rtValue :: Lens' RecordTag (Maybe Text)-rtValue = lens _rtValue (\ s a -> s{_rtValue = a});---- | The key for this tag.-rtKey :: Lens' RecordTag (Maybe Text)-rtKey = lens _rtKey (\ s a -> s{_rtKey = a});--instance FromJSON RecordTag where- parseJSON- = withObject "RecordTag"- (\ x ->- RecordTag' <$> (x .:? "Value") <*> (x .:? "Key"))--instance Hashable RecordTag--instance NFData RecordTag---- | Key/value pairs to associate with this provisioning. These tags are entirely discretionary and are propagated to the resources created in the provisioning.------------ /See:/ 'tag' smart constructor.-data Tag = Tag'- { _tagKey :: !Text- , _tagValue :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'Tag' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'tagKey' - The @ProvisioningArtifactParameter.TagKey@ parameter from 'DescribeProvisioningParameters' .------ * 'tagValue' - The esired value for this key.-tag- :: Text -- ^ 'tagKey'- -> Text -- ^ 'tagValue'- -> Tag-tag pKey_ pValue_ =- Tag'- { _tagKey = pKey_- , _tagValue = pValue_- }---- | The @ProvisioningArtifactParameter.TagKey@ parameter from 'DescribeProvisioningParameters' .-tagKey :: Lens' Tag Text-tagKey = lens _tagKey (\ s a -> s{_tagKey = a});---- | The esired value for this key.-tagValue :: Lens' Tag Text-tagValue = lens _tagValue (\ s a -> s{_tagValue = a});--instance FromJSON Tag where- parseJSON- = withObject "Tag"- (\ x -> Tag' <$> (x .: "Key") <*> (x .: "Value"))--instance Hashable Tag--instance NFData Tag--instance ToJSON Tag where- toJSON Tag'{..}- = object- (catMaybes- [Just ("Key" .= _tagKey),- Just ("Value" .= _tagValue)])---- | The parameter key/value pair used to update a ProvisionedProduct object. If @UsePreviousValue@ is set to true, @Value@ is ignored and the value for @Key@ is kept as previously set (current value).------------ /See:/ 'updateProvisioningParameter' smart constructor.-data UpdateProvisioningParameter = UpdateProvisioningParameter'- { _uppValue :: !(Maybe Text)- , _uppKey :: !(Maybe Text)- , _uppUsePreviousValue :: !(Maybe Bool)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'UpdateProvisioningParameter' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uppValue' - The value to use for updating the product provisioning. Any constraints on this value can be found in the @ProvisioningArtifactParameter@ parameter for @Key@ .------ * 'uppKey' - The @ProvisioningArtifactParameter.ParameterKey@ parameter from 'DescribeProvisioningParameters' .------ * 'uppUsePreviousValue' - If true, uses the currently set value for @Key@ , ignoring @UpdateProvisioningParameter.Value@ .-updateProvisioningParameter- :: UpdateProvisioningParameter-updateProvisioningParameter =- UpdateProvisioningParameter'- { _uppValue = Nothing- , _uppKey = Nothing- , _uppUsePreviousValue = Nothing- }---- | The value to use for updating the product provisioning. Any constraints on this value can be found in the @ProvisioningArtifactParameter@ parameter for @Key@ .-uppValue :: Lens' UpdateProvisioningParameter (Maybe Text)-uppValue = lens _uppValue (\ s a -> s{_uppValue = a});---- | The @ProvisioningArtifactParameter.ParameterKey@ parameter from 'DescribeProvisioningParameters' .-uppKey :: Lens' UpdateProvisioningParameter (Maybe Text)-uppKey = lens _uppKey (\ s a -> s{_uppKey = a});---- | If true, uses the currently set value for @Key@ , ignoring @UpdateProvisioningParameter.Value@ .-uppUsePreviousValue :: Lens' UpdateProvisioningParameter (Maybe Bool)-uppUsePreviousValue = lens _uppUsePreviousValue (\ s a -> s{_uppUsePreviousValue = a});--instance Hashable UpdateProvisioningParameter--instance NFData UpdateProvisioningParameter--instance ToJSON UpdateProvisioningParameter where- toJSON UpdateProvisioningParameter'{..}- = object- (catMaybes- [("Value" .=) <$> _uppValue, ("Key" .=) <$> _uppKey,- ("UsePreviousValue" .=) <$> _uppUsePreviousValue])---- | Additional information provided by the administrator.------------ /See:/ 'usageInstruction' smart constructor.-data UsageInstruction = UsageInstruction'- { _uiValue :: !(Maybe Text)- , _uiType :: !(Maybe Text)- } deriving (Eq,Read,Show,Data,Typeable,Generic)---- | Creates a value of 'UsageInstruction' with the minimum fields required to make a request.------ Use one of the following lenses to modify other fields as desired:------ * 'uiValue' - The usage instruction value for this type.------ * 'uiType' - The usage instruction type for the value.-usageInstruction- :: UsageInstruction-usageInstruction =- UsageInstruction'- { _uiValue = Nothing- , _uiType = Nothing- }---- | The usage instruction value for this type.-uiValue :: Lens' UsageInstruction (Maybe Text)-uiValue = lens _uiValue (\ s a -> s{_uiValue = a});---- | The usage instruction type for the value.-uiType :: Lens' UsageInstruction (Maybe Text)-uiType = lens _uiType (\ s a -> s{_uiType = a});--instance FromJSON UsageInstruction where- parseJSON- = withObject "UsageInstruction"- (\ x ->- UsageInstruction' <$>- (x .:? "Value") <*> (x .:? "Type"))--instance Hashable UsageInstruction--instance NFData UsageInstruction+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+module Network.AWS.ServiceCatalog.Types.Product where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.ServiceCatalog.Types.Sum++-- | The access level to limit results.+--+--+--+-- /See:/ 'accessLevelFilter' smart constructor.+data AccessLevelFilter = AccessLevelFilter'+ { _alfValue :: !(Maybe Text)+ , _alfKey :: !(Maybe AccessLevelFilterKey)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'AccessLevelFilter' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'alfValue' - Specifies the user to which the access level applies. A value of @Self@ is currently supported.+--+-- * 'alfKey' - Specifies the access level. @Account@ allows results at the account level. @Role@ allows results based on the federated role of the specified user. @User@ allows results limited to the specified user.+accessLevelFilter+ :: AccessLevelFilter+accessLevelFilter = AccessLevelFilter' {_alfValue = Nothing, _alfKey = Nothing}+++-- | Specifies the user to which the access level applies. A value of @Self@ is currently supported.+alfValue :: Lens' AccessLevelFilter (Maybe Text)+alfValue = lens _alfValue (\ s a -> s{_alfValue = a});++-- | Specifies the access level. @Account@ allows results at the account level. @Role@ allows results based on the federated role of the specified user. @User@ allows results limited to the specified user.+alfKey :: Lens' AccessLevelFilter (Maybe AccessLevelFilterKey)+alfKey = lens _alfKey (\ s a -> s{_alfKey = a});++instance Hashable AccessLevelFilter where++instance NFData AccessLevelFilter where++instance ToJSON AccessLevelFilter where+ toJSON AccessLevelFilter'{..}+ = object+ (catMaybes+ [("Value" .=) <$> _alfValue, ("Key" .=) <$> _alfKey])++-- | Detailed constraint information.+--+--+--+-- /See:/ 'constraintDetail' smart constructor.+data ConstraintDetail = ConstraintDetail'+ { _cdConstraintId :: !(Maybe Text)+ , _cdOwner :: !(Maybe Text)+ , _cdType :: !(Maybe Text)+ , _cdDescription :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ConstraintDetail' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cdConstraintId' - The identifier of the constraint.+--+-- * 'cdOwner' - The owner of the constraint.+--+-- * 'cdType' - The type of the constraint.+--+-- * 'cdDescription' - The text description of the constraint.+constraintDetail+ :: ConstraintDetail+constraintDetail =+ ConstraintDetail'+ { _cdConstraintId = Nothing+ , _cdOwner = Nothing+ , _cdType = Nothing+ , _cdDescription = Nothing+ }+++-- | The identifier of the constraint.+cdConstraintId :: Lens' ConstraintDetail (Maybe Text)+cdConstraintId = lens _cdConstraintId (\ s a -> s{_cdConstraintId = a});++-- | The owner of the constraint.+cdOwner :: Lens' ConstraintDetail (Maybe Text)+cdOwner = lens _cdOwner (\ s a -> s{_cdOwner = a});++-- | The type of the constraint.+cdType :: Lens' ConstraintDetail (Maybe Text)+cdType = lens _cdType (\ s a -> s{_cdType = a});++-- | The text description of the constraint.+cdDescription :: Lens' ConstraintDetail (Maybe Text)+cdDescription = lens _cdDescription (\ s a -> s{_cdDescription = a});++instance FromJSON ConstraintDetail where+ parseJSON+ = withObject "ConstraintDetail"+ (\ x ->+ ConstraintDetail' <$>+ (x .:? "ConstraintId") <*> (x .:? "Owner") <*>+ (x .:? "Type")+ <*> (x .:? "Description"))++instance Hashable ConstraintDetail where++instance NFData ConstraintDetail where++-- | An administrator-specified constraint to apply when provisioning a product.+--+--+--+-- /See:/ 'constraintSummary' smart constructor.+data ConstraintSummary = ConstraintSummary'+ { _csType :: !(Maybe Text)+ , _csDescription :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ConstraintSummary' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'csType' - The type of the constraint.+--+-- * 'csDescription' - The text description of the constraint.+constraintSummary+ :: ConstraintSummary+constraintSummary =+ ConstraintSummary' {_csType = Nothing, _csDescription = Nothing}+++-- | The type of the constraint.+csType :: Lens' ConstraintSummary (Maybe Text)+csType = lens _csType (\ s a -> s{_csType = a});++-- | The text description of the constraint.+csDescription :: Lens' ConstraintSummary (Maybe Text)+csDescription = lens _csDescription (\ s a -> s{_csDescription = a});++instance FromJSON ConstraintSummary where+ parseJSON+ = withObject "ConstraintSummary"+ (\ x ->+ ConstraintSummary' <$>+ (x .:? "Type") <*> (x .:? "Description"))++instance Hashable ConstraintSummary where++instance NFData ConstraintSummary where++-- | Summary information about a path for a user to have access to a specified product.+--+--+--+-- /See:/ 'launchPathSummary' smart constructor.+data LaunchPathSummary = LaunchPathSummary'+ { _lpsConstraintSummaries :: !(Maybe [ConstraintSummary])+ , _lpsName :: !(Maybe Text)+ , _lpsId :: !(Maybe Text)+ , _lpsTags :: !(Maybe [Tag])+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'LaunchPathSummary' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'lpsConstraintSummaries' - List of constraints on the portfolio-product relationship.+--+-- * 'lpsName' - Corresponds to the name of the portfolio to which the user was assigned.+--+-- * 'lpsId' - The unique identifier of the product path.+--+-- * 'lpsTags' - List of tags used by this launch path.+launchPathSummary+ :: LaunchPathSummary+launchPathSummary =+ LaunchPathSummary'+ { _lpsConstraintSummaries = Nothing+ , _lpsName = Nothing+ , _lpsId = Nothing+ , _lpsTags = Nothing+ }+++-- | List of constraints on the portfolio-product relationship.+lpsConstraintSummaries :: Lens' LaunchPathSummary [ConstraintSummary]+lpsConstraintSummaries = lens _lpsConstraintSummaries (\ s a -> s{_lpsConstraintSummaries = a}) . _Default . _Coerce;++-- | Corresponds to the name of the portfolio to which the user was assigned.+lpsName :: Lens' LaunchPathSummary (Maybe Text)+lpsName = lens _lpsName (\ s a -> s{_lpsName = a});++-- | The unique identifier of the product path.+lpsId :: Lens' LaunchPathSummary (Maybe Text)+lpsId = lens _lpsId (\ s a -> s{_lpsId = a});++-- | List of tags used by this launch path.+lpsTags :: Lens' LaunchPathSummary [Tag]+lpsTags = lens _lpsTags (\ s a -> s{_lpsTags = a}) . _Default . _Coerce;++instance FromJSON LaunchPathSummary where+ parseJSON+ = withObject "LaunchPathSummary"+ (\ x ->+ LaunchPathSummary' <$>+ (x .:? "ConstraintSummaries" .!= mempty) <*>+ (x .:? "Name")+ <*> (x .:? "Id")+ <*> (x .:? "Tags" .!= mempty))++instance Hashable LaunchPathSummary where++instance NFData LaunchPathSummary where++-- | The search filter to limit results when listing request history records.+--+--+--+-- /See:/ 'listRecordHistorySearchFilter' smart constructor.+data ListRecordHistorySearchFilter = ListRecordHistorySearchFilter'+ { _lrhsfValue :: !(Maybe Text)+ , _lrhsfKey :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ListRecordHistorySearchFilter' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'lrhsfValue' - The filter value for @Key@ .+--+-- * 'lrhsfKey' - The filter key.+listRecordHistorySearchFilter+ :: ListRecordHistorySearchFilter+listRecordHistorySearchFilter =+ ListRecordHistorySearchFilter' {_lrhsfValue = Nothing, _lrhsfKey = Nothing}+++-- | The filter value for @Key@ .+lrhsfValue :: Lens' ListRecordHistorySearchFilter (Maybe Text)+lrhsfValue = lens _lrhsfValue (\ s a -> s{_lrhsfValue = a});++-- | The filter key.+lrhsfKey :: Lens' ListRecordHistorySearchFilter (Maybe Text)+lrhsfKey = lens _lrhsfKey (\ s a -> s{_lrhsfKey = a});++instance Hashable ListRecordHistorySearchFilter where++instance NFData ListRecordHistorySearchFilter where++instance ToJSON ListRecordHistorySearchFilter where+ toJSON ListRecordHistorySearchFilter'{..}+ = object+ (catMaybes+ [("Value" .=) <$> _lrhsfValue,+ ("Key" .=) <$> _lrhsfKey])++-- | The ListTagOptions filters.+--+--+--+-- /See:/ 'listTagOptionsFilters' smart constructor.+data ListTagOptionsFilters = ListTagOptionsFilters'+ { _ltofValue :: !(Maybe Text)+ , _ltofActive :: !(Maybe Bool)+ , _ltofKey :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ListTagOptionsFilters' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ltofValue' - The ListTagOptionsFilters value.+--+-- * 'ltofActive' - The ListTagOptionsFilters active state.+--+-- * 'ltofKey' - The ListTagOptionsFilters key.+listTagOptionsFilters+ :: ListTagOptionsFilters+listTagOptionsFilters =+ ListTagOptionsFilters'+ {_ltofValue = Nothing, _ltofActive = Nothing, _ltofKey = Nothing}+++-- | The ListTagOptionsFilters value.+ltofValue :: Lens' ListTagOptionsFilters (Maybe Text)+ltofValue = lens _ltofValue (\ s a -> s{_ltofValue = a});++-- | The ListTagOptionsFilters active state.+ltofActive :: Lens' ListTagOptionsFilters (Maybe Bool)+ltofActive = lens _ltofActive (\ s a -> s{_ltofActive = a});++-- | The ListTagOptionsFilters key.+ltofKey :: Lens' ListTagOptionsFilters (Maybe Text)+ltofKey = lens _ltofKey (\ s a -> s{_ltofKey = a});++instance Hashable ListTagOptionsFilters where++instance NFData ListTagOptionsFilters where++instance ToJSON ListTagOptionsFilters where+ toJSON ListTagOptionsFilters'{..}+ = object+ (catMaybes+ [("Value" .=) <$> _ltofValue,+ ("Active" .=) <$> _ltofActive,+ ("Key" .=) <$> _ltofKey])++-- | The constraints that the administrator has put on the parameter.+--+--+--+-- /See:/ 'parameterConstraints' smart constructor.+newtype ParameterConstraints = ParameterConstraints'+ { _pcAllowedValues :: Maybe [Text]+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ParameterConstraints' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'pcAllowedValues' - The values that the administrator has allowed for the parameter.+parameterConstraints+ :: ParameterConstraints+parameterConstraints = ParameterConstraints' {_pcAllowedValues = Nothing}+++-- | The values that the administrator has allowed for the parameter.+pcAllowedValues :: Lens' ParameterConstraints [Text]+pcAllowedValues = lens _pcAllowedValues (\ s a -> s{_pcAllowedValues = a}) . _Default . _Coerce;++instance FromJSON ParameterConstraints where+ parseJSON+ = withObject "ParameterConstraints"+ (\ x ->+ ParameterConstraints' <$>+ (x .:? "AllowedValues" .!= mempty))++instance Hashable ParameterConstraints where++instance NFData ParameterConstraints where++-- | Detailed portfolio information.+--+--+--+-- /See:/ 'portfolioDetail' smart constructor.+data PortfolioDetail = PortfolioDetail'+ { _pdARN :: !(Maybe Text)+ , _pdCreatedTime :: !(Maybe POSIX)+ , _pdId :: !(Maybe Text)+ , _pdDisplayName :: !(Maybe Text)+ , _pdDescription :: !(Maybe Text)+ , _pdProviderName :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'PortfolioDetail' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'pdARN' - The ARN assigned to the portfolio.+--+-- * 'pdCreatedTime' - The UTC timestamp of the creation time.+--+-- * 'pdId' - The identifier for the portfolio.+--+-- * 'pdDisplayName' - The name to use for display purposes.+--+-- * 'pdDescription' - The text description of the portfolio.+--+-- * 'pdProviderName' - The name of the portfolio provider.+portfolioDetail+ :: PortfolioDetail+portfolioDetail =+ PortfolioDetail'+ { _pdARN = Nothing+ , _pdCreatedTime = Nothing+ , _pdId = Nothing+ , _pdDisplayName = Nothing+ , _pdDescription = Nothing+ , _pdProviderName = Nothing+ }+++-- | The ARN assigned to the portfolio.+pdARN :: Lens' PortfolioDetail (Maybe Text)+pdARN = lens _pdARN (\ s a -> s{_pdARN = a});++-- | The UTC timestamp of the creation time.+pdCreatedTime :: Lens' PortfolioDetail (Maybe UTCTime)+pdCreatedTime = lens _pdCreatedTime (\ s a -> s{_pdCreatedTime = a}) . mapping _Time;++-- | The identifier for the portfolio.+pdId :: Lens' PortfolioDetail (Maybe Text)+pdId = lens _pdId (\ s a -> s{_pdId = a});++-- | The name to use for display purposes.+pdDisplayName :: Lens' PortfolioDetail (Maybe Text)+pdDisplayName = lens _pdDisplayName (\ s a -> s{_pdDisplayName = a});++-- | The text description of the portfolio.+pdDescription :: Lens' PortfolioDetail (Maybe Text)+pdDescription = lens _pdDescription (\ s a -> s{_pdDescription = a});++-- | The name of the portfolio provider.+pdProviderName :: Lens' PortfolioDetail (Maybe Text)+pdProviderName = lens _pdProviderName (\ s a -> s{_pdProviderName = a});++instance FromJSON PortfolioDetail where+ parseJSON+ = withObject "PortfolioDetail"+ (\ x ->+ PortfolioDetail' <$>+ (x .:? "ARN") <*> (x .:? "CreatedTime") <*>+ (x .:? "Id")+ <*> (x .:? "DisplayName")+ <*> (x .:? "Description")+ <*> (x .:? "ProviderName"))++instance Hashable PortfolioDetail where++instance NFData PortfolioDetail where++-- | A principal's ARN and type.+--+--+--+-- /See:/ 'principal' smart constructor.+data Principal = Principal'+ { _pPrincipalType :: !(Maybe PrincipalType)+ , _pPrincipalARN :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'Principal' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'pPrincipalType' - The principal type. Must be @IAM@+--+-- * 'pPrincipalARN' - The ARN representing the principal (IAM user, role, or group).+principal+ :: Principal+principal = Principal' {_pPrincipalType = Nothing, _pPrincipalARN = Nothing}+++-- | The principal type. Must be @IAM@+pPrincipalType :: Lens' Principal (Maybe PrincipalType)+pPrincipalType = lens _pPrincipalType (\ s a -> s{_pPrincipalType = a});++-- | The ARN representing the principal (IAM user, role, or group).+pPrincipalARN :: Lens' Principal (Maybe Text)+pPrincipalARN = lens _pPrincipalARN (\ s a -> s{_pPrincipalARN = a});++instance FromJSON Principal where+ parseJSON+ = withObject "Principal"+ (\ x ->+ Principal' <$>+ (x .:? "PrincipalType") <*> (x .:? "PrincipalARN"))++instance Hashable Principal where++instance NFData Principal where++-- | A single product view aggregation value/count pair, containing metadata about each product to which the calling user has access.+--+--+--+-- /See:/ 'productViewAggregationValue' smart constructor.+data ProductViewAggregationValue = ProductViewAggregationValue'+ { _pvavValue :: !(Maybe Text)+ , _pvavApproximateCount :: !(Maybe Int)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ProductViewAggregationValue' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'pvavValue' - The value of the product view aggregation.+--+-- * 'pvavApproximateCount' - An approximate count of the products that match the value.+productViewAggregationValue+ :: ProductViewAggregationValue+productViewAggregationValue =+ ProductViewAggregationValue'+ {_pvavValue = Nothing, _pvavApproximateCount = Nothing}+++-- | The value of the product view aggregation.+pvavValue :: Lens' ProductViewAggregationValue (Maybe Text)+pvavValue = lens _pvavValue (\ s a -> s{_pvavValue = a});++-- | An approximate count of the products that match the value.+pvavApproximateCount :: Lens' ProductViewAggregationValue (Maybe Int)+pvavApproximateCount = lens _pvavApproximateCount (\ s a -> s{_pvavApproximateCount = a});++instance FromJSON ProductViewAggregationValue where+ parseJSON+ = withObject "ProductViewAggregationValue"+ (\ x ->+ ProductViewAggregationValue' <$>+ (x .:? "Value") <*> (x .:? "ApproximateCount"))++instance Hashable ProductViewAggregationValue where++instance NFData ProductViewAggregationValue where++-- | Detailed product view information.+--+--+--+-- /See:/ 'productViewDetail' smart constructor.+data ProductViewDetail = ProductViewDetail'+ { _pvdStatus :: !(Maybe RequestStatus)+ , _pvdProductViewSummary :: !(Maybe ProductViewSummary)+ , _pvdCreatedTime :: !(Maybe POSIX)+ , _pvdProductARN :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ProductViewDetail' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'pvdStatus' - Current status of the product. @AVAILABLE@ - Product is available for use. @CREATING@ - Creation of product started, not ready for use. @FAILED@ - Action on product failed.+--+-- * 'pvdProductViewSummary' - The summary metadata about the specified product view.+--+-- * 'pvdCreatedTime' - The UTC timestamp of the creation time.+--+-- * 'pvdProductARN' - The ARN associated with the product.+productViewDetail+ :: ProductViewDetail+productViewDetail =+ ProductViewDetail'+ { _pvdStatus = Nothing+ , _pvdProductViewSummary = Nothing+ , _pvdCreatedTime = Nothing+ , _pvdProductARN = Nothing+ }+++-- | Current status of the product. @AVAILABLE@ - Product is available for use. @CREATING@ - Creation of product started, not ready for use. @FAILED@ - Action on product failed.+pvdStatus :: Lens' ProductViewDetail (Maybe RequestStatus)+pvdStatus = lens _pvdStatus (\ s a -> s{_pvdStatus = a});++-- | The summary metadata about the specified product view.+pvdProductViewSummary :: Lens' ProductViewDetail (Maybe ProductViewSummary)+pvdProductViewSummary = lens _pvdProductViewSummary (\ s a -> s{_pvdProductViewSummary = a});++-- | The UTC timestamp of the creation time.+pvdCreatedTime :: Lens' ProductViewDetail (Maybe UTCTime)+pvdCreatedTime = lens _pvdCreatedTime (\ s a -> s{_pvdCreatedTime = a}) . mapping _Time;++-- | The ARN associated with the product.+pvdProductARN :: Lens' ProductViewDetail (Maybe Text)+pvdProductARN = lens _pvdProductARN (\ s a -> s{_pvdProductARN = a});++instance FromJSON ProductViewDetail where+ parseJSON+ = withObject "ProductViewDetail"+ (\ x ->+ ProductViewDetail' <$>+ (x .:? "Status") <*> (x .:? "ProductViewSummary") <*>+ (x .:? "CreatedTime")+ <*> (x .:? "ProductARN"))++instance Hashable ProductViewDetail where++instance NFData ProductViewDetail where++-- | The summary metadata about the specified product.+--+--+--+-- /See:/ 'productViewSummary' smart constructor.+data ProductViewSummary = ProductViewSummary'+ { _pvsOwner :: !(Maybe Text)+ , _pvsSupportURL :: !(Maybe Text)+ , _pvsShortDescription :: !(Maybe Text)+ , _pvsHasDefaultPath :: !(Maybe Bool)+ , _pvsDistributor :: !(Maybe Text)+ , _pvsName :: !(Maybe Text)+ , _pvsId :: !(Maybe Text)+ , _pvsType :: !(Maybe ProductType)+ , _pvsSupportEmail :: !(Maybe Text)+ , _pvsProductId :: !(Maybe Text)+ , _pvsSupportDescription :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ProductViewSummary' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'pvsOwner' - The owner of the product. Contact the product administrator for the significance of this value.+--+-- * 'pvsSupportURL' - The URL information to obtain support for this Product.+--+-- * 'pvsShortDescription' - Short description of the product.+--+-- * 'pvsHasDefaultPath' - A value of @false@ indicates that the product does not have a default path, while a value of @true@ indicates that it does. If it's false, call 'ListLaunchPaths' to disambiguate between paths. If true, 'ListLaunchPaths' is not required, and the output of the 'ProductViewSummary' operation can be used directly with 'DescribeProvisioningParameters' .+--+-- * 'pvsDistributor' - The distributor of the product. Contact the product administrator for the significance of this value.+--+-- * 'pvsName' - The name of the product.+--+-- * 'pvsId' - The product view identifier.+--+-- * 'pvsType' - The product type. Contact the product administrator for the significance of this value. If this value is @MARKETPLACE@ , the product was created by AWS Marketplace.+--+-- * 'pvsSupportEmail' - The email contact information to obtain support for this Product.+--+-- * 'pvsProductId' - The product identifier.+--+-- * 'pvsSupportDescription' - The description of the support for this Product.+productViewSummary+ :: ProductViewSummary+productViewSummary =+ ProductViewSummary'+ { _pvsOwner = Nothing+ , _pvsSupportURL = Nothing+ , _pvsShortDescription = Nothing+ , _pvsHasDefaultPath = Nothing+ , _pvsDistributor = Nothing+ , _pvsName = Nothing+ , _pvsId = Nothing+ , _pvsType = Nothing+ , _pvsSupportEmail = Nothing+ , _pvsProductId = Nothing+ , _pvsSupportDescription = Nothing+ }+++-- | The owner of the product. Contact the product administrator for the significance of this value.+pvsOwner :: Lens' ProductViewSummary (Maybe Text)+pvsOwner = lens _pvsOwner (\ s a -> s{_pvsOwner = a});++-- | The URL information to obtain support for this Product.+pvsSupportURL :: Lens' ProductViewSummary (Maybe Text)+pvsSupportURL = lens _pvsSupportURL (\ s a -> s{_pvsSupportURL = a});++-- | Short description of the product.+pvsShortDescription :: Lens' ProductViewSummary (Maybe Text)+pvsShortDescription = lens _pvsShortDescription (\ s a -> s{_pvsShortDescription = a});++-- | A value of @false@ indicates that the product does not have a default path, while a value of @true@ indicates that it does. If it's false, call 'ListLaunchPaths' to disambiguate between paths. If true, 'ListLaunchPaths' is not required, and the output of the 'ProductViewSummary' operation can be used directly with 'DescribeProvisioningParameters' .+pvsHasDefaultPath :: Lens' ProductViewSummary (Maybe Bool)+pvsHasDefaultPath = lens _pvsHasDefaultPath (\ s a -> s{_pvsHasDefaultPath = a});++-- | The distributor of the product. Contact the product administrator for the significance of this value.+pvsDistributor :: Lens' ProductViewSummary (Maybe Text)+pvsDistributor = lens _pvsDistributor (\ s a -> s{_pvsDistributor = a});++-- | The name of the product.+pvsName :: Lens' ProductViewSummary (Maybe Text)+pvsName = lens _pvsName (\ s a -> s{_pvsName = a});++-- | The product view identifier.+pvsId :: Lens' ProductViewSummary (Maybe Text)+pvsId = lens _pvsId (\ s a -> s{_pvsId = a});++-- | The product type. Contact the product administrator for the significance of this value. If this value is @MARKETPLACE@ , the product was created by AWS Marketplace.+pvsType :: Lens' ProductViewSummary (Maybe ProductType)+pvsType = lens _pvsType (\ s a -> s{_pvsType = a});++-- | The email contact information to obtain support for this Product.+pvsSupportEmail :: Lens' ProductViewSummary (Maybe Text)+pvsSupportEmail = lens _pvsSupportEmail (\ s a -> s{_pvsSupportEmail = a});++-- | The product identifier.+pvsProductId :: Lens' ProductViewSummary (Maybe Text)+pvsProductId = lens _pvsProductId (\ s a -> s{_pvsProductId = a});++-- | The description of the support for this Product.+pvsSupportDescription :: Lens' ProductViewSummary (Maybe Text)+pvsSupportDescription = lens _pvsSupportDescription (\ s a -> s{_pvsSupportDescription = a});++instance FromJSON ProductViewSummary where+ parseJSON+ = withObject "ProductViewSummary"+ (\ x ->+ ProductViewSummary' <$>+ (x .:? "Owner") <*> (x .:? "SupportUrl") <*>+ (x .:? "ShortDescription")+ <*> (x .:? "HasDefaultPath")+ <*> (x .:? "Distributor")+ <*> (x .:? "Name")+ <*> (x .:? "Id")+ <*> (x .:? "Type")+ <*> (x .:? "SupportEmail")+ <*> (x .:? "ProductId")+ <*> (x .:? "SupportDescription"))++instance Hashable ProductViewSummary where++instance NFData ProductViewSummary where++-- | Detailed information about a ProvisionedProduct object.+--+--+--+-- /See:/ 'provisionedProductDetail' smart constructor.+data ProvisionedProductDetail = ProvisionedProductDetail'+ { _ppdIdempotencyToken :: !(Maybe Text)+ , _ppdStatus :: !(Maybe ProvisionedProductStatus)+ , _ppdARN :: !(Maybe Text)+ , _ppdCreatedTime :: !(Maybe POSIX)+ , _ppdStatusMessage :: !(Maybe Text)+ , _ppdName :: !(Maybe Text)+ , _ppdLastRecordId :: !(Maybe Text)+ , _ppdId :: !(Maybe Text)+ , _ppdType :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ProvisionedProductDetail' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ppdIdempotencyToken' - A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.+--+-- * 'ppdStatus' - The current status of the ProvisionedProduct. @AVAILABLE@ - Stable state, ready to perform any operation. The most recent action request succeeded and completed. @UNDER_CHANGE@ - Transitive state, operations performed may or may not have valid results. Wait for an @AVAILABLE@ status before performing operations. @TAINTED@ - Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version. @ERROR@ - Something unexpected happened such that the provisioned product exists but the stack is not running. For example, CloudFormation received an invalid parameter value and could not launch the stack.+--+-- * 'ppdARN' - The ARN associated with the ProvisionedProduct object.+--+-- * 'ppdCreatedTime' - The UTC timestamp of the creation time.+--+-- * 'ppdStatusMessage' - The current status message of the ProvisionedProduct.+--+-- * 'ppdName' - The user-friendly name of the ProvisionedProduct object.+--+-- * 'ppdLastRecordId' - The record identifier of the last request performed on this ProvisionedProduct object.+--+-- * 'ppdId' - The identifier of the ProvisionedProduct object.+--+-- * 'ppdType' - The type of the ProvisionedProduct object.+provisionedProductDetail+ :: ProvisionedProductDetail+provisionedProductDetail =+ ProvisionedProductDetail'+ { _ppdIdempotencyToken = Nothing+ , _ppdStatus = Nothing+ , _ppdARN = Nothing+ , _ppdCreatedTime = Nothing+ , _ppdStatusMessage = Nothing+ , _ppdName = Nothing+ , _ppdLastRecordId = Nothing+ , _ppdId = Nothing+ , _ppdType = Nothing+ }+++-- | A token to disambiguate duplicate requests. You can use the same input in multiple requests, provided that you also specify a different idempotency token for each request.+ppdIdempotencyToken :: Lens' ProvisionedProductDetail (Maybe Text)+ppdIdempotencyToken = lens _ppdIdempotencyToken (\ s a -> s{_ppdIdempotencyToken = a});++-- | The current status of the ProvisionedProduct. @AVAILABLE@ - Stable state, ready to perform any operation. The most recent action request succeeded and completed. @UNDER_CHANGE@ - Transitive state, operations performed may or may not have valid results. Wait for an @AVAILABLE@ status before performing operations. @TAINTED@ - Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version. @ERROR@ - Something unexpected happened such that the provisioned product exists but the stack is not running. For example, CloudFormation received an invalid parameter value and could not launch the stack.+ppdStatus :: Lens' ProvisionedProductDetail (Maybe ProvisionedProductStatus)+ppdStatus = lens _ppdStatus (\ s a -> s{_ppdStatus = a});++-- | The ARN associated with the ProvisionedProduct object.+ppdARN :: Lens' ProvisionedProductDetail (Maybe Text)+ppdARN = lens _ppdARN (\ s a -> s{_ppdARN = a});++-- | The UTC timestamp of the creation time.+ppdCreatedTime :: Lens' ProvisionedProductDetail (Maybe UTCTime)+ppdCreatedTime = lens _ppdCreatedTime (\ s a -> s{_ppdCreatedTime = a}) . mapping _Time;++-- | The current status message of the ProvisionedProduct.+ppdStatusMessage :: Lens' ProvisionedProductDetail (Maybe Text)+ppdStatusMessage = lens _ppdStatusMessage (\ s a -> s{_ppdStatusMessage = a});++-- | The user-friendly name of the ProvisionedProduct object.+ppdName :: Lens' ProvisionedProductDetail (Maybe Text)+ppdName = lens _ppdName (\ s a -> s{_ppdName = a});++-- | The record identifier of the last request performed on this ProvisionedProduct object.+ppdLastRecordId :: Lens' ProvisionedProductDetail (Maybe Text)+ppdLastRecordId = lens _ppdLastRecordId (\ s a -> s{_ppdLastRecordId = a});++-- | The identifier of the ProvisionedProduct object.+ppdId :: Lens' ProvisionedProductDetail (Maybe Text)+ppdId = lens _ppdId (\ s a -> s{_ppdId = a});++-- | The type of the ProvisionedProduct object.+ppdType :: Lens' ProvisionedProductDetail (Maybe Text)+ppdType = lens _ppdType (\ s a -> s{_ppdType = a});++instance FromJSON ProvisionedProductDetail where+ parseJSON+ = withObject "ProvisionedProductDetail"+ (\ x ->+ ProvisionedProductDetail' <$>+ (x .:? "IdempotencyToken") <*> (x .:? "Status") <*>+ (x .:? "Arn")+ <*> (x .:? "CreatedTime")+ <*> (x .:? "StatusMessage")+ <*> (x .:? "Name")+ <*> (x .:? "LastRecordId")+ <*> (x .:? "Id")+ <*> (x .:? "Type"))++instance Hashable ProvisionedProductDetail where++instance NFData ProvisionedProductDetail where++-- | Contains information indicating the ways in which a product can be provisioned.+--+--+--+-- /See:/ 'provisioningArtifact' smart constructor.+data ProvisioningArtifact = ProvisioningArtifact'+ { _paCreatedTime :: !(Maybe POSIX)+ , _paName :: !(Maybe Text)+ , _paId :: !(Maybe Text)+ , _paDescription :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ProvisioningArtifact' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'paCreatedTime' - The UTC timestamp of the creation time.+--+-- * 'paName' - The name of the artifact.+--+-- * 'paId' - The identifier for the artifact. This is sometimes referred to as the product version.+--+-- * 'paDescription' - The text description of the artifact.+provisioningArtifact+ :: ProvisioningArtifact+provisioningArtifact =+ ProvisioningArtifact'+ { _paCreatedTime = Nothing+ , _paName = Nothing+ , _paId = Nothing+ , _paDescription = Nothing+ }+++-- | The UTC timestamp of the creation time.+paCreatedTime :: Lens' ProvisioningArtifact (Maybe UTCTime)+paCreatedTime = lens _paCreatedTime (\ s a -> s{_paCreatedTime = a}) . mapping _Time;++-- | The name of the artifact.+paName :: Lens' ProvisioningArtifact (Maybe Text)+paName = lens _paName (\ s a -> s{_paName = a});++-- | The identifier for the artifact. This is sometimes referred to as the product version.+paId :: Lens' ProvisioningArtifact (Maybe Text)+paId = lens _paId (\ s a -> s{_paId = a});++-- | The text description of the artifact.+paDescription :: Lens' ProvisioningArtifact (Maybe Text)+paDescription = lens _paDescription (\ s a -> s{_paDescription = a});++instance FromJSON ProvisioningArtifact where+ parseJSON+ = withObject "ProvisioningArtifact"+ (\ x ->+ ProvisioningArtifact' <$>+ (x .:? "CreatedTime") <*> (x .:? "Name") <*>+ (x .:? "Id")+ <*> (x .:? "Description"))++instance Hashable ProvisioningArtifact where++instance NFData ProvisioningArtifact where++-- | Detailed provisioning artifact information.+--+--+--+-- /See:/ 'provisioningArtifactDetail' smart constructor.+data ProvisioningArtifactDetail = ProvisioningArtifactDetail'+ { _padCreatedTime :: !(Maybe POSIX)+ , _padName :: !(Maybe Text)+ , _padId :: !(Maybe Text)+ , _padType :: !(Maybe ProvisioningArtifactType)+ , _padDescription :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ProvisioningArtifactDetail' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'padCreatedTime' - The UTC timestamp of the creation time.+--+-- * 'padName' - The name assigned to the provisioning artifact.+--+-- * 'padId' - The identifier of the provisioning artifact. This is sometimes referred to as the product version.+--+-- * 'padType' - The type of the provisioning artifact. The following provisioning artifact types are used by AWS Marketplace products: @MARKETPLACE_AMI@ - AMI products. @MARKETPLACE_CAR@ - CAR (Cluster and AWS Resources) products.+--+-- * 'padDescription' - The text description of the provisioning artifact.+provisioningArtifactDetail+ :: ProvisioningArtifactDetail+provisioningArtifactDetail =+ ProvisioningArtifactDetail'+ { _padCreatedTime = Nothing+ , _padName = Nothing+ , _padId = Nothing+ , _padType = Nothing+ , _padDescription = Nothing+ }+++-- | The UTC timestamp of the creation time.+padCreatedTime :: Lens' ProvisioningArtifactDetail (Maybe UTCTime)+padCreatedTime = lens _padCreatedTime (\ s a -> s{_padCreatedTime = a}) . mapping _Time;++-- | The name assigned to the provisioning artifact.+padName :: Lens' ProvisioningArtifactDetail (Maybe Text)+padName = lens _padName (\ s a -> s{_padName = a});++-- | The identifier of the provisioning artifact. This is sometimes referred to as the product version.+padId :: Lens' ProvisioningArtifactDetail (Maybe Text)+padId = lens _padId (\ s a -> s{_padId = a});++-- | The type of the provisioning artifact. The following provisioning artifact types are used by AWS Marketplace products: @MARKETPLACE_AMI@ - AMI products. @MARKETPLACE_CAR@ - CAR (Cluster and AWS Resources) products.+padType :: Lens' ProvisioningArtifactDetail (Maybe ProvisioningArtifactType)+padType = lens _padType (\ s a -> s{_padType = a});++-- | The text description of the provisioning artifact.+padDescription :: Lens' ProvisioningArtifactDetail (Maybe Text)+padDescription = lens _padDescription (\ s a -> s{_padDescription = a});++instance FromJSON ProvisioningArtifactDetail where+ parseJSON+ = withObject "ProvisioningArtifactDetail"+ (\ x ->+ ProvisioningArtifactDetail' <$>+ (x .:? "CreatedTime") <*> (x .:? "Name") <*>+ (x .:? "Id")+ <*> (x .:? "Type")+ <*> (x .:? "Description"))++instance Hashable ProvisioningArtifactDetail where++instance NFData ProvisioningArtifactDetail where++-- | A parameter used to successfully provision the product. This value includes a list of allowable values and additional metadata.+--+--+--+-- /See:/ 'provisioningArtifactParameter' smart constructor.+data ProvisioningArtifactParameter = ProvisioningArtifactParameter'+ { _pIsNoEcho :: !(Maybe Bool)+ , _pParameterKey :: !(Maybe Text)+ , _pParameterType :: !(Maybe Text)+ , _pParameterConstraints :: !(Maybe ParameterConstraints)+ , _pDefaultValue :: !(Maybe Text)+ , _pDescription :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ProvisioningArtifactParameter' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'pIsNoEcho' - If this value is true, the value for this parameter is obfuscated from view when the parameter is retrieved. This parameter is used to hide sensitive information.+--+-- * 'pParameterKey' - The parameter key.+--+-- * 'pParameterType' - The parameter type.+--+-- * 'pParameterConstraints' - The list of constraints that the administrator has put on the parameter.+--+-- * 'pDefaultValue' - The default value for this parameter.+--+-- * 'pDescription' - The text description of the parameter.+provisioningArtifactParameter+ :: ProvisioningArtifactParameter+provisioningArtifactParameter =+ ProvisioningArtifactParameter'+ { _pIsNoEcho = Nothing+ , _pParameterKey = Nothing+ , _pParameterType = Nothing+ , _pParameterConstraints = Nothing+ , _pDefaultValue = Nothing+ , _pDescription = Nothing+ }+++-- | If this value is true, the value for this parameter is obfuscated from view when the parameter is retrieved. This parameter is used to hide sensitive information.+pIsNoEcho :: Lens' ProvisioningArtifactParameter (Maybe Bool)+pIsNoEcho = lens _pIsNoEcho (\ s a -> s{_pIsNoEcho = a});++-- | The parameter key.+pParameterKey :: Lens' ProvisioningArtifactParameter (Maybe Text)+pParameterKey = lens _pParameterKey (\ s a -> s{_pParameterKey = a});++-- | The parameter type.+pParameterType :: Lens' ProvisioningArtifactParameter (Maybe Text)+pParameterType = lens _pParameterType (\ s a -> s{_pParameterType = a});++-- | The list of constraints that the administrator has put on the parameter.+pParameterConstraints :: Lens' ProvisioningArtifactParameter (Maybe ParameterConstraints)+pParameterConstraints = lens _pParameterConstraints (\ s a -> s{_pParameterConstraints = a});++-- | The default value for this parameter.+pDefaultValue :: Lens' ProvisioningArtifactParameter (Maybe Text)+pDefaultValue = lens _pDefaultValue (\ s a -> s{_pDefaultValue = a});++-- | The text description of the parameter.+pDescription :: Lens' ProvisioningArtifactParameter (Maybe Text)+pDescription = lens _pDescription (\ s a -> s{_pDescription = a});++instance FromJSON ProvisioningArtifactParameter where+ parseJSON+ = withObject "ProvisioningArtifactParameter"+ (\ x ->+ ProvisioningArtifactParameter' <$>+ (x .:? "IsNoEcho") <*> (x .:? "ParameterKey") <*>+ (x .:? "ParameterType")+ <*> (x .:? "ParameterConstraints")+ <*> (x .:? "DefaultValue")+ <*> (x .:? "Description"))++instance Hashable ProvisioningArtifactParameter where++instance NFData ProvisioningArtifactParameter where++-- | Provisioning artifact properties. For example request JSON, see 'CreateProvisioningArtifact' .+--+--+--+-- /See:/ 'provisioningArtifactProperties' smart constructor.+data ProvisioningArtifactProperties = ProvisioningArtifactProperties'+ { _papName :: !(Maybe Text)+ , _papType :: !(Maybe ProvisioningArtifactType)+ , _papDescription :: !(Maybe Text)+ , _papInfo :: !(Map Text Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ProvisioningArtifactProperties' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'papName' - The name assigned to the provisioning artifact properties.+--+-- * 'papType' - The type of the provisioning artifact properties. The following provisioning artifact property types are used by AWS Marketplace products: @MARKETPLACE_AMI@ - AMI products. @MARKETPLACE_CAR@ - CAR (Cluster and AWS Resources) products.+--+-- * 'papDescription' - The text description of the provisioning artifact properties.+--+-- * 'papInfo' - Additional information about the provisioning artifact properties. When using this element in a request, you must specify @LoadTemplateFromURL@ . For more information, see 'CreateProvisioningArtifact' .+provisioningArtifactProperties+ :: ProvisioningArtifactProperties+provisioningArtifactProperties =+ ProvisioningArtifactProperties'+ { _papName = Nothing+ , _papType = Nothing+ , _papDescription = Nothing+ , _papInfo = mempty+ }+++-- | The name assigned to the provisioning artifact properties.+papName :: Lens' ProvisioningArtifactProperties (Maybe Text)+papName = lens _papName (\ s a -> s{_papName = a});++-- | The type of the provisioning artifact properties. The following provisioning artifact property types are used by AWS Marketplace products: @MARKETPLACE_AMI@ - AMI products. @MARKETPLACE_CAR@ - CAR (Cluster and AWS Resources) products.+papType :: Lens' ProvisioningArtifactProperties (Maybe ProvisioningArtifactType)+papType = lens _papType (\ s a -> s{_papType = a});++-- | The text description of the provisioning artifact properties.+papDescription :: Lens' ProvisioningArtifactProperties (Maybe Text)+papDescription = lens _papDescription (\ s a -> s{_papDescription = a});++-- | Additional information about the provisioning artifact properties. When using this element in a request, you must specify @LoadTemplateFromURL@ . For more information, see 'CreateProvisioningArtifact' .+papInfo :: Lens' ProvisioningArtifactProperties (HashMap Text Text)+papInfo = lens _papInfo (\ s a -> s{_papInfo = a}) . _Map;++instance Hashable ProvisioningArtifactProperties+ where++instance NFData ProvisioningArtifactProperties where++instance ToJSON ProvisioningArtifactProperties where+ toJSON ProvisioningArtifactProperties'{..}+ = object+ (catMaybes+ [("Name" .=) <$> _papName, ("Type" .=) <$> _papType,+ ("Description" .=) <$> _papDescription,+ Just ("Info" .= _papInfo)])++-- | Stores summary information about a provisioning artifact.+--+--+--+-- /See:/ 'provisioningArtifactSummary' smart constructor.+data ProvisioningArtifactSummary = ProvisioningArtifactSummary'+ { _pasProvisioningArtifactMetadata :: !(Maybe (Map Text Text))+ , _pasCreatedTime :: !(Maybe POSIX)+ , _pasName :: !(Maybe Text)+ , _pasId :: !(Maybe Text)+ , _pasDescription :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ProvisioningArtifactSummary' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'pasProvisioningArtifactMetadata' - The provisioning artifact metadata. This data is used with products created by AWS Marketplace.+--+-- * 'pasCreatedTime' - The UTC timestamp of the creation time.+--+-- * 'pasName' - The name of the provisioning artifact.+--+-- * 'pasId' - The identifier of the provisioning artifact.+--+-- * 'pasDescription' - The description of the provisioning artifact.+provisioningArtifactSummary+ :: ProvisioningArtifactSummary+provisioningArtifactSummary =+ ProvisioningArtifactSummary'+ { _pasProvisioningArtifactMetadata = Nothing+ , _pasCreatedTime = Nothing+ , _pasName = Nothing+ , _pasId = Nothing+ , _pasDescription = Nothing+ }+++-- | The provisioning artifact metadata. This data is used with products created by AWS Marketplace.+pasProvisioningArtifactMetadata :: Lens' ProvisioningArtifactSummary (HashMap Text Text)+pasProvisioningArtifactMetadata = lens _pasProvisioningArtifactMetadata (\ s a -> s{_pasProvisioningArtifactMetadata = a}) . _Default . _Map;++-- | The UTC timestamp of the creation time.+pasCreatedTime :: Lens' ProvisioningArtifactSummary (Maybe UTCTime)+pasCreatedTime = lens _pasCreatedTime (\ s a -> s{_pasCreatedTime = a}) . mapping _Time;++-- | The name of the provisioning artifact.+pasName :: Lens' ProvisioningArtifactSummary (Maybe Text)+pasName = lens _pasName (\ s a -> s{_pasName = a});++-- | The identifier of the provisioning artifact.+pasId :: Lens' ProvisioningArtifactSummary (Maybe Text)+pasId = lens _pasId (\ s a -> s{_pasId = a});++-- | The description of the provisioning artifact.+pasDescription :: Lens' ProvisioningArtifactSummary (Maybe Text)+pasDescription = lens _pasDescription (\ s a -> s{_pasDescription = a});++instance FromJSON ProvisioningArtifactSummary where+ parseJSON+ = withObject "ProvisioningArtifactSummary"+ (\ x ->+ ProvisioningArtifactSummary' <$>+ (x .:? "ProvisioningArtifactMetadata" .!= mempty) <*>+ (x .:? "CreatedTime")+ <*> (x .:? "Name")+ <*> (x .:? "Id")+ <*> (x .:? "Description"))++instance Hashable ProvisioningArtifactSummary where++instance NFData ProvisioningArtifactSummary where++-- | The parameter key-value pairs used to provision a product.+--+--+--+-- /See:/ 'provisioningParameter' smart constructor.+data ProvisioningParameter = ProvisioningParameter'+ { _ppValue :: !(Maybe Text)+ , _ppKey :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ProvisioningParameter' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'ppValue' - The value to use for provisioning. Any constraints on this value can be found in @ProvisioningArtifactParameter@ for @Key@ .+--+-- * 'ppKey' - The @ProvisioningArtifactParameter.ParameterKey@ parameter from 'DescribeProvisioningParameters' .+provisioningParameter+ :: ProvisioningParameter+provisioningParameter =+ ProvisioningParameter' {_ppValue = Nothing, _ppKey = Nothing}+++-- | The value to use for provisioning. Any constraints on this value can be found in @ProvisioningArtifactParameter@ for @Key@ .+ppValue :: Lens' ProvisioningParameter (Maybe Text)+ppValue = lens _ppValue (\ s a -> s{_ppValue = a});++-- | The @ProvisioningArtifactParameter.ParameterKey@ parameter from 'DescribeProvisioningParameters' .+ppKey :: Lens' ProvisioningParameter (Maybe Text)+ppKey = lens _ppKey (\ s a -> s{_ppKey = a});++instance Hashable ProvisioningParameter where++instance NFData ProvisioningParameter where++instance ToJSON ProvisioningParameter where+ toJSON ProvisioningParameter'{..}+ = object+ (catMaybes+ [("Value" .=) <$> _ppValue, ("Key" .=) <$> _ppKey])++-- | The full details of a specific ProvisionedProduct object.+--+--+--+-- /See:/ 'recordDetail' smart constructor.+data RecordDetail = RecordDetail'+ { _rdStatus :: !(Maybe RecordStatus)+ , _rdRecordTags :: !(Maybe [RecordTag])+ , _rdProvisionedProductName :: !(Maybe Text)+ , _rdProvisioningArtifactId :: !(Maybe Text)+ , _rdCreatedTime :: !(Maybe POSIX)+ , _rdRecordType :: !(Maybe Text)+ , _rdRecordId :: !(Maybe Text)+ , _rdProvisionedProductType :: !(Maybe Text)+ , _rdUpdatedTime :: !(Maybe POSIX)+ , _rdPathId :: !(Maybe Text)+ , _rdProvisionedProductId :: !(Maybe Text)+ , _rdRecordErrors :: !(Maybe [RecordError])+ , _rdProductId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'RecordDetail' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rdStatus' - The status of the ProvisionedProduct object. @CREATED@ - Request created but the operation has not yet started. @IN_PROGRESS@ - The requested operation is in-progress. @IN_PROGRESS_IN_ERROR@ - The provisioned product is under change but the requested operation failed and some remediation is occurring. For example, a rollback. @SUCCEEDED@ - The requested operation has successfully completed. @FAILED@ - The requested operation has completed but has failed. Investigate using the error messages returned.+--+-- * 'rdRecordTags' - List of tags associated with this record.+--+-- * 'rdProvisionedProductName' - The user-friendly name of the ProvisionedProduct object.+--+-- * 'rdProvisioningArtifactId' - The provisioning artifact identifier for this product. This is sometimes referred to as the product version.+--+-- * 'rdCreatedTime' - The UTC timestamp of the creation time.+--+-- * 'rdRecordType' - The record type for this record.+--+-- * 'rdRecordId' - The identifier of the ProvisionedProduct object record.+--+-- * 'rdProvisionedProductType' - The type of the ProvisionedProduct object.+--+-- * 'rdUpdatedTime' - The time when the record for the ProvisionedProduct object was last updated.+--+-- * 'rdPathId' - The identifier of the path for this product's provisioning.+--+-- * 'rdProvisionedProductId' - The identifier of the ProvisionedProduct object.+--+-- * 'rdRecordErrors' - A list of errors that occurred while processing the request.+--+-- * 'rdProductId' - The product identifier.+recordDetail+ :: RecordDetail+recordDetail =+ RecordDetail'+ { _rdStatus = Nothing+ , _rdRecordTags = Nothing+ , _rdProvisionedProductName = Nothing+ , _rdProvisioningArtifactId = Nothing+ , _rdCreatedTime = Nothing+ , _rdRecordType = Nothing+ , _rdRecordId = Nothing+ , _rdProvisionedProductType = Nothing+ , _rdUpdatedTime = Nothing+ , _rdPathId = Nothing+ , _rdProvisionedProductId = Nothing+ , _rdRecordErrors = Nothing+ , _rdProductId = Nothing+ }+++-- | The status of the ProvisionedProduct object. @CREATED@ - Request created but the operation has not yet started. @IN_PROGRESS@ - The requested operation is in-progress. @IN_PROGRESS_IN_ERROR@ - The provisioned product is under change but the requested operation failed and some remediation is occurring. For example, a rollback. @SUCCEEDED@ - The requested operation has successfully completed. @FAILED@ - The requested operation has completed but has failed. Investigate using the error messages returned.+rdStatus :: Lens' RecordDetail (Maybe RecordStatus)+rdStatus = lens _rdStatus (\ s a -> s{_rdStatus = a});++-- | List of tags associated with this record.+rdRecordTags :: Lens' RecordDetail [RecordTag]+rdRecordTags = lens _rdRecordTags (\ s a -> s{_rdRecordTags = a}) . _Default . _Coerce;++-- | The user-friendly name of the ProvisionedProduct object.+rdProvisionedProductName :: Lens' RecordDetail (Maybe Text)+rdProvisionedProductName = lens _rdProvisionedProductName (\ s a -> s{_rdProvisionedProductName = a});++-- | The provisioning artifact identifier for this product. This is sometimes referred to as the product version.+rdProvisioningArtifactId :: Lens' RecordDetail (Maybe Text)+rdProvisioningArtifactId = lens _rdProvisioningArtifactId (\ s a -> s{_rdProvisioningArtifactId = a});++-- | The UTC timestamp of the creation time.+rdCreatedTime :: Lens' RecordDetail (Maybe UTCTime)+rdCreatedTime = lens _rdCreatedTime (\ s a -> s{_rdCreatedTime = a}) . mapping _Time;++-- | The record type for this record.+rdRecordType :: Lens' RecordDetail (Maybe Text)+rdRecordType = lens _rdRecordType (\ s a -> s{_rdRecordType = a});++-- | The identifier of the ProvisionedProduct object record.+rdRecordId :: Lens' RecordDetail (Maybe Text)+rdRecordId = lens _rdRecordId (\ s a -> s{_rdRecordId = a});++-- | The type of the ProvisionedProduct object.+rdProvisionedProductType :: Lens' RecordDetail (Maybe Text)+rdProvisionedProductType = lens _rdProvisionedProductType (\ s a -> s{_rdProvisionedProductType = a});++-- | The time when the record for the ProvisionedProduct object was last updated.+rdUpdatedTime :: Lens' RecordDetail (Maybe UTCTime)+rdUpdatedTime = lens _rdUpdatedTime (\ s a -> s{_rdUpdatedTime = a}) . mapping _Time;++-- | The identifier of the path for this product's provisioning.+rdPathId :: Lens' RecordDetail (Maybe Text)+rdPathId = lens _rdPathId (\ s a -> s{_rdPathId = a});++-- | The identifier of the ProvisionedProduct object.+rdProvisionedProductId :: Lens' RecordDetail (Maybe Text)+rdProvisionedProductId = lens _rdProvisionedProductId (\ s a -> s{_rdProvisionedProductId = a});++-- | A list of errors that occurred while processing the request.+rdRecordErrors :: Lens' RecordDetail [RecordError]+rdRecordErrors = lens _rdRecordErrors (\ s a -> s{_rdRecordErrors = a}) . _Default . _Coerce;++-- | The product identifier.+rdProductId :: Lens' RecordDetail (Maybe Text)+rdProductId = lens _rdProductId (\ s a -> s{_rdProductId = a});++instance FromJSON RecordDetail where+ parseJSON+ = withObject "RecordDetail"+ (\ x ->+ RecordDetail' <$>+ (x .:? "Status") <*> (x .:? "RecordTags" .!= mempty)+ <*> (x .:? "ProvisionedProductName")+ <*> (x .:? "ProvisioningArtifactId")+ <*> (x .:? "CreatedTime")+ <*> (x .:? "RecordType")+ <*> (x .:? "RecordId")+ <*> (x .:? "ProvisionedProductType")+ <*> (x .:? "UpdatedTime")+ <*> (x .:? "PathId")+ <*> (x .:? "ProvisionedProductId")+ <*> (x .:? "RecordErrors" .!= mempty)+ <*> (x .:? "ProductId"))++instance Hashable RecordDetail where++instance NFData RecordDetail where++-- | The error code and description resulting from an operation.+--+--+--+-- /See:/ 'recordError' smart constructor.+data RecordError = RecordError'+ { _reCode :: !(Maybe Text)+ , _reDescription :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'RecordError' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'reCode' - The numeric value of the error.+--+-- * 'reDescription' - The text description of the error.+recordError+ :: RecordError+recordError = RecordError' {_reCode = Nothing, _reDescription = Nothing}+++-- | The numeric value of the error.+reCode :: Lens' RecordError (Maybe Text)+reCode = lens _reCode (\ s a -> s{_reCode = a});++-- | The text description of the error.+reDescription :: Lens' RecordError (Maybe Text)+reDescription = lens _reDescription (\ s a -> s{_reDescription = a});++instance FromJSON RecordError where+ parseJSON+ = withObject "RecordError"+ (\ x ->+ RecordError' <$>+ (x .:? "Code") <*> (x .:? "Description"))++instance Hashable RecordError where++instance NFData RecordError where++-- | An output for the specified Product object created as the result of a request. For example, a CloudFormation-backed product that creates an S3 bucket would have an output for the S3 bucket URL.+--+--+--+-- /See:/ 'recordOutput' smart constructor.+data RecordOutput = RecordOutput'+ { _roOutputValue :: !(Maybe Text)+ , _roOutputKey :: !(Maybe Text)+ , _roDescription :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'RecordOutput' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'roOutputValue' - The output value.+--+-- * 'roOutputKey' - The output key.+--+-- * 'roDescription' - The text description of the output.+recordOutput+ :: RecordOutput+recordOutput =+ RecordOutput'+ {_roOutputValue = Nothing, _roOutputKey = Nothing, _roDescription = Nothing}+++-- | The output value.+roOutputValue :: Lens' RecordOutput (Maybe Text)+roOutputValue = lens _roOutputValue (\ s a -> s{_roOutputValue = a});++-- | The output key.+roOutputKey :: Lens' RecordOutput (Maybe Text)+roOutputKey = lens _roOutputKey (\ s a -> s{_roOutputKey = a});++-- | The text description of the output.+roDescription :: Lens' RecordOutput (Maybe Text)+roDescription = lens _roDescription (\ s a -> s{_roDescription = a});++instance FromJSON RecordOutput where+ parseJSON+ = withObject "RecordOutput"+ (\ x ->+ RecordOutput' <$>+ (x .:? "OutputValue") <*> (x .:? "OutputKey") <*>+ (x .:? "Description"))++instance Hashable RecordOutput where++instance NFData RecordOutput where++-- | A tag associated with the record, stored as a key-value pair.+--+--+--+-- /See:/ 'recordTag' smart constructor.+data RecordTag = RecordTag'+ { _rtValue :: !(Maybe Text)+ , _rtKey :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'RecordTag' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rtValue' - The value for this tag.+--+-- * 'rtKey' - The key for this tag.+recordTag+ :: RecordTag+recordTag = RecordTag' {_rtValue = Nothing, _rtKey = Nothing}+++-- | The value for this tag.+rtValue :: Lens' RecordTag (Maybe Text)+rtValue = lens _rtValue (\ s a -> s{_rtValue = a});++-- | The key for this tag.+rtKey :: Lens' RecordTag (Maybe Text)+rtKey = lens _rtKey (\ s a -> s{_rtKey = a});++instance FromJSON RecordTag where+ parseJSON+ = withObject "RecordTag"+ (\ x ->+ RecordTag' <$> (x .:? "Value") <*> (x .:? "Key"))++instance Hashable RecordTag where++instance NFData RecordTag where++-- | Detailed resource information.+--+--+--+-- /See:/ 'resourceDetail' smart constructor.+data ResourceDetail = ResourceDetail'+ { _rARN :: !(Maybe Text)+ , _rCreatedTime :: !(Maybe POSIX)+ , _rName :: !(Maybe Text)+ , _rId :: !(Maybe Text)+ , _rDescription :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'ResourceDetail' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'rARN' - ARN of the resource.+--+-- * 'rCreatedTime' - Creation time of the resource.+--+-- * 'rName' - Name of the resource.+--+-- * 'rId' - Identifier of the resource.+--+-- * 'rDescription' - Description of the resource.+resourceDetail+ :: ResourceDetail+resourceDetail =+ ResourceDetail'+ { _rARN = Nothing+ , _rCreatedTime = Nothing+ , _rName = Nothing+ , _rId = Nothing+ , _rDescription = Nothing+ }+++-- | ARN of the resource.+rARN :: Lens' ResourceDetail (Maybe Text)+rARN = lens _rARN (\ s a -> s{_rARN = a});++-- | Creation time of the resource.+rCreatedTime :: Lens' ResourceDetail (Maybe UTCTime)+rCreatedTime = lens _rCreatedTime (\ s a -> s{_rCreatedTime = a}) . mapping _Time;++-- | Name of the resource.+rName :: Lens' ResourceDetail (Maybe Text)+rName = lens _rName (\ s a -> s{_rName = a});++-- | Identifier of the resource.+rId :: Lens' ResourceDetail (Maybe Text)+rId = lens _rId (\ s a -> s{_rId = a});++-- | Description of the resource.+rDescription :: Lens' ResourceDetail (Maybe Text)+rDescription = lens _rDescription (\ s a -> s{_rDescription = a});++instance FromJSON ResourceDetail where+ parseJSON+ = withObject "ResourceDetail"+ (\ x ->+ ResourceDetail' <$>+ (x .:? "ARN") <*> (x .:? "CreatedTime") <*>+ (x .:? "Name")+ <*> (x .:? "Id")+ <*> (x .:? "Description"))++instance Hashable ResourceDetail where++instance NFData ResourceDetail where++-- | Key-value pairs to associate with this provisioning. These tags are entirely discretionary and are propagated to the resources created in the provisioning.+--+--+--+-- /See:/ 'tag' smart constructor.+data Tag = Tag'+ { _tagKey :: !Text+ , _tagValue :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'Tag' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'tagKey' - The @ProvisioningArtifactParameter.TagKey@ parameter from 'DescribeProvisioningParameters' .+--+-- * 'tagValue' - The desired value for this key.+tag+ :: Text -- ^ 'tagKey'+ -> Text -- ^ 'tagValue'+ -> Tag+tag pKey_ pValue_ = Tag' {_tagKey = pKey_, _tagValue = pValue_}+++-- | The @ProvisioningArtifactParameter.TagKey@ parameter from 'DescribeProvisioningParameters' .+tagKey :: Lens' Tag Text+tagKey = lens _tagKey (\ s a -> s{_tagKey = a});++-- | The desired value for this key.+tagValue :: Lens' Tag Text+tagValue = lens _tagValue (\ s a -> s{_tagValue = a});++instance FromJSON Tag where+ parseJSON+ = withObject "Tag"+ (\ x -> Tag' <$> (x .: "Key") <*> (x .: "Value"))++instance Hashable Tag where++instance NFData Tag where++instance ToJSON Tag where+ toJSON Tag'{..}+ = object+ (catMaybes+ [Just ("Key" .= _tagKey),+ Just ("Value" .= _tagValue)])++-- | The TagOption details.+--+--+--+-- /See:/ 'tagOptionDetail' smart constructor.+data TagOptionDetail = TagOptionDetail'+ { _todValue :: !(Maybe Text)+ , _todActive :: !(Maybe Bool)+ , _todKey :: !(Maybe Text)+ , _todId :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'TagOptionDetail' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'todValue' - The TagOptionDetail value.+--+-- * 'todActive' - The TagOptionDetail active state.+--+-- * 'todKey' - The TagOptionDetail key.+--+-- * 'todId' - The TagOptionDetail identifier.+tagOptionDetail+ :: TagOptionDetail+tagOptionDetail =+ TagOptionDetail'+ { _todValue = Nothing+ , _todActive = Nothing+ , _todKey = Nothing+ , _todId = Nothing+ }+++-- | The TagOptionDetail value.+todValue :: Lens' TagOptionDetail (Maybe Text)+todValue = lens _todValue (\ s a -> s{_todValue = a});++-- | The TagOptionDetail active state.+todActive :: Lens' TagOptionDetail (Maybe Bool)+todActive = lens _todActive (\ s a -> s{_todActive = a});++-- | The TagOptionDetail key.+todKey :: Lens' TagOptionDetail (Maybe Text)+todKey = lens _todKey (\ s a -> s{_todKey = a});++-- | The TagOptionDetail identifier.+todId :: Lens' TagOptionDetail (Maybe Text)+todId = lens _todId (\ s a -> s{_todId = a});++instance FromJSON TagOptionDetail where+ parseJSON+ = withObject "TagOptionDetail"+ (\ x ->+ TagOptionDetail' <$>+ (x .:? "Value") <*> (x .:? "Active") <*>+ (x .:? "Key")+ <*> (x .:? "Id"))++instance Hashable TagOptionDetail where++instance NFData TagOptionDetail where++-- | The TagOption summary key-value pair.+--+--+--+-- /See:/ 'tagOptionSummary' smart constructor.+data TagOptionSummary = TagOptionSummary'+ { _tosValues :: !(Maybe [Text])+ , _tosKey :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'TagOptionSummary' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'tosValues' - The TagOptionSummary value.+--+-- * 'tosKey' - The TagOptionSummary key.+tagOptionSummary+ :: TagOptionSummary+tagOptionSummary = TagOptionSummary' {_tosValues = Nothing, _tosKey = Nothing}+++-- | The TagOptionSummary value.+tosValues :: Lens' TagOptionSummary [Text]+tosValues = lens _tosValues (\ s a -> s{_tosValues = a}) . _Default . _Coerce;++-- | The TagOptionSummary key.+tosKey :: Lens' TagOptionSummary (Maybe Text)+tosKey = lens _tosKey (\ s a -> s{_tosKey = a});++instance FromJSON TagOptionSummary where+ parseJSON+ = withObject "TagOptionSummary"+ (\ x ->+ TagOptionSummary' <$>+ (x .:? "Values" .!= mempty) <*> (x .:? "Key"))++instance Hashable TagOptionSummary where++instance NFData TagOptionSummary where++-- | The parameter key-value pair used to update a ProvisionedProduct object. If @UsePreviousValue@ is set to true, @Value@ is ignored and the value for @Key@ is kept as previously set (current value).+--+--+--+-- /See:/ 'updateProvisioningParameter' smart constructor.+data UpdateProvisioningParameter = UpdateProvisioningParameter'+ { _uppValue :: !(Maybe Text)+ , _uppKey :: !(Maybe Text)+ , _uppUsePreviousValue :: !(Maybe Bool)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateProvisioningParameter' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uppValue' - The value to use for updating the product provisioning. Any constraints on this value can be found in the @ProvisioningArtifactParameter@ parameter for @Key@ .+--+-- * 'uppKey' - The @ProvisioningArtifactParameter.ParameterKey@ parameter from 'DescribeProvisioningParameters' .+--+-- * 'uppUsePreviousValue' - If true, uses the currently set value for @Key@ , ignoring @UpdateProvisioningParameter.Value@ .+updateProvisioningParameter+ :: UpdateProvisioningParameter+updateProvisioningParameter =+ UpdateProvisioningParameter'+ {_uppValue = Nothing, _uppKey = Nothing, _uppUsePreviousValue = Nothing}+++-- | The value to use for updating the product provisioning. Any constraints on this value can be found in the @ProvisioningArtifactParameter@ parameter for @Key@ .+uppValue :: Lens' UpdateProvisioningParameter (Maybe Text)+uppValue = lens _uppValue (\ s a -> s{_uppValue = a});++-- | The @ProvisioningArtifactParameter.ParameterKey@ parameter from 'DescribeProvisioningParameters' .+uppKey :: Lens' UpdateProvisioningParameter (Maybe Text)+uppKey = lens _uppKey (\ s a -> s{_uppKey = a});++-- | If true, uses the currently set value for @Key@ , ignoring @UpdateProvisioningParameter.Value@ .+uppUsePreviousValue :: Lens' UpdateProvisioningParameter (Maybe Bool)+uppUsePreviousValue = lens _uppUsePreviousValue (\ s a -> s{_uppUsePreviousValue = a});++instance Hashable UpdateProvisioningParameter where++instance NFData UpdateProvisioningParameter where++instance ToJSON UpdateProvisioningParameter where+ toJSON UpdateProvisioningParameter'{..}+ = object+ (catMaybes+ [("Value" .=) <$> _uppValue, ("Key" .=) <$> _uppKey,+ ("UsePreviousValue" .=) <$> _uppUsePreviousValue])++-- | Additional information provided by the administrator.+--+--+--+-- /See:/ 'usageInstruction' smart constructor.+data UsageInstruction = UsageInstruction'+ { _uiValue :: !(Maybe Text)+ , _uiType :: !(Maybe Text)+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UsageInstruction' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'uiValue' - The usage instruction value for this type.+--+-- * 'uiType' - The usage instruction type for the value.+usageInstruction+ :: UsageInstruction+usageInstruction = UsageInstruction' {_uiValue = Nothing, _uiType = Nothing}+++-- | The usage instruction value for this type.+uiValue :: Lens' UsageInstruction (Maybe Text)+uiValue = lens _uiValue (\ s a -> s{_uiValue = a});++-- | The usage instruction type for the value.+uiType :: Lens' UsageInstruction (Maybe Text)+uiType = lens _uiType (\ s a -> s{_uiType = a});++instance FromJSON UsageInstruction where+ parseJSON+ = withObject "UsageInstruction"+ (\ x ->+ UsageInstruction' <$>+ (x .:? "Value") <*> (x .:? "Type"))++instance Hashable UsageInstruction where++instance NFData UsageInstruction where
gen/Network/AWS/ServiceCatalog/Types/Sum.hs view
@@ -9,22 +9,23 @@ -- | -- Module : Network.AWS.ServiceCatalog.Types.Sum--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- module Network.AWS.ServiceCatalog.Types.Sum where -import Network.AWS.Prelude+import Network.AWS.Prelude data AccessLevelFilterKey- = Account- | Role- | User- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = Account+ | Role+ | User+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText AccessLevelFilterKey where parser = takeLowerText >>= \case "account" -> pure Account@@ -48,10 +49,65 @@ instance ToJSON AccessLevelFilterKey where toJSON = toJSONText +data CopyOption =+ CopyTags+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText CopyOption where+ parser = takeLowerText >>= \case+ "copytags" -> pure CopyTags+ e -> fromTextError $ "Failure parsing CopyOption from value: '" <> e+ <> "'. Accepted values: copytags"++instance ToText CopyOption where+ toText = \case+ CopyTags -> "CopyTags"++instance Hashable CopyOption+instance NFData CopyOption+instance ToByteString CopyOption+instance ToQuery CopyOption+instance ToHeader CopyOption++instance ToJSON CopyOption where+ toJSON = toJSONText++data CopyProductStatus+ = CPSFailed+ | CPSInProgress+ | CPSSucceeded+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText CopyProductStatus where+ parser = takeLowerText >>= \case+ "failed" -> pure CPSFailed+ "in_progress" -> pure CPSInProgress+ "succeeded" -> pure CPSSucceeded+ e -> fromTextError $ "Failure parsing CopyProductStatus from value: '" <> e+ <> "'. Accepted values: failed, in_progress, succeeded"++instance ToText CopyProductStatus where+ toText = \case+ CPSFailed -> "FAILED"+ CPSInProgress -> "IN_PROGRESS"+ CPSSucceeded -> "SUCCEEDED"++instance Hashable CopyProductStatus+instance NFData CopyProductStatus+instance ToByteString CopyProductStatus+instance ToQuery CopyProductStatus+instance ToHeader CopyProductStatus++instance FromJSON CopyProductStatus where+ parseJSON = parseJSONText "CopyProductStatus"+ data PrincipalType =- IAM- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ IAM+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText PrincipalType where parser = takeLowerText >>= \case "iam" -> pure IAM@@ -75,9 +131,10 @@ parseJSON = parseJSONText "PrincipalType" data ProductSource =- PSAccount- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ PSAccount+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText ProductSource where parser = takeLowerText >>= \case "account" -> pure PSAccount@@ -97,19 +154,23 @@ instance ToJSON ProductSource where toJSON = toJSONText -data ProductType =- CloudFormationTemplate- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+data ProductType+ = CloudFormationTemplate+ | Marketplace+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText ProductType where parser = takeLowerText >>= \case "cloud_formation_template" -> pure CloudFormationTemplate+ "marketplace" -> pure Marketplace e -> fromTextError $ "Failure parsing ProductType from value: '" <> e- <> "'. Accepted values: cloud_formation_template"+ <> "'. Accepted values: cloud_formation_template, marketplace" instance ToText ProductType where toText = \case CloudFormationTemplate -> "CLOUD_FORMATION_TEMPLATE"+ Marketplace -> "MARKETPLACE" instance Hashable ProductType instance NFData ProductType@@ -124,24 +185,28 @@ parseJSON = parseJSONText "ProductType" data ProductViewFilterBy- = FullTextSearch- | Owner- | ProductType- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = FullTextSearch+ | Owner+ | ProductType+ | SourceProductId+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText ProductViewFilterBy where parser = takeLowerText >>= \case "fulltextsearch" -> pure FullTextSearch "owner" -> pure Owner "producttype" -> pure ProductType+ "sourceproductid" -> pure SourceProductId e -> fromTextError $ "Failure parsing ProductViewFilterBy from value: '" <> e- <> "'. Accepted values: fulltextsearch, owner, producttype"+ <> "'. Accepted values: fulltextsearch, owner, producttype, sourceproductid" instance ToText ProductViewFilterBy where toText = \case FullTextSearch -> "FullTextSearch" Owner -> "Owner" ProductType -> "ProductType"+ SourceProductId -> "SourceProductId" instance Hashable ProductViewFilterBy instance NFData ProductViewFilterBy@@ -153,11 +218,12 @@ toJSON = toJSONText data ProductViewSortBy- = CreationDate- | Title- | VersionCount- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = CreationDate+ | Title+ | VersionCount+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText ProductViewSortBy where parser = takeLowerText >>= \case "creationdate" -> pure CreationDate@@ -181,19 +247,83 @@ instance ToJSON ProductViewSortBy where toJSON = toJSONText -data ProvisioningArtifactType =- PATCloudFormationTemplate- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+data ProvisionedProductStatus+ = PPSAvailable+ | PPSError'+ | PPSTainted+ | PPSUnderChange+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) ++instance FromText ProvisionedProductStatus where+ parser = takeLowerText >>= \case+ "available" -> pure PPSAvailable+ "error" -> pure PPSError'+ "tainted" -> pure PPSTainted+ "under_change" -> pure PPSUnderChange+ e -> fromTextError $ "Failure parsing ProvisionedProductStatus from value: '" <> e+ <> "'. Accepted values: available, error, tainted, under_change"++instance ToText ProvisionedProductStatus where+ toText = \case+ PPSAvailable -> "AVAILABLE"+ PPSError' -> "ERROR"+ PPSTainted -> "TAINTED"+ PPSUnderChange -> "UNDER_CHANGE"++instance Hashable ProvisionedProductStatus+instance NFData ProvisionedProductStatus+instance ToByteString ProvisionedProductStatus+instance ToQuery ProvisionedProductStatus+instance ToHeader ProvisionedProductStatus++instance FromJSON ProvisionedProductStatus where+ parseJSON = parseJSONText "ProvisionedProductStatus"++data ProvisioningArtifactPropertyName =+ Id+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+++instance FromText ProvisioningArtifactPropertyName where+ parser = takeLowerText >>= \case+ "id" -> pure Id+ e -> fromTextError $ "Failure parsing ProvisioningArtifactPropertyName from value: '" <> e+ <> "'. Accepted values: id"++instance ToText ProvisioningArtifactPropertyName where+ toText = \case+ Id -> "Id"++instance Hashable ProvisioningArtifactPropertyName+instance NFData ProvisioningArtifactPropertyName+instance ToByteString ProvisioningArtifactPropertyName+instance ToQuery ProvisioningArtifactPropertyName+instance ToHeader ProvisioningArtifactPropertyName++instance ToJSON ProvisioningArtifactPropertyName where+ toJSON = toJSONText++data ProvisioningArtifactType+ = PATCloudFormationTemplate+ | PATMarketplaceAMI+ | PATMarketplaceCar+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)++ instance FromText ProvisioningArtifactType where parser = takeLowerText >>= \case "cloud_formation_template" -> pure PATCloudFormationTemplate+ "marketplace_ami" -> pure PATMarketplaceAMI+ "marketplace_car" -> pure PATMarketplaceCar e -> fromTextError $ "Failure parsing ProvisioningArtifactType from value: '" <> e- <> "'. Accepted values: cloud_formation_template"+ <> "'. Accepted values: cloud_formation_template, marketplace_ami, marketplace_car" instance ToText ProvisioningArtifactType where toText = \case PATCloudFormationTemplate -> "CLOUD_FORMATION_TEMPLATE"+ PATMarketplaceAMI -> "MARKETPLACE_AMI"+ PATMarketplaceCar -> "MARKETPLACE_CAR" instance Hashable ProvisioningArtifactType instance NFData ProvisioningArtifactType@@ -208,24 +338,31 @@ parseJSON = parseJSONText "ProvisioningArtifactType" data RecordStatus- = Error'- | InProgress- | Succeeded- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = RSCreated+ | RSFailed+ | RSInProgress+ | RSInProgressInError+ | RSSucceeded+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText RecordStatus where parser = takeLowerText >>= \case- "error" -> pure Error'- "in_progress" -> pure InProgress- "succeeded" -> pure Succeeded+ "created" -> pure RSCreated+ "failed" -> pure RSFailed+ "in_progress" -> pure RSInProgress+ "in_progress_in_error" -> pure RSInProgressInError+ "succeeded" -> pure RSSucceeded e -> fromTextError $ "Failure parsing RecordStatus from value: '" <> e- <> "'. Accepted values: error, in_progress, succeeded"+ <> "'. Accepted values: created, failed, in_progress, in_progress_in_error, succeeded" instance ToText RecordStatus where toText = \case- Error' -> "ERROR"- InProgress -> "IN_PROGRESS"- Succeeded -> "SUCCEEDED"+ RSCreated -> "CREATED"+ RSFailed -> "FAILED"+ RSInProgress -> "IN_PROGRESS"+ RSInProgressInError -> "IN_PROGRESS_IN_ERROR"+ RSSucceeded -> "SUCCEEDED" instance Hashable RecordStatus instance NFData RecordStatus@@ -237,11 +374,12 @@ parseJSON = parseJSONText "RecordStatus" data RequestStatus- = Available- | Creating- | Failed- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = Available+ | Creating+ | Failed+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic) + instance FromText RequestStatus where parser = takeLowerText >>= \case "available" -> pure Available@@ -266,9 +404,10 @@ parseJSON = parseJSONText "RequestStatus" data SortOrder- = Ascending- | Descending- deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)+ = Ascending+ | Descending+ deriving (Eq, Ord, Read, Show, Enum, Bounded, Data, Typeable, Generic)+ instance FromText SortOrder where parser = takeLowerText >>= \case
gen/Network/AWS/ServiceCatalog/UpdateConstraint.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.UpdateConstraint--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -41,25 +41,26 @@ , ucrsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'updateConstraint' smart constructor. data UpdateConstraint = UpdateConstraint'- { _ucAcceptLanguage :: !(Maybe Text)- , _ucDescription :: !(Maybe Text)- , _ucId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ucAcceptLanguage :: !(Maybe Text)+ , _ucDescription :: !(Maybe Text)+ , _ucId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateConstraint' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ucAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'ucAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'ucDescription' - The updated text description of the constraint. --@@ -68,13 +69,11 @@ :: Text -- ^ 'ucId' -> UpdateConstraint updateConstraint pId_ =- UpdateConstraint'- { _ucAcceptLanguage = Nothing- , _ucDescription = Nothing- , _ucId = pId_- }+ UpdateConstraint'+ {_ucAcceptLanguage = Nothing, _ucDescription = Nothing, _ucId = pId_} --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.++-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese ucAcceptLanguage :: Lens' UpdateConstraint (Maybe Text) ucAcceptLanguage = lens _ucAcceptLanguage (\ s a -> s{_ucAcceptLanguage = a}); @@ -97,9 +96,9 @@ (x .?> "ConstraintParameters") <*> (pure (fromEnum s))) -instance Hashable UpdateConstraint+instance Hashable UpdateConstraint where -instance NFData UpdateConstraint+instance NFData UpdateConstraint where instance ToHeaders UpdateConstraint where toHeaders@@ -127,12 +126,13 @@ -- | /See:/ 'updateConstraintResponse' smart constructor. data UpdateConstraintResponse = UpdateConstraintResponse'- { _ucrsStatus :: !(Maybe RequestStatus)- , _ucrsConstraintDetail :: !(Maybe ConstraintDetail)- , _ucrsConstraintParameters :: !(Maybe Text)- , _ucrsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ucrsStatus :: !(Maybe RequestStatus)+ , _ucrsConstraintDetail :: !(Maybe ConstraintDetail)+ , _ucrsConstraintParameters :: !(Maybe Text)+ , _ucrsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateConstraintResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -148,13 +148,14 @@ :: Int -- ^ 'ucrsResponseStatus' -> UpdateConstraintResponse updateConstraintResponse pResponseStatus_ =- UpdateConstraintResponse'- { _ucrsStatus = Nothing- , _ucrsConstraintDetail = Nothing- , _ucrsConstraintParameters = Nothing- , _ucrsResponseStatus = pResponseStatus_- }+ UpdateConstraintResponse'+ { _ucrsStatus = Nothing+ , _ucrsConstraintDetail = Nothing+ , _ucrsConstraintParameters = Nothing+ , _ucrsResponseStatus = pResponseStatus_+ } + -- | The status of the current request. ucrsStatus :: Lens' UpdateConstraintResponse (Maybe RequestStatus) ucrsStatus = lens _ucrsStatus (\ s a -> s{_ucrsStatus = a});@@ -171,4 +172,4 @@ ucrsResponseStatus :: Lens' UpdateConstraintResponse Int ucrsResponseStatus = lens _ucrsResponseStatus (\ s a -> s{_ucrsResponseStatus = a}); -instance NFData UpdateConstraintResponse+instance NFData UpdateConstraintResponse where
gen/Network/AWS/ServiceCatalog/UpdatePortfolio.hs view
@@ -12,13 +12,13 @@ -- | -- Module : Network.AWS.ServiceCatalog.UpdatePortfolio--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates the specified portfolio's details. This operation will not work with a product that has been shared with you.+-- Updates the specified portfolio's details. This operation does not work with a product that has been shared with you. -- -- module Network.AWS.ServiceCatalog.UpdatePortfolio@@ -44,31 +44,32 @@ , uprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'updatePortfolio' smart constructor. data UpdatePortfolio = UpdatePortfolio'- { _uRemoveTags :: !(Maybe [Text])- , _uAcceptLanguage :: !(Maybe Text)- , _uDisplayName :: !(Maybe Text)- , _uAddTags :: !(Maybe [Tag])- , _uDescription :: !(Maybe Text)- , _uProviderName :: !(Maybe Text)- , _uId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _uRemoveTags :: !(Maybe [Text])+ , _uAcceptLanguage :: !(Maybe Text)+ , _uDisplayName :: !(Maybe Text)+ , _uAddTags :: !(Maybe [Tag])+ , _uDescription :: !(Maybe Text)+ , _uProviderName :: !(Maybe Text)+ , _uId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdatePortfolio' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- * 'uRemoveTags' - Tags to remove from the existing list of tags associated with the portfolio. ----- * 'uAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'uAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'uDisplayName' - The name to use for display purposes. --@@ -83,21 +84,22 @@ :: Text -- ^ 'uId' -> UpdatePortfolio updatePortfolio pId_ =- UpdatePortfolio'- { _uRemoveTags = Nothing- , _uAcceptLanguage = Nothing- , _uDisplayName = Nothing- , _uAddTags = Nothing- , _uDescription = Nothing- , _uProviderName = Nothing- , _uId = pId_- }+ UpdatePortfolio'+ { _uRemoveTags = Nothing+ , _uAcceptLanguage = Nothing+ , _uDisplayName = Nothing+ , _uAddTags = Nothing+ , _uDescription = Nothing+ , _uProviderName = Nothing+ , _uId = pId_+ } + -- | Tags to remove from the existing list of tags associated with the portfolio. uRemoveTags :: Lens' UpdatePortfolio [Text] uRemoveTags = lens _uRemoveTags (\ s a -> s{_uRemoveTags = a}) . _Default . _Coerce; --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese uAcceptLanguage :: Lens' UpdatePortfolio (Maybe Text) uAcceptLanguage = lens _uAcceptLanguage (\ s a -> s{_uAcceptLanguage = a}); @@ -132,9 +134,9 @@ (x .?> "Tags" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable UpdatePortfolio+instance Hashable UpdatePortfolio where -instance NFData UpdatePortfolio+instance NFData UpdatePortfolio where instance ToHeaders UpdatePortfolio where toHeaders@@ -166,11 +168,12 @@ -- | /See:/ 'updatePortfolioResponse' smart constructor. data UpdatePortfolioResponse = UpdatePortfolioResponse'- { _uprsPortfolioDetail :: !(Maybe PortfolioDetail)- , _uprsTags :: !(Maybe [Tag])- , _uprsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _uprsPortfolioDetail :: !(Maybe PortfolioDetail)+ , _uprsTags :: !(Maybe [Tag])+ , _uprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdatePortfolioResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -184,12 +187,13 @@ :: Int -- ^ 'uprsResponseStatus' -> UpdatePortfolioResponse updatePortfolioResponse pResponseStatus_ =- UpdatePortfolioResponse'- { _uprsPortfolioDetail = Nothing- , _uprsTags = Nothing- , _uprsResponseStatus = pResponseStatus_- }+ UpdatePortfolioResponse'+ { _uprsPortfolioDetail = Nothing+ , _uprsTags = Nothing+ , _uprsResponseStatus = pResponseStatus_+ } + -- | The resulting detailed portfolio information. uprsPortfolioDetail :: Lens' UpdatePortfolioResponse (Maybe PortfolioDetail) uprsPortfolioDetail = lens _uprsPortfolioDetail (\ s a -> s{_uprsPortfolioDetail = a});@@ -202,4 +206,4 @@ uprsResponseStatus :: Lens' UpdatePortfolioResponse Int uprsResponseStatus = lens _uprsResponseStatus (\ s a -> s{_uprsResponseStatus = a}); -instance NFData UpdatePortfolioResponse+instance NFData UpdatePortfolioResponse where
gen/Network/AWS/ServiceCatalog/UpdateProduct.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.UpdateProduct--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -48,28 +48,29 @@ , ursResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'updateProduct' smart constructor. data UpdateProduct = UpdateProduct'- { _upRemoveTags :: !(Maybe [Text])- , _upOwner :: !(Maybe Text)- , _upSupportURL :: !(Maybe Text)- , _upDistributor :: !(Maybe Text)- , _upName :: !(Maybe Text)- , _upAcceptLanguage :: !(Maybe Text)- , _upAddTags :: !(Maybe [Tag])- , _upSupportEmail :: !(Maybe Text)- , _upDescription :: !(Maybe Text)- , _upSupportDescription :: !(Maybe Text)- , _upId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _upRemoveTags :: !(Maybe [Text])+ , _upOwner :: !(Maybe Text)+ , _upSupportURL :: !(Maybe Text)+ , _upDistributor :: !(Maybe Text)+ , _upName :: !(Maybe Text)+ , _upAcceptLanguage :: !(Maybe Text)+ , _upAddTags :: !(Maybe [Tag])+ , _upSupportEmail :: !(Maybe Text)+ , _upDescription :: !(Maybe Text)+ , _upSupportDescription :: !(Maybe Text)+ , _upId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateProduct' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -84,7 +85,7 @@ -- -- * 'upName' - The updated product name. ----- * 'upAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'upAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'upAddTags' - Tags to add to the existing list of tags associated with the product. --@@ -99,20 +100,21 @@ :: Text -- ^ 'upId' -> UpdateProduct updateProduct pId_ =- UpdateProduct'- { _upRemoveTags = Nothing- , _upOwner = Nothing- , _upSupportURL = Nothing- , _upDistributor = Nothing- , _upName = Nothing- , _upAcceptLanguage = Nothing- , _upAddTags = Nothing- , _upSupportEmail = Nothing- , _upDescription = Nothing- , _upSupportDescription = Nothing- , _upId = pId_- }+ UpdateProduct'+ { _upRemoveTags = Nothing+ , _upOwner = Nothing+ , _upSupportURL = Nothing+ , _upDistributor = Nothing+ , _upName = Nothing+ , _upAcceptLanguage = Nothing+ , _upAddTags = Nothing+ , _upSupportEmail = Nothing+ , _upDescription = Nothing+ , _upSupportDescription = Nothing+ , _upId = pId_+ } + -- | Tags to remove from the existing list of tags associated with the product. upRemoveTags :: Lens' UpdateProduct [Text] upRemoveTags = lens _upRemoveTags (\ s a -> s{_upRemoveTags = a}) . _Default . _Coerce;@@ -133,7 +135,7 @@ upName :: Lens' UpdateProduct (Maybe Text) upName = lens _upName (\ s a -> s{_upName = a}); --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese upAcceptLanguage :: Lens' UpdateProduct (Maybe Text) upAcceptLanguage = lens _upAcceptLanguage (\ s a -> s{_upAcceptLanguage = a}); @@ -168,9 +170,9 @@ (x .?> "Tags" .!@ mempty) <*> (pure (fromEnum s))) -instance Hashable UpdateProduct+instance Hashable UpdateProduct where -instance NFData UpdateProduct+instance NFData UpdateProduct where instance ToHeaders UpdateProduct where toHeaders@@ -206,11 +208,12 @@ -- | /See:/ 'updateProductResponse' smart constructor. data UpdateProductResponse = UpdateProductResponse'- { _ursProductViewDetail :: !(Maybe ProductViewDetail)- , _ursTags :: !(Maybe [Tag])- , _ursResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _ursProductViewDetail :: !(Maybe ProductViewDetail)+ , _ursTags :: !(Maybe [Tag])+ , _ursResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateProductResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -224,12 +227,13 @@ :: Int -- ^ 'ursResponseStatus' -> UpdateProductResponse updateProductResponse pResponseStatus_ =- UpdateProductResponse'- { _ursProductViewDetail = Nothing- , _ursTags = Nothing- , _ursResponseStatus = pResponseStatus_- }+ UpdateProductResponse'+ { _ursProductViewDetail = Nothing+ , _ursTags = Nothing+ , _ursResponseStatus = pResponseStatus_+ } + -- | The resulting detailed product view information. ursProductViewDetail :: Lens' UpdateProductResponse (Maybe ProductViewDetail) ursProductViewDetail = lens _ursProductViewDetail (\ s a -> s{_ursProductViewDetail = a});@@ -242,4 +246,4 @@ ursResponseStatus :: Lens' UpdateProductResponse Int ursResponseStatus = lens _ursResponseStatus (\ s a -> s{_ursResponseStatus = a}); -instance NFData UpdateProductResponse+instance NFData UpdateProductResponse where
gen/Network/AWS/ServiceCatalog/UpdateProvisionedProduct.hs view
@@ -12,9 +12,9 @@ -- | -- Module : Network.AWS.ServiceCatalog.UpdateProvisionedProduct--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --@@ -46,40 +46,41 @@ , upprsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'updateProvisionedProduct' smart constructor. data UpdateProvisionedProduct = UpdateProvisionedProduct'- { _uppProvisionedProductName :: !(Maybe Text)- , _uppProvisioningArtifactId :: !(Maybe Text)- , _uppAcceptLanguage :: !(Maybe Text)- , _uppPathId :: !(Maybe Text)- , _uppProvisioningParameters :: !(Maybe [UpdateProvisioningParameter])- , _uppProvisionedProductId :: !(Maybe Text)- , _uppProductId :: !(Maybe Text)- , _uppUpdateToken :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _uppProvisionedProductName :: !(Maybe Text)+ , _uppProvisioningArtifactId :: !(Maybe Text)+ , _uppAcceptLanguage :: !(Maybe Text)+ , _uppPathId :: !(Maybe Text)+ , _uppProvisioningParameters :: !(Maybe [UpdateProvisioningParameter])+ , _uppProvisionedProductId :: !(Maybe Text)+ , _uppProductId :: !(Maybe Text)+ , _uppUpdateToken :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateProvisionedProduct' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uppProvisionedProductName' - The updated name of the ProvisionedProduct object . You must specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both.+-- * 'uppProvisionedProductName' - The updated name of the ProvisionedProduct object. Specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both. ----- * 'uppProvisioningArtifactId' - The provisioning artifact identifier for this product.+-- * 'uppProvisioningArtifactId' - The provisioning artifact identifier for this product. This is sometimes referred to as the product version. ----- * 'uppAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'uppAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'uppPathId' - The identifier of the path to use in the updated ProvisionedProduct object. This value is optional if the product has a default path, and is required if there is more than one path for the specified product. -- -- * 'uppProvisioningParameters' - A list of @ProvisioningParameter@ objects used to update the ProvisionedProduct object. ----- * 'uppProvisionedProductId' - The identifier of the ProvisionedProduct object to update. You must specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both.+-- * 'uppProvisionedProductId' - The identifier of the ProvisionedProduct object to update. Specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both. -- -- * 'uppProductId' - The identifier of the ProvisionedProduct object. --@@ -88,26 +89,27 @@ :: Text -- ^ 'uppUpdateToken' -> UpdateProvisionedProduct updateProvisionedProduct pUpdateToken_ =- UpdateProvisionedProduct'- { _uppProvisionedProductName = Nothing- , _uppProvisioningArtifactId = Nothing- , _uppAcceptLanguage = Nothing- , _uppPathId = Nothing- , _uppProvisioningParameters = Nothing- , _uppProvisionedProductId = Nothing- , _uppProductId = Nothing- , _uppUpdateToken = pUpdateToken_- }+ UpdateProvisionedProduct'+ { _uppProvisionedProductName = Nothing+ , _uppProvisioningArtifactId = Nothing+ , _uppAcceptLanguage = Nothing+ , _uppPathId = Nothing+ , _uppProvisioningParameters = Nothing+ , _uppProvisionedProductId = Nothing+ , _uppProductId = Nothing+ , _uppUpdateToken = pUpdateToken_+ } --- | The updated name of the ProvisionedProduct object . You must specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both.++-- | The updated name of the ProvisionedProduct object. Specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both. uppProvisionedProductName :: Lens' UpdateProvisionedProduct (Maybe Text) uppProvisionedProductName = lens _uppProvisionedProductName (\ s a -> s{_uppProvisionedProductName = a}); --- | The provisioning artifact identifier for this product.+-- | The provisioning artifact identifier for this product. This is sometimes referred to as the product version. uppProvisioningArtifactId :: Lens' UpdateProvisionedProduct (Maybe Text) uppProvisioningArtifactId = lens _uppProvisioningArtifactId (\ s a -> s{_uppProvisioningArtifactId = a}); --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese uppAcceptLanguage :: Lens' UpdateProvisionedProduct (Maybe Text) uppAcceptLanguage = lens _uppAcceptLanguage (\ s a -> s{_uppAcceptLanguage = a}); @@ -119,7 +121,7 @@ uppProvisioningParameters :: Lens' UpdateProvisionedProduct [UpdateProvisioningParameter] uppProvisioningParameters = lens _uppProvisioningParameters (\ s a -> s{_uppProvisioningParameters = a}) . _Default . _Coerce; --- | The identifier of the ProvisionedProduct object to update. You must specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both.+-- | The identifier of the ProvisionedProduct object to update. Specify either @ProvisionedProductName@ or @ProvisionedProductId@ , but not both. uppProvisionedProductId :: Lens' UpdateProvisionedProduct (Maybe Text) uppProvisionedProductId = lens _uppProvisionedProductId (\ s a -> s{_uppProvisionedProductId = a}); @@ -141,9 +143,9 @@ UpdateProvisionedProductResponse' <$> (x .?> "RecordDetail") <*> (pure (fromEnum s))) -instance Hashable UpdateProvisionedProduct+instance Hashable UpdateProvisionedProduct where -instance NFData UpdateProvisionedProduct+instance NFData UpdateProvisionedProduct where instance ToHeaders UpdateProvisionedProduct where toHeaders@@ -180,10 +182,11 @@ -- | /See:/ 'updateProvisionedProductResponse' smart constructor. data UpdateProvisionedProductResponse = UpdateProvisionedProductResponse'- { _upprsRecordDetail :: !(Maybe RecordDetail)- , _upprsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _upprsRecordDetail :: !(Maybe RecordDetail)+ , _upprsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateProvisionedProductResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -195,11 +198,10 @@ :: Int -- ^ 'upprsResponseStatus' -> UpdateProvisionedProductResponse updateProvisionedProductResponse pResponseStatus_ =- UpdateProvisionedProductResponse'- { _upprsRecordDetail = Nothing- , _upprsResponseStatus = pResponseStatus_- }+ UpdateProvisionedProductResponse'+ {_upprsRecordDetail = Nothing, _upprsResponseStatus = pResponseStatus_} + -- | The detailed result of the 'UpdateProvisionedProduct' request, containing the inputs made to that request, the current state of the request, a pointer to the ProvisionedProduct object that the request is modifying, and a list of any errors that the request encountered. upprsRecordDetail :: Lens' UpdateProvisionedProductResponse (Maybe RecordDetail) upprsRecordDetail = lens _upprsRecordDetail (\ s a -> s{_upprsRecordDetail = a});@@ -209,3 +211,4 @@ upprsResponseStatus = lens _upprsResponseStatus (\ s a -> s{_upprsResponseStatus = a}); instance NFData UpdateProvisionedProductResponse+ where
gen/Network/AWS/ServiceCatalog/UpdateProvisioningArtifact.hs view
@@ -12,13 +12,13 @@ -- | -- Module : Network.AWS.ServiceCatalog.UpdateProvisioningArtifact--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates an existing provisioning artifact's information. This operation will not work on a provisioning artifact associated with a product that has been shared with you.+-- Updates an existing provisioning artifact's information. This operation does not work on a provisioning artifact associated with a product that has been shared with you. -- -- module Network.AWS.ServiceCatalog.UpdateProvisioningArtifact@@ -43,53 +43,55 @@ , uparsResponseStatus ) where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.Request-import Network.AWS.Response-import Network.AWS.ServiceCatalog.Types-import Network.AWS.ServiceCatalog.Types.Product+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product -- | /See:/ 'updateProvisioningArtifact' smart constructor. data UpdateProvisioningArtifact = UpdateProvisioningArtifact'- { _upaName :: !(Maybe Text)- , _upaAcceptLanguage :: !(Maybe Text)- , _upaDescription :: !(Maybe Text)- , _upaProductId :: !Text- , _upaProvisioningArtifactId :: !Text- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _upaName :: !(Maybe Text)+ , _upaAcceptLanguage :: !(Maybe Text)+ , _upaDescription :: !(Maybe Text)+ , _upaProductId :: !Text+ , _upaProvisioningArtifactId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateProvisioningArtifact' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: -- -- * 'upaName' - The updated name of the provisioning artifact. ----- * 'upaAcceptLanguage' - The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- * 'upaAcceptLanguage' - The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese -- -- * 'upaDescription' - The updated text description of the provisioning artifact. -- -- * 'upaProductId' - The product identifier. ----- * 'upaProvisioningArtifactId' - The identifier of the provisioning artifact for the update request.+-- * 'upaProvisioningArtifactId' - The identifier of the provisioning artifact for the update request. This is sometimes referred to as the product version. updateProvisioningArtifact :: Text -- ^ 'upaProductId' -> Text -- ^ 'upaProvisioningArtifactId' -> UpdateProvisioningArtifact updateProvisioningArtifact pProductId_ pProvisioningArtifactId_ =- UpdateProvisioningArtifact'- { _upaName = Nothing- , _upaAcceptLanguage = Nothing- , _upaDescription = Nothing- , _upaProductId = pProductId_- , _upaProvisioningArtifactId = pProvisioningArtifactId_- }+ UpdateProvisioningArtifact'+ { _upaName = Nothing+ , _upaAcceptLanguage = Nothing+ , _upaDescription = Nothing+ , _upaProductId = pProductId_+ , _upaProvisioningArtifactId = pProvisioningArtifactId_+ } + -- | The updated name of the provisioning artifact. upaName :: Lens' UpdateProvisioningArtifact (Maybe Text) upaName = lens _upaName (\ s a -> s{_upaName = a}); --- | The language code to use for this operation. Supported language codes are as follows: "en" (English) "jp" (Japanese) "zh" (Chinese) If no code is specified, "en" is used as the default.+-- | The language code. * @en@ - English (default) * @jp@ - Japanese * @zh@ - Chinese upaAcceptLanguage :: Lens' UpdateProvisioningArtifact (Maybe Text) upaAcceptLanguage = lens _upaAcceptLanguage (\ s a -> s{_upaAcceptLanguage = a}); @@ -101,7 +103,7 @@ upaProductId :: Lens' UpdateProvisioningArtifact Text upaProductId = lens _upaProductId (\ s a -> s{_upaProductId = a}); --- | The identifier of the provisioning artifact for the update request.+-- | The identifier of the provisioning artifact for the update request. This is sometimes referred to as the product version. upaProvisioningArtifactId :: Lens' UpdateProvisioningArtifact Text upaProvisioningArtifactId = lens _upaProvisioningArtifactId (\ s a -> s{_upaProvisioningArtifactId = a}); @@ -117,9 +119,9 @@ (x .?> "ProvisioningArtifactDetail") <*> (pure (fromEnum s))) -instance Hashable UpdateProvisioningArtifact+instance Hashable UpdateProvisioningArtifact where -instance NFData UpdateProvisioningArtifact+instance NFData UpdateProvisioningArtifact where instance ToHeaders UpdateProvisioningArtifact where toHeaders@@ -151,12 +153,13 @@ -- | /See:/ 'updateProvisioningArtifactResponse' smart constructor. data UpdateProvisioningArtifactResponse = UpdateProvisioningArtifactResponse'- { _uparsStatus :: !(Maybe RequestStatus)- , _uparsInfo :: !(Maybe (Map Text Text))- , _uparsProvisioningArtifactDetail :: !(Maybe ProvisioningArtifactDetail)- , _uparsResponseStatus :: !Int- } deriving (Eq,Read,Show,Data,Typeable,Generic)+ { _uparsStatus :: !(Maybe RequestStatus)+ , _uparsInfo :: !(Maybe (Map Text Text))+ , _uparsProvisioningArtifactDetail :: !(Maybe ProvisioningArtifactDetail)+ , _uparsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic) + -- | Creates a value of 'UpdateProvisioningArtifactResponse' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired:@@ -172,13 +175,14 @@ :: Int -- ^ 'uparsResponseStatus' -> UpdateProvisioningArtifactResponse updateProvisioningArtifactResponse pResponseStatus_ =- UpdateProvisioningArtifactResponse'- { _uparsStatus = Nothing- , _uparsInfo = Nothing- , _uparsProvisioningArtifactDetail = Nothing- , _uparsResponseStatus = pResponseStatus_- }+ UpdateProvisioningArtifactResponse'+ { _uparsStatus = Nothing+ , _uparsInfo = Nothing+ , _uparsProvisioningArtifactDetail = Nothing+ , _uparsResponseStatus = pResponseStatus_+ } + -- | The status of the current request. uparsStatus :: Lens' UpdateProvisioningArtifactResponse (Maybe RequestStatus) uparsStatus = lens _uparsStatus (\ s a -> s{_uparsStatus = a});@@ -196,3 +200,4 @@ uparsResponseStatus = lens _uparsResponseStatus (\ s a -> s{_uparsResponseStatus = a}); instance NFData UpdateProvisioningArtifactResponse+ where
+ gen/Network/AWS/ServiceCatalog/UpdateTagOption.hs view
@@ -0,0 +1,151 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE RecordWildCards #-}+{-# LANGUAGE TypeFamilies #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module : Network.AWS.ServiceCatalog.UpdateTagOption+-- Copyright : (c) 2013-2017 Brendan Hay+-- License : Mozilla Public License, v. 2.0.+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com>+-- Stability : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Updates an existing TagOption.+--+--+module Network.AWS.ServiceCatalog.UpdateTagOption+ (+ -- * Creating a Request+ updateTagOption+ , UpdateTagOption+ -- * Request Lenses+ , utoValue+ , utoActive+ , utoId++ -- * Destructuring the Response+ , updateTagOptionResponse+ , UpdateTagOptionResponse+ -- * Response Lenses+ , utorsTagOptionDetail+ , utorsResponseStatus+ ) where++import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.Request+import Network.AWS.Response+import Network.AWS.ServiceCatalog.Types+import Network.AWS.ServiceCatalog.Types.Product++-- | /See:/ 'updateTagOption' smart constructor.+data UpdateTagOption = UpdateTagOption'+ { _utoValue :: !(Maybe Text)+ , _utoActive :: !(Maybe Bool)+ , _utoId :: !Text+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateTagOption' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'utoValue' - The updated value.+--+-- * 'utoActive' - The updated active state.+--+-- * 'utoId' - The identifier of the constraint to update.+updateTagOption+ :: Text -- ^ 'utoId'+ -> UpdateTagOption+updateTagOption pId_ =+ UpdateTagOption' {_utoValue = Nothing, _utoActive = Nothing, _utoId = pId_}+++-- | The updated value.+utoValue :: Lens' UpdateTagOption (Maybe Text)+utoValue = lens _utoValue (\ s a -> s{_utoValue = a});++-- | The updated active state.+utoActive :: Lens' UpdateTagOption (Maybe Bool)+utoActive = lens _utoActive (\ s a -> s{_utoActive = a});++-- | The identifier of the constraint to update.+utoId :: Lens' UpdateTagOption Text+utoId = lens _utoId (\ s a -> s{_utoId = a});++instance AWSRequest UpdateTagOption where+ type Rs UpdateTagOption = UpdateTagOptionResponse+ request = postJSON serviceCatalog+ response+ = receiveJSON+ (\ s h x ->+ UpdateTagOptionResponse' <$>+ (x .?> "TagOptionDetail") <*> (pure (fromEnum s)))++instance Hashable UpdateTagOption where++instance NFData UpdateTagOption where++instance ToHeaders UpdateTagOption where+ toHeaders+ = const+ (mconcat+ ["X-Amz-Target" =#+ ("AWS242ServiceCatalogService.UpdateTagOption" ::+ ByteString),+ "Content-Type" =#+ ("application/x-amz-json-1.1" :: ByteString)])++instance ToJSON UpdateTagOption where+ toJSON UpdateTagOption'{..}+ = object+ (catMaybes+ [("Value" .=) <$> _utoValue,+ ("Active" .=) <$> _utoActive, Just ("Id" .= _utoId)])++instance ToPath UpdateTagOption where+ toPath = const "/"++instance ToQuery UpdateTagOption where+ toQuery = const mempty++-- | /See:/ 'updateTagOptionResponse' smart constructor.+data UpdateTagOptionResponse = UpdateTagOptionResponse'+ { _utorsTagOptionDetail :: !(Maybe TagOptionDetail)+ , _utorsResponseStatus :: !Int+ } deriving (Eq, Read, Show, Data, Typeable, Generic)+++-- | Creates a value of 'UpdateTagOptionResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'utorsTagOptionDetail' - The resulting detailed TagOption information.+--+-- * 'utorsResponseStatus' - -- | The response status code.+updateTagOptionResponse+ :: Int -- ^ 'utorsResponseStatus'+ -> UpdateTagOptionResponse+updateTagOptionResponse pResponseStatus_ =+ UpdateTagOptionResponse'+ {_utorsTagOptionDetail = Nothing, _utorsResponseStatus = pResponseStatus_}+++-- | The resulting detailed TagOption information.+utorsTagOptionDetail :: Lens' UpdateTagOptionResponse (Maybe TagOptionDetail)+utorsTagOptionDetail = lens _utorsTagOptionDetail (\ s a -> s{_utorsTagOptionDetail = a});++-- | -- | The response status code.+utorsResponseStatus :: Lens' UpdateTagOptionResponse Int+utorsResponseStatus = lens _utorsResponseStatus (\ s a -> s{_utorsResponseStatus = a});++instance NFData UpdateTagOptionResponse where
gen/Network/AWS/ServiceCatalog/Waiters.hs view
@@ -7,15 +7,15 @@ -- | -- Module : Network.AWS.ServiceCatalog.Waiters--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- module Network.AWS.ServiceCatalog.Waiters where -import Network.AWS.Lens-import Network.AWS.Prelude-import Network.AWS.ServiceCatalog.Types-import Network.AWS.Waiter+import Network.AWS.Lens+import Network.AWS.Prelude+import Network.AWS.ServiceCatalog.Types+import Network.AWS.Waiter
test/Main.hs view
@@ -2,9 +2,9 @@ -- | -- Module : Main--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) --
test/Test/AWS/Gen/ServiceCatalog.hs view
@@ -5,20 +5,20 @@ -- | -- Module : Test.AWS.Gen.ServiceCatalog--- Copyright : (c) 2013-2016 Brendan Hay+-- Copyright : (c) 2013-2017 Brendan Hay -- License : Mozilla Public License, v. 2.0.--- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>+-- Maintainer : Brendan Hay <brendan.g.hay+amazonka@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- module Test.AWS.Gen.ServiceCatalog where import Data.Proxy+import Network.AWS.ServiceCatalog import Test.AWS.Fixture import Test.AWS.Prelude-import Test.Tasty-import Network.AWS.ServiceCatalog import Test.AWS.ServiceCatalog.Internal+import Test.Tasty -- Auto-generated: the actual test selection needs to be manually placed into -- the top-level so that real test data can be incrementally added.@@ -37,6 +37,9 @@ -- , requestCreateProduct $ -- createProduct --+-- , requestDescribeCopyProductStatus $+-- describeCopyProductStatus+-- -- , requestTerminateProvisionedProduct $ -- terminateProvisionedProduct --@@ -49,6 +52,12 @@ -- , requestListRecordHistory $ -- listRecordHistory --+-- , requestAssociateTagOptionWithResource $+-- associateTagOptionWithResource+--+-- , requestCreateTagOption $+-- createTagOption+-- -- , requestDisassociateProductFromPortfolio $ -- disassociateProductFromPortfolio --@@ -91,6 +100,12 @@ -- , requestDisassociatePrincipalFromPortfolio $ -- disassociatePrincipalFromPortfolio --+-- , requestDescribeTagOption $+-- describeTagOption+--+-- , requestDisassociateTagOptionFromResource $+-- disassociateTagOptionFromResource+-- -- , requestDescribePortfolio $ -- describePortfolio --@@ -121,6 +136,12 @@ -- , requestRejectPortfolioShare $ -- rejectPortfolioShare --+-- , requestUpdateTagOption $+-- updateTagOption+--+-- , requestListTagOptions $+-- listTagOptions+-- -- , requestSearchProductsAsAdmin $ -- searchProductsAsAdmin --@@ -142,6 +163,12 @@ -- , requestAssociatePrincipalWithPortfolio $ -- associatePrincipalWithPortfolio --+-- , requestDescribeProvisionedProduct $+-- describeProvisionedProduct+--+-- , requestCopyProduct $+-- copyProduct+-- -- , requestUpdateProvisioningArtifact $ -- updateProvisioningArtifact --@@ -157,6 +184,9 @@ -- , requestListLaunchPaths $ -- listLaunchPaths --+-- , requestListResourcesForTagOption $+-- listResourcesForTagOption+-- -- ] -- , testGroup "response"@@ -169,6 +199,9 @@ -- , responseCreateProduct $ -- createProductResponse --+-- , responseDescribeCopyProductStatus $+-- describeCopyProductStatusResponse+-- -- , responseTerminateProvisionedProduct $ -- terminateProvisionedProductResponse --@@ -181,6 +214,12 @@ -- , responseListRecordHistory $ -- listRecordHistoryResponse --+-- , responseAssociateTagOptionWithResource $+-- associateTagOptionWithResourceResponse+--+-- , responseCreateTagOption $+-- createTagOptionResponse+-- -- , responseDisassociateProductFromPortfolio $ -- disassociateProductFromPortfolioResponse --@@ -223,6 +262,12 @@ -- , responseDisassociatePrincipalFromPortfolio $ -- disassociatePrincipalFromPortfolioResponse --+-- , responseDescribeTagOption $+-- describeTagOptionResponse+--+-- , responseDisassociateTagOptionFromResource $+-- disassociateTagOptionFromResourceResponse+-- -- , responseDescribePortfolio $ -- describePortfolioResponse --@@ -253,6 +298,12 @@ -- , responseRejectPortfolioShare $ -- rejectPortfolioShareResponse --+-- , responseUpdateTagOption $+-- updateTagOptionResponse+--+-- , responseListTagOptions $+-- listTagOptionsResponse+-- -- , responseSearchProductsAsAdmin $ -- searchProductsAsAdminResponse --@@ -274,6 +325,12 @@ -- , responseAssociatePrincipalWithPortfolio $ -- associatePrincipalWithPortfolioResponse --+-- , responseDescribeProvisionedProduct $+-- describeProvisionedProductResponse+--+-- , responseCopyProduct $+-- copyProductResponse+-- -- , responseUpdateProvisioningArtifact $ -- updateProvisioningArtifactResponse --@@ -289,6 +346,9 @@ -- , responseListLaunchPaths $ -- listLaunchPathsResponse --+-- , responseListResourcesForTagOption $+-- listResourcesForTagOptionResponse+-- -- ] -- ] @@ -309,6 +369,11 @@ "CreateProduct" "fixture/CreateProduct.yaml" +requestDescribeCopyProductStatus :: DescribeCopyProductStatus -> TestTree+requestDescribeCopyProductStatus = req+ "DescribeCopyProductStatus"+ "fixture/DescribeCopyProductStatus.yaml"+ requestTerminateProvisionedProduct :: TerminateProvisionedProduct -> TestTree requestTerminateProvisionedProduct = req "TerminateProvisionedProduct"@@ -329,6 +394,16 @@ "ListRecordHistory" "fixture/ListRecordHistory.yaml" +requestAssociateTagOptionWithResource :: AssociateTagOptionWithResource -> TestTree+requestAssociateTagOptionWithResource = req+ "AssociateTagOptionWithResource"+ "fixture/AssociateTagOptionWithResource.yaml"++requestCreateTagOption :: CreateTagOption -> TestTree+requestCreateTagOption = req+ "CreateTagOption"+ "fixture/CreateTagOption.yaml"+ requestDisassociateProductFromPortfolio :: DisassociateProductFromPortfolio -> TestTree requestDisassociateProductFromPortfolio = req "DisassociateProductFromPortfolio"@@ -399,6 +474,16 @@ "DisassociatePrincipalFromPortfolio" "fixture/DisassociatePrincipalFromPortfolio.yaml" +requestDescribeTagOption :: DescribeTagOption -> TestTree+requestDescribeTagOption = req+ "DescribeTagOption"+ "fixture/DescribeTagOption.yaml"++requestDisassociateTagOptionFromResource :: DisassociateTagOptionFromResource -> TestTree+requestDisassociateTagOptionFromResource = req+ "DisassociateTagOptionFromResource"+ "fixture/DisassociateTagOptionFromResource.yaml"+ requestDescribePortfolio :: DescribePortfolio -> TestTree requestDescribePortfolio = req "DescribePortfolio"@@ -449,6 +534,16 @@ "RejectPortfolioShare" "fixture/RejectPortfolioShare.yaml" +requestUpdateTagOption :: UpdateTagOption -> TestTree+requestUpdateTagOption = req+ "UpdateTagOption"+ "fixture/UpdateTagOption.yaml"++requestListTagOptions :: ListTagOptions -> TestTree+requestListTagOptions = req+ "ListTagOptions"+ "fixture/ListTagOptions.yaml"+ requestSearchProductsAsAdmin :: SearchProductsAsAdmin -> TestTree requestSearchProductsAsAdmin = req "SearchProductsAsAdmin"@@ -484,6 +579,16 @@ "AssociatePrincipalWithPortfolio" "fixture/AssociatePrincipalWithPortfolio.yaml" +requestDescribeProvisionedProduct :: DescribeProvisionedProduct -> TestTree+requestDescribeProvisionedProduct = req+ "DescribeProvisionedProduct"+ "fixture/DescribeProvisionedProduct.yaml"++requestCopyProduct :: CopyProduct -> TestTree+requestCopyProduct = req+ "CopyProduct"+ "fixture/CopyProduct.yaml"+ requestUpdateProvisioningArtifact :: UpdateProvisioningArtifact -> TestTree requestUpdateProvisioningArtifact = req "UpdateProvisioningArtifact"@@ -509,6 +614,11 @@ "ListLaunchPaths" "fixture/ListLaunchPaths.yaml" +requestListResourcesForTagOption :: ListResourcesForTagOption -> TestTree+requestListResourcesForTagOption = req+ "ListResourcesForTagOption"+ "fixture/ListResourcesForTagOption.yaml"+ -- Responses responseDeleteConstraint :: DeleteConstraintResponse -> TestTree@@ -532,6 +642,13 @@ serviceCatalog (Proxy :: Proxy CreateProduct) +responseDescribeCopyProductStatus :: DescribeCopyProductStatusResponse -> TestTree+responseDescribeCopyProductStatus = res+ "DescribeCopyProductStatusResponse"+ "fixture/DescribeCopyProductStatusResponse.proto"+ serviceCatalog+ (Proxy :: Proxy DescribeCopyProductStatus)+ responseTerminateProvisionedProduct :: TerminateProvisionedProductResponse -> TestTree responseTerminateProvisionedProduct = res "TerminateProvisionedProductResponse"@@ -560,6 +677,20 @@ serviceCatalog (Proxy :: Proxy ListRecordHistory) +responseAssociateTagOptionWithResource :: AssociateTagOptionWithResourceResponse -> TestTree+responseAssociateTagOptionWithResource = res+ "AssociateTagOptionWithResourceResponse"+ "fixture/AssociateTagOptionWithResourceResponse.proto"+ serviceCatalog+ (Proxy :: Proxy AssociateTagOptionWithResource)++responseCreateTagOption :: CreateTagOptionResponse -> TestTree+responseCreateTagOption = res+ "CreateTagOptionResponse"+ "fixture/CreateTagOptionResponse.proto"+ serviceCatalog+ (Proxy :: Proxy CreateTagOption)+ responseDisassociateProductFromPortfolio :: DisassociateProductFromPortfolioResponse -> TestTree responseDisassociateProductFromPortfolio = res "DisassociateProductFromPortfolioResponse"@@ -658,6 +789,20 @@ serviceCatalog (Proxy :: Proxy DisassociatePrincipalFromPortfolio) +responseDescribeTagOption :: DescribeTagOptionResponse -> TestTree+responseDescribeTagOption = res+ "DescribeTagOptionResponse"+ "fixture/DescribeTagOptionResponse.proto"+ serviceCatalog+ (Proxy :: Proxy DescribeTagOption)++responseDisassociateTagOptionFromResource :: DisassociateTagOptionFromResourceResponse -> TestTree+responseDisassociateTagOptionFromResource = res+ "DisassociateTagOptionFromResourceResponse"+ "fixture/DisassociateTagOptionFromResourceResponse.proto"+ serviceCatalog+ (Proxy :: Proxy DisassociateTagOptionFromResource)+ responseDescribePortfolio :: DescribePortfolioResponse -> TestTree responseDescribePortfolio = res "DescribePortfolioResponse"@@ -728,6 +873,20 @@ serviceCatalog (Proxy :: Proxy RejectPortfolioShare) +responseUpdateTagOption :: UpdateTagOptionResponse -> TestTree+responseUpdateTagOption = res+ "UpdateTagOptionResponse"+ "fixture/UpdateTagOptionResponse.proto"+ serviceCatalog+ (Proxy :: Proxy UpdateTagOption)++responseListTagOptions :: ListTagOptionsResponse -> TestTree+responseListTagOptions = res+ "ListTagOptionsResponse"+ "fixture/ListTagOptionsResponse.proto"+ serviceCatalog+ (Proxy :: Proxy ListTagOptions)+ responseSearchProductsAsAdmin :: SearchProductsAsAdminResponse -> TestTree responseSearchProductsAsAdmin = res "SearchProductsAsAdminResponse"@@ -777,6 +936,20 @@ serviceCatalog (Proxy :: Proxy AssociatePrincipalWithPortfolio) +responseDescribeProvisionedProduct :: DescribeProvisionedProductResponse -> TestTree+responseDescribeProvisionedProduct = res+ "DescribeProvisionedProductResponse"+ "fixture/DescribeProvisionedProductResponse.proto"+ serviceCatalog+ (Proxy :: Proxy DescribeProvisionedProduct)++responseCopyProduct :: CopyProductResponse -> TestTree+responseCopyProduct = res+ "CopyProductResponse"+ "fixture/CopyProductResponse.proto"+ serviceCatalog+ (Proxy :: Proxy CopyProduct)+ responseUpdateProvisioningArtifact :: UpdateProvisioningArtifactResponse -> TestTree responseUpdateProvisioningArtifact = res "UpdateProvisioningArtifactResponse"@@ -811,3 +984,10 @@ "fixture/ListLaunchPathsResponse.proto" serviceCatalog (Proxy :: Proxy ListLaunchPaths)++responseListResourcesForTagOption :: ListResourcesForTagOptionResponse -> TestTree+responseListResourcesForTagOption = res+ "ListResourcesForTagOptionResponse"+ "fixture/ListResourcesForTagOptionResponse.proto"+ serviceCatalog+ (Proxy :: Proxy ListResourcesForTagOption)