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 |
Creates a version of a subscription definition which has already been defined.
Synopsis
- data CreateSubscriptionDefinitionVersion = CreateSubscriptionDefinitionVersion' {}
- newCreateSubscriptionDefinitionVersion :: Text -> CreateSubscriptionDefinitionVersion
- createSubscriptionDefinitionVersion_amznClientToken :: Lens' CreateSubscriptionDefinitionVersion (Maybe Text)
- createSubscriptionDefinitionVersion_subscriptions :: Lens' CreateSubscriptionDefinitionVersion (Maybe [Subscription])
- createSubscriptionDefinitionVersion_subscriptionDefinitionId :: Lens' CreateSubscriptionDefinitionVersion Text
- data CreateSubscriptionDefinitionVersionResponse = CreateSubscriptionDefinitionVersionResponse' {}
- newCreateSubscriptionDefinitionVersionResponse :: Int -> CreateSubscriptionDefinitionVersionResponse
- createSubscriptionDefinitionVersionResponse_arn :: Lens' CreateSubscriptionDefinitionVersionResponse (Maybe Text)
- createSubscriptionDefinitionVersionResponse_creationTimestamp :: Lens' CreateSubscriptionDefinitionVersionResponse (Maybe Text)
- createSubscriptionDefinitionVersionResponse_id :: Lens' CreateSubscriptionDefinitionVersionResponse (Maybe Text)
- createSubscriptionDefinitionVersionResponse_version :: Lens' CreateSubscriptionDefinitionVersionResponse (Maybe Text)
- createSubscriptionDefinitionVersionResponse_httpStatus :: Lens' CreateSubscriptionDefinitionVersionResponse Int
Creating a Request
data CreateSubscriptionDefinitionVersion Source #
See: newCreateSubscriptionDefinitionVersion
smart constructor.
CreateSubscriptionDefinitionVersion' | |
|
Instances
newCreateSubscriptionDefinitionVersion Source #
:: Text |
|
-> CreateSubscriptionDefinitionVersion |
Create a value of CreateSubscriptionDefinitionVersion
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:CreateSubscriptionDefinitionVersion'
, createSubscriptionDefinitionVersion_amznClientToken
- A client token used to correlate requests and responses.
CreateSubscriptionDefinitionVersion
, createSubscriptionDefinitionVersion_subscriptions
- A list of subscriptions.
$sel:subscriptionDefinitionId:CreateSubscriptionDefinitionVersion'
, createSubscriptionDefinitionVersion_subscriptionDefinitionId
- The ID of the subscription definition.
Request Lenses
createSubscriptionDefinitionVersion_amznClientToken :: Lens' CreateSubscriptionDefinitionVersion (Maybe Text) Source #
A client token used to correlate requests and responses.
createSubscriptionDefinitionVersion_subscriptions :: Lens' CreateSubscriptionDefinitionVersion (Maybe [Subscription]) Source #
A list of subscriptions.
createSubscriptionDefinitionVersion_subscriptionDefinitionId :: Lens' CreateSubscriptionDefinitionVersion Text Source #
The ID of the subscription definition.
Destructuring the Response
data CreateSubscriptionDefinitionVersionResponse Source #
See: newCreateSubscriptionDefinitionVersionResponse
smart constructor.
CreateSubscriptionDefinitionVersionResponse' | |
|
Instances
newCreateSubscriptionDefinitionVersionResponse Source #
:: Int |
|
-> CreateSubscriptionDefinitionVersionResponse |
Create a value of CreateSubscriptionDefinitionVersionResponse
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:
CreateSubscriptionDefinitionVersionResponse
, createSubscriptionDefinitionVersionResponse_arn
- The ARN of the version.
CreateSubscriptionDefinitionVersionResponse
, createSubscriptionDefinitionVersionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the version was created.
CreateSubscriptionDefinitionVersionResponse
, createSubscriptionDefinitionVersionResponse_id
- The ID of the parent definition that the version is associated with.
CreateSubscriptionDefinitionVersionResponse
, createSubscriptionDefinitionVersionResponse_version
- The ID of the version.
$sel:httpStatus:CreateSubscriptionDefinitionVersionResponse'
, createSubscriptionDefinitionVersionResponse_httpStatus
- The response's http status code.
Response Lenses
createSubscriptionDefinitionVersionResponse_arn :: Lens' CreateSubscriptionDefinitionVersionResponse (Maybe Text) Source #
The ARN of the version.
createSubscriptionDefinitionVersionResponse_creationTimestamp :: Lens' CreateSubscriptionDefinitionVersionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the version was created.
createSubscriptionDefinitionVersionResponse_id :: Lens' CreateSubscriptionDefinitionVersionResponse (Maybe Text) Source #
The ID of the parent definition that the version is associated with.
createSubscriptionDefinitionVersionResponse_version :: Lens' CreateSubscriptionDefinitionVersionResponse (Maybe Text) Source #
The ID of the version.
createSubscriptionDefinitionVersionResponse_httpStatus :: Lens' CreateSubscriptionDefinitionVersionResponse Int Source #
The response's http status code.