Skip to content

Commit 17d0d70

Browse files
author
Parul Upadhyaya
committed
Merge branch 'develop' into release/v10.0.0
* develop: Update with code-generated api bindings and models performed 2020-11-05
2 parents 7302dbf + ca7b549 commit 17d0d70

43 files changed

Lines changed: 17018 additions & 6700 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

splunk_sdk/action/v1beta2/openapi.yaml

Lines changed: 19 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
components:
22
parameters:
33
ActionName:
4-
description: The name of the action as one or more identifier strings separated
5-
by periods. Each identifier string consists of lowercase letters, digits,
6-
and underscores, and cannot start with a digit.
4+
description: The name of the action as one or more identifier strings separated by periods. Each identifier string consists of lowercase letters, digits, and underscores, and cannot start with a digit.
75
in: path
86
name: action_name
97
required: true
@@ -69,8 +67,7 @@ components:
6967
ActionImmutable:
7068
properties:
7169
createdAt:
72-
description: The date and time this action template was created (ISO-8601
73-
date/time with zone).
70+
description: The date and time this action template was created (ISO-8601 date/time with zone).
7471
format: date-time
7572
readOnly: true
7673
type: string
@@ -81,14 +78,11 @@ components:
8178
kind:
8279
$ref: '#/components/schemas/ActionKind'
8380
name:
84-
description: The name of the action, as one or more identifier strings separated
85-
by periods. Each identifier string consists of lowercase letters, digits,
86-
and underscores, and cannot start with a digit.
81+
description: The name of the action, as one or more identifier strings separated by periods. Each identifier string consists of lowercase letters, digits, and underscores, and cannot start with a digit.
8782
pattern: ^[_a-z][_a-z0-9]*(?:\.[_a-z][_a-z0-9]*)*$
8883
type: string
8984
updatedAt:
90-
description: The date and time this action template was updated (ISO-8601
91-
date/time with zone).
85+
description: The date and time this action template was updated (ISO-8601 date/time with zone).
9286
format: date-time
9387
readOnly: true
9488
type: string
@@ -151,34 +145,26 @@ components:
151145
type: string
152146
type: array
153147
body:
154-
description: HTML content to send as the body of the email. You can use
155-
a template in this field.
148+
description: HTML content to send as the body of the email. You can use a template in this field.
156149
example: <html><body>Hello, this is my test email.</body></html>
157150
type: string
158151
bodyPlainText:
159-
description: Optional text to send as the text/plain part of the email.
160-
If this field is not set for an email action, the Action service converts
161-
the value from the body field to text and sends that as the text/plain
162-
part when invoking the action. You can use a template in this field.
152+
description: Optional text to send as the text/plain part of the email. If this field is not set for an email action, the Action service converts the value from the body field to text and sends that as the text/plain part when invoking the action. You can use a template in this field.
163153
example: Hello, this is my test email.
164154
type: string
165155
fromName:
166-
description: Optional text providing a human-friendly name for the sender.
167-
Must be less than or equal to 81 characters. You can use a template in
168-
this field.
156+
description: Optional text providing a human-friendly name for the sender. Must be less than or equal to 81 characters. You can use a template in this field.
169157
type: string
170158
members:
171-
description: An array of tenant member names, whose profile email addresses
172-
will be included as recipients.
159+
description: An array of tenant member names, whose profile email addresses will be included as recipients.
173160
items:
174161
type: string
175162
type: array
176163
subject:
177164
description: The subject of the email. You can use a template in this field.
178165
type: string
179166
title:
180-
description: A human-readable title for the action. Must be less than or
181-
equal to 128 characters.
167+
description: A human-readable title for the action. Must be less than or equal to 128 characters.
182168
type: string
183169
type: object
184170
PublicWebhookKey:
@@ -225,8 +211,7 @@ components:
225211
type: string
226212
type: array
227213
members:
228-
description: An array of tenant member names, whose profile email addresses
229-
will be included as recipients.
214+
description: An array of tenant member names, whose profile email addresses will be included as recipients.
230215
items:
231216
type: string
232217
type: array
@@ -240,8 +225,7 @@ components:
240225
readOnly: true
241226
type: string
242227
id:
243-
description: A unique identifier for this trigger event. Generated from
244-
a hash of all recursively-sorted event field values.
228+
description: A unique identifier for this trigger event. Generated from a hash of all recursively-sorted event field values.
245229
readOnly: true
246230
type: string
247231
kind:
@@ -262,8 +246,7 @@ components:
262246
type: string
263247
ttlSeconds:
264248
default: 3600
265-
description: A time to live (TTL), expressed as seconds after createdAt,
266-
after which the trigger event will no longer be acted upon.
249+
description: A time to live (TTL), expressed as seconds after createdAt, after which the trigger event will no longer be acted upon.
267250
format: int32
268251
minimum: 1
269252
type: integer
@@ -283,8 +266,7 @@ components:
283266
WebhookActionMutable:
284267
properties:
285268
title:
286-
description: A human-readable title for the action. Must be less than 128
287-
characters.
269+
description: A human-readable title for the action. Must be less than 128 characters.
288270
type: string
289271
webhookHeaders:
290272
additionalProperties:
@@ -532,17 +514,14 @@ paths:
532514
application/json:
533515
schema:
534516
$ref: '#/components/schemas/TriggerEvent'
535-
description: The action payload, which should include values for any templated
536-
fields.
517+
description: The action payload, which should include values for any templated fields.
537518
required: true
538519
responses:
539520
"201":
540521
description: The trigger event was received successfully.
541522
headers:
542523
Location:
543-
description: The URL of the run status, with the format "{tenant}/action/v1beta2/actions/{action_name}/status/{status_id}".
544-
Send a GET request to this URL to check the status, which will be
545-
available for 4 days.
524+
description: The URL of the run status, with the format "{tenant}/action/v1beta2/actions/{action_name}/status/{status_id}". Send a GET request to this URL to check the status, which will be available for 4 days.
546525
schema:
547526
type: string
548527
"400":
@@ -601,8 +580,7 @@ paths:
601580
schema:
602581
$ref: '#/components/schemas/ServiceError'
603582
description: An error occurred.
604-
summary: Returns the status of an action that was invoked. The status is available
605-
for 4 days after the last status change.
583+
summary: Returns the status of an action that was invoked. The status is available for 4 days after the last status change.
606584
tags:
607585
- Actions
608586
x-authz-scope: action.actions.read
@@ -647,8 +625,7 @@ paths:
647625
schema:
648626
$ref: '#/components/schemas/ServiceError'
649627
description: An error occurred.
650-
summary: Returns the status details of the invoked email action. The status
651-
is available for 4 days after the last status change.
628+
summary: Returns the status details of the invoked email action. The status is available for 4 days after the last status change.
652629
tags:
653630
- Actions
654631
x-authz-scope: action.actions.read
@@ -675,10 +652,9 @@ paths:
675652
schema:
676653
$ref: '#/components/schemas/ServiceError'
677654
description: An error occurred.
678-
summary: Returns an array of one or two webhook keys. The first key is active.
679-
The second key, if present, is expired.
655+
summary: Returns an array of one or two webhook keys. The first key is active. The second key, if present, is expired.
680656
tags:
681657
- Webhook Keys
682658
x-auth-required: false
683659

684-
# Retrieved from scp-openapi commit 0946f4bc226a17b28c46e9494b83fff7a8f8720c path: action/v1beta2/openapi.yaml
660+
# Retrieved from scp-openapi commit 2a83a71fc5f034d6a6308d40793cf42658bfbf9a path: action/v1beta2/openapi.yaml

splunk_sdk/action/v2alpha1/openapi.yaml

Lines changed: 23 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
components:
22
parameters:
33
ActionName:
4-
description: The name of the action as one or more identifier strings separated
5-
by periods. Each identifier string consists of lowercase letters, digits,
6-
and underscores, and cannot start with a digit.
4+
description: The name of the action as one or more identifier strings separated by periods. Each identifier string consists of lowercase letters, digits, and underscores, and cannot start with a digit.
75
in: path
86
name: action_name
97
required: true
@@ -64,8 +62,7 @@ components:
6462
ActionImmutable:
6563
properties:
6664
createdAt:
67-
description: The date and time this action template was created (ISO-8601
68-
date/time with zone).
65+
description: The date and time this action template was created (ISO-8601 date/time with zone).
6966
format: date-time
7067
readOnly: true
7168
type: string
@@ -76,14 +73,11 @@ components:
7673
kind:
7774
$ref: '#/components/schemas/ActionKind'
7875
name:
79-
description: The name of the action, as one or more identifier strings separated
80-
by periods. Each identifier string consists of lowercase letters, digits,
81-
and underscores, and cannot start with a digit.
76+
description: The name of the action, as one or more identifier strings separated by periods. Each identifier string consists of lowercase letters, digits, and underscores, and cannot start with a digit.
8277
pattern: ^[_a-z][_a-z0-9]*(?:\.[_a-z][_a-z0-9]*)*$
8378
type: string
8479
updatedAt:
85-
description: The date and time this action template was updated (ISO-8601
86-
date/time with zone).
80+
description: The date and time this action template was updated (ISO-8601 date/time with zone).
8781
format: date-time
8882
readOnly: true
8983
type: string
@@ -110,8 +104,7 @@ components:
110104
- $ref: '#/components/schemas/AppMessageInternal'
111105
- $ref: '#/components/schemas/AppMessageImmutable'
112106
- $ref: '#/components/schemas/AppMessageMutable'
113-
description: A message delivered to a tenant member from the platform or a subscribed
114-
app.
107+
description: A message delivered to a tenant member from the platform or a subscribed app.
115108
type: object
116109
AppMessageAction:
117110
allOf:
@@ -143,8 +136,7 @@ components:
143136
AppMessageImmutable:
144137
properties:
145138
clientId:
146-
description: Application or service client ID that caused the message to
147-
be created.
139+
description: Application or service client ID that caused the message to be created.
148140
readOnly: true
149141
type: string
150142
clientKind:
@@ -185,8 +177,7 @@ components:
185177
AppMessageInternal:
186178
properties:
187179
createdAt:
188-
description: The date and time this trigger map entry was created (ISO-8601
189-
date/time with zone).
180+
description: The date and time this trigger map entry was created (ISO-8601 date/time with zone).
190181
format: date-time
191182
readOnly: true
192183
type: string
@@ -199,8 +190,7 @@ components:
199190
readOnly: true
200191
type: string
201192
updatedAt:
202-
description: The date and time this trigger map entry was updated (ISO-8601
203-
date/time with zone).
193+
description: The date and time this trigger map entry was updated (ISO-8601 date/time with zone).
204194
format: date-time
205195
readOnly: true
206196
type: string
@@ -224,18 +214,15 @@ components:
224214
- state
225215
type: object
226216
AppMessagePaginatedList:
227-
description: A list of app messages delivered to the user. May also include
228-
a next token which can be returned to the service to retrieve the next page
229-
of messages.
217+
description: A list of app messages delivered to the user. May also include a next token which can be returned to the service to retrieve the next page of messages.
230218
properties:
231219
items:
232220
description: An array of app messages
233221
items:
234222
$ref: '#/components/schemas/AppMessage'
235223
type: array
236224
next:
237-
description: A token that can be returned to the service to retrieve the
238-
next page of messages
225+
description: A token that can be returned to the service to retrieve the next page of messages
239226
type: string
240227
required:
241228
- items
@@ -265,34 +252,26 @@ components:
265252
type: string
266253
type: array
267254
body:
268-
description: HTML content to send as the body of the email. You can use
269-
a template in this field.
255+
description: HTML content to send as the body of the email. You can use a template in this field.
270256
example: <html><body>Hello, this is my test email.</body></html>
271257
type: string
272258
bodyPlainText:
273-
description: Optional text to send as the text/plain part of the email.
274-
If this field is not set for an email action, the Action service converts
275-
the value from the body field to text and sends that as the text/plain
276-
part when triggering the action. You can use a template in this field.
259+
description: Optional text to send as the text/plain part of the email. If this field is not set for an email action, the Action service converts the value from the body field to text and sends that as the text/plain part when triggering the action. You can use a template in this field.
277260
example: Hello, this is my test email.
278261
type: string
279262
fromName:
280-
description: Optional text providing a human-friendly name for the sender.
281-
Must be less than or equal to 81 characters. You can use a template in
282-
this field.
263+
description: Optional text providing a human-friendly name for the sender. Must be less than or equal to 81 characters. You can use a template in this field.
283264
type: string
284265
members:
285-
description: An array of tenant member names, whose profile email addresses
286-
will be included as recipients.
266+
description: An array of tenant member names, whose profile email addresses will be included as recipients.
287267
items:
288268
type: string
289269
type: array
290270
subject:
291271
description: The subject of the email. You can use a template in this field.
292272
type: string
293273
title:
294-
description: A human-readable title for the action. Must be less than or
295-
equal to 128 characters.
274+
description: A human-readable title for the action. Must be less than or equal to 128 characters.
296275
type: string
297276
type: object
298277
PublicWebhookKey:
@@ -349,12 +328,10 @@ components:
349328
type: string
350329
type: array
351330
expiresAtUTCEpoch:
352-
description: Unix epoch timestamp in UTC indicating when the message
353-
expires.
331+
description: Unix epoch timestamp in UTC indicating when the message expires.
354332
type: integer
355333
members:
356-
description: An array of tenant member names, whose profile email addresses
357-
will be included as recipients.
334+
description: An array of tenant member names, whose profile email addresses will be included as recipients.
358335
items:
359336
type: string
360337
type: array
@@ -400,8 +377,7 @@ components:
400377
TriggerMapEntryImmutable:
401378
properties:
402379
createdAt:
403-
description: The date and time this trigger map entry was created (ISO-8601
404-
date/time with zone).
380+
description: The date and time this trigger map entry was created (ISO-8601 date/time with zone).
405381
format: date-time
406382
readOnly: true
407383
type: string
@@ -419,8 +395,7 @@ components:
419395
pattern: ^[_a-z][_a-z0-9]*(?:\.[_a-z][_a-z0-9]*)*$
420396
type: string
421397
updatedAt:
422-
description: The date and time this trigger map entry was updated (ISO-8601
423-
date/time with zone).
398+
description: The date and time this trigger map entry was updated (ISO-8601 date/time with zone).
424399
format: date-time
425400
readOnly: true
426401
type: string
@@ -435,8 +410,7 @@ components:
435410
TriggerMapEntryMutable:
436411
properties:
437412
actionNames:
438-
description: An array of action template names to invoke when the trigger
439-
fires.
413+
description: An array of action template names to invoke when the trigger fires.
440414
items:
441415
type: string
442416
type: array
@@ -453,8 +427,7 @@ components:
453427
WebhookActionMutable:
454428
properties:
455429
title:
456-
description: A human-readable title for the action. Must be less than 128
457-
characters.
430+
description: A human-readable title for the action. Must be less than 128 characters.
458431
type: string
459432
webhookHeaders:
460433
additionalProperties:
@@ -725,10 +698,9 @@ paths:
725698
schema:
726699
$ref: '#/components/schemas/ServiceError'
727700
description: An error occurred.
728-
summary: Get the current webhook key(s). If multiple keys were returned, one
729-
is active and one is expired.
701+
summary: Get the current webhook key(s). If multiple keys were returned, one is active and one is expired.
730702
tags:
731703
- Webhook Keys
732704
x-auth-required: false
733705

734-
# Retrieved from scp-openapi commit 0946f4bc226a17b28c46e9494b83fff7a8f8720c path: action/v2alpha1/openapi.yaml
706+
# Retrieved from scp-openapi commit 2a83a71fc5f034d6a6308d40793cf42658bfbf9a path: action/v2alpha1/openapi.yaml

0 commit comments

Comments
 (0)