| Copyright | (c) 2013-2021 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) |
| Safe Haskell | None |
Amazonka.FinSpaceData.Types
Description
Synopsis
- defaultService :: Service
- _ValidationException :: AsError a => Getting (First ServiceError) a ServiceError
- _AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype ChangeType where
- ChangeType' { }
- pattern ChangeType_APPEND :: ChangeType
- pattern ChangeType_MODIFY :: ChangeType
- pattern ChangeType_REPLACE :: ChangeType
- newtype ChangesetStatus where
- ChangesetStatus' { }
- pattern ChangesetStatus_FAILED :: ChangesetStatus
- pattern ChangesetStatus_PENDING :: ChangesetStatus
- pattern ChangesetStatus_RUNNING :: ChangesetStatus
- pattern ChangesetStatus_STOP_REQUESTED :: ChangesetStatus
- pattern ChangesetStatus_SUCCESS :: ChangesetStatus
- newtype ErrorCategory where
- ErrorCategory' { }
- pattern ErrorCategory_A_user_recoverable_error_has_occurred :: ErrorCategory
- pattern ErrorCategory_An_internal_error_has_occurred :: ErrorCategory
- pattern ErrorCategory_Cancelled :: ErrorCategory
- pattern ErrorCategory_Missing_required_permission_to_perform_this_request :: ErrorCategory
- pattern ErrorCategory_One_or_more_inputs_to_this_request_were_not_found :: ErrorCategory
- pattern ErrorCategory_Service_limits_have_been_exceeded :: ErrorCategory
- pattern ErrorCategory_The_inputs_to_this_request_are_invalid :: ErrorCategory
- pattern ErrorCategory_The_system_temporarily_lacks_sufficient_resources_to_process_the_request :: ErrorCategory
- newtype FormatType where
- FormatType' { }
- pattern FormatType_CSV :: FormatType
- pattern FormatType_JSON :: FormatType
- pattern FormatType_PARQUET :: FormatType
- pattern FormatType_XML :: FormatType
- newtype LocationType where
- LocationType' { }
- pattern LocationType_INGESTION :: LocationType
- pattern LocationType_SAGEMAKER :: LocationType
- newtype SourceType where
- SourceType' { }
- pattern SourceType_S3 :: SourceType
- data ChangesetInfo = ChangesetInfo' {
- status :: Maybe ChangesetStatus
- sourceType :: Maybe SourceType
- sourceParams :: Maybe (HashMap Text Text)
- changesetLabels :: Maybe (HashMap Text Text)
- updatedByChangesetId :: Maybe Text
- datasetId :: Maybe Text
- formatParams :: Maybe (HashMap Text Text)
- createTimestamp :: Maybe POSIX
- id :: Maybe Text
- formatType :: Maybe FormatType
- updatesChangesetId :: Maybe Text
- changeType :: Maybe ChangeType
- errorInfo :: Maybe ErrorInfo
- changesetArn :: Maybe Text
- newChangesetInfo :: ChangesetInfo
- changesetInfo_status :: Lens' ChangesetInfo (Maybe ChangesetStatus)
- changesetInfo_sourceType :: Lens' ChangesetInfo (Maybe SourceType)
- changesetInfo_sourceParams :: Lens' ChangesetInfo (Maybe (HashMap Text Text))
- changesetInfo_changesetLabels :: Lens' ChangesetInfo (Maybe (HashMap Text Text))
- changesetInfo_updatedByChangesetId :: Lens' ChangesetInfo (Maybe Text)
- changesetInfo_datasetId :: Lens' ChangesetInfo (Maybe Text)
- changesetInfo_formatParams :: Lens' ChangesetInfo (Maybe (HashMap Text Text))
- changesetInfo_createTimestamp :: Lens' ChangesetInfo (Maybe UTCTime)
- changesetInfo_id :: Lens' ChangesetInfo (Maybe Text)
- changesetInfo_formatType :: Lens' ChangesetInfo (Maybe FormatType)
- changesetInfo_updatesChangesetId :: Lens' ChangesetInfo (Maybe Text)
- changesetInfo_changeType :: Lens' ChangesetInfo (Maybe ChangeType)
- changesetInfo_errorInfo :: Lens' ChangesetInfo (Maybe ErrorInfo)
- changesetInfo_changesetArn :: Lens' ChangesetInfo (Maybe Text)
- data Credentials = Credentials' {}
- newCredentials :: Credentials
- credentials_secretAccessKey :: Lens' Credentials (Maybe Text)
- credentials_sessionToken :: Lens' Credentials (Maybe Text)
- credentials_accessKeyId :: Lens' Credentials (Maybe Text)
- data ErrorInfo = ErrorInfo' {}
- newErrorInfo :: ErrorInfo
- errorInfo_errorCategory :: Lens' ErrorInfo (Maybe ErrorCategory)
- errorInfo_errorMessage :: Lens' ErrorInfo (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2020-07-13 of the Amazon FinSpace Public API SDK configuration.
Errors
_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The input fails to satisfy the constraints specified by an AWS service.
_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You do not have sufficient access to perform this action.
_ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request was denied due to request throttling.
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The request processing has failed because of an unknown error, exception or failure.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
One or more resources can't be found.
ChangeType
newtype ChangeType Source #
Constructors
| ChangeType' | |
Fields | |
Bundled Patterns
| pattern ChangeType_APPEND :: ChangeType | |
| pattern ChangeType_MODIFY :: ChangeType | |
| pattern ChangeType_REPLACE :: ChangeType |
Instances
ChangesetStatus
newtype ChangesetStatus Source #
Constructors
| ChangesetStatus' | |
Fields | |
Bundled Patterns
| pattern ChangesetStatus_FAILED :: ChangesetStatus | |
| pattern ChangesetStatus_PENDING :: ChangesetStatus | |
| pattern ChangesetStatus_RUNNING :: ChangesetStatus | |
| pattern ChangesetStatus_STOP_REQUESTED :: ChangesetStatus | |
| pattern ChangesetStatus_SUCCESS :: ChangesetStatus |
Instances
ErrorCategory
newtype ErrorCategory Source #
Constructors
| ErrorCategory' | |
Fields | |
Bundled Patterns
Instances
FormatType
newtype FormatType Source #
Constructors
| FormatType' | |
Fields | |
Bundled Patterns
| pattern FormatType_CSV :: FormatType | |
| pattern FormatType_JSON :: FormatType | |
| pattern FormatType_PARQUET :: FormatType | |
| pattern FormatType_XML :: FormatType |
Instances
LocationType
newtype LocationType Source #
Constructors
| LocationType' | |
Fields | |
Bundled Patterns
| pattern LocationType_INGESTION :: LocationType | |
| pattern LocationType_SAGEMAKER :: LocationType |
Instances
SourceType
newtype SourceType Source #
Constructors
| SourceType' | |
Fields | |
Bundled Patterns
| pattern SourceType_S3 :: SourceType |
Instances
ChangesetInfo
data ChangesetInfo Source #
A changeset is unit of data in a dataset.
See: newChangesetInfo smart constructor.
Constructors
| ChangesetInfo' | |
Fields
| |
Instances
newChangesetInfo :: ChangesetInfo Source #
Create a value of ChangesetInfo with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ChangesetInfo', changesetInfo_status - The status of changeset creation operation.
$sel:sourceType:ChangesetInfo', changesetInfo_sourceType - Type of the data source from which the files to create the changeset are
sourced.
S3- Amazon S3.
$sel:sourceParams:ChangesetInfo', changesetInfo_sourceParams - Source path from which the files to create the changeset are sourced.
$sel:changesetLabels:ChangesetInfo', changesetInfo_changesetLabels - Tags associated with the changeset.
$sel:updatedByChangesetId:ChangesetInfo', changesetInfo_updatedByChangesetId - Unique identifier of the changeset that is updated a changeset.
$sel:datasetId:ChangesetInfo', changesetInfo_datasetId - The unique identifier for the FinSpace dataset in which the changeset is
created.
$sel:formatParams:ChangesetInfo', changesetInfo_formatParams - Structure of the source file(s).
$sel:createTimestamp:ChangesetInfo', changesetInfo_createTimestamp - The timestamp at which the changeset was created in FinSpace.
$sel:id:ChangesetInfo', changesetInfo_id - Unique identifier for a changeset.
$sel:formatType:ChangesetInfo', changesetInfo_formatType - Format type of the input files loaded into the changeset.
$sel:updatesChangesetId:ChangesetInfo', changesetInfo_updatesChangesetId - Unique identifier of the changeset that is updated.
$sel:changeType:ChangesetInfo', changesetInfo_changeType - Change type indicates how a changeset is applied to a dataset.
REPLACE- Changeset is considered as a replacement to all prior loaded changesets.APPEND- Changeset is considered as an addition to the end of all prior loaded changesets.MODIFY- Changeset is considered as a replacement to a specific prior ingested changeset.
$sel:errorInfo:ChangesetInfo', changesetInfo_errorInfo - The structure with error messages.
$sel:changesetArn:ChangesetInfo', changesetInfo_changesetArn - The ARN identifier of the changeset.
changesetInfo_status :: Lens' ChangesetInfo (Maybe ChangesetStatus) Source #
The status of changeset creation operation.
changesetInfo_sourceType :: Lens' ChangesetInfo (Maybe SourceType) Source #
Type of the data source from which the files to create the changeset are sourced.
S3- Amazon S3.
changesetInfo_sourceParams :: Lens' ChangesetInfo (Maybe (HashMap Text Text)) Source #
Source path from which the files to create the changeset are sourced.
changesetInfo_changesetLabels :: Lens' ChangesetInfo (Maybe (HashMap Text Text)) Source #
Tags associated with the changeset.
changesetInfo_updatedByChangesetId :: Lens' ChangesetInfo (Maybe Text) Source #
Unique identifier of the changeset that is updated a changeset.
changesetInfo_datasetId :: Lens' ChangesetInfo (Maybe Text) Source #
The unique identifier for the FinSpace dataset in which the changeset is created.
changesetInfo_formatParams :: Lens' ChangesetInfo (Maybe (HashMap Text Text)) Source #
Structure of the source file(s).
changesetInfo_createTimestamp :: Lens' ChangesetInfo (Maybe UTCTime) Source #
The timestamp at which the changeset was created in FinSpace.
changesetInfo_id :: Lens' ChangesetInfo (Maybe Text) Source #
Unique identifier for a changeset.
changesetInfo_formatType :: Lens' ChangesetInfo (Maybe FormatType) Source #
Format type of the input files loaded into the changeset.
changesetInfo_updatesChangesetId :: Lens' ChangesetInfo (Maybe Text) Source #
Unique identifier of the changeset that is updated.
changesetInfo_changeType :: Lens' ChangesetInfo (Maybe ChangeType) Source #
Change type indicates how a changeset is applied to a dataset.
REPLACE- Changeset is considered as a replacement to all prior loaded changesets.APPEND- Changeset is considered as an addition to the end of all prior loaded changesets.MODIFY- Changeset is considered as a replacement to a specific prior ingested changeset.
changesetInfo_errorInfo :: Lens' ChangesetInfo (Maybe ErrorInfo) Source #
The structure with error messages.
changesetInfo_changesetArn :: Lens' ChangesetInfo (Maybe Text) Source #
The ARN identifier of the changeset.
Credentials
data Credentials Source #
Set short term API credentials.
See: newCredentials smart constructor.
Constructors
| Credentials' | |
Fields
| |
Instances
newCredentials :: Credentials Source #
Create a value of Credentials with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:secretAccessKey:Credentials', credentials_secretAccessKey - The access key.
$sel:sessionToken:Credentials', credentials_sessionToken - The session token.
$sel:accessKeyId:Credentials', credentials_accessKeyId - The access key identifier.
credentials_secretAccessKey :: Lens' Credentials (Maybe Text) Source #
The access key.
credentials_sessionToken :: Lens' Credentials (Maybe Text) Source #
The session token.
credentials_accessKeyId :: Lens' Credentials (Maybe Text) Source #
The access key identifier.
ErrorInfo
Error message.
See: newErrorInfo smart constructor.
Constructors
| ErrorInfo' | |
Fields
| |
Instances
| Eq ErrorInfo Source # | |
| Read ErrorInfo Source # | |
| Show ErrorInfo Source # | |
| Generic ErrorInfo Source # | |
| NFData ErrorInfo Source # | |
Defined in Amazonka.FinSpaceData.Types.ErrorInfo | |
| Hashable ErrorInfo Source # | |
Defined in Amazonka.FinSpaceData.Types.ErrorInfo | |
| FromJSON ErrorInfo Source # | |
| type Rep ErrorInfo Source # | |
Defined in Amazonka.FinSpaceData.Types.ErrorInfo type Rep ErrorInfo = D1 ('MetaData "ErrorInfo" "Amazonka.FinSpaceData.Types.ErrorInfo" "libZSservicesZSamazonka-finspace-dataZSamazonka-finspace-data" 'False) (C1 ('MetaCons "ErrorInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorCategory)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
newErrorInfo :: ErrorInfo Source #
Create a value of ErrorInfo with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCategory:ErrorInfo', errorInfo_errorCategory - The category of the error.
VALIDATION-The inputs to this request are invalid.SERVICE_QUOTA_EXCEEDED- Service quotas have been exceeded. Please contact AWS support to increase quotas.ACCESS_DENIED- Missing required permission to perform this request.RESOURCE_NOT_FOUND- One or more inputs to this request were not found.THROTTLING- The system temporarily lacks sufficient resources to process the request.INTERNAL_SERVICE_EXCEPTION- An internal service error has occurred.CANCELLED- A user recoverable error has occurred.
$sel:errorMessage:ErrorInfo', errorInfo_errorMessage - The text of the error message.
errorInfo_errorCategory :: Lens' ErrorInfo (Maybe ErrorCategory) Source #
The category of the error.
VALIDATION-The inputs to this request are invalid.SERVICE_QUOTA_EXCEEDED- Service quotas have been exceeded. Please contact AWS support to increase quotas.ACCESS_DENIED- Missing required permission to perform this request.RESOURCE_NOT_FOUND- One or more inputs to this request were not found.THROTTLING- The system temporarily lacks sufficient resources to process the request.INTERNAL_SERVICE_EXCEPTION- An internal service error has occurred.CANCELLED- A user recoverable error has occurred.