Skip to content

Commit cb4a989

Browse files
author
LaunchDarklyReleaseBot
committed
Version 19.0.0 automatically generated from ld-openapi.
1 parent 28931da commit cb4a989

File tree

670 files changed

+1553
-720
lines changed

Some content is hidden

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

670 files changed

+1553
-720
lines changed

.openapi-generator/FILES

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ docs/FollowFlagsApi.md
298298
docs/FollowersPerFlag.md
299299
docs/ForbiddenErrorRep.md
300300
docs/FormVariable.md
301+
docs/GenerateTrustPolicyPostRep.md
301302
docs/GenerateWarehouseDestinationKeyPairPostRep.md
302303
docs/GetAnnouncementsPublic200Response.md
303304
docs/GuardedReleaseConfig.md
@@ -573,6 +574,8 @@ docs/TreatmentRep.md
573574
docs/TriggerPost.md
574575
docs/TriggerWorkflowCollectionRep.md
575576
docs/TriggerWorkflowRep.md
577+
docs/TrustPolicyDetails.md
578+
docs/TrustPolicyStatement.md
576579
docs/UnauthorizedErrorRep.md
577580
docs/UnlinkResourceSuccessResponse.md
578581
docs/UpdatePhaseStatusInput.md
@@ -971,6 +974,7 @@ src/model/FollowFlagMember.js
971974
src/model/FollowersPerFlag.js
972975
src/model/ForbiddenErrorRep.js
973976
src/model/FormVariable.js
977+
src/model/GenerateTrustPolicyPostRep.js
974978
src/model/GenerateWarehouseDestinationKeyPairPostRep.js
975979
src/model/GetAnnouncementsPublic200Response.js
976980
src/model/GuardedReleaseConfig.js
@@ -1220,6 +1224,8 @@ src/model/TreatmentRep.js
12201224
src/model/TriggerPost.js
12211225
src/model/TriggerWorkflowCollectionRep.js
12221226
src/model/TriggerWorkflowRep.js
1227+
src/model/TrustPolicyDetails.js
1228+
src/model/TrustPolicyStatement.js
12231229
src/model/UnauthorizedErrorRep.js
12241230
src/model/UnlinkResourceSuccessResponse.js
12251231
src/model/UpdatePhaseStatusInput.js
@@ -1606,6 +1612,7 @@ test/model/FollowFlagMember.spec.js
16061612
test/model/FollowersPerFlag.spec.js
16071613
test/model/ForbiddenErrorRep.spec.js
16081614
test/model/FormVariable.spec.js
1615+
test/model/GenerateTrustPolicyPostRep.spec.js
16091616
test/model/GenerateWarehouseDestinationKeyPairPostRep.spec.js
16101617
test/model/GetAnnouncementsPublic200Response.spec.js
16111618
test/model/GuardedReleaseConfig.spec.js
@@ -1855,6 +1862,8 @@ test/model/TreatmentRep.spec.js
18551862
test/model/TriggerPost.spec.js
18561863
test/model/TriggerWorkflowCollectionRep.spec.js
18571864
test/model/TriggerWorkflowRep.spec.js
1865+
test/model/TrustPolicyDetails.spec.js
1866+
test/model/TrustPolicyStatement.spec.js
18581867
test/model/UnauthorizedErrorRep.spec.js
18591868
test/model/UnlinkResourceSuccessResponse.spec.js
18601869
test/model/UpdatePhaseStatusInput.spec.js

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ To learn more about how EOL is determined, read LaunchDarkly's [End of Life (EOL
448448
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
449449

450450
- API version: 2.0
451-
- Package version: 18.1.0
451+
- Package version: 19.0.0
452452
- Generator version: 7.16.0
453453
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
454454
For more information, please visit [https://support.launchdarkly.com](https://support.launchdarkly.com)
@@ -695,6 +695,7 @@ Class | Method | HTTP request | Description
695695
*LaunchDarklyApi.DataExportDestinationsApi* | [**getDestinations**](docs/DataExportDestinationsApi.md#getDestinations) | **GET** /api/v2/destinations | List destinations
696696
*LaunchDarklyApi.DataExportDestinationsApi* | [**patchDestination**](docs/DataExportDestinationsApi.md#patchDestination) | **PATCH** /api/v2/destinations/{projectKey}/{environmentKey}/{id} | Update Data Export destination
697697
*LaunchDarklyApi.DataExportDestinationsApi* | [**postDestination**](docs/DataExportDestinationsApi.md#postDestination) | **POST** /api/v2/destinations/{projectKey}/{environmentKey} | Create Data Export destination
698+
*LaunchDarklyApi.DataExportDestinationsApi* | [**postGenerateTrustPolicy**](docs/DataExportDestinationsApi.md#postGenerateTrustPolicy) | **POST** /api/v2/destinations/projects/{projKey}/environments/{envKey}/generate-trust-policy | Generate trust policy
698699
*LaunchDarklyApi.DataExportDestinationsApi* | [**postGenerateWarehouseDestinationKeyPair**](docs/DataExportDestinationsApi.md#postGenerateWarehouseDestinationKeyPair) | **POST** /api/v2/destinations/generate-warehouse-destination-key-pair | Generate Snowflake destination key pair
699700
*LaunchDarklyApi.EnvironmentsApi* | [**deleteEnvironment**](docs/EnvironmentsApi.md#deleteEnvironment) | **DELETE** /api/v2/projects/{projectKey}/environments/{environmentKey} | Delete environment
700701
*LaunchDarklyApi.EnvironmentsApi* | [**getEnvironment**](docs/EnvironmentsApi.md#getEnvironment) | **GET** /api/v2/projects/{projectKey}/environments/{environmentKey} | Get environment
@@ -1187,6 +1188,7 @@ Class | Method | HTTP request | Description
11871188
- [LaunchDarklyApi.FollowersPerFlag](docs/FollowersPerFlag.md)
11881189
- [LaunchDarklyApi.ForbiddenErrorRep](docs/ForbiddenErrorRep.md)
11891190
- [LaunchDarklyApi.FormVariable](docs/FormVariable.md)
1191+
- [LaunchDarklyApi.GenerateTrustPolicyPostRep](docs/GenerateTrustPolicyPostRep.md)
11901192
- [LaunchDarklyApi.GenerateWarehouseDestinationKeyPairPostRep](docs/GenerateWarehouseDestinationKeyPairPostRep.md)
11911193
- [LaunchDarklyApi.GetAnnouncementsPublic200Response](docs/GetAnnouncementsPublic200Response.md)
11921194
- [LaunchDarklyApi.GuardedReleaseConfig](docs/GuardedReleaseConfig.md)
@@ -1436,6 +1438,8 @@ Class | Method | HTTP request | Description
14361438
- [LaunchDarklyApi.TriggerPost](docs/TriggerPost.md)
14371439
- [LaunchDarklyApi.TriggerWorkflowCollectionRep](docs/TriggerWorkflowCollectionRep.md)
14381440
- [LaunchDarklyApi.TriggerWorkflowRep](docs/TriggerWorkflowRep.md)
1441+
- [LaunchDarklyApi.TrustPolicyDetails](docs/TrustPolicyDetails.md)
1442+
- [LaunchDarklyApi.TrustPolicyStatement](docs/TrustPolicyStatement.md)
14391443
- [LaunchDarklyApi.UnauthorizedErrorRep](docs/UnauthorizedErrorRep.md)
14401444
- [LaunchDarklyApi.UnlinkResourceSuccessResponse](docs/UnlinkResourceSuccessResponse.md)
14411445
- [LaunchDarklyApi.UpdatePhaseStatusInput](docs/UpdatePhaseStatusInput.md)

docs/AIConfig.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
1616
**variations** | [**[AIConfigVariation]**](AIConfigVariation.md) | |
1717
**createdAt** | **Number** | |
1818
**updatedAt** | **Number** | |
19+
**evaluationMetricKeys** | **[String]** | List of evaluation metric keys for this AI config | [optional]
1920

2021

2122

docs/AiConfigsMetricDataSourceRefRep.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**key** | **String** | | [optional]
7+
**key** | **String** | |
88
**environmentKey** | **String** | | [optional]
99
**name** | **String** | | [optional]
1010
**integrationKey** | **String** | | [optional]

docs/AiConfigsMetricListingRep.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Name | Type | Description | Notes
3636
**analysisType** | **String** | The method for analyzing metric events | [optional]
3737
**percentileValue** | **Number** | The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when <code>analysisType</code> is <code>percentile</code>. | [optional]
3838
**eventDefault** | [**AiConfigsMetricEventDefaultRep**](AiConfigsMetricEventDefaultRep.md) | | [optional]
39-
**dataSource** | [**AiConfigsMetricDataSourceRefRep**](AiConfigsMetricDataSourceRefRep.md) | | [optional]
39+
**dataSource** | [**AiConfigsMetricDataSourceRefRep**](AiConfigsMetricDataSourceRefRep.md) | |
4040
**archived** | **Boolean** | Whether the metric version is archived | [optional]
4141
**archivedAt** | **Number** | | [optional]
4242
**selector** | **String** | For click metrics, the CSS selectors | [optional]

docs/DataExportDestinationsApi.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Method | HTTP request | Description
99
[**getDestinations**](DataExportDestinationsApi.md#getDestinations) | **GET** /api/v2/destinations | List destinations
1010
[**patchDestination**](DataExportDestinationsApi.md#patchDestination) | **PATCH** /api/v2/destinations/{projectKey}/{environmentKey}/{id} | Update Data Export destination
1111
[**postDestination**](DataExportDestinationsApi.md#postDestination) | **POST** /api/v2/destinations/{projectKey}/{environmentKey} | Create Data Export destination
12+
[**postGenerateTrustPolicy**](DataExportDestinationsApi.md#postGenerateTrustPolicy) | **POST** /api/v2/destinations/projects/{projKey}/environments/{envKey}/generate-trust-policy | Generate trust policy
1213
[**postGenerateWarehouseDestinationKeyPair**](DataExportDestinationsApi.md#postGenerateWarehouseDestinationKeyPair) | **POST** /api/v2/destinations/generate-warehouse-destination-key-pair | Generate Snowflake destination key pair
1314

1415

@@ -282,6 +283,59 @@ Name | Type | Description | Notes
282283
- **Accept**: application/json
283284

284285

286+
## postGenerateTrustPolicy
287+
288+
> GenerateTrustPolicyPostRep postGenerateTrustPolicy(projKey, envKey)
289+
290+
Generate trust policy
291+
292+
Trust policy to allow Data Export to assume the role and perform operations on AWS resources
293+
294+
### Example
295+
296+
```javascript
297+
import LaunchDarklyApi from 'launchdarkly-api';
298+
let defaultClient = LaunchDarklyApi.ApiClient.instance;
299+
// Configure API key authorization: ApiKey
300+
let ApiKey = defaultClient.authentications['ApiKey'];
301+
ApiKey.apiKey = 'YOUR API KEY';
302+
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
303+
//ApiKey.apiKeyPrefix = 'Token';
304+
305+
let apiInstance = new LaunchDarklyApi.DataExportDestinationsApi();
306+
let projKey = "projKey_example"; // String | The project key
307+
let envKey = "envKey_example"; // String | The environment key
308+
apiInstance.postGenerateTrustPolicy(projKey, envKey, (error, data, response) => {
309+
if (error) {
310+
console.error(error);
311+
} else {
312+
console.log('API called successfully. Returned data: ' + data);
313+
}
314+
});
315+
```
316+
317+
### Parameters
318+
319+
320+
Name | Type | Description | Notes
321+
------------- | ------------- | ------------- | -------------
322+
**projKey** | **String**| The project key |
323+
**envKey** | **String**| The environment key |
324+
325+
### Return type
326+
327+
[**GenerateTrustPolicyPostRep**](GenerateTrustPolicyPostRep.md)
328+
329+
### Authorization
330+
331+
[ApiKey](../README.md#ApiKey)
332+
333+
### HTTP request headers
334+
335+
- **Content-Type**: Not defined
336+
- **Accept**: application/json
337+
338+
285339
## postGenerateWarehouseDestinationKeyPair
286340

287341
> GenerateWarehouseDestinationKeyPairPostRep postGenerateWarehouseDestinationKeyPair()

docs/Destination.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Name | Type | Description | Notes
3434

3535
* `bigquery` (value: `"bigquery"`)
3636

37+
* `redshift` (value: `"redshift"`)
38+
3739

3840

3941

docs/DestinationPost.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ Name | Type | Description | Notes
3030

3131
* `bigquery` (value: `"bigquery"`)
3232

33+
* `redshift` (value: `"redshift"`)
34+
3335

3436

3537

docs/FeatureFlagsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ let opts = {
490490
'limit': 789, // Number | The number of feature flags to return. Defaults to 20.
491491
'offset': 789, // Number | Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`.
492492
'archived': true, // Boolean | Deprecated, use `filter=archived:true` instead. A boolean to filter the list to archived flags. When this is absent, only unarchived flags will be returned
493-
'summary': true, // Boolean | By default, flags do _not_ include their lists of prerequisites, targets, or rules for each environment. Set `summary=0` to include these fields for each flag returned.
493+
'summary': true, // Boolean | By default, flags do _not_ include their lists of prerequisites, targets, or rules for each environment. Set `summary=0` and include the `env` query parameter to include these fields for each flag returned.
494494
'filter': "filter_example", // String | A comma-separated list of filters. Each filter is of the form field:value. Read the endpoint description for a full list of available filter fields.
495495
'sort': "sort_example", // String | A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order. Read the endpoint description for a full list of available sort fields.
496496
'compare': true, // Boolean | Deprecated, unavailable in API version `20240415`. A boolean to filter results by only flags that have differences between environments.
@@ -516,7 +516,7 @@ Name | Type | Description | Notes
516516
**limit** | **Number**| The number of feature flags to return. Defaults to 20. | [optional]
517517
**offset** | **Number**| Where to start in the list. Use this with pagination. For example, an offset of 10 skips the first ten items and then returns the next items in the list, up to the query `limit`. | [optional]
518518
**archived** | **Boolean**| Deprecated, use `filter=archived:true` instead. A boolean to filter the list to archived flags. When this is absent, only unarchived flags will be returned | [optional]
519-
**summary** | **Boolean**| By default, flags do _not_ include their lists of prerequisites, targets, or rules for each environment. Set `summary=0` to include these fields for each flag returned. | [optional]
519+
**summary** | **Boolean**| By default, flags do _not_ include their lists of prerequisites, targets, or rules for each environment. Set `summary=0` and include the `env` query parameter to include these fields for each flag returned. | [optional]
520520
**filter** | **String**| A comma-separated list of filters. Each filter is of the form field:value. Read the endpoint description for a full list of available filter fields. | [optional]
521521
**sort** | **String**| A comma-separated list of fields to sort by. Fields prefixed by a dash ( - ) sort in descending order. Read the endpoint description for a full list of available sort fields. | [optional]
522522
**compare** | **Boolean**| Deprecated, unavailable in API version `20240415`. A boolean to filter results by only flags that have differences between environments. | [optional]

docs/GenerateTrustPolicyPostRep.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# LaunchDarklyApi.GenerateTrustPolicyPostRep
2+
3+
## Properties
4+
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**awsTrustPolicy** | [**TrustPolicyDetails**](TrustPolicyDetails.md) | | [optional]
8+
9+

0 commit comments

Comments
 (0)