amazonka-customer-profiles-2.0: Amazon Connect Customer Profiles SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CustomerProfiles.ListWorkflows

Description

Query to list all workflows.

Synopsis

Creating a Request

data ListWorkflows Source #

See: newListWorkflows smart constructor.

Constructors

ListWorkflows' 

Fields

Instances

Instances details
ToJSON ListWorkflows Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

ToHeaders ListWorkflows Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

ToPath ListWorkflows Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

ToQuery ListWorkflows Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

AWSRequest ListWorkflows Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

Associated Types

type AWSResponse ListWorkflows #

Generic ListWorkflows Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

Associated Types

type Rep ListWorkflows :: Type -> Type #

Read ListWorkflows Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

Show ListWorkflows Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

NFData ListWorkflows Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

Methods

rnf :: ListWorkflows -> () #

Eq ListWorkflows Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

Hashable ListWorkflows Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

type AWSResponse ListWorkflows Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

type Rep ListWorkflows Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

type Rep ListWorkflows = D1 ('MetaData "ListWorkflows" "Amazonka.CustomerProfiles.ListWorkflows" "amazonka-customer-profiles-2.0-7iC4NjyJEW8JuQGNtDiJ1f" 'False) (C1 ('MetaCons "ListWorkflows'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryEndDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "queryStartDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status))) :*: (S1 ('MetaSel ('Just "workflowType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WorkflowType)) :*: S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListWorkflows Source #

Create a value of ListWorkflows 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:ListWorkflows', listWorkflows_maxResults - The maximum number of results to return per page.

ListWorkflows, listWorkflows_nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

$sel:queryEndDate:ListWorkflows', listWorkflows_queryEndDate - Retrieve workflows ended after timestamp.

$sel:queryStartDate:ListWorkflows', listWorkflows_queryStartDate - Retrieve workflows started after timestamp.

ListWorkflows, listWorkflows_status - Status of workflow execution.

ListWorkflows, listWorkflows_workflowType - The type of workflow. The only supported value is APPFLOW_INTEGRATION.

ListWorkflows, listWorkflows_domainName - The unique name of the domain.

Request Lenses

listWorkflows_maxResults :: Lens' ListWorkflows (Maybe Natural) Source #

The maximum number of results to return per page.

listWorkflows_nextToken :: Lens' ListWorkflows (Maybe Text) Source #

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

listWorkflows_queryEndDate :: Lens' ListWorkflows (Maybe UTCTime) Source #

Retrieve workflows ended after timestamp.

listWorkflows_queryStartDate :: Lens' ListWorkflows (Maybe UTCTime) Source #

Retrieve workflows started after timestamp.

listWorkflows_status :: Lens' ListWorkflows (Maybe Status) Source #

Status of workflow execution.

listWorkflows_workflowType :: Lens' ListWorkflows (Maybe WorkflowType) Source #

The type of workflow. The only supported value is APPFLOW_INTEGRATION.

listWorkflows_domainName :: Lens' ListWorkflows Text Source #

The unique name of the domain.

Destructuring the Response

data ListWorkflowsResponse Source #

See: newListWorkflowsResponse smart constructor.

Constructors

ListWorkflowsResponse' 

Fields

Instances

Instances details
Generic ListWorkflowsResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

Associated Types

type Rep ListWorkflowsResponse :: Type -> Type #

Read ListWorkflowsResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

Show ListWorkflowsResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

NFData ListWorkflowsResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

Methods

rnf :: ListWorkflowsResponse -> () #

Eq ListWorkflowsResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

type Rep ListWorkflowsResponse Source # 
Instance details

Defined in Amazonka.CustomerProfiles.ListWorkflows

type Rep ListWorkflowsResponse = D1 ('MetaData "ListWorkflowsResponse" "Amazonka.CustomerProfiles.ListWorkflows" "amazonka-customer-profiles-2.0-7iC4NjyJEW8JuQGNtDiJ1f" 'False) (C1 ('MetaCons "ListWorkflowsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ListWorkflowsItem])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListWorkflowsResponse Source #

Create a value of ListWorkflowsResponse 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:items:ListWorkflowsResponse', listWorkflowsResponse_items - List containing workflow details.

ListWorkflows, listWorkflowsResponse_nextToken - If there are additional results, this is the token for the next set of results.

$sel:httpStatus:ListWorkflowsResponse', listWorkflowsResponse_httpStatus - The response's http status code.

Response Lenses

listWorkflowsResponse_nextToken :: Lens' ListWorkflowsResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results.