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 |
Synopsis
- defaultService :: Service
- _PreconditionFailedException :: AsError a => Getting (First ServiceError) a ServiceError
- _ConflictException :: AsError a => Getting (First ServiceError) a ServiceError
- _ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError
- _GoneException :: AsError a => Getting (First ServiceError) a ServiceError
- _NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError
- _BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype CodeGenerationStatus where
- newtype DiscovererState where
- DiscovererState' { }
- pattern DiscovererState_STARTED :: DiscovererState
- pattern DiscovererState_STOPPED :: DiscovererState
- newtype Type where
- Type' { }
- pattern Type_JSONSchemaDraft4 :: Type
- pattern Type_OpenApi3 :: Type
- data DiscovererSummary = DiscovererSummary' {
- state :: Maybe DiscovererState
- crossAccount :: Maybe Bool
- sourceArn :: Maybe Text
- discovererId :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- discovererArn :: Maybe Text
- newDiscovererSummary :: DiscovererSummary
- discovererSummary_state :: Lens' DiscovererSummary (Maybe DiscovererState)
- discovererSummary_crossAccount :: Lens' DiscovererSummary (Maybe Bool)
- discovererSummary_sourceArn :: Lens' DiscovererSummary (Maybe Text)
- discovererSummary_discovererId :: Lens' DiscovererSummary (Maybe Text)
- discovererSummary_tags :: Lens' DiscovererSummary (Maybe (HashMap Text Text))
- discovererSummary_discovererArn :: Lens' DiscovererSummary (Maybe Text)
- data RegistrySummary = RegistrySummary' {}
- newRegistrySummary :: RegistrySummary
- registrySummary_registryName :: Lens' RegistrySummary (Maybe Text)
- registrySummary_registryArn :: Lens' RegistrySummary (Maybe Text)
- registrySummary_tags :: Lens' RegistrySummary (Maybe (HashMap Text Text))
- data SchemaSummary = SchemaSummary' {}
- newSchemaSummary :: SchemaSummary
- schemaSummary_schemaName :: Lens' SchemaSummary (Maybe Text)
- schemaSummary_schemaArn :: Lens' SchemaSummary (Maybe Text)
- schemaSummary_lastModified :: Lens' SchemaSummary (Maybe UTCTime)
- schemaSummary_tags :: Lens' SchemaSummary (Maybe (HashMap Text Text))
- schemaSummary_versionCount :: Lens' SchemaSummary (Maybe Integer)
- data SchemaVersionSummary = SchemaVersionSummary' {}
- newSchemaVersionSummary :: SchemaVersionSummary
- schemaVersionSummary_schemaVersion :: Lens' SchemaVersionSummary (Maybe Text)
- schemaVersionSummary_schemaName :: Lens' SchemaVersionSummary (Maybe Text)
- schemaVersionSummary_schemaArn :: Lens' SchemaVersionSummary (Maybe Text)
- schemaVersionSummary_type :: Lens' SchemaVersionSummary (Maybe Type)
- data SearchSchemaSummary = SearchSchemaSummary' {}
- newSearchSchemaSummary :: SearchSchemaSummary
- searchSchemaSummary_registryName :: Lens' SearchSchemaSummary (Maybe Text)
- searchSchemaSummary_schemaVersions :: Lens' SearchSchemaSummary (Maybe [SearchSchemaVersionSummary])
- searchSchemaSummary_schemaName :: Lens' SearchSchemaSummary (Maybe Text)
- searchSchemaSummary_schemaArn :: Lens' SearchSchemaSummary (Maybe Text)
- data SearchSchemaVersionSummary = SearchSchemaVersionSummary' {
- schemaVersion :: Maybe Text
- createdDate :: Maybe POSIX
- type' :: Maybe Type
- newSearchSchemaVersionSummary :: SearchSchemaVersionSummary
- searchSchemaVersionSummary_schemaVersion :: Lens' SearchSchemaVersionSummary (Maybe Text)
- searchSchemaVersionSummary_createdDate :: Lens' SearchSchemaVersionSummary (Maybe UTCTime)
- searchSchemaVersionSummary_type :: Lens' SearchSchemaVersionSummary (Maybe Type)
Service Configuration
defaultService :: Service Source #
API version 2019-12-02
of the Amazon Schemas SDK configuration.
Errors
_PreconditionFailedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for PreconditionFailedException' errors.
_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for ConflictException' errors.
_ForbiddenException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for ForbiddenException' errors.
_GoneException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for GoneException' errors.
_NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for NotFoundException' errors.
_TooManyRequestsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for TooManyRequestsException' errors.
_InternalServerErrorException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for InternalServerErrorException' errors.
_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for ServiceUnavailableException' errors.
_UnauthorizedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for UnauthorizedException' errors.
_BadRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Prism for BadRequestException' errors.
CodeGenerationStatus
newtype CodeGenerationStatus Source #
Instances
DiscovererState
newtype DiscovererState Source #
pattern DiscovererState_STARTED :: DiscovererState | |
pattern DiscovererState_STOPPED :: DiscovererState |
Instances
Type
pattern Type_JSONSchemaDraft4 :: Type | |
pattern Type_OpenApi3 :: Type |
Instances
DiscovererSummary
data DiscovererSummary Source #
See: newDiscovererSummary
smart constructor.
DiscovererSummary' | |
|
Instances
newDiscovererSummary :: DiscovererSummary Source #
Create a value of DiscovererSummary
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:state:DiscovererSummary'
, discovererSummary_state
- The state of the discoverer.
$sel:crossAccount:DiscovererSummary'
, discovererSummary_crossAccount
- The Status if the discoverer will discover schemas from events sent from
another account.
$sel:sourceArn:DiscovererSummary'
, discovererSummary_sourceArn
- The ARN of the event bus.
$sel:discovererId:DiscovererSummary'
, discovererSummary_discovererId
- The ID of the discoverer.
$sel:tags:DiscovererSummary'
, discovererSummary_tags
- Tags associated with the resource.
$sel:discovererArn:DiscovererSummary'
, discovererSummary_discovererArn
- The ARN of the discoverer.
discovererSummary_state :: Lens' DiscovererSummary (Maybe DiscovererState) Source #
The state of the discoverer.
discovererSummary_crossAccount :: Lens' DiscovererSummary (Maybe Bool) Source #
The Status if the discoverer will discover schemas from events sent from another account.
discovererSummary_sourceArn :: Lens' DiscovererSummary (Maybe Text) Source #
The ARN of the event bus.
discovererSummary_discovererId :: Lens' DiscovererSummary (Maybe Text) Source #
The ID of the discoverer.
discovererSummary_tags :: Lens' DiscovererSummary (Maybe (HashMap Text Text)) Source #
Tags associated with the resource.
discovererSummary_discovererArn :: Lens' DiscovererSummary (Maybe Text) Source #
The ARN of the discoverer.
RegistrySummary
data RegistrySummary Source #
See: newRegistrySummary
smart constructor.
Instances
newRegistrySummary :: RegistrySummary Source #
Create a value of RegistrySummary
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:registryName:RegistrySummary'
, registrySummary_registryName
- The name of the registry.
$sel:registryArn:RegistrySummary'
, registrySummary_registryArn
- The ARN of the registry.
$sel:tags:RegistrySummary'
, registrySummary_tags
- Tags associated with the registry.
registrySummary_registryName :: Lens' RegistrySummary (Maybe Text) Source #
The name of the registry.
registrySummary_registryArn :: Lens' RegistrySummary (Maybe Text) Source #
The ARN of the registry.
registrySummary_tags :: Lens' RegistrySummary (Maybe (HashMap Text Text)) Source #
Tags associated with the registry.
SchemaSummary
data SchemaSummary Source #
A summary of schema details.
See: newSchemaSummary
smart constructor.
SchemaSummary' | |
|
Instances
newSchemaSummary :: SchemaSummary Source #
Create a value of SchemaSummary
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:schemaName:SchemaSummary'
, schemaSummary_schemaName
- The name of the schema.
$sel:schemaArn:SchemaSummary'
, schemaSummary_schemaArn
- The ARN of the schema.
$sel:lastModified:SchemaSummary'
, schemaSummary_lastModified
- The date and time that schema was modified.
$sel:tags:SchemaSummary'
, schemaSummary_tags
- Tags associated with the schema.
$sel:versionCount:SchemaSummary'
, schemaSummary_versionCount
- The number of versions available for the schema.
schemaSummary_schemaName :: Lens' SchemaSummary (Maybe Text) Source #
The name of the schema.
schemaSummary_schemaArn :: Lens' SchemaSummary (Maybe Text) Source #
The ARN of the schema.
schemaSummary_lastModified :: Lens' SchemaSummary (Maybe UTCTime) Source #
The date and time that schema was modified.
schemaSummary_tags :: Lens' SchemaSummary (Maybe (HashMap Text Text)) Source #
Tags associated with the schema.
schemaSummary_versionCount :: Lens' SchemaSummary (Maybe Integer) Source #
The number of versions available for the schema.
SchemaVersionSummary
data SchemaVersionSummary Source #
See: newSchemaVersionSummary
smart constructor.
Instances
newSchemaVersionSummary :: SchemaVersionSummary Source #
Create a value of SchemaVersionSummary
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:schemaVersion:SchemaVersionSummary'
, schemaVersionSummary_schemaVersion
- The version number of the schema.
$sel:schemaName:SchemaVersionSummary'
, schemaVersionSummary_schemaName
- The name of the schema.
$sel:schemaArn:SchemaVersionSummary'
, schemaVersionSummary_schemaArn
- The ARN of the schema version.
$sel:type':SchemaVersionSummary'
, schemaVersionSummary_type
- The type of schema.
schemaVersionSummary_schemaVersion :: Lens' SchemaVersionSummary (Maybe Text) Source #
The version number of the schema.
schemaVersionSummary_schemaName :: Lens' SchemaVersionSummary (Maybe Text) Source #
The name of the schema.
schemaVersionSummary_schemaArn :: Lens' SchemaVersionSummary (Maybe Text) Source #
The ARN of the schema version.
schemaVersionSummary_type :: Lens' SchemaVersionSummary (Maybe Type) Source #
The type of schema.
SearchSchemaSummary
data SearchSchemaSummary Source #
See: newSearchSchemaSummary
smart constructor.
SearchSchemaSummary' | |
|
Instances
newSearchSchemaSummary :: SearchSchemaSummary Source #
Create a value of SearchSchemaSummary
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:registryName:SearchSchemaSummary'
, searchSchemaSummary_registryName
- The name of the registry.
$sel:schemaVersions:SearchSchemaSummary'
, searchSchemaSummary_schemaVersions
- An array of schema version summaries.
$sel:schemaName:SearchSchemaSummary'
, searchSchemaSummary_schemaName
- The name of the schema.
$sel:schemaArn:SearchSchemaSummary'
, searchSchemaSummary_schemaArn
- The ARN of the schema.
searchSchemaSummary_registryName :: Lens' SearchSchemaSummary (Maybe Text) Source #
The name of the registry.
searchSchemaSummary_schemaVersions :: Lens' SearchSchemaSummary (Maybe [SearchSchemaVersionSummary]) Source #
An array of schema version summaries.
searchSchemaSummary_schemaName :: Lens' SearchSchemaSummary (Maybe Text) Source #
The name of the schema.
searchSchemaSummary_schemaArn :: Lens' SearchSchemaSummary (Maybe Text) Source #
The ARN of the schema.
SearchSchemaVersionSummary
data SearchSchemaVersionSummary Source #
See: newSearchSchemaVersionSummary
smart constructor.
SearchSchemaVersionSummary' | |
|
Instances
newSearchSchemaVersionSummary :: SearchSchemaVersionSummary Source #
Create a value of SearchSchemaVersionSummary
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:schemaVersion:SearchSchemaVersionSummary'
, searchSchemaVersionSummary_schemaVersion
- The version number of the schema
$sel:createdDate:SearchSchemaVersionSummary'
, searchSchemaVersionSummary_createdDate
- The date the schema version was created.
$sel:type':SearchSchemaVersionSummary'
, searchSchemaVersionSummary_type
- The type of schema.
searchSchemaVersionSummary_schemaVersion :: Lens' SearchSchemaVersionSummary (Maybe Text) Source #
The version number of the schema
searchSchemaVersionSummary_createdDate :: Lens' SearchSchemaVersionSummary (Maybe UTCTime) Source #
The date the schema version was created.
searchSchemaVersionSummary_type :: Lens' SearchSchemaVersionSummary (Maybe Type) Source #
The type of schema.