# Api.V2Api

All URIs are relative to *https://cloudfunctions.apigw.ntruss.com/api/v2*

Method | HTTP request | Description
------------- | ------------- | -------------
[**deleteAction**](V2Api.md#deleteAction) | **DELETE** /packages/{packageName}/actions/{actionName} | 
[**deletePackage**](V2Api.md#deletePackage) | **DELETE** /packages/{packageName} | 
[**deleteTrigger**](V2Api.md#deleteTrigger) | **DELETE** /triggers/{triggerName} | 
[**deleteTriggerLinkAction**](V2Api.md#deleteTriggerLinkAction) | **DELETE** /triggers/{triggerName}/link-action | 
[**getAction**](V2Api.md#getAction) | **GET** /packages/{packageName}/actions/{actionName} | 
[**getActionActivationDetail**](V2Api.md#getActionActivationDetail) | **GET** /packages/{packageName}/actions/{actionName}/activations/{activationId} | 
[**getActionActivationList**](V2Api.md#getActionActivationList) | **GET** /packages/{packageName}/actions/{actionName}/activations | 
[**getActionList**](V2Api.md#getActionList) | **GET** /packages/{packageName}/actions | 
[**getActivationList**](V2Api.md#getActivationList) | **GET** /activations | 
[**getPackage**](V2Api.md#getPackage) | **GET** /packages/{packageName} | 
[**getPackageList**](V2Api.md#getPackageList) | **GET** /packages | 
[**getTrigger**](V2Api.md#getTrigger) | **GET** /triggers/{triggerName} | 
[**getTriggerActivationDetail**](V2Api.md#getTriggerActivationDetail) | **GET** /triggers/{triggerName}/activations/{activationId} | 
[**getTriggerActivationList**](V2Api.md#getTriggerActivationList) | **GET** /triggers/{triggerName}/activations | 
[**getTriggerList**](V2Api.md#getTriggerList) | **GET** /triggers | 
[**postAction**](V2Api.md#postAction) | **POST** /packages/{packageName}/actions/{actionName} | 
[**postActionExternalLink**](V2Api.md#postActionExternalLink) | **POST** /packages/{packageName}/actions/{actionName}/external-link-url | 
[**postTrigger**](V2Api.md#postTrigger) | **POST** /triggers/{triggerName} | 
[**postTriggerExternalLink**](V2Api.md#postTriggerExternalLink) | **POST** /triggers/{triggerName}/external-link-url | 
[**postTriggerLinkAction**](V2Api.md#postTriggerLinkAction) | **POST** /triggers/{triggerName}/link-action | 
[**putAction**](V2Api.md#putAction) | **PUT** /packages/{packageName}/actions/{actionName} | 
[**putPackage**](V2Api.md#putPackage) | **PUT** /packages/{packageName} | 


<a name="deleteAction"></a>
# **deleteAction**
> deleteAction(packageName, actionName, opts)



액션 삭제

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let packageName = "packageName_example"; // String | packageName

let actionName = "actionName_example"; // String | actionName

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.deleteAction(packageName, actionName, opts).then(() => {
  console.log('API called successfully.');
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **packageName** | **String**| packageName | 
 **actionName** | **String**| actionName | 
 **platform** | **String**| platform | [optional] 

### Return type

null (empty response body)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="deletePackage"></a>
# **deletePackage**
> deletePackage(packageName, opts)



패키지 삭제

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let packageName = "packageName_example"; // String | packageName

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.deletePackage(packageName, opts).then(() => {
  console.log('API called successfully.');
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **packageName** | **String**| packageName | 
 **platform** | **String**| platform | [optional] 

### Return type

null (empty response body)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="deleteTrigger"></a>
# **deleteTrigger**
> deleteTrigger(triggerName, opts)



트리거 삭제

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let triggerName = "triggerName_example"; // String | triggerName

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.deleteTrigger(triggerName, opts).then(() => {
  console.log('API called successfully.');
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **triggerName** | **String**| triggerName | 
 **platform** | **String**| platform | [optional] 

### Return type

null (empty response body)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="deleteTriggerLinkAction"></a>
# **deleteTriggerLinkAction**
> deleteTriggerLinkAction(triggerName, action, opts)



액션, 룰 연결 삭제

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let triggerName = "triggerName_example"; // String | triggerName

let action = new Api.DeleteTriggerLinkActionRequest(); // DeleteTriggerLinkActionRequest | 트리거와 연결할 액션

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.deleteTriggerLinkAction(triggerName, action, opts).then(() => {
  console.log('API called successfully.');
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **triggerName** | **String**| triggerName | 
 **action** | [**DeleteTriggerLinkActionRequest**](DeleteTriggerLinkActionRequest.md)| 트리거와 연결할 액션 | 
 **platform** | **String**| platform | [optional] 

### Return type

null (empty response body)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="getAction"></a>
# **getAction**
> GetActionResponse getAction(packageName, actionName, opts)



액션 조회

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let packageName = "packageName_example"; // String | packageName

let actionName = "actionName_example"; // String | actionName

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.getAction(packageName, actionName, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **packageName** | **String**| packageName | 
 **actionName** | **String**| actionName | 
 **platform** | **String**| platform | [optional] 

### Return type

[**GetActionResponse**](GetActionResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="getActionActivationDetail"></a>
# **getActionActivationDetail**
> GetActivationDetailResponse getActionActivationDetail(packageName, actionName, activationId, opts)



액션의 특정 실행결과값 조회

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let packageName = "packageName_example"; // String | packageName

let actionName = "actionName_example"; // String | actionName

let activationId = "activationId_example"; // String | activationId

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.getActionActivationDetail(packageName, actionName, activationId, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **packageName** | **String**| packageName | 
 **actionName** | **String**| actionName | 
 **activationId** | **String**| activationId | 
 **platform** | **String**| platform | [optional] 

### Return type

[**GetActivationDetailResponse**](GetActivationDetailResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="getActionActivationList"></a>
# **getActionActivationList**
> GetActivationListResponse getActionActivationList(packageName, actionName, opts)



액션 실행 결과 조회

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let packageName = "packageName_example"; // String | packageName

let actionName = "actionName_example"; // String | actionName

let opts = { 
  'platform': "platform_example" // String | platform
  'pageSize': 20, // Number | 요청할 페이지의 사이즈
  'pageNo': 1, // Number | 요청할 페이지
  'start': new Date("2013-10-20T19:20:30+01:00"), // Date | yyyy-MM-ddTHH:mm:ss 포맷의 activation 조회 구간의 시작점
  'end': new Date("2013-10-20T19:20:30+01:00") // Date | yyyy-MM-ddTHH:mm:ss 포맷의 activation 조회 구간의 종료점
};
apiInstance.getActionActivationList(packageName, actionName, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **packageName** | **String**| packageName | 
 **actionName** | **String**| actionName | 
 **platform** | **String**| platform | [optional] 
 **pageSize** | **Number**| 요청할 페이지의 사이즈 | [optional] [default to 20]
 **pageNo** | **Number**| 요청할 페이지 | [optional] [default to 1]
 **start** | **Date**| yyyy-MM-ddTHH:mm:ss 포맷의 activation 조회 구간의 시작점 | [optional] 
 **end** | **Date**| yyyy-MM-ddTHH:mm:ss 포맷의 activation 조회 구간의 종료점 | [optional] 

### Return type

[**GetActivationListResponse**](GetActivationListResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="getActionList"></a>
# **getActionList**
> GetActionListResponse getActionList(packageName, opts)



액션 리스트 조회

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let packageName = "packageName_example"; // String | packageName

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.getActionList(packageName, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **packageName** | **String**| packageName | 
 **platform** | **String**| platform | [optional] 

### Return type

[**GetActionListResponse**](GetActionListResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="getActivationList"></a>
# **getActivationList**
> getActivationList(opts)



액션 실행 리스트 조회

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.getActivationList(opts).then(() => {
  console.log('API called successfully.');
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **platform** | **String**| platform | [optional] 

### Return type

null (empty response body)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="getPackage"></a>
# **getPackage**
> GetPackageResponse getPackage(packageName, opts)



특정 패키지 조회

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let packageName = "packageName_example"; // String | packageName

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.getPackage(packageName, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **packageName** | **String**| packageName | 
 **platform** | **String**| platform | [optional] 

### Return type

[**GetPackageResponse**](GetPackageResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="getPackageList"></a>
# **getPackageList**
> GetPackageListResponse getPackageList(opts)



패키지 조회

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.getPackageList(opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **platform** | **String**| platform | [optional] 

### Return type

[**GetPackageListResponse**](GetPackageListResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="getTrigger"></a>
# **getTrigger**
> GetTriggerResponse getTrigger(triggerName, opts)



트리거 조회

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let triggerName = "triggerName_example"; // String | triggerName

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.getTrigger(triggerName, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **triggerName** | **String**| triggerName | 
 **platform** | **String**| platform | [optional] 

### Return type

[**GetTriggerResponse**](GetTriggerResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="getTriggerActivationDetail"></a>
# **getTriggerActivationDetail**
> GetActivationDetailResponse getTriggerActivationDetail(triggerName, activationId, opts)



트리거 특정 실행결과 조회

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let triggerName = "triggerName_example"; // String | triggerName

let activationId = "activationId_example"; // String | activationId

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.getTriggerActivationDetail(triggerName, activationId, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **triggerName** | **String**| triggerName | 
 **activationId** | **String**| activationId | 
 **platform** | **String**| platform | [optional] 

### Return type

[**GetActivationDetailResponse**](GetActivationDetailResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="getTriggerActivationList"></a>
# **getTriggerActivationList**
> GetActivationListResponse getTriggerActivationList(triggerName, opts)



트리거 실행결과 리스트 조회

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let triggerName = "triggerName_example"; // String | triggerName

let opts = { 
  'platform': "platform_example" // String | platform
  'pageSize': 20, // Number | 요청할 페이지의 사이즈
  'pageNo': 1, // Number | 요청할 페이지
  'start': new Date("2013-10-20T19:20:30+01:00"), // Date | yyyy-MM-ddTHH:mm:ss 포맷의 activation 조회 구간의 시작점
  'end': new Date("2013-10-20T19:20:30+01:00") // Date | yyyy-MM-ddTHH:mm:ss 포맷의 activation 조회 구간의 종료점
};
apiInstance.getTriggerActivationList(triggerName, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **triggerName** | **String**| triggerName | 
 **platform** | **String**| platform | [optional] 
 **pageSize** | **Number**| 요청할 페이지의 사이즈 | [optional] [default to 20]
 **pageNo** | **Number**| 요청할 페이지 | [optional] [default to 1]
 **start** | **Date**| yyyy-MM-ddTHH:mm:ss 포맷의 activation 조회 구간의 시작점 | [optional] 
 **end** | **Date**| yyyy-MM-ddTHH:mm:ss 포맷의 activation 조회 구간의 종료점 | [optional] 

### Return type

[**GetActivationListResponse**](GetActivationListResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="getTriggerList"></a>
# **getTriggerList**
> GetTriggerListResponse getTriggerList(opts)



트리거 리스트 조회

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.getTriggerList(opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **platform** | **String**| platform | [optional] 

### Return type

[**GetTriggerListResponse**](GetTriggerListResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="postAction"></a>
# **postAction**
> PostActionResponse postAction(packageName, actionName, opts)



액션 실행

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let packageName = "packageName_example"; // String | packageName

let actionName = "actionName_example"; // String | actionName

let opts = { 
  'platform': "platform_example" // String | platform
  'timeout': 56 // Number | MAX 60000
};
apiInstance.postAction(packageName, actionName, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **packageName** | **String**| packageName | 
 **actionName** | **String**| actionName | 
 **platform** | **String**| platform | [optional] 
 **timeout** | **Number**| MAX 60000 | [optional] 

### Return type

[**PostActionResponse**](PostActionResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="postActionExternalLink"></a>
# **postActionExternalLink**
> PostActionExternalLinkResponse postActionExternalLink(packageName, actionName, apiGW, opts)



액션 외부 연결 주소 만들기

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let packageName = "packageName_example"; // String | packageName

let actionName = "actionName_example"; // String | actionName

let apiGW = new Api.PostActionExternalLinkRequest(); // PostActionExternalLinkRequest | 외부 연결 주소 생성을 위한 apiGW 리소스

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.postActionExternalLink(packageName, actionName, apiGW, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **packageName** | **String**| packageName | 
 **actionName** | **String**| actionName | 
 **apiGW** | [**PostActionExternalLinkRequest**](PostActionExternalLinkRequest.md)| 외부 연결 주소 생성을 위한 apiGW 리소스 | 
 **platform** | **String**| platform | [optional] 

### Return type

[**PostActionExternalLinkResponse**](PostActionExternalLinkResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="postTrigger"></a>
# **postTrigger**
> postTrigger(triggerName, opts)



트리거 실행

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let triggerName = "triggerName_example"; // String | triggerName

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.postTrigger(triggerName, opts).then(() => {
  console.log('API called successfully.');
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **triggerName** | **String**| triggerName | 
 **platform** | **String**| platform | [optional] 

### Return type

null (empty response body)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="postTriggerExternalLink"></a>
# **postTriggerExternalLink**
> PostTriggerExternalLinkResponse postTriggerExternalLink(triggerName, apiGW, opts)



트리거 외부 연결 주소 만들기

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let triggerName = "triggerName_example"; // String | triggerName

let apiGW = new Api.PostTriggerExternalLinkRequest(); // PostTriggerExternalLinkRequest | 외부 연결 주소 생성을 위한 apiGW 리소스

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.postTriggerExternalLink(triggerName, apiGW, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **triggerName** | **String**| triggerName | 
 **apiGW** | [**PostTriggerExternalLinkRequest**](PostTriggerExternalLinkRequest.md)| 외부 연결 주소 생성을 위한 apiGW 리소스 | 
 **platform** | **String**| platform | [optional] 

### Return type

[**PostTriggerExternalLinkResponse**](PostTriggerExternalLinkResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="postTriggerLinkAction"></a>
# **postTriggerLinkAction**
> PostTriggerLinkActionResponse postTriggerLinkAction(triggerName, action, opts)



트리거와 액션 연결

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let triggerName = "triggerName_example"; // String | triggerName

let action = new Api.PostTriggerLinkActionRequest(); // PostTriggerLinkActionRequest | 트리거와 연결할 액션

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.postTriggerLinkAction(triggerName, action, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **triggerName** | **String**| triggerName | 
 **action** | [**PostTriggerLinkActionRequest**](PostTriggerLinkActionRequest.md)| 트리거와 연결할 액션 | 
 **platform** | **String**| platform | [optional] 

### Return type

[**PostTriggerLinkActionResponse**](PostTriggerLinkActionResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="putAction"></a>
# **putAction**
> PutActionResponse putAction(packageName, actionNameaction, opts)



액션 생성, 수정

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let packageName = "packageName_example"; // String | packageName

let actionName = "actionName_example"; // String | actionName

let action = new Api.PutActionRequest(); // PutActionRequest | 업데이트할 액션

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.putAction(packageName, actionNameaction, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **packageName** | **String**| packageName | 
 **actionName** | **String**| actionName | 
 **action** | [**PutActionRequest**](PutActionRequest.md)| 업데이트할 액션 | 
 **platform** | **String**| platform | [optional] 

### Return type

[**PutActionResponse**](PutActionResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

<a name="putPackage"></a>
# **putPackage**
> PutPackageResponse putPackage(packageName_package, opts)



패키지 수정

### Example
```javascript
import Api from 'api';
let defaultClient = Api.ApiClient.instance;

// Configure API key authorization: x-ncp-iam
let x-ncp-iam = defaultClient.authentications['x-ncp-iam'];
x-ncp-iam.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//x-ncp-iam.apiKeyPrefix = 'Token';

let apiInstance = new Api.V2Api();

let packageName = "packageName_example"; // String | packageName

let _package = new Api.PutPackageRequest(); // PutPackageRequest | 업데이트할 패키지

let opts = { 
  'platform': "platform_example" // String | platform
};
apiInstance.putPackage(packageName_package, opts).then((data) => {
  console.log('API called successfully. Returned data: ' + data);
}, (error) => {
  console.error(error);
});

```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **packageName** | **String**| packageName | 
 **_package** | [**PutPackageRequest**](PutPackageRequest.md)| 업데이트할 패키지 | 
 **platform** | **String**| platform | [optional] 

### Return type

[**PutPackageResponse**](PutPackageResponse.md)

### Authorization

[x-ncp-iam](../README.md#x-ncp-iam)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: Not defined

