@pulumi/digitalocean 4.86.0-alpha.1795154248 → 4.86.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actionGatewayConnection.d.ts +21 -8
- package/actionGatewayConnection.d.ts.map +1 -1
- package/actionGatewayConnection.js +18 -5
- package/actionGatewayConnection.js.map +1 -1
- package/actionGatewayProviderCredential.d.ts +319 -0
- package/actionGatewayProviderCredential.d.ts.map +1 -0
- package/actionGatewayProviderCredential.js +229 -0
- package/actionGatewayProviderCredential.js.map +1 -0
- package/getActionGatewayProviderCredential.d.ts +147 -0
- package/getActionGatewayProviderCredential.d.ts.map +1 -0
- package/getActionGatewayProviderCredential.js +107 -0
- package/getActionGatewayProviderCredential.js.map +1 -0
- package/getActionGatewayProviders.d.ts +8 -2
- package/getActionGatewayProviders.d.ts.map +1 -1
- package/getActionGatewayProviders.js +8 -2
- package/getActionGatewayProviders.js.map +1 -1
- package/getKubernetesCluster.d.ts +1 -1
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -1
- package/index.js +14 -6
- package/index.js.map +1 -1
- package/kubernetesCluster.d.ts +14 -2
- package/kubernetesCluster.d.ts.map +1 -1
- package/kubernetesCluster.js +2 -0
- package/kubernetesCluster.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +7 -1
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +7 -1
- package/types/output.d.ts.map +1 -1
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ActionGatewayProviderCredential = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Provides a DigitalOcean [Action Gateway](https://docs.digitalocean.com/products/managed-agents/action-gateway/)
|
|
33
|
+
* provider credential resource. A provider credential is an OAuth client or an
|
|
34
|
+
* API key that your team registers for a tool provider, such as GitHub, Jira, or
|
|
35
|
+
* Linear, to use instead of DigitalOcean's shared OAuth application. A
|
|
36
|
+
* `digitalocean.ActionGatewayConnection` connects
|
|
37
|
+
* through it by its `credentialId`.
|
|
38
|
+
*
|
|
39
|
+
* > **Warning:** Destroying a provider credential also deletes every connection
|
|
40
|
+
* that uses it, including connections Terraform does not manage, and their users
|
|
41
|
+
* lose access to the provider. The API cannot restore a deleted credential. Changing
|
|
42
|
+
* `toolProvider`, `kind`, `clientId`, or `redirectUrl`, or turning
|
|
43
|
+
* `reusableByTeam` off, replaces the credential, which destroys it first. Set
|
|
44
|
+
* `preventDestroy`
|
|
45
|
+
* on credentials you cannot afford to lose, as the examples below do. Rotating a
|
|
46
|
+
* secret or renaming a credential never replaces it.
|
|
47
|
+
*
|
|
48
|
+
* > **Note:** The API never returns `apiKey` or `clientSecret`. Terraform
|
|
49
|
+
* keeps the values you configure in its state, marked sensitive, so protect the
|
|
50
|
+
* state accordingly.
|
|
51
|
+
*
|
|
52
|
+
* ## Example Usage
|
|
53
|
+
*
|
|
54
|
+
* ### OAuth client
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
59
|
+
*
|
|
60
|
+
* const config = new pulumi.Config();
|
|
61
|
+
* const githubClientSecret = config.require("githubClientSecret");
|
|
62
|
+
* const github = new digitalocean.ActionGatewayProviderCredential("github", {
|
|
63
|
+
* toolProvider: "github",
|
|
64
|
+
* kind: "oauth_client",
|
|
65
|
+
* displayName: "Production GitHub app",
|
|
66
|
+
* clientId: "Iv1.0123456789abcdef",
|
|
67
|
+
* clientSecret: githubClientSecret,
|
|
68
|
+
* });
|
|
69
|
+
* const githubActionGatewayConnection = new digitalocean.ActionGatewayConnection("github", {
|
|
70
|
+
* toolProvider: github.toolProvider,
|
|
71
|
+
* userId: "user-123",
|
|
72
|
+
* credentialId: github.id,
|
|
73
|
+
* });
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* ### API key
|
|
77
|
+
*
|
|
78
|
+
* A connection through an API-key credential is active immediately, without an
|
|
79
|
+
* authorization step.
|
|
80
|
+
*
|
|
81
|
+
* ```typescript
|
|
82
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
83
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
84
|
+
*
|
|
85
|
+
* const config = new pulumi.Config();
|
|
86
|
+
* const linearApiKey = config.require("linearApiKey");
|
|
87
|
+
* const linear = new digitalocean.ActionGatewayProviderCredential("linear", {
|
|
88
|
+
* toolProvider: "linear",
|
|
89
|
+
* kind: "api_key",
|
|
90
|
+
* displayName: "Production key",
|
|
91
|
+
* apiKey: linearApiKey,
|
|
92
|
+
* });
|
|
93
|
+
* const linearActionGatewayConnection = new digitalocean.ActionGatewayConnection("linear", {
|
|
94
|
+
* toolProvider: linear.toolProvider,
|
|
95
|
+
* userId: "support-bot",
|
|
96
|
+
* credentialId: linear.id,
|
|
97
|
+
* });
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
100
|
+
* ### API key with credential parameters
|
|
101
|
+
*
|
|
102
|
+
* ```typescript
|
|
103
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
104
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
105
|
+
*
|
|
106
|
+
* const example = new digitalocean.ActionGatewayProviderCredential("example", {
|
|
107
|
+
* toolProvider: "example-provider",
|
|
108
|
+
* kind: "api_key",
|
|
109
|
+
* displayName: "Production key",
|
|
110
|
+
* apiKey: exampleApiKey,
|
|
111
|
+
* credentialParameters: {
|
|
112
|
+
* subdomain: "example",
|
|
113
|
+
* },
|
|
114
|
+
* });
|
|
115
|
+
* ```
|
|
116
|
+
*
|
|
117
|
+
* ## Import
|
|
118
|
+
*
|
|
119
|
+
* A provider credential can be imported using its `id`, e.g.
|
|
120
|
+
*
|
|
121
|
+
* ```sh
|
|
122
|
+
* $ pulumi import digitalocean:index/actionGatewayProviderCredential:ActionGatewayProviderCredential github example-credential-id
|
|
123
|
+
* ```
|
|
124
|
+
*
|
|
125
|
+
* The API does not return a credential's secret or its OAuth client ID, so an
|
|
126
|
+
* imported credential has neither in state, and the first plan after an import
|
|
127
|
+
* shows them being set. Applying it sends the configured `apiKey`, or
|
|
128
|
+
* `clientId` and `clientSecret`, as an in-place update that keeps the
|
|
129
|
+
* credential and its connections. For an OAuth client the API accepts that update
|
|
130
|
+
* only when `clientId` is the ID the credential was registered with, so a
|
|
131
|
+
* credential imported into the wrong configuration fails to apply instead of
|
|
132
|
+
* being overwritten.
|
|
133
|
+
*
|
|
134
|
+
* Import reads `toolProvider`, `kind`, and `redirectUrl` from the API. If one
|
|
135
|
+
* differs from your configuration, the next plan replaces the credential. Run
|
|
136
|
+
* `pulumi preview` after importing and make sure it shows an in-place update, not
|
|
137
|
+
* a replacement, before you apply.
|
|
138
|
+
*/
|
|
139
|
+
class ActionGatewayProviderCredential extends pulumi.CustomResource {
|
|
140
|
+
/**
|
|
141
|
+
* Get an existing ActionGatewayProviderCredential resource's state with the given name, ID, and optional extra
|
|
142
|
+
* properties used to qualify the lookup.
|
|
143
|
+
*
|
|
144
|
+
* @param name The _unique_ name of the resulting resource.
|
|
145
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
146
|
+
* @param state Any extra arguments used during the lookup.
|
|
147
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
148
|
+
*/
|
|
149
|
+
static get(name, id, state, opts) {
|
|
150
|
+
return new ActionGatewayProviderCredential(name, state, { ...opts, id: id });
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Check whether an existing ActionGatewayProviderCredential resource with the given ID exists.
|
|
154
|
+
*
|
|
155
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
156
|
+
* @param state Any extra arguments used during the lookup.
|
|
157
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
158
|
+
*/
|
|
159
|
+
static exists(id, state, opts) {
|
|
160
|
+
return pulumi.runtime.existsResource("digitalocean:index/actionGatewayProviderCredential:ActionGatewayProviderCredential", id, state || {}, { ...opts }, undefined);
|
|
161
|
+
}
|
|
162
|
+
/** @internal */
|
|
163
|
+
static __pulumiType = 'digitalocean:index/actionGatewayProviderCredential:ActionGatewayProviderCredential';
|
|
164
|
+
/**
|
|
165
|
+
* Returns true if the given object is an instance of ActionGatewayProviderCredential. This is designed to work even
|
|
166
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
167
|
+
*/
|
|
168
|
+
static isInstance(obj) {
|
|
169
|
+
if (obj === undefined || obj === null) {
|
|
170
|
+
return false;
|
|
171
|
+
}
|
|
172
|
+
return obj['__pulumiType'] === ActionGatewayProviderCredential.__pulumiType;
|
|
173
|
+
}
|
|
174
|
+
constructor(name, argsOrState, opts) {
|
|
175
|
+
let resourceInputs = {};
|
|
176
|
+
opts = opts || {};
|
|
177
|
+
if (opts.id) {
|
|
178
|
+
const state = argsOrState;
|
|
179
|
+
resourceInputs["apiKey"] = state?.apiKey;
|
|
180
|
+
resourceInputs["baseUrl"] = state?.baseUrl;
|
|
181
|
+
resourceInputs["clientId"] = state?.clientId;
|
|
182
|
+
resourceInputs["clientSecret"] = state?.clientSecret;
|
|
183
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
184
|
+
resourceInputs["credentialParameters"] = state?.credentialParameters;
|
|
185
|
+
resourceInputs["displayName"] = state?.displayName;
|
|
186
|
+
resourceInputs["kind"] = state?.kind;
|
|
187
|
+
resourceInputs["owningUserId"] = state?.owningUserId;
|
|
188
|
+
resourceInputs["redirectUrl"] = state?.redirectUrl;
|
|
189
|
+
resourceInputs["reusableByTeam"] = state?.reusableByTeam;
|
|
190
|
+
resourceInputs["scope"] = state?.scope;
|
|
191
|
+
resourceInputs["status"] = state?.status;
|
|
192
|
+
resourceInputs["toolProvider"] = state?.toolProvider;
|
|
193
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
const args = argsOrState;
|
|
197
|
+
if (args?.displayName === undefined && !opts.urn) {
|
|
198
|
+
throw new Error("Missing required property 'displayName'");
|
|
199
|
+
}
|
|
200
|
+
if (args?.kind === undefined && !opts.urn) {
|
|
201
|
+
throw new Error("Missing required property 'kind'");
|
|
202
|
+
}
|
|
203
|
+
if (args?.toolProvider === undefined && !opts.urn) {
|
|
204
|
+
throw new Error("Missing required property 'toolProvider'");
|
|
205
|
+
}
|
|
206
|
+
resourceInputs["apiKey"] = args?.apiKey ? pulumi.secret(args.apiKey) : undefined;
|
|
207
|
+
resourceInputs["baseUrl"] = args?.baseUrl;
|
|
208
|
+
resourceInputs["clientId"] = args?.clientId;
|
|
209
|
+
resourceInputs["clientSecret"] = args?.clientSecret ? pulumi.secret(args.clientSecret) : undefined;
|
|
210
|
+
resourceInputs["credentialParameters"] = args?.credentialParameters;
|
|
211
|
+
resourceInputs["displayName"] = args?.displayName;
|
|
212
|
+
resourceInputs["kind"] = args?.kind;
|
|
213
|
+
resourceInputs["redirectUrl"] = args?.redirectUrl;
|
|
214
|
+
resourceInputs["reusableByTeam"] = args?.reusableByTeam;
|
|
215
|
+
resourceInputs["toolProvider"] = args?.toolProvider;
|
|
216
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
217
|
+
resourceInputs["owningUserId"] = undefined /*out*/;
|
|
218
|
+
resourceInputs["scope"] = undefined /*out*/;
|
|
219
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
220
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
221
|
+
}
|
|
222
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
223
|
+
const secretOpts = { additionalSecretOutputs: ["apiKey", "clientSecret"] };
|
|
224
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
225
|
+
super(ActionGatewayProviderCredential.__pulumiType, name, resourceInputs, opts);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
exports.ActionGatewayProviderCredential = ActionGatewayProviderCredential;
|
|
229
|
+
//# sourceMappingURL=actionGatewayProviderCredential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"actionGatewayProviderCredential.js","sourceRoot":"","sources":["../actionGatewayProviderCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;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GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,EAAE,cAAc,CAAC,EAAE,CAAC;QAC3E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AA/JL,0EAgKC"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Get information about an [Action Gateway](https://docs.digitalocean.com/products/managed-agents/action-gateway/)
|
|
4
|
+
* provider credential, such as one registered in the control panel, to pass its
|
|
5
|
+
* ID to a `digitalocean.ActionGatewayConnection`.
|
|
6
|
+
* Look a credential up by its `id`, or by its `toolProvider` and `displayName`.
|
|
7
|
+
*
|
|
8
|
+
* The lookup finds only credentials visible to the DigitalOcean user who owns
|
|
9
|
+
* Terraform's API token: that user's own and those shared with the team. The API
|
|
10
|
+
* never returns a credential's API key, client ID, or client secret, so this data
|
|
11
|
+
* source does not export them.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
18
|
+
*
|
|
19
|
+
* const github = digitalocean.getActionGatewayProviderCredential({
|
|
20
|
+
* toolProvider: "github",
|
|
21
|
+
* displayName: "Production GitHub app",
|
|
22
|
+
* });
|
|
23
|
+
* const githubActionGatewayConnection = new digitalocean.ActionGatewayConnection("github", {
|
|
24
|
+
* toolProvider: github.then(github => github.toolProvider),
|
|
25
|
+
* userId: "user-123",
|
|
26
|
+
* credentialId: github.then(github => github.id),
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare function getActionGatewayProviderCredential(args?: GetActionGatewayProviderCredentialArgs, opts?: pulumi.InvokeOptions): Promise<GetActionGatewayProviderCredentialResult>;
|
|
31
|
+
/**
|
|
32
|
+
* A collection of arguments for invoking getActionGatewayProviderCredential.
|
|
33
|
+
*/
|
|
34
|
+
export interface GetActionGatewayProviderCredentialArgs {
|
|
35
|
+
/**
|
|
36
|
+
* The label of the credential.
|
|
37
|
+
*/
|
|
38
|
+
displayName?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The ID of the provider credential.
|
|
41
|
+
*/
|
|
42
|
+
id?: string;
|
|
43
|
+
/**
|
|
44
|
+
* and `displayName` - (Optional) The slug of the credential's tool provider and the credential's label. Both must be set. The label is matched ignoring case.
|
|
45
|
+
*/
|
|
46
|
+
toolProvider?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* A collection of values returned by getActionGatewayProviderCredential.
|
|
50
|
+
*/
|
|
51
|
+
export interface GetActionGatewayProviderCredentialResult {
|
|
52
|
+
/**
|
|
53
|
+
* The HTTPS origin of the tool provider's API, when one is configured.
|
|
54
|
+
*/
|
|
55
|
+
readonly baseUrl: string;
|
|
56
|
+
/**
|
|
57
|
+
* When the credential was created.
|
|
58
|
+
*/
|
|
59
|
+
readonly createdAt: string;
|
|
60
|
+
/**
|
|
61
|
+
* The label of the credential.
|
|
62
|
+
*/
|
|
63
|
+
readonly displayName: string;
|
|
64
|
+
/**
|
|
65
|
+
* The ID of the provider credential.
|
|
66
|
+
*/
|
|
67
|
+
readonly id: string;
|
|
68
|
+
/**
|
|
69
|
+
* The kind of credential, such as `oauthClient` or `apiKey`.
|
|
70
|
+
*/
|
|
71
|
+
readonly kind: string;
|
|
72
|
+
/**
|
|
73
|
+
* The DigitalOcean user ID of the credential's creator. Empty for a credential shared with the team.
|
|
74
|
+
*/
|
|
75
|
+
readonly owningUserId: string;
|
|
76
|
+
/**
|
|
77
|
+
* The redirect URI registered with an OAuth client. Empty when DigitalOcean's callback is used.
|
|
78
|
+
*/
|
|
79
|
+
readonly redirectUrl: string;
|
|
80
|
+
/**
|
|
81
|
+
* Whether everyone on the team can see and use the credential.
|
|
82
|
+
*/
|
|
83
|
+
readonly reusableByTeam: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Who can use the credential: `user` for only its creator, or `team`.
|
|
86
|
+
*/
|
|
87
|
+
readonly scope: string;
|
|
88
|
+
/**
|
|
89
|
+
* The status of the credential: `active` or `disabled`.
|
|
90
|
+
*/
|
|
91
|
+
readonly status: string;
|
|
92
|
+
/**
|
|
93
|
+
* The slug of the tool provider.
|
|
94
|
+
*/
|
|
95
|
+
readonly toolProvider: string;
|
|
96
|
+
/**
|
|
97
|
+
* When the credential was last modified.
|
|
98
|
+
*/
|
|
99
|
+
readonly updatedAt: string;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Get information about an [Action Gateway](https://docs.digitalocean.com/products/managed-agents/action-gateway/)
|
|
103
|
+
* provider credential, such as one registered in the control panel, to pass its
|
|
104
|
+
* ID to a `digitalocean.ActionGatewayConnection`.
|
|
105
|
+
* Look a credential up by its `id`, or by its `toolProvider` and `displayName`.
|
|
106
|
+
*
|
|
107
|
+
* The lookup finds only credentials visible to the DigitalOcean user who owns
|
|
108
|
+
* Terraform's API token: that user's own and those shared with the team. The API
|
|
109
|
+
* never returns a credential's API key, client ID, or client secret, so this data
|
|
110
|
+
* source does not export them.
|
|
111
|
+
*
|
|
112
|
+
* ## Example Usage
|
|
113
|
+
*
|
|
114
|
+
* ```typescript
|
|
115
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
116
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
117
|
+
*
|
|
118
|
+
* const github = digitalocean.getActionGatewayProviderCredential({
|
|
119
|
+
* toolProvider: "github",
|
|
120
|
+
* displayName: "Production GitHub app",
|
|
121
|
+
* });
|
|
122
|
+
* const githubActionGatewayConnection = new digitalocean.ActionGatewayConnection("github", {
|
|
123
|
+
* toolProvider: github.then(github => github.toolProvider),
|
|
124
|
+
* userId: "user-123",
|
|
125
|
+
* credentialId: github.then(github => github.id),
|
|
126
|
+
* });
|
|
127
|
+
* ```
|
|
128
|
+
*/
|
|
129
|
+
export declare function getActionGatewayProviderCredentialOutput(args?: GetActionGatewayProviderCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetActionGatewayProviderCredentialResult>;
|
|
130
|
+
/**
|
|
131
|
+
* A collection of arguments for invoking getActionGatewayProviderCredential.
|
|
132
|
+
*/
|
|
133
|
+
export interface GetActionGatewayProviderCredentialOutputArgs {
|
|
134
|
+
/**
|
|
135
|
+
* The label of the credential.
|
|
136
|
+
*/
|
|
137
|
+
displayName?: pulumi.Input<string | undefined>;
|
|
138
|
+
/**
|
|
139
|
+
* The ID of the provider credential.
|
|
140
|
+
*/
|
|
141
|
+
id?: pulumi.Input<string | undefined>;
|
|
142
|
+
/**
|
|
143
|
+
* and `displayName` - (Optional) The slug of the credential's tool provider and the credential's label. Both must be set. The label is matched ignoring case.
|
|
144
|
+
*/
|
|
145
|
+
toolProvider?: pulumi.Input<string | undefined>;
|
|
146
|
+
}
|
|
147
|
+
//# sourceMappingURL=getActionGatewayProviderCredential.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getActionGatewayProviderCredential.d.ts","sourceRoot":"","sources":["../getActionGatewayProviderCredential.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,kCAAkC,CAAC,IAAI,CAAC,EAAE,sCAAsC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,wCAAwC,CAAC,CAQhL;AAED;;GAEG;AACH,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,YAAY,CAAC,EA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,CAAC;CACnD"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getActionGatewayProviderCredentialOutput = exports.getActionGatewayProviderCredential = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Get information about an [Action Gateway](https://docs.digitalocean.com/products/managed-agents/action-gateway/)
|
|
33
|
+
* provider credential, such as one registered in the control panel, to pass its
|
|
34
|
+
* ID to a `digitalocean.ActionGatewayConnection`.
|
|
35
|
+
* Look a credential up by its `id`, or by its `toolProvider` and `displayName`.
|
|
36
|
+
*
|
|
37
|
+
* The lookup finds only credentials visible to the DigitalOcean user who owns
|
|
38
|
+
* Terraform's API token: that user's own and those shared with the team. The API
|
|
39
|
+
* never returns a credential's API key, client ID, or client secret, so this data
|
|
40
|
+
* source does not export them.
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
47
|
+
*
|
|
48
|
+
* const github = digitalocean.getActionGatewayProviderCredential({
|
|
49
|
+
* toolProvider: "github",
|
|
50
|
+
* displayName: "Production GitHub app",
|
|
51
|
+
* });
|
|
52
|
+
* const githubActionGatewayConnection = new digitalocean.ActionGatewayConnection("github", {
|
|
53
|
+
* toolProvider: github.then(github => github.toolProvider),
|
|
54
|
+
* userId: "user-123",
|
|
55
|
+
* credentialId: github.then(github => github.id),
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
function getActionGatewayProviderCredential(args, opts) {
|
|
60
|
+
args = args || {};
|
|
61
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
62
|
+
return pulumi.runtime.invoke("digitalocean:index/getActionGatewayProviderCredential:getActionGatewayProviderCredential", {
|
|
63
|
+
"displayName": args.displayName,
|
|
64
|
+
"id": args.id,
|
|
65
|
+
"toolProvider": args.toolProvider,
|
|
66
|
+
}, opts);
|
|
67
|
+
}
|
|
68
|
+
exports.getActionGatewayProviderCredential = getActionGatewayProviderCredential;
|
|
69
|
+
/**
|
|
70
|
+
* Get information about an [Action Gateway](https://docs.digitalocean.com/products/managed-agents/action-gateway/)
|
|
71
|
+
* provider credential, such as one registered in the control panel, to pass its
|
|
72
|
+
* ID to a `digitalocean.ActionGatewayConnection`.
|
|
73
|
+
* Look a credential up by its `id`, or by its `toolProvider` and `displayName`.
|
|
74
|
+
*
|
|
75
|
+
* The lookup finds only credentials visible to the DigitalOcean user who owns
|
|
76
|
+
* Terraform's API token: that user's own and those shared with the team. The API
|
|
77
|
+
* never returns a credential's API key, client ID, or client secret, so this data
|
|
78
|
+
* source does not export them.
|
|
79
|
+
*
|
|
80
|
+
* ## Example Usage
|
|
81
|
+
*
|
|
82
|
+
* ```typescript
|
|
83
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
84
|
+
* import * as digitalocean from "@pulumi/digitalocean";
|
|
85
|
+
*
|
|
86
|
+
* const github = digitalocean.getActionGatewayProviderCredential({
|
|
87
|
+
* toolProvider: "github",
|
|
88
|
+
* displayName: "Production GitHub app",
|
|
89
|
+
* });
|
|
90
|
+
* const githubActionGatewayConnection = new digitalocean.ActionGatewayConnection("github", {
|
|
91
|
+
* toolProvider: github.then(github => github.toolProvider),
|
|
92
|
+
* userId: "user-123",
|
|
93
|
+
* credentialId: github.then(github => github.id),
|
|
94
|
+
* });
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
function getActionGatewayProviderCredentialOutput(args, opts) {
|
|
98
|
+
args = args || {};
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
100
|
+
return pulumi.runtime.invokeOutput("digitalocean:index/getActionGatewayProviderCredential:getActionGatewayProviderCredential", {
|
|
101
|
+
"displayName": args.displayName,
|
|
102
|
+
"id": args.id,
|
|
103
|
+
"toolProvider": args.toolProvider,
|
|
104
|
+
}, opts);
|
|
105
|
+
}
|
|
106
|
+
exports.getActionGatewayProviderCredentialOutput = getActionGatewayProviderCredentialOutput;
|
|
107
|
+
//# sourceMappingURL=getActionGatewayProviderCredential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getActionGatewayProviderCredential.js","sourceRoot":"","sources":["../getActionGatewayProviderCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,kCAAkC,CAAC,IAA6C,EAAE,IAA2B;IACzH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0FAA0F,EAAE;QACrH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gFAQC;AAyED;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,wCAAwC,CAAC,IAAmD,EAAE,IAAiC;IAC3I,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0FAA0F,EAAE;QAC3H,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4FAQC"}
|
|
@@ -6,7 +6,10 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
* tool providers, with the ability to filter and sort the results. Use it to
|
|
7
7
|
* find a provider's slug, the scopes it offers, and the connection parameters a
|
|
8
8
|
* `digitalocean.ActionGatewayConnection`
|
|
9
|
-
* needs.
|
|
9
|
+
* needs. Its `authTypes` tell which kind of
|
|
10
|
+
* `digitalocean.ActionGatewayProviderCredential`
|
|
11
|
+
* a provider accepts: `userOauthApp` for an OAuth client and `userToken` for
|
|
12
|
+
* an API key. If no filters are specified, all providers are returned.
|
|
10
13
|
*
|
|
11
14
|
* ## Example Usage
|
|
12
15
|
*
|
|
@@ -59,7 +62,10 @@ export interface GetActionGatewayProvidersResult {
|
|
|
59
62
|
* tool providers, with the ability to filter and sort the results. Use it to
|
|
60
63
|
* find a provider's slug, the scopes it offers, and the connection parameters a
|
|
61
64
|
* `digitalocean.ActionGatewayConnection`
|
|
62
|
-
* needs.
|
|
65
|
+
* needs. Its `authTypes` tell which kind of
|
|
66
|
+
* `digitalocean.ActionGatewayProviderCredential`
|
|
67
|
+
* a provider accepts: `userOauthApp` for an OAuth client and `userToken` for
|
|
68
|
+
* an API key. If no filters are specified, all providers are returned.
|
|
63
69
|
*
|
|
64
70
|
* ## Example Usage
|
|
65
71
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getActionGatewayProviders.d.ts","sourceRoot":"","sources":["../getActionGatewayProviders.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAI1C
|
|
1
|
+
{"version":3,"file":"getActionGatewayProviders.d.ts","sourceRoot":"","sources":["../getActionGatewayProviders.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAI1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,CAAC,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAOrJ;AAED;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,+BAA+B,EAAE,CAAC;IACnD;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,6BAA6B,EAAE,CAAC;CAClD;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,+BAA+B,EAAE,CAAC;IAC7D;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,iCAAiC,EAAE,CAAC;IAChE,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,6BAA6B,EAAE,CAAC;CAC5D;AACD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,CAAC,EAAE,mCAAmC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAO7K;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAChD;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mCAAmC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC/F;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,iCAAiC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC9F"}
|
|
@@ -33,7 +33,10 @@ const utilities = __importStar(require("./utilities"));
|
|
|
33
33
|
* tool providers, with the ability to filter and sort the results. Use it to
|
|
34
34
|
* find a provider's slug, the scopes it offers, and the connection parameters a
|
|
35
35
|
* `digitalocean.ActionGatewayConnection`
|
|
36
|
-
* needs.
|
|
36
|
+
* needs. Its `authTypes` tell which kind of
|
|
37
|
+
* `digitalocean.ActionGatewayProviderCredential`
|
|
38
|
+
* a provider accepts: `userOauthApp` for an OAuth client and `userToken` for
|
|
39
|
+
* an API key. If no filters are specified, all providers are returned.
|
|
37
40
|
*
|
|
38
41
|
* ## Example Usage
|
|
39
42
|
*
|
|
@@ -64,7 +67,10 @@ exports.getActionGatewayProviders = getActionGatewayProviders;
|
|
|
64
67
|
* tool providers, with the ability to filter and sort the results. Use it to
|
|
65
68
|
* find a provider's slug, the scopes it offers, and the connection parameters a
|
|
66
69
|
* `digitalocean.ActionGatewayConnection`
|
|
67
|
-
* needs.
|
|
70
|
+
* needs. Its `authTypes` tell which kind of
|
|
71
|
+
* `digitalocean.ActionGatewayProviderCredential`
|
|
72
|
+
* a provider accepts: `userOauthApp` for an OAuth client and `userToken` for
|
|
73
|
+
* an API key. If no filters are specified, all providers are returned.
|
|
68
74
|
*
|
|
69
75
|
* ## Example Usage
|
|
70
76
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getActionGatewayProviders.js","sourceRoot":"","sources":["../getActionGatewayProviders.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getActionGatewayProviders.js","sourceRoot":"","sources":["../getActionGatewayProviders.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8DAOC;AAiCD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,+BAA+B,CAAC,IAA0C,EAAE,IAAiC;IACzH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wEAAwE,EAAE;QACzG,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0EAOC"}
|
|
@@ -86,7 +86,7 @@ export interface GetKubernetesClusterResult {
|
|
|
86
86
|
*/
|
|
87
87
|
readonly isolatedWorkers: boolean;
|
|
88
88
|
/**
|
|
89
|
-
* A representation of the Kubernetes cluster's kubeconfig with the following attributes
|
|
89
|
+
* A representation of the Kubernetes cluster's kubeconfig with the following attributes. Empty when `sso.required` is `true`:
|
|
90
90
|
*/
|
|
91
91
|
readonly kubeConfigs: outputs.GetKubernetesClusterKubeConfig[];
|
|
92
92
|
readonly kubeconfigExpireSeconds?: number;
|
package/index.d.ts
CHANGED
|
@@ -7,6 +7,9 @@ export declare const ActionGatewayEndpoint: typeof import("./actionGatewayEndpoi
|
|
|
7
7
|
export { ActionGatewayMcpServerArgs, ActionGatewayMcpServerState } from "./actionGatewayMcpServer";
|
|
8
8
|
export type ActionGatewayMcpServer = import("./actionGatewayMcpServer").ActionGatewayMcpServer;
|
|
9
9
|
export declare const ActionGatewayMcpServer: typeof import("./actionGatewayMcpServer").ActionGatewayMcpServer;
|
|
10
|
+
export { ActionGatewayProviderCredentialArgs, ActionGatewayProviderCredentialState } from "./actionGatewayProviderCredential";
|
|
11
|
+
export type ActionGatewayProviderCredential = import("./actionGatewayProviderCredential").ActionGatewayProviderCredential;
|
|
12
|
+
export declare const ActionGatewayProviderCredential: typeof import("./actionGatewayProviderCredential").ActionGatewayProviderCredential;
|
|
10
13
|
export { ActionGatewayToolbeltArgs, ActionGatewayToolbeltState } from "./actionGatewayToolbelt";
|
|
11
14
|
export type ActionGatewayToolbelt = import("./actionGatewayToolbelt").ActionGatewayToolbelt;
|
|
12
15
|
export declare const ActionGatewayToolbelt: typeof import("./actionGatewayToolbelt").ActionGatewayToolbelt;
|
|
@@ -160,6 +163,9 @@ export declare const getActionGatewayConnectionOutput: typeof import("./getActio
|
|
|
160
163
|
export { GetActionGatewayEndpointArgs, GetActionGatewayEndpointResult, GetActionGatewayEndpointOutputArgs } from "./getActionGatewayEndpoint";
|
|
161
164
|
export declare const getActionGatewayEndpoint: typeof import("./getActionGatewayEndpoint").getActionGatewayEndpoint;
|
|
162
165
|
export declare const getActionGatewayEndpointOutput: typeof import("./getActionGatewayEndpoint").getActionGatewayEndpointOutput;
|
|
166
|
+
export { GetActionGatewayProviderCredentialArgs, GetActionGatewayProviderCredentialResult, GetActionGatewayProviderCredentialOutputArgs } from "./getActionGatewayProviderCredential";
|
|
167
|
+
export declare const getActionGatewayProviderCredential: typeof import("./getActionGatewayProviderCredential").getActionGatewayProviderCredential;
|
|
168
|
+
export declare const getActionGatewayProviderCredentialOutput: typeof import("./getActionGatewayProviderCredential").getActionGatewayProviderCredentialOutput;
|
|
163
169
|
export { GetActionGatewayProvidersArgs, GetActionGatewayProvidersResult, GetActionGatewayProvidersOutputArgs } from "./getActionGatewayProviders";
|
|
164
170
|
export declare const getActionGatewayProviders: typeof import("./getActionGatewayProviders").getActionGatewayProviders;
|
|
165
171
|
export declare const getActionGatewayProvidersOutput: typeof import("./getActionGatewayProviders").getActionGatewayProvidersOutput;
|