# duplocloud_sdk.RdsApiApi

All URIs are relative to *http://localhost*

Method | HTTP request | Description
------------- | ------------- | -------------
[**rds_api_createt_rds_tag**](RdsApiApi.md#rds_api_createt_rds_tag) | **POST** /v3/subscriptions/{subscriptionId}/aws/rds/{type}/{identifier}/tag | 
[**rds_api_delete_rds_tag**](RdsApiApi.md#rds_api_delete_rds_tag) | **DELETE** /v3/subscriptions/{subscriptionId}/aws/rds/{type}/{identifier}/tag/{tagKey} | 
[**rds_api_get_rds_tag**](RdsApiApi.md#rds_api_get_rds_tag) | **GET** /v3/subscriptions/{subscriptionId}/aws/rds/{type}/{identifier}/tag/{tagKey} | 
[**rds_api_list_rds_tags**](RdsApiApi.md#rds_api_list_rds_tags) | **GET** /v3/subscriptions/{subscriptionId}/aws/rds/{type}/{identifier}/tag | 
[**rds_api_update_rds_tag**](RdsApiApi.md#rds_api_update_rds_tag) | **PUT** /v3/subscriptions/{subscriptionId}/aws/rds/{type}/{identifier}/tag/{tagKey} | 


# **rds_api_createt_rds_tag**
> CustomData rds_api_createt_rds_tag(subscription_id, type, identifier, custom_data=custom_data)

### Example

* Bearer (Duplo token) Authentication (bearerAuth):

```python
import duplocloud_sdk
from duplocloud_sdk.models.custom_data import CustomData
from duplocloud_sdk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = duplocloud_sdk.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization (Duplo token): bearerAuth
configuration = duplocloud_sdk.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with duplocloud_sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = duplocloud_sdk.RdsApiApi(api_client)
    subscription_id = 'subscription_id_example' # str | 
    type = 'type_example' # str | 
    identifier = 'identifier_example' # str | 
    custom_data = duplocloud_sdk.CustomData() # CustomData |  (optional)

    try:
        api_response = api_instance.rds_api_createt_rds_tag(subscription_id, type, identifier, custom_data=custom_data)
        print("The response of RdsApiApi->rds_api_createt_rds_tag:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RdsApiApi->rds_api_createt_rds_tag: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **subscription_id** | **str**|  | 
 **type** | **str**|  | 
 **identifier** | **str**|  | 
 **custom_data** | [**CustomData**](CustomData.md)|  | [optional] 

### Return type

[**CustomData**](CustomData.md)

### Authorization

[bearerAuth](../README.md#bearerAuth)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** |  |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **rds_api_delete_rds_tag**
> rds_api_delete_rds_tag(subscription_id, type, identifier, tag_key)

### Example

* Bearer (Duplo token) Authentication (bearerAuth):

```python
import duplocloud_sdk
from duplocloud_sdk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = duplocloud_sdk.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization (Duplo token): bearerAuth
configuration = duplocloud_sdk.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with duplocloud_sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = duplocloud_sdk.RdsApiApi(api_client)
    subscription_id = 'subscription_id_example' # str | 
    type = 'type_example' # str | 
    identifier = 'identifier_example' # str | 
    tag_key = 'tag_key_example' # str | 

    try:
        api_instance.rds_api_delete_rds_tag(subscription_id, type, identifier, tag_key)
    except Exception as e:
        print("Exception when calling RdsApiApi->rds_api_delete_rds_tag: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **subscription_id** | **str**|  | 
 **type** | **str**|  | 
 **identifier** | **str**|  | 
 **tag_key** | **str**|  | 

### Return type

void (empty response body)

### Authorization

[bearerAuth](../README.md#bearerAuth)

### HTTP request headers

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

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**204** |  |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **rds_api_get_rds_tag**
> CustomData rds_api_get_rds_tag(subscription_id, type, identifier, tag_key)

### Example

* Bearer (Duplo token) Authentication (bearerAuth):

```python
import duplocloud_sdk
from duplocloud_sdk.models.custom_data import CustomData
from duplocloud_sdk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = duplocloud_sdk.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization (Duplo token): bearerAuth
configuration = duplocloud_sdk.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with duplocloud_sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = duplocloud_sdk.RdsApiApi(api_client)
    subscription_id = 'subscription_id_example' # str | 
    type = 'type_example' # str | 
    identifier = 'identifier_example' # str | 
    tag_key = 'tag_key_example' # str | 

    try:
        api_response = api_instance.rds_api_get_rds_tag(subscription_id, type, identifier, tag_key)
        print("The response of RdsApiApi->rds_api_get_rds_tag:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RdsApiApi->rds_api_get_rds_tag: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **subscription_id** | **str**|  | 
 **type** | **str**|  | 
 **identifier** | **str**|  | 
 **tag_key** | **str**|  | 

### Return type

[**CustomData**](CustomData.md)

### Authorization

[bearerAuth](../README.md#bearerAuth)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** |  |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **rds_api_list_rds_tags**
> List[CustomData] rds_api_list_rds_tags(subscription_id, type, identifier)

### Example

* Bearer (Duplo token) Authentication (bearerAuth):

```python
import duplocloud_sdk
from duplocloud_sdk.models.custom_data import CustomData
from duplocloud_sdk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = duplocloud_sdk.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization (Duplo token): bearerAuth
configuration = duplocloud_sdk.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with duplocloud_sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = duplocloud_sdk.RdsApiApi(api_client)
    subscription_id = 'subscription_id_example' # str | 
    type = 'type_example' # str | 
    identifier = 'identifier_example' # str | 

    try:
        api_response = api_instance.rds_api_list_rds_tags(subscription_id, type, identifier)
        print("The response of RdsApiApi->rds_api_list_rds_tags:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RdsApiApi->rds_api_list_rds_tags: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **subscription_id** | **str**|  | 
 **type** | **str**|  | 
 **identifier** | **str**|  | 

### Return type

[**List[CustomData]**](CustomData.md)

### Authorization

[bearerAuth](../README.md#bearerAuth)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** |  |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **rds_api_update_rds_tag**
> CustomData rds_api_update_rds_tag(subscription_id, type, identifier, tag_key, custom_data=custom_data)

### Example

* Bearer (Duplo token) Authentication (bearerAuth):

```python
import duplocloud_sdk
from duplocloud_sdk.models.custom_data import CustomData
from duplocloud_sdk.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = duplocloud_sdk.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization (Duplo token): bearerAuth
configuration = duplocloud_sdk.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)

# Enter a context with an instance of the API client
with duplocloud_sdk.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = duplocloud_sdk.RdsApiApi(api_client)
    subscription_id = 'subscription_id_example' # str | 
    type = 'type_example' # str | 
    identifier = 'identifier_example' # str | 
    tag_key = 'tag_key_example' # str | 
    custom_data = duplocloud_sdk.CustomData() # CustomData |  (optional)

    try:
        api_response = api_instance.rds_api_update_rds_tag(subscription_id, type, identifier, tag_key, custom_data=custom_data)
        print("The response of RdsApiApi->rds_api_update_rds_tag:\n")
        pprint(api_response)
    except Exception as e:
        print("Exception when calling RdsApiApi->rds_api_update_rds_tag: %s\n" % e)
```



### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **subscription_id** | **str**|  | 
 **type** | **str**|  | 
 **identifier** | **str**|  | 
 **tag_key** | **str**|  | 
 **custom_data** | [**CustomData**](CustomData.md)|  | [optional] 

### Return type

[**CustomData**](CustomData.md)

### Authorization

[bearerAuth](../README.md#bearerAuth)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

### HTTP response details

| Status code | Description | Response headers |
|-------------|-------------|------------------|
**200** |  |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

