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 version of a connector definition which has already been defined.
Synopsis
- data CreateConnectorDefinitionVersion = CreateConnectorDefinitionVersion' {}
- newCreateConnectorDefinitionVersion :: Text -> CreateConnectorDefinitionVersion
- createConnectorDefinitionVersion_amznClientToken :: Lens' CreateConnectorDefinitionVersion (Maybe Text)
- createConnectorDefinitionVersion_connectors :: Lens' CreateConnectorDefinitionVersion (Maybe [Connector])
- createConnectorDefinitionVersion_connectorDefinitionId :: Lens' CreateConnectorDefinitionVersion Text
- data CreateConnectorDefinitionVersionResponse = CreateConnectorDefinitionVersionResponse' {}
- newCreateConnectorDefinitionVersionResponse :: Int -> CreateConnectorDefinitionVersionResponse
- createConnectorDefinitionVersionResponse_arn :: Lens' CreateConnectorDefinitionVersionResponse (Maybe Text)
- createConnectorDefinitionVersionResponse_creationTimestamp :: Lens' CreateConnectorDefinitionVersionResponse (Maybe Text)
- createConnectorDefinitionVersionResponse_version :: Lens' CreateConnectorDefinitionVersionResponse (Maybe Text)
- createConnectorDefinitionVersionResponse_id :: Lens' CreateConnectorDefinitionVersionResponse (Maybe Text)
- createConnectorDefinitionVersionResponse_httpStatus :: Lens' CreateConnectorDefinitionVersionResponse Int
Creating a Request
data CreateConnectorDefinitionVersion Source #
See: newCreateConnectorDefinitionVersion
smart constructor.
CreateConnectorDefinitionVersion' | |
|
Instances
newCreateConnectorDefinitionVersion Source #
:: Text |
|
-> CreateConnectorDefinitionVersion |
Create a value of CreateConnectorDefinitionVersion
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:CreateConnectorDefinitionVersion'
, createConnectorDefinitionVersion_amznClientToken
- A client token used to correlate requests and responses.
$sel:connectors:CreateConnectorDefinitionVersion'
, createConnectorDefinitionVersion_connectors
- A list of references to connectors in this version, with their
corresponding configuration settings.
$sel:connectorDefinitionId:CreateConnectorDefinitionVersion'
, createConnectorDefinitionVersion_connectorDefinitionId
- The ID of the connector definition.
Request Lenses
createConnectorDefinitionVersion_amznClientToken :: Lens' CreateConnectorDefinitionVersion (Maybe Text) Source #
A client token used to correlate requests and responses.
createConnectorDefinitionVersion_connectors :: Lens' CreateConnectorDefinitionVersion (Maybe [Connector]) Source #
A list of references to connectors in this version, with their corresponding configuration settings.
createConnectorDefinitionVersion_connectorDefinitionId :: Lens' CreateConnectorDefinitionVersion Text Source #
The ID of the connector definition.
Destructuring the Response
data CreateConnectorDefinitionVersionResponse Source #
See: newCreateConnectorDefinitionVersionResponse
smart constructor.
CreateConnectorDefinitionVersionResponse' | |
|
Instances
newCreateConnectorDefinitionVersionResponse Source #
Create a value of CreateConnectorDefinitionVersionResponse
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:arn:CreateConnectorDefinitionVersionResponse'
, createConnectorDefinitionVersionResponse_arn
- The ARN of the version.
$sel:creationTimestamp:CreateConnectorDefinitionVersionResponse'
, createConnectorDefinitionVersionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the version was created.
$sel:version:CreateConnectorDefinitionVersionResponse'
, createConnectorDefinitionVersionResponse_version
- The ID of the version.
$sel:id:CreateConnectorDefinitionVersionResponse'
, createConnectorDefinitionVersionResponse_id
- The ID of the parent definition that the version is associated with.
$sel:httpStatus:CreateConnectorDefinitionVersionResponse'
, createConnectorDefinitionVersionResponse_httpStatus
- The response's http status code.
Response Lenses
createConnectorDefinitionVersionResponse_arn :: Lens' CreateConnectorDefinitionVersionResponse (Maybe Text) Source #
The ARN of the version.
createConnectorDefinitionVersionResponse_creationTimestamp :: Lens' CreateConnectorDefinitionVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the version was created.
createConnectorDefinitionVersionResponse_version :: Lens' CreateConnectorDefinitionVersionResponse (Maybe Text) Source #
The ID of the version.
createConnectorDefinitionVersionResponse_id :: Lens' CreateConnectorDefinitionVersionResponse (Maybe Text) Source #
The ID of the parent definition that the version is associated with.
createConnectorDefinitionVersionResponse_httpStatus :: Lens' CreateConnectorDefinitionVersionResponse Int Source #
The response's http status code.