Class: Aws::AppMonetization::Types::CancelSubscriptionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::CancelSubscriptionRequest
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
Input for CancelSubscription.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_id ⇒ String
The ID of the app.
-
#effective_at ⇒ Time
The subscription's current effective time, as returned by GetSubscription, used as an optimistic-concurrency check.
-
#scope ⇒ String
Required.
-
#user_id ⇒ String
An opaque identifier that you assign to an end user.
Instance Attribute Details
#app_id ⇒ String
The ID of the app.
581 582 583 584 585 586 587 588 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 581 class CancelSubscriptionRequest < Struct.new( :app_id, :user_id, :effective_at, :scope) SENSITIVE = [] include Aws::Structure end |
#effective_at ⇒ Time
The subscription's current effective time, as returned by
GetSubscription, used as an optimistic-concurrency check. If
GetSubscription returns a pending change, pass
pendingChange.effectiveAt; otherwise pass
subscription.effectiveAt. This value does not choose when the
cancellation takes effect: a new cancellation takes effect at the
end of the current billing period, returned as
cancellationEffectiveAt. If the subscription's effective time has
changed since you read it (for example, because another plan change
was made), the value no longer matches and the request fails with
ConflictException; call GetSubscription again and retry with the new
value. If the subscription is already cancelled or a cancellation is
already scheduled, the request returns its current state and does
not compare this value.
581 582 583 584 585 586 587 588 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 581 class CancelSubscriptionRequest < Struct.new( :app_id, :user_id, :effective_at, :scope) SENSITIVE = [] include Aws::Structure end |
#scope ⇒ String
Required. The environment: live or sandbox.
581 582 583 584 585 586 587 588 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 581 class CancelSubscriptionRequest < Struct.new( :app_id, :user_id, :effective_at, :scope) SENSITIVE = [] include Aws::Structure end |
#user_id ⇒ String
An opaque identifier that you assign to an end user. Do not include personally identifiable or otherwise sensitive data in this value.
581 582 583 584 585 586 587 588 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 581 class CancelSubscriptionRequest < Struct.new( :app_id, :user_id, :effective_at, :scope) SENSITIVE = [] include Aws::Structure end |