| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FinSpace
Description
Derived from API version 2021-03-12 of the AWS service descriptions, licensed under Apache 2.0.
The FinSpace management service provides the APIs for managing FinSpace environments.
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _InvalidRequestException :: AsError a => Fold a ServiceError
- _LimitExceededException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ServiceQuotaExceededException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- data CreateEnvironment = CreateEnvironment' (Maybe [Text]) (Maybe Text) (Maybe FederationMode) (Maybe FederationParameters) (Maybe Text) (Maybe SuperuserParameters) (Maybe (HashMap Text Text)) Text
- newCreateEnvironment :: Text -> CreateEnvironment
- data CreateEnvironmentResponse = CreateEnvironmentResponse' (Maybe Text) (Maybe Text) (Maybe Text) Int
- newCreateEnvironmentResponse :: Int -> CreateEnvironmentResponse
- data DeleteEnvironment = DeleteEnvironment' Text
- newDeleteEnvironment :: Text -> DeleteEnvironment
- data DeleteEnvironmentResponse = DeleteEnvironmentResponse' Int
- newDeleteEnvironmentResponse :: Int -> DeleteEnvironmentResponse
- data GetEnvironment = GetEnvironment' Text
- newGetEnvironment :: Text -> GetEnvironment
- data GetEnvironmentResponse = GetEnvironmentResponse' (Maybe Environment) Int
- newGetEnvironmentResponse :: Int -> GetEnvironmentResponse
- data ListEnvironments = ListEnvironments' (Maybe Natural) (Maybe Text)
- newListEnvironments :: ListEnvironments
- data ListEnvironmentsResponse = ListEnvironmentsResponse' (Maybe [Environment]) (Maybe Text) Int
- newListEnvironmentsResponse :: Int -> ListEnvironmentsResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' (Maybe (HashMap Text Text)) Int
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data TagResource = TagResource' Text (HashMap Text Text)
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data UntagResource = UntagResource' Text (NonEmpty Text)
- newUntagResource :: Text -> NonEmpty Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- data UpdateEnvironment = UpdateEnvironment' (Maybe Text) (Maybe FederationMode) (Maybe FederationParameters) (Maybe Text) Text
- newUpdateEnvironment :: Text -> UpdateEnvironment
- data UpdateEnvironmentResponse = UpdateEnvironmentResponse' (Maybe Environment) Int
- newUpdateEnvironmentResponse :: Int -> UpdateEnvironmentResponse
- newtype EnvironmentStatus where
- EnvironmentStatus' { }
- pattern EnvironmentStatus_CREATED :: EnvironmentStatus
- pattern EnvironmentStatus_CREATE_REQUESTED :: EnvironmentStatus
- pattern EnvironmentStatus_CREATING :: EnvironmentStatus
- pattern EnvironmentStatus_DELETED :: EnvironmentStatus
- pattern EnvironmentStatus_DELETE_REQUESTED :: EnvironmentStatus
- pattern EnvironmentStatus_DELETING :: EnvironmentStatus
- pattern EnvironmentStatus_FAILED_CREATION :: EnvironmentStatus
- pattern EnvironmentStatus_FAILED_DELETION :: EnvironmentStatus
- pattern EnvironmentStatus_RETRY_DELETION :: EnvironmentStatus
- pattern EnvironmentStatus_SUSPENDED :: EnvironmentStatus
- newtype FederationMode where
- FederationMode' { }
- pattern FederationMode_FEDERATED :: FederationMode
- pattern FederationMode_LOCAL :: FederationMode
- data Environment = Environment' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe FederationMode) (Maybe FederationParameters) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe EnvironmentStatus)
- newEnvironment :: Environment
- data FederationParameters = FederationParameters' (Maybe Text) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newFederationParameters :: FederationParameters
- data SuperuserParameters = SuperuserParameters' (Sensitive Text) Text Text
- newSuperuserParameters :: Text -> Text -> Text -> SuperuserParameters
Service Configuration
defaultService :: Service Source #
API version 2021-03-12 of the Amazon FinSpace User Environment Management service SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by FinSpace.
AccessDeniedException
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
You do not have sufficient access to perform this action.
InternalServerException
_InternalServerException :: AsError a => Fold a ServiceError Source #
The request processing has failed because of an unknown error, exception or failure.
InvalidRequestException
_InvalidRequestException :: AsError a => Fold a ServiceError Source #
The request is invalid. Something is wrong with the input to the request.
LimitExceededException
_LimitExceededException :: AsError a => Fold a ServiceError Source #
A service limit or quota is exceeded.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
One or more resources can't be found.
ServiceQuotaExceededException
_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #
You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
ThrottlingException
_ThrottlingException :: AsError a => Fold a ServiceError Source #
The request was denied due to request throttling.
ValidationException
_ValidationException :: AsError a => Fold a ServiceError Source #
The input fails to satisfy the constraints specified by an AWS service.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait specification is fulfilled. The Wait specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
CreateEnvironment
data CreateEnvironment Source #
See: newCreateEnvironment smart constructor.
Constructors
| CreateEnvironment' (Maybe [Text]) (Maybe Text) (Maybe FederationMode) (Maybe FederationParameters) (Maybe Text) (Maybe SuperuserParameters) (Maybe (HashMap Text Text)) Text |
Instances
Arguments
| :: Text | |
| -> CreateEnvironment |
Create a value of CreateEnvironment 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:dataBundles:CreateEnvironment', createEnvironment_dataBundles - The list of Amazon Resource Names (ARN) of the data bundles to install.
Currently supported data bundle ARNs:
arn:aws:finspace:${Region}::data-bundle/capital-markets-sample- Contains sample Capital Markets datasets, categories and controlled vocabularies.arn:aws:finspace:${Region}::data-bundle/taq(default) - Contains trades and quotes data in addition to sample Capital Markets data.
CreateEnvironment, createEnvironment_description - The description of the FinSpace environment to be created.
CreateEnvironment, createEnvironment_federationMode - Authentication mode for the environment.
FEDERATED- Users access FinSpace through Single Sign On (SSO) via your Identity provider.LOCAL- Users access FinSpace via email and password managed within the FinSpace environment.
CreateEnvironment, createEnvironment_federationParameters - Configuration information when authentication mode is FEDERATED.
CreateEnvironment, createEnvironment_kmsKeyId - The KMS key id to encrypt your data in the FinSpace environment.
$sel:superuserParameters:CreateEnvironment', createEnvironment_superuserParameters - Configuration information for the superuser.
$sel:tags:CreateEnvironment', createEnvironment_tags - Add tags to your FinSpace environment.
CreateEnvironment, createEnvironment_name - The name of the FinSpace environment to be created.
data CreateEnvironmentResponse Source #
See: newCreateEnvironmentResponse smart constructor.
Instances
newCreateEnvironmentResponse Source #
Create a value of CreateEnvironmentResponse 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:
CreateEnvironmentResponse, createEnvironmentResponse_environmentArn - The Amazon Resource Name (ARN) of the FinSpace environment that you
created.
CreateEnvironmentResponse, createEnvironmentResponse_environmentId - The unique identifier for FinSpace environment that you created.
CreateEnvironmentResponse, createEnvironmentResponse_environmentUrl - The sign-in url for the web application of the FinSpace environment you
created.
$sel:httpStatus:CreateEnvironmentResponse', createEnvironmentResponse_httpStatus - The response's http status code.
DeleteEnvironment
data DeleteEnvironment Source #
See: newDeleteEnvironment smart constructor.
Constructors
| DeleteEnvironment' Text |
Instances
Arguments
| :: Text | |
| -> DeleteEnvironment |
Create a value of DeleteEnvironment 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:
DeleteEnvironment, deleteEnvironment_environmentId - The identifier for the FinSpace environment.
data DeleteEnvironmentResponse Source #
See: newDeleteEnvironmentResponse smart constructor.
Constructors
| DeleteEnvironmentResponse' Int |
Instances
newDeleteEnvironmentResponse Source #
Create a value of DeleteEnvironmentResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteEnvironmentResponse', deleteEnvironmentResponse_httpStatus - The response's http status code.
GetEnvironment
data GetEnvironment Source #
See: newGetEnvironment smart constructor.
Constructors
| GetEnvironment' Text |
Instances
Arguments
| :: Text | |
| -> GetEnvironment |
Create a value of GetEnvironment 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:
GetEnvironment, getEnvironment_environmentId - The identifier of the FinSpace environment.
data GetEnvironmentResponse Source #
See: newGetEnvironmentResponse smart constructor.
Constructors
| GetEnvironmentResponse' (Maybe Environment) Int |
Instances
newGetEnvironmentResponse Source #
Create a value of GetEnvironmentResponse 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:environment:GetEnvironmentResponse', getEnvironmentResponse_environment - The name of the FinSpace environment.
$sel:httpStatus:GetEnvironmentResponse', getEnvironmentResponse_httpStatus - The response's http status code.
ListEnvironments
data ListEnvironments Source #
See: newListEnvironments smart constructor.
Constructors
| ListEnvironments' (Maybe Natural) (Maybe Text) |
Instances
newListEnvironments :: ListEnvironments Source #
Create a value of ListEnvironments with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:ListEnvironments', listEnvironments_maxResults - The maximum number of results to return in this request.
ListEnvironments, listEnvironments_nextToken - A token generated by FinSpace that specifies where to continue
pagination if a previous request was truncated. To get the next set of
pages, pass in the nextToken value from the response object of the
previous page call.
data ListEnvironmentsResponse Source #
See: newListEnvironmentsResponse smart constructor.
Constructors
| ListEnvironmentsResponse' (Maybe [Environment]) (Maybe Text) Int |
Instances
newListEnvironmentsResponse Source #
Create a value of ListEnvironmentsResponse 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:environments:ListEnvironmentsResponse', listEnvironmentsResponse_environments - A list of all of your FinSpace environments.
ListEnvironments, listEnvironmentsResponse_nextToken - A token that you can use in a subsequent call to retrieve the next set
of results.
$sel:httpStatus:ListEnvironmentsResponse', listEnvironmentsResponse_httpStatus - The response's http status code.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource smart constructor.
Constructors
| ListTagsForResource' Text |
Instances
newListTagsForResource Source #
Arguments
| :: Text | |
| -> ListTagsForResource |
Create a value of ListTagsForResource with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:ListTagsForResource', listTagsForResource_resourceArn - The Amazon Resource Name of the resource.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse smart constructor.
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tags:ListTagsForResourceResponse', listTagsForResourceResponse_tags - A list of all tags for a resource.
$sel:httpStatus:ListTagsForResourceResponse', listTagsForResourceResponse_httpStatus - The response's http status code.
TagResource
data TagResource Source #
See: newTagResource smart constructor.
Constructors
| TagResource' Text (HashMap Text Text) |
Instances
Arguments
| :: Text | |
| -> TagResource |
Create a value of TagResource with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:TagResource', tagResource_resourceArn - The Amazon Resource Name (ARN) for the resource.
$sel:tags:TagResource', tagResource_tags - One or more tags to be assigned to the resource.
data TagResourceResponse Source #
See: newTagResourceResponse smart constructor.
Constructors
| TagResourceResponse' Int |
Instances
newTagResourceResponse Source #
Arguments
| :: Int | |
| -> TagResourceResponse |
Create a value of TagResourceResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:TagResourceResponse', tagResourceResponse_httpStatus - The response's http status code.
UntagResource
data UntagResource Source #
See: newUntagResource smart constructor.
Constructors
| UntagResource' Text (NonEmpty Text) |
Instances
Arguments
| :: Text | |
| -> NonEmpty Text | |
| -> UntagResource |
Create a value of UntagResource with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceArn:UntagResource', untagResource_resourceArn - A FinSpace resource from which you want to remove a tag or tags. The
value for this parameter is an Amazon Resource Name (ARN).
$sel:tagKeys:UntagResource', untagResource_tagKeys - The tag keys (names) of one or more tags to be removed.
data UntagResourceResponse Source #
See: newUntagResourceResponse smart constructor.
Constructors
| UntagResourceResponse' Int |
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UntagResourceResponse', untagResourceResponse_httpStatus - The response's http status code.
UpdateEnvironment
data UpdateEnvironment Source #
See: newUpdateEnvironment smart constructor.
Constructors
| UpdateEnvironment' (Maybe Text) (Maybe FederationMode) (Maybe FederationParameters) (Maybe Text) Text |
Instances
Arguments
| :: Text | |
| -> UpdateEnvironment |
Create a value of UpdateEnvironment 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:
UpdateEnvironment, updateEnvironment_description - The description of the environment.
UpdateEnvironment, updateEnvironment_federationMode - Authentication mode for the environment.
FEDERATED- Users access FinSpace through Single Sign On (SSO) via your Identity provider.LOCAL- Users access FinSpace via email and password managed within the FinSpace environment.
UpdateEnvironment, updateEnvironment_federationParameters - Undocumented member.
UpdateEnvironment, updateEnvironment_name - The name of the environment.
UpdateEnvironment, updateEnvironment_environmentId - The identifier of the FinSpace environment.
data UpdateEnvironmentResponse Source #
See: newUpdateEnvironmentResponse smart constructor.
Constructors
| UpdateEnvironmentResponse' (Maybe Environment) Int |
Instances
newUpdateEnvironmentResponse Source #
Create a value of UpdateEnvironmentResponse 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:environment:UpdateEnvironmentResponse', updateEnvironmentResponse_environment - Returns the FinSpace environment object.
$sel:httpStatus:UpdateEnvironmentResponse', updateEnvironmentResponse_httpStatus - The response's http status code.
Types
EnvironmentStatus
newtype EnvironmentStatus Source #
Constructors
| EnvironmentStatus' | |
Fields | |
Bundled Patterns
| pattern EnvironmentStatus_CREATED :: EnvironmentStatus | |
| pattern EnvironmentStatus_CREATE_REQUESTED :: EnvironmentStatus | |
| pattern EnvironmentStatus_CREATING :: EnvironmentStatus | |
| pattern EnvironmentStatus_DELETED :: EnvironmentStatus | |
| pattern EnvironmentStatus_DELETE_REQUESTED :: EnvironmentStatus | |
| pattern EnvironmentStatus_DELETING :: EnvironmentStatus | |
| pattern EnvironmentStatus_FAILED_CREATION :: EnvironmentStatus | |
| pattern EnvironmentStatus_FAILED_DELETION :: EnvironmentStatus | |
| pattern EnvironmentStatus_RETRY_DELETION :: EnvironmentStatus | |
| pattern EnvironmentStatus_SUSPENDED :: EnvironmentStatus |
Instances
FederationMode
newtype FederationMode Source #
Constructors
| FederationMode' | |
Fields | |
Bundled Patterns
| pattern FederationMode_FEDERATED :: FederationMode | |
| pattern FederationMode_LOCAL :: FederationMode |
Instances
Environment
data Environment Source #
Represents an FinSpace environment.
See: newEnvironment smart constructor.
Constructors
| Environment' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe FederationMode) (Maybe FederationParameters) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe EnvironmentStatus) |
Instances
newEnvironment :: Environment Source #
Create a value of Environment 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:awsAccountId:Environment', environment_awsAccountId - The ID of the AWS account in which the FinSpace environment is created.
$sel:dedicatedServiceAccountId:Environment', environment_dedicatedServiceAccountId - The AWS account ID of the dedicated service account associated with your
FinSpace environment.
$sel:description:Environment', environment_description - The description of the FinSpace environment.
$sel:environmentArn:Environment', environment_environmentArn - The Amazon Resource Name (ARN) of your FinSpace environment.
$sel:environmentId:Environment', environment_environmentId - The identifier of the FinSpace environment.
$sel:environmentUrl:Environment', environment_environmentUrl - The sign-in url for the web application of your FinSpace environment.
$sel:federationMode:Environment', environment_federationMode - The authentication mode for the environment.
$sel:federationParameters:Environment', environment_federationParameters - Configuration information when authentication mode is FEDERATED.
$sel:kmsKeyId:Environment', environment_kmsKeyId - The KMS key id used to encrypt in the FinSpace environment.
$sel:name:Environment', environment_name - The name of the FinSpace environment.
$sel:sageMakerStudioDomainUrl:Environment', environment_sageMakerStudioDomainUrl - The url of the integrated FinSpace notebook environment in your web
application.
$sel:status:Environment', environment_status - The current status of creation of the FinSpace environment.
FederationParameters
data FederationParameters Source #
Configuration information when authentication mode is FEDERATED.
See: newFederationParameters smart constructor.
Constructors
| FederationParameters' (Maybe Text) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
newFederationParameters :: FederationParameters Source #
Create a value of FederationParameters 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:applicationCallBackURL:FederationParameters', federationParameters_applicationCallBackURL - The redirect or sign-in URL that should be entered into the SAML 2.0
compliant identity provider configuration (IdP).
$sel:attributeMap:FederationParameters', federationParameters_attributeMap - SAML attribute name and value. The name must always be Email and the
value should be set to the attribute definition in which user email is
set. For example, name would be Email and value
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress.
Please check your SAML 2.0 compliant identity provider (IdP)
documentation for details.
$sel:federationProviderName:FederationParameters', federationParameters_federationProviderName - Name of the identity provider (IdP).
$sel:federationURN:FederationParameters', federationParameters_federationURN - The Uniform Resource Name (URN). Also referred as Service Provider URN
or Audience URI or Service Provider Entity ID.
$sel:samlMetadataDocument:FederationParameters', federationParameters_samlMetadataDocument - SAML 2.0 Metadata document from identity provider (IdP).
$sel:samlMetadataURL:FederationParameters', federationParameters_samlMetadataURL - Provide the metadata URL from your SAML 2.0 compliant identity provider
(IdP).
SuperuserParameters
data SuperuserParameters Source #
Configuration information for the superuser.
See: newSuperuserParameters smart constructor.
Constructors
| SuperuserParameters' (Sensitive Text) Text Text |
Instances
newSuperuserParameters Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> SuperuserParameters |
Create a value of SuperuserParameters 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:emailAddress:SuperuserParameters', superuserParameters_emailAddress - The email address of the superuser.
$sel:firstName:SuperuserParameters', superuserParameters_firstName - The first name of the superuser.
$sel:lastName:SuperuserParameters', superuserParameters_lastName - The last name of the superuser.