// Code generated by internal/generate/servicepackages/main.go; DO NOT EDIT.

package dynamodb

import (
	"context"

	"github.com/hashicorp/terraform-provider-aws/internal/types"
	"github.com/hashicorp/terraform-provider-aws/names"
)

type servicePackage struct{}

func (p *servicePackage) FrameworkDataSources(ctx context.Context) []*types.ServicePackageFrameworkDataSource {
	return []*types.ServicePackageFrameworkDataSource{}
}

func (p *servicePackage) FrameworkResources(ctx context.Context) []*types.ServicePackageFrameworkResource {
	return []*types.ServicePackageFrameworkResource{}
}

func (p *servicePackage) SDKDataSources(ctx context.Context) []*types.ServicePackageSDKDataSource {
	return []*types.ServicePackageSDKDataSource{
		{
			Factory:  DataSourceTable,
			TypeName: "aws_dynamodb_table",
		},
		{
			Factory:  DataSourceTableItem,
			TypeName: "aws_dynamodb_table_item",
		},
	}
}

func (p *servicePackage) SDKResources(ctx context.Context) []*types.ServicePackageSDKResource {
	return []*types.ServicePackageSDKResource{
		{
			Factory:  ResourceContributorInsights,
			TypeName: "aws_dynamodb_contributor_insights",
		},
		{
			Factory:  ResourceGlobalTable,
			TypeName: "aws_dynamodb_global_table",
		},
		{
			Factory:  ResourceKinesisStreamingDestination,
			TypeName: "aws_dynamodb_kinesis_streaming_destination",
		},
		{
			Factory:  ResourceTable,
			TypeName: "aws_dynamodb_table",
			Name:     "Table",
			Tags: &types.ServicePackageResourceTags{
				IdentifierAttribute: "arn",
			},
		},
		{
			Factory:  ResourceTableItem,
			TypeName: "aws_dynamodb_table_item",
		},
		{
			Factory:  ResourceTableReplica,
			TypeName: "aws_dynamodb_table_replica",
			Name:     "Table Replica",
			Tags:     &types.ServicePackageResourceTags{},
		},
		{
			Factory:  ResourceTag,
			TypeName: "aws_dynamodb_tag",
		},
	}
}

func (p *servicePackage) ServicePackageName() string {
	return names.DynamoDB
}

var ServicePackage = &servicePackage{}
