Skip to content

docs(serverless): add note about mnq region availability #996

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 21 additions & 15 deletions packages/clients/src/api/container/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,16 @@ export interface TriggerMnqNatsClientConfig {
mnqNamespaceId?: string
/** Name of the NATS subject the trigger listens to. */
subject: string
/** ID of the M&Q NATS account. */
/** ID of the Messaging and Queuing NATS account. */
mnqNatsAccountId: string
/** ID of the M&Q project. */
/** ID of the Messaging and Queuing project. */
mnqProjectId: string
/** Region of the M&Q project. */
/** Currently, only the `fr-par` region is available. */
mnqRegion: string
/** ID of the M&Q credentials used to subscribe to the NATS subject. */
/**
* ID of the Messaging and Queuing credentials used to subscribe to the NATS
* subject.
*/
mnqCredentialId?: string
}

Expand All @@ -122,11 +125,14 @@ export interface TriggerMnqSqsClientConfig {
mnqNamespaceId?: string
/** Name of the SQS queue the trigger listens to. */
queue: string
/** ID of the M&Q project. */
/** ID of the Messaging and Queuing project. */
mnqProjectId: string
/** Region in which the M&Q project is activated. */
/** Currently, only the `fr-par` region is available. */
mnqRegion: string
/** ID of the M&Q credentials used to read from the SQS queue. */
/**
* ID of the Messaging and Queuing credentials used to read from the SQS
* queue.
*/
mnqCredentialId?: string
}

Expand All @@ -147,11 +153,11 @@ export interface CreateTriggerRequestMnqNatsClientConfig {
mnqNamespaceId?: string
/** Name of the NATS subject the trigger should listen to. */
subject: string
/** ID of the M&Q NATS account. */
/** ID of the Messaging and Queuing NATS account. */
mnqNatsAccountId: string
/** ID of the M&Q project. */
/** ID of the Messaging and Queuing project. */
mnqProjectId: string
/** Region of the M&Q project. */
/** Currently, only the `fr-par` region is available. */
mnqRegion: string
}

Expand All @@ -162,7 +168,7 @@ export interface CreateTriggerRequestMnqSqsClientConfig {
queue: string
/** You must have activated SQS on this project. */
mnqProjectId: string
/** Region in which the M&Q project is activated. */
/** Currently, only the `fr-par` region is available. */
mnqRegion: string
}

Expand Down Expand Up @@ -339,14 +345,14 @@ export interface Trigger {
/** Error message of the trigger. */
errorMessage?: string
/**
* Configuration for a Scaleway M&Q SQS queue.
* Configuration for a Scaleway Messaging and Queuing SQS queue.
*
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
* 'sqsConfig' could be set.
*/
scwSqsConfig?: TriggerMnqSqsClientConfig
/**
* Configuration for a Scaleway M&Q NATS subject.
* Configuration for a Scaleway Messaging and Queuing NATS subject.
*
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
* 'sqsConfig' could be set.
Expand Down Expand Up @@ -498,14 +504,14 @@ export type CreateTriggerRequest = {
/** Description of the trigger. */
description?: string
/**
* Configuration for a Scaleway M&Q SQS queue.
* Configuration for a Scaleway Messaging and Queuing SQS queue.
*
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
* 'sqsConfig' could be set.
*/
scwSqsConfig?: CreateTriggerRequestMnqSqsClientConfig
/**
* Configuration for a Scaleway M&Q NATS subject.
* Configuration for a Scaleway Messaging and Queuing NATS subject.
*
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
* 'sqsConfig' could be set.
Expand Down
36 changes: 21 additions & 15 deletions packages/clients/src/api/function/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,16 @@ export interface TriggerMnqNatsClientConfig {
mnqNamespaceId?: string
/** Name of the NATS subject the trigger listens to. */
subject: string
/** ID of the M&Q NATS account. */
/** ID of the Messaging and Queuing NATS account. */
mnqNatsAccountId: string
/** ID of the M&Q project. */
/** ID of the Messaging and Queuing project. */
mnqProjectId: string
/** Region of the M&Q project. */
/** Currently, only the `fr-par` region is available. */
mnqRegion: string
/** ID of the M&Q credentials used to subscribe to the NATS subject. */
/**
* ID of the Messaging and Queuing credentials used to subscribe to the NATS
* subject.
*/
mnqCredentialId?: string
}

Expand All @@ -155,11 +158,14 @@ export interface TriggerMnqSqsClientConfig {
mnqNamespaceId?: string
/** Name of the SQS queue the trigger listens to. */
queue: string
/** ID of the M&Q project. */
/** ID of the Messaging and Queuing project. */
mnqProjectId: string
/** Region in which the M&Q project is activated. */
/** Currently, only the `fr-par` region is available. */
mnqRegion: string
/** ID of the M&Q credentials used to read from the SQS queue. */
/**
* ID of the Messaging and Queuing credentials used to read from the SQS
* queue.
*/
mnqCredentialId?: string
}

Expand All @@ -180,11 +186,11 @@ export interface CreateTriggerRequestMnqNatsClientConfig {
mnqNamespaceId?: string
/** Name of the NATS subject the trigger should listen to. */
subject: string
/** ID of the M&Q NATS account. */
/** ID of the Messaging and Queuing NATS account. */
mnqNatsAccountId: string
/** ID of the M&Q project. */
/** ID of the Messaging and Queuing project. */
mnqProjectId: string
/** Region of the M&Q project. */
/** Currently, only the `fr-par` region is available. */
mnqRegion: string
}

Expand All @@ -195,7 +201,7 @@ export interface CreateTriggerRequestMnqSqsClientConfig {
queue: string
/** You must have activated SQS on this project. */
mnqProjectId: string
/** Region in which the M&Q project is activated. */
/** Currently, only the `fr-par` region is available. */
mnqRegion: string
}

Expand Down Expand Up @@ -384,14 +390,14 @@ export interface Trigger {
/** Error message of the trigger. */
errorMessage?: string
/**
* Configuration for a Scaleway M&Q SQS queue.
* Configuration for a Scaleway Messaging and Queuing SQS queue.
*
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
* 'sqsConfig' could be set.
*/
scwSqsConfig?: TriggerMnqSqsClientConfig
/**
* Configuration for a Scaleway M&Q NATS subject.
* Configuration for a Scaleway Messaging and Queuing NATS subject.
*
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
* 'sqsConfig' could be set.
Expand Down Expand Up @@ -532,14 +538,14 @@ export type CreateTriggerRequest = {
/** Description of the trigger. */
description?: string
/**
* Configuration for a Scaleway M&Q SQS queue.
* Configuration for a Scaleway Messaging and Queuing SQS queue.
*
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
* 'sqsConfig' could be set.
*/
scwSqsConfig?: CreateTriggerRequestMnqSqsClientConfig
/**
* Configuration for a Scaleway M&Q NATS subject.
* Configuration for a Scaleway Messaging and Queuing NATS subject.
*
* One-of ('config'): at most one of 'scwSqsConfig', 'scwNatsConfig',
* 'sqsConfig' could be set.
Expand Down