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 |
Creates a connector definition. You may provide the initial version of the connector definition now or use ''CreateConnectorDefinitionVersion'' at a later time.
Synopsis
- data CreateConnectorDefinition = CreateConnectorDefinition' {}
- newCreateConnectorDefinition :: CreateConnectorDefinition
- createConnectorDefinition_amznClientToken :: Lens' CreateConnectorDefinition (Maybe Text)
- createConnectorDefinition_initialVersion :: Lens' CreateConnectorDefinition (Maybe ConnectorDefinitionVersion)
- createConnectorDefinition_name :: Lens' CreateConnectorDefinition (Maybe Text)
- createConnectorDefinition_tags :: Lens' CreateConnectorDefinition (Maybe (HashMap Text Text))
- data CreateConnectorDefinitionResponse = CreateConnectorDefinitionResponse' {
- latestVersionArn :: Maybe Text
- arn :: Maybe Text
- name :: Maybe Text
- creationTimestamp :: Maybe Text
- id :: Maybe Text
- latestVersion :: Maybe Text
- lastUpdatedTimestamp :: Maybe Text
- httpStatus :: Int
- newCreateConnectorDefinitionResponse :: Int -> CreateConnectorDefinitionResponse
- createConnectorDefinitionResponse_latestVersionArn :: Lens' CreateConnectorDefinitionResponse (Maybe Text)
- createConnectorDefinitionResponse_arn :: Lens' CreateConnectorDefinitionResponse (Maybe Text)
- createConnectorDefinitionResponse_name :: Lens' CreateConnectorDefinitionResponse (Maybe Text)
- createConnectorDefinitionResponse_creationTimestamp :: Lens' CreateConnectorDefinitionResponse (Maybe Text)
- createConnectorDefinitionResponse_id :: Lens' CreateConnectorDefinitionResponse (Maybe Text)
- createConnectorDefinitionResponse_latestVersion :: Lens' CreateConnectorDefinitionResponse (Maybe Text)
- createConnectorDefinitionResponse_lastUpdatedTimestamp :: Lens' CreateConnectorDefinitionResponse (Maybe Text)
- createConnectorDefinitionResponse_httpStatus :: Lens' CreateConnectorDefinitionResponse Int
Creating a Request
data CreateConnectorDefinition Source #
See: newCreateConnectorDefinition
smart constructor.
CreateConnectorDefinition' | |
|
Instances
newCreateConnectorDefinition :: CreateConnectorDefinition Source #
Create a value of CreateConnectorDefinition
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:amznClientToken:CreateConnectorDefinition'
, createConnectorDefinition_amznClientToken
- A client token used to correlate requests and responses.
$sel:initialVersion:CreateConnectorDefinition'
, createConnectorDefinition_initialVersion
- Information about the initial version of the connector definition.
$sel:name:CreateConnectorDefinition'
, createConnectorDefinition_name
- The name of the connector definition.
$sel:tags:CreateConnectorDefinition'
, createConnectorDefinition_tags
- Tag(s) to add to the new resource.
Request Lenses
createConnectorDefinition_amznClientToken :: Lens' CreateConnectorDefinition (Maybe Text) Source #
A client token used to correlate requests and responses.
createConnectorDefinition_initialVersion :: Lens' CreateConnectorDefinition (Maybe ConnectorDefinitionVersion) Source #
Information about the initial version of the connector definition.
createConnectorDefinition_name :: Lens' CreateConnectorDefinition (Maybe Text) Source #
The name of the connector definition.
createConnectorDefinition_tags :: Lens' CreateConnectorDefinition (Maybe (HashMap Text Text)) Source #
Tag(s) to add to the new resource.
Destructuring the Response
data CreateConnectorDefinitionResponse Source #
See: newCreateConnectorDefinitionResponse
smart constructor.
CreateConnectorDefinitionResponse' | |
|
Instances
newCreateConnectorDefinitionResponse Source #
Create a value of CreateConnectorDefinitionResponse
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:latestVersionArn:CreateConnectorDefinitionResponse'
, createConnectorDefinitionResponse_latestVersionArn
- The ARN of the latest version associated with the definition.
$sel:arn:CreateConnectorDefinitionResponse'
, createConnectorDefinitionResponse_arn
- The ARN of the definition.
$sel:name:CreateConnectorDefinition'
, createConnectorDefinitionResponse_name
- The name of the definition.
$sel:creationTimestamp:CreateConnectorDefinitionResponse'
, createConnectorDefinitionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the definition was
created.
$sel:id:CreateConnectorDefinitionResponse'
, createConnectorDefinitionResponse_id
- The ID of the definition.
$sel:latestVersion:CreateConnectorDefinitionResponse'
, createConnectorDefinitionResponse_latestVersion
- The ID of the latest version associated with the definition.
$sel:lastUpdatedTimestamp:CreateConnectorDefinitionResponse'
, createConnectorDefinitionResponse_lastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last
updated.
$sel:httpStatus:CreateConnectorDefinitionResponse'
, createConnectorDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
createConnectorDefinitionResponse_latestVersionArn :: Lens' CreateConnectorDefinitionResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
createConnectorDefinitionResponse_arn :: Lens' CreateConnectorDefinitionResponse (Maybe Text) Source #
The ARN of the definition.
createConnectorDefinitionResponse_name :: Lens' CreateConnectorDefinitionResponse (Maybe Text) Source #
The name of the definition.
createConnectorDefinitionResponse_creationTimestamp :: Lens' CreateConnectorDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
createConnectorDefinitionResponse_id :: Lens' CreateConnectorDefinitionResponse (Maybe Text) Source #
The ID of the definition.
createConnectorDefinitionResponse_latestVersion :: Lens' CreateConnectorDefinitionResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
createConnectorDefinitionResponse_lastUpdatedTimestamp :: Lens' CreateConnectorDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
createConnectorDefinitionResponse_httpStatus :: Lens' CreateConnectorDefinitionResponse Int Source #
The response's http status code.