Skip to main content

data_providers

Creates, updates, deletes or gets a data_provider resource or lists data_providers in a region

Overview

Namedata_providers
TypeResource
DescriptionResource schema for AWS::DMS::DataProvider
Idaws.dms.data_providers

Fields

NameDatatypeDescription
data_provider_namestringThe property describes a name to identify the data provider.
data_provider_identifierstringThe property describes an identifier for the data provider. It is used for describing/deleting/modifying can be name/arn
data_provider_arnstringThe data provider ARN.
data_provider_creation_timestringThe data provider creation time.
descriptionstringThe optional description of the data provider.
enginestringThe property describes a data engine for the data provider.
exact_settingsbooleanThe property describes the exact settings which can be modified
settingsobjectThe property identifies the exact type of settings for the data provider.
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTEngine, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all data_providers in a region.

SELECT
region,
data_provider_name,
data_provider_identifier,
data_provider_arn,
data_provider_creation_time,
description,
engine,
exact_settings,
settings,
tags
FROM aws.dms.data_providers
WHERE region = 'us-east-1';

Gets all properties from an individual data_provider.

SELECT
region,
data_provider_name,
data_provider_identifier,
data_provider_arn,
data_provider_creation_time,
description,
engine,
exact_settings,
settings,
tags
FROM aws.dms.data_providers
WHERE region = 'us-east-1' AND data__Identifier = '<DataProviderArn>';

INSERT example

Use the following StackQL query and manifest file to create a new data_provider resource, using stack-deploy.

/*+ create */
INSERT INTO aws.dms.data_providers (
Engine,
region
)
SELECT
'{{ Engine }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.dms.data_providers
WHERE data__Identifier = '<DataProviderArn>'
AND region = 'us-east-1';

Permissions

To operate on the data_providers resource, the following permissions are required:

Create

dms:CreateDataProvider,
dms:ListDataProviders,
dms:DescribeDataProviders,
dms:AddTagsToResource,
dms:ListTagsForResource

Read

dms:ListDataProviders,
dms:DescribeDataProviders,
dms:ListTagsForResource

Update

dms:UpdateDataProvider,
dms:ModifyDataProvider,
dms:AddTagsToResource,
dms:RemoveTagsToResource,
dms:ListTagsForResource

Delete

dms:DeleteDataProvider

List

dms:ListDataProviders,
dms:DescribeDataProviders,
dms:ListTagsForResource