

# Tags: list tags


## URI


`/prod/tags/resource-arn`

## HTTP methods


### DELETE


**Operation ID:** `DeleteTags`


**Path parameters**  

| Name | Type | Required | Description | 
| --- |--- |--- |--- |
| resource-arn | String | True |  | 


**Query parameters**  

| Name | Type | Required | Description | 
| --- |--- |--- |--- |
| tagKeys | String | True |  | 


**Responses**  

| Status code | Response model | Description | 
| --- |--- |--- |
| 204 | None | 204 response | 
| 400 | InvalidRequest | 400 response | 
| 403 | AccessDenied | 403 response | 
| 404 | ResourceNotFound | 404 response | 
| 500 | InternalServiceError | 500 response | 

### GET


**Operation ID:** `ListTagsForResource`


**Path parameters**  

| Name | Type | Required | Description | 
| --- |--- |--- |--- |
| resource-arn | String | True |  | 


**Responses**  

| Status code | Response model | Description | 
| --- |--- |--- |
| 200 | TagsModel | 200 response | 
| 400 | InvalidRequest | 400 response | 
| 403 | AccessDenied | 403 response | 
| 404 | ResourceNotFound | 404 response | 
| 500 | InternalServiceError | 500 response | 

### POST


**Operation ID:** `CreateTags`


**Path parameters**  

| Name | Type | Required | Description | 
| --- |--- |--- |--- |
| resource-arn | String | True |  | 


**Responses**  

| Status code | Response model | Description | 
| --- |--- |--- |
| 204 | None | 204 response | 
| 400 | InvalidRequest | 400 response | 
| 403 | AccessDenied | 403 response | 
| 404 | ResourceNotFound | 404 response | 
| 500 | InternalServiceError | 500 response | 

## Schemas


### Request bodies


#### POST schema
POST

```
{
  "tags": {
  }
}
```

### Response bodies


#### TagsModel schema
TagsModel

```
{
  "tags": {
  }
}
```

#### InvalidRequest schema
InvalidRequest

```
{
  "message": "string"
}
```

#### AccessDenied schema
AccessDenied

```
{
  "message": "string"
}
```

#### ResourceNotFound schema
ResourceNotFound

```
{
  "message": "string"
}
```

#### InternalServiceError schema
InternalServiceError

```
{
  "message": "string"
}
```

## Properties


### AccessDenied



| Property | Type | Required | Description | 
| --- |--- |--- |--- |
| message | string | False |  | 

### InternalServiceError



| Property | Type | Required | Description | 
| --- |--- |--- |--- |
| message | string | False |  | 

### InvalidRequest



| Property | Type | Required | Description | 
| --- |--- |--- |--- |
| message | string | False |  | 

### ResourceNotFound



| Property | Type | Required | Description | 
| --- |--- |--- |--- |
| message | string | False |  | 

### Tags



| Property | Type | Required | Description | 
| --- |--- |--- |--- |
| `*` | string | False |  | 

### TagsModel



| Property | Type | Required | Description | 
| --- |--- |--- |--- |
| tags | [Tags](#tags-resource-arn-model-tags) | False |  | 

## See also


For more information about using this API in one of the language-specific AWS SDKs and references, see the following:

### DeleteTags

+ [AWS Command Line Interface V2](/goto/cli2/medialive-2017-10-14/DeleteTags)
+ [AWS SDK for .NET V4](/goto/DotNetSDKV4/medialive-2017-10-14/DeleteTags)
+ [AWS SDK for C\$1\$1](/goto/SdkForCpp/medialive-2017-10-14/DeleteTags)
+ [AWS SDK for Go v2](/goto/SdkForGoV2/medialive-2017-10-14/DeleteTags)
+ [AWS SDK for Java V2](/goto/SdkForJavaV2/medialive-2017-10-14/DeleteTags)
+ [AWS SDK for JavaScript V3](/goto/SdkForJavaScriptV3/medialive-2017-10-14/DeleteTags)
+ [AWS SDK for Kotlin](/goto/SdkForKotlin/medialive-2017-10-14/DeleteTags)
+ [AWS SDK for PHP V3](/goto/SdkForPHPV3/medialive-2017-10-14/DeleteTags)
+ [AWS SDK for Python](/goto/boto3/medialive-2017-10-14/DeleteTags)
+ [AWS SDK for Ruby V3](/goto/SdkForRubyV3/medialive-2017-10-14/DeleteTags)

### ListTagsForResource

+ [AWS Command Line Interface V2](/goto/cli2/medialive-2017-10-14/ListTagsForResource)
+ [AWS SDK for .NET V4](/goto/DotNetSDKV4/medialive-2017-10-14/ListTagsForResource)
+ [AWS SDK for C\$1\$1](/goto/SdkForCpp/medialive-2017-10-14/ListTagsForResource)
+ [AWS SDK for Go v2](/goto/SdkForGoV2/medialive-2017-10-14/ListTagsForResource)
+ [AWS SDK for Java V2](/goto/SdkForJavaV2/medialive-2017-10-14/ListTagsForResource)
+ [AWS SDK for JavaScript V3](/goto/SdkForJavaScriptV3/medialive-2017-10-14/ListTagsForResource)
+ [AWS SDK for Kotlin](/goto/SdkForKotlin/medialive-2017-10-14/ListTagsForResource)
+ [AWS SDK for PHP V3](/goto/SdkForPHPV3/medialive-2017-10-14/ListTagsForResource)
+ [AWS SDK for Python](/goto/boto3/medialive-2017-10-14/ListTagsForResource)
+ [AWS SDK for Ruby V3](/goto/SdkForRubyV3/medialive-2017-10-14/ListTagsForResource)

### CreateTags

+ [AWS Command Line Interface V2](/goto/cli2/medialive-2017-10-14/CreateTags)
+ [AWS SDK for .NET V4](/goto/DotNetSDKV4/medialive-2017-10-14/CreateTags)
+ [AWS SDK for C\$1\$1](/goto/SdkForCpp/medialive-2017-10-14/CreateTags)
+ [AWS SDK for Go v2](/goto/SdkForGoV2/medialive-2017-10-14/CreateTags)
+ [AWS SDK for Java V2](/goto/SdkForJavaV2/medialive-2017-10-14/CreateTags)
+ [AWS SDK for JavaScript V3](/goto/SdkForJavaScriptV3/medialive-2017-10-14/CreateTags)
+ [AWS SDK for Kotlin](/goto/SdkForKotlin/medialive-2017-10-14/CreateTags)
+ [AWS SDK for PHP V3](/goto/SdkForPHPV3/medialive-2017-10-14/CreateTags)
+ [AWS SDK for Python](/goto/boto3/medialive-2017-10-14/CreateTags)
+ [AWS SDK for Ruby V3](/goto/SdkForRubyV3/medialive-2017-10-14/CreateTags)