Skip to main content

BucketKeyMappingInput

A mapping from an old bucket to a new bucket when changing a registration policy

input BucketKeyMappingInput {
fromBucketId: ID
from_key: String @deprecated
toBucketId: ID
to_key: String @deprecated
}

Fields

BucketKeyMappingInput.fromBucketId ● ID scalar

The id of the old bucket being removed or changed

BucketKeyMappingInput.from_key ● String deprecated scalar

⚠️ DEPRECATED

Use from_bucket_id instead

The old bucket key being removed or changed

BucketKeyMappingInput.toBucketId ● ID scalar

The id of the new bucket to map to (nil means no preference). Only usable when mapping to a bucket that already exists -- mapping to a bucket being newly created in the same edit still requires to_key, since it has no id yet.

BucketKeyMappingInput.to_key ● String deprecated scalar

⚠️ DEPRECATED

Use to_bucket_id instead

The new bucket key to map to (nil means no preference)

Member Of

EventInput input