Skip to content

Commit

Permalink
Update the COnstant naming and added README.md fie about how to run t…
Browse files Browse the repository at this point in the history
…he script
  • Loading branch information
ParthaI committed Feb 7, 2025
1 parent da0fb2b commit 41d5014
Show file tree
Hide file tree
Showing 370 changed files with 3,779 additions and 1,187 deletions.
2 changes: 1 addition & 1 deletion aws/multi_region.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func AllRegionsMatrix(ctx context.Context, d *plugin.QueryData) []map[string]int
// _metric_ tables must all be limited to the CloudWatch service regions.
// This is a convenience function for them to use.
func CloudWatchRegionsMatrix(ctx context.Context, d *plugin.QueryData) []map[string]interface{} {
return SupportedRegionMatrixWithExclusions(cloudwatchEndpoint.MONITORINGServiceID, []string{})(ctx, d)
return SupportedRegionMatrixWithExclusions(cloudwatchEndpoint.AWS_MONITORING_SERVICE_ID, []string{})(ctx, d)
}

// Return a matrix of regions supported by serviceID, which will then be
Expand Down
134 changes: 67 additions & 67 deletions aws/service.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion aws/table_aws_acm_certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func tableAwsAcmCertificate(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "acm", "action": "ListTagsForCertificate"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(acmEndpointId.ACMServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(acmEndpointId.AWS_ACM_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "certificate_arn",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_acmpca_certificate_authority.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func tableAwsAcmPcaCertificateAuthority(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "acm-pca", "action": "ListTags"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(acmpcaEndpointId.ACM_PCAServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(acmpcaEndpointId.AWS_ACM_PCA_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "arn",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_amplify_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func tableAwsAmplifyApp(_ context.Context) *plugin.Table {
Hydrate: listAmplifyApps,
Tags: map[string]string{"service": "amplify", "action": "ListApps"},
},
GetMatrixItemFunc: SupportedRegionMatrix(amplifyEndpointId.AMPLIFYServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(amplifyEndpointId.AWS_AMPLIFY_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "app_id",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_api_gateway_api_authorizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func tableAwsAPIGatewayAuthorizer(_ context.Context) *plugin.Table {
Hydrate: listRestAPIAuthorizers,
Tags: map[string]string{"service": "apigateway", "action": "GetAuthorizers"},
},
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.APIGATEWAYServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.AWS_APIGATEWAY_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "id",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_api_gateway_api_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func tableAwsAPIGatewayAPIKey(_ context.Context) *plugin.Table {
},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.APIGATEWAYServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.AWS_APIGATEWAY_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_api_gateway_domain_name.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func tableAwsAPIGatewayDomainName(_ context.Context) *plugin.Table {
Hydrate: listApiGatewayDomainNames,
Tags: map[string]string{"service": "apigateway", "action": "GetDomainNames"},
},
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.APIGATEWAYServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.AWS_APIGATEWAY_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "domain_name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_api_gateway_method.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func tableAwsAPIGatewayMethod(_ context.Context) *plugin.Table {
},
Tags: map[string]string{"service": "apigateway", "action": "GetResources"},
},
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.APIGATEWAYServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.AWS_APIGATEWAY_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "rest_api_id",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_api_gateway_rest_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func tableAwsAPIGatewayRestAPI(_ context.Context) *plugin.Table {
Hydrate: listRestAPI,
Tags: map[string]string{"service": "apigateway", "action": "GetRestApis"},
},
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.APIGATEWAYServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.AWS_APIGATEWAY_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_api_gateway_stage.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func tableAwsAPIGatewayStage(_ context.Context) *plugin.Table {
Hydrate: listAPIGatewayStage,
Tags: map[string]string{"service": "apigateway", "action": "GetStages"},
},
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.APIGATEWAYServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.AWS_APIGATEWAY_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_api_gateway_usage_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func tableAwsAPIGatewayUsagePlan(_ context.Context) *plugin.Table {
Hydrate: listUsagePlans,
Tags: map[string]string{"service": "apigateway", "action": "GetUsagePlans"},
},
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.APIGATEWAYServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayEndpointId.AWS_APIGATEWAY_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_api_gatewayv2_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func tableAwsAPIGatewayV2Api(_ context.Context) *plugin.Table {
Hydrate: listAPIGatewayV2API,
Tags: map[string]string{"service": "apigateway", "action": "GetApis"},
},
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayv2EndpointId.APIGATEWAYServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayv2EndpointId.AWS_APIGATEWAY_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_api_gatewayv2_domain_name.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func tableAwsAPIGatewayV2DomainName(_ context.Context) *plugin.Table {
Hydrate: listDomainNames,
Tags: map[string]string{"service": "apigateway", "action": "GetDomainNames"},
},
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayv2EndpointId.APIGATEWAYServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayv2EndpointId.AWS_APIGATEWAY_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "domain_name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_api_gatewayv2_integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func tableAwsAPIGatewayV2Integration(_ context.Context) *plugin.Table {
Hydrate: listAPIGatewayV2Integrations,
Tags: map[string]string{"service": "apigateway", "action": "GetIntegrations"},
},
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayv2EndpointId.APIGATEWAYServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayv2EndpointId.AWS_APIGATEWAY_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "integration_id",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_api_gatewayv2_route.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func tableAwsAPIGatewayV2Route(_ context.Context) *plugin.Table {
Hydrate: listAPIGatewayV2Routes,
Tags: map[string]string{"service": "apigateway", "action": "GetRoutes"},
},
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayv2EndpointId.APIGATEWAYServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayv2EndpointId.AWS_APIGATEWAY_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "route_key",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_api_gatewayv2_stage.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func tableAwsAPIGatewayV2Stage(_ context.Context) *plugin.Table {
Hydrate: listAPIGatewayV2Stages,
Tags: map[string]string{"service": "apigateway", "action": "GetStages"},
},
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayv2EndpointId.APIGATEWAYServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(apigatewayv2EndpointId.AWS_APIGATEWAY_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "stage_name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_app_runner_Service.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func tableAwsAppRunnerService(_ context.Context) *plugin.Table {
Hydrate: listAwsAppRunnerServices,
Tags: map[string]string{"service": "apprunner", "action": "ListServices"},
},
GetMatrixItemFunc: SupportedRegionMatrix(apprunnerEndpointId.APPRUNNERServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(apprunnerEndpointId.AWS_APPRUNNER_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "service_name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_appautoscaling_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func tableAwsAppAutoScalingPolicy(_ context.Context) *plugin.Table {
},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(applicationautoscalingEndpoint.APPLICATION_AUTOSCALINGServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(applicationautoscalingEndpoint.AWS_APPLICATION_AUTOSCALING_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "policy_arn",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_appautoscaling_target.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func tableAwsAppAutoScalingTarget(_ context.Context) *plugin.Table {
},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(applicationautoscalingEndpoint.APPLICATION_AUTOSCALINGServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(applicationautoscalingEndpoint.AWS_APPLICATION_AUTOSCALING_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "service_namespace",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_appconfig_application.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func tableAwsAppConfigApplication(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "appconfig", "action": "ListTagsForResource"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(appconfigEndpoint.APPCONFIGServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(appconfigEndpoint.AWS_APPCONFIG_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "id",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_appstream_fleet.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func tableAwsAppStreamFleet(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "appstream", "action": "ListTagsForResource"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(appstreamEndpoint.APPSTREAM2ServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(appstreamEndpoint.AWS_APPSTREAM2_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_appstream_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func tableAwsAppStreamImage(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "appstream", "action": "ListTagsForResource"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(appstreamEndpoint.APPSTREAM2ServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(appstreamEndpoint.AWS_APPSTREAM2_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_appsync_graphql_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func tableAwsAppsyncGraphQLApi(_ context.Context) *plugin.Table {
},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(appsyncEndpoint.APPSYNCServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(appsyncEndpoint.AWS_APPSYNC_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{

{
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_athena_query_execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func tableAwsAthenaQueryExecution(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "athena", "action": "GetQueryExecution"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(athenaEndpoint.ATHENAServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(athenaEndpoint.AWS_ATHENA_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "id",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_athena_workgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func tableAwsAthenaWorkGroup(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "athena", "action": "GetWorkGroup"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(athenaEndpoint.ATHENAServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(athenaEndpoint.AWS_ATHENA_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_auditmanager_assessment.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func tableAwsAuditManagerAssessment(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "auditmanager", "action": "GetAssessment"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(auditmanagerEndpoint.AUDITMANAGERServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(auditmanagerEndpoint.AWS_AUDITMANAGER_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_auditmanager_control.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func tableAwsAuditManagerControl(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "auditmanager", "action": "GetControl"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(auditmanagerEndpoint.AUDITMANAGERServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(auditmanagerEndpoint.AWS_AUDITMANAGER_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_auditmanager_evidence.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func tableAwsAuditManagerEvidence(_ context.Context) *plugin.Table {
Hydrate: listAuditManagerEvidences,
Tags: map[string]string{"service": "auditmanager", "action": "GetEvidenceByEvidenceFolder"},
},
GetMatrixItemFunc: SupportedRegionMatrix(auditmanagerEndpoint.AUDITMANAGERServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(auditmanagerEndpoint.AWS_AUDITMANAGER_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "id",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_auditmanager_evidence_folder.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func tableAwsAuditManagerEvidenceFolder(_ context.Context) *plugin.Table {
Hydrate: listAuditManagerEvidenceFolders,
Tags: map[string]string{"service": "auditmanager", "action": "GetEvidenceFoldersByAssessment"},
},
GetMatrixItemFunc: SupportedRegionMatrix(auditmanagerEndpoint.AUDITMANAGERServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(auditmanagerEndpoint.AWS_AUDITMANAGER_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_auditmanager_framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func tableAwsAuditManagerFramework(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "auditmanager", "action": "GetAssessmentFramework"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(auditmanagerEndpoint.AUDITMANAGERServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(auditmanagerEndpoint.AWS_AUDITMANAGER_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_backup_framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func tableAwsBackupFramework(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "backup", "action": "ListTags"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.BACKUPServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.AWS_BACKUP_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "framework_name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_backup_job.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func tableAwsBackupJob(_ context.Context) *plugin.Table {
Hydrate: listAwsBackupJobs,
Tags: map[string]string{"service": "backup", "action": "ListBackupJobs"},
},
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.BACKUPServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.AWS_BACKUP_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "job_id",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_backup_legal_hold.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func tableAwsBackupLegalHold(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "backup", "action": "GetLegalHold"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.BACKUPServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.AWS_BACKUP_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "legal_hold_id",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_backup_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func tableAwsBackupPlan(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "backup", "action": "ListTags"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.BACKUPServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.AWS_BACKUP_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_backup_protected_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func tableAwsBackupProtectedResource(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "backup", "action": "DescribeProtectedResource"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.BACKUPServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.AWS_BACKUP_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "resource_name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_backup_recovery_point.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func tableAwsBackupRecoveryPoint(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "backup", "action": "ListTags"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.BACKUPServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.AWS_BACKUP_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "backup_vault_name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_backup_report_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func tableAwsBackupReportPlan(_ context.Context) *plugin.Table {
Hydrate: listAwsBackupReportPlans,
Tags: map[string]string{"service": "backup", "action": "ListReportPlans"},
},
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.BACKUPServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.AWS_BACKUP_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "arn",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_backup_selection.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func tableAwsBackupSelection(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "backup", "action": "GetBackupSelection"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.BACKUPServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.AWS_BACKUP_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "selection_name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_backup_vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func tableAwsBackupVault(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "backup", "action": "ListTags"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.BACKUPServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(backupEndpoint.AWS_BACKUP_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_cloudcontrol_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func tableAwsCloudControlResource(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "cloudformation", "action": "GetResource"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(cloudcontrolapiEnspoint.CLOUDCONTROLAPIServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(cloudcontrolapiEnspoint.AWS_CLOUDCONTROLAPI_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "type_name",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_cloudformation_stack.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func tableAwsCloudFormationStack(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "cloudformation", "action": "DescribeStackResources"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(cloudformationEndpoint.CLOUDFORMATIONServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(cloudformationEndpoint.AWS_CLOUDFORMATION_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "id",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_cloudformation_stack_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func tableAwsCloudFormationStackResource(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "cloudformation", "action": "DescribeStackResource"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(cloudformationEndpoint.CLOUDFORMATIONServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(cloudformationEndpoint.AWS_CLOUDFORMATION_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "logical_resource_id",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_cloudformation_stack_set.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func tableAwsCloudFormationStackSet(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "cloudformation", "action": "DescribeStackSet"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(cloudformationEndpoint.CLOUDFORMATIONServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(cloudformationEndpoint.AWS_CLOUDFORMATION_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "stack_set_id",
Expand Down
2 changes: 1 addition & 1 deletion aws/table_aws_cloudsearch_domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func tableAwsCloudSearchDomain(_ context.Context) *plugin.Table {
Tags: map[string]string{"service": "cloudsearch", "action": "DescribeDomains"},
},
},
GetMatrixItemFunc: SupportedRegionMatrix(cloudsearchEndpoint.CLOUDSEARCHServiceID),
GetMatrixItemFunc: SupportedRegionMatrix(cloudsearchEndpoint.AWS_CLOUDSEARCH_SERVICE_ID),
Columns: awsRegionalColumns([]*plugin.Column{
{
Name: "domain_name",
Expand Down
Loading

0 comments on commit 41d5014

Please sign in to comment.