Skip to content

Commit

Permalink
Update aws sdk (#49)
Browse files Browse the repository at this point in the history
* Update aws sdk

* Update docs
  • Loading branch information
taahamahdi authored Oct 18, 2023
1 parent 564da12 commit 51740a7
Show file tree
Hide file tree
Showing 26 changed files with 234 additions and 74 deletions.
40 changes: 40 additions & 0 deletions client/mocks/ec2.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions client/mocks/iam.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions client/mocks/rds.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions client/services/ec2.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/services/iam.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions client/services/rds.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/tables/aws_ec2_ebs_snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ The primary key for this table is **arn**.
|progress|String|
|restore_expiry_time|Timestamp|
|snapshot_id|String|
|sse_type|String|
|start_time|Timestamp|
|state|String|
|state_message|String|
Expand Down
1 change: 1 addition & 0 deletions docs/tables/aws_ec2_ebs_volumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ The primary key for this table is **arn**.
|outpost_arn|String|
|size|Int|
|snapshot_id|String|
|sse_type|String|
|state|String|
|tags|JSON|
|throughput|Int|
Expand Down
1 change: 1 addition & 0 deletions docs/tables/aws_ec2_hosts.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ The primary key for this table is **arn**.
|arn (PK)|String|
|allocation_time|Timestamp|
|allows_multiple_instance_types|String|
|asset_id|String|
|auto_placement|String|
|availability_zone|String|
|availability_zone_id|String|
Expand Down
3 changes: 3 additions & 0 deletions docs/tables/aws_ec2_instance_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ The primary key for this table is **arn**.
|instance_type|String|
|memory_info|JSON|
|network_info|JSON|
|nitro_enclaves_support|String|
|nitro_tpm_info|JSON|
|nitro_tpm_support|String|
|placement_group_info|JSON|
|processor_info|JSON|
|supported_boot_modes|StringArray|
Expand Down
1 change: 1 addition & 0 deletions docs/tables/aws_rds_cluster_snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ The primary key for this table is **arn**.
|db_cluster_identifier|String|
|db_cluster_snapshot_identifier|String|
|db_system_id|String|
|db_cluster_resource_id|String|
|engine|String|
|engine_mode|String|
|engine_version|String|
Expand Down
2 changes: 2 additions & 0 deletions docs/tables/aws_rds_clusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ The primary key for this table is **arn**.
|auto_minor_version_upgrade|Bool|
|automatic_restart_time|Timestamp|
|availability_zones|StringArray|
|aws_backup_recovery_point_arn|String|
|backtrack_consumed_change_records|Int|
|backtrack_window|Int|
|backup_retention_period|Int|
Expand Down Expand Up @@ -64,6 +65,7 @@ The primary key for this table is **arn**.
|iops|Int|
|kms_key_id|String|
|latest_restorable_time|Timestamp|
|local_write_forwarding_status|String|
|master_user_secret|JSON|
|master_username|String|
|monitoring_interval|Int|
Expand Down
1 change: 1 addition & 0 deletions docs/tables/aws_rds_db_snapshots.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ The primary key for this table is **arn**.
|availability_zone|String|
|db_instance_identifier|String|
|db_snapshot_identifier|String|
|db_system_id|String|
|dbi_resource_id|String|
|encrypted|Bool|
|engine|String|
Expand Down
1 change: 1 addition & 0 deletions docs/tables/aws_rds_engine_versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ The following tables depend on aws_rds_engine_versions:
|supports_babelfish|Bool|
|supports_certificate_rotation_without_restart|Bool|
|supports_global_databases|Bool|
|supports_local_write_forwarding|Bool|
|supports_log_exports_to_cloudwatch_logs|Bool|
|supports_parallel_query|Bool|
|supports_read_replica|Bool|
Expand Down
1 change: 1 addition & 0 deletions docs/tables/aws_rds_instances.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ The primary key for this table is **arn**.
|network_type|String|
|option_group_memberships|JSON|
|pending_modified_values|JSON|
|percent_progress|String|
|performance_insights_enabled|Bool|
|performance_insights_kms_key_id|String|
|performance_insights_retention_period|Int|
Expand Down
52 changes: 26 additions & 26 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ go 1.19

require (
github.com/OpsHelmInc/ohaws v0.0.0-20230526181655-062369d4f0a8
github.com/aws/aws-sdk-go-v2 v1.18.1
github.com/aws/aws-sdk-go-v2/config v1.18.25
github.com/aws/aws-sdk-go-v2 v1.21.0
github.com/aws/aws-sdk-go-v2/config v1.18.41
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.63
github.com/aws/aws-sdk-go-v2/service/accessanalyzer v1.19.10
github.com/aws/aws-sdk-go-v2/service/account v1.10.8
Expand Down Expand Up @@ -33,7 +33,7 @@ require (
github.com/aws/aws-sdk-go-v2/service/directconnect v1.18.17
github.com/aws/aws-sdk-go-v2/service/docdb v1.21.1
github.com/aws/aws-sdk-go-v2/service/dynamodb v1.19.5
github.com/aws/aws-sdk-go-v2/service/ec2 v1.98.0
github.com/aws/aws-sdk-go-v2/service/ec2 v1.119.0
github.com/aws/aws-sdk-go-v2/service/ecr v1.18.9
github.com/aws/aws-sdk-go-v2/service/ecrpublic v1.16.0
github.com/aws/aws-sdk-go-v2/service/ecs v1.27.1
Expand All @@ -51,7 +51,7 @@ require (
github.com/aws/aws-sdk-go-v2/service/fsx v1.28.10
github.com/aws/aws-sdk-go-v2/service/glacier v1.14.9
github.com/aws/aws-sdk-go-v2/service/guardduty v1.21.0
github.com/aws/aws-sdk-go-v2/service/iam v1.19.12
github.com/aws/aws-sdk-go-v2/service/iam v1.22.5
github.com/aws/aws-sdk-go-v2/service/identitystore v1.16.9
github.com/aws/aws-sdk-go-v2/service/inspector v1.13.8
github.com/aws/aws-sdk-go-v2/service/inspector2 v1.11.9
Expand All @@ -68,13 +68,13 @@ require (
github.com/aws/aws-sdk-go-v2/service/qldb v1.15.11
github.com/aws/aws-sdk-go-v2/service/quicksight v1.34.1
github.com/aws/aws-sdk-go-v2/service/ram v1.18.4
github.com/aws/aws-sdk-go-v2/service/rds v1.44.1
github.com/aws/aws-sdk-go-v2/service/rds v1.54.0
github.com/aws/aws-sdk-go-v2/service/redshift v1.27.9
github.com/aws/aws-sdk-go-v2/service/resourcegroups v1.14.9
github.com/aws/aws-sdk-go-v2/service/route53 v1.27.7
github.com/aws/aws-sdk-go-v2/service/route53domains v1.14.8
github.com/aws/aws-sdk-go-v2/service/s3 v1.33.1
github.com/aws/aws-sdk-go-v2/service/s3control v1.31.5
github.com/aws/aws-sdk-go-v2/service/s3 v1.39.0
github.com/aws/aws-sdk-go-v2/service/s3control v1.33.0
github.com/aws/aws-sdk-go-v2/service/sagemaker v1.74.0
github.com/aws/aws-sdk-go-v2/service/scheduler v1.1.11
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.19.8
Expand All @@ -87,31 +87,31 @@ require (
github.com/aws/aws-sdk-go-v2/service/sqs v1.22.0
github.com/aws/aws-sdk-go-v2/service/ssm v1.36.2
github.com/aws/aws-sdk-go-v2/service/ssoadmin v1.16.12
github.com/aws/aws-sdk-go-v2/service/sts v1.19.2
github.com/aws/aws-sdk-go-v2/service/sts v1.22.0
github.com/aws/aws-sdk-go-v2/service/timestreamwrite v1.16.4
github.com/aws/aws-sdk-go-v2/service/waf v1.12.8
github.com/aws/aws-sdk-go-v2/service/wafv2 v1.30.0
github.com/aws/aws-sdk-go-v2/service/workspaces v1.28.9
github.com/aws/aws-sdk-go-v2/service/xray v1.16.9
github.com/aws/smithy-go v1.13.5
github.com/aws/smithy-go v1.14.2
github.com/basgys/goxml2json v1.1.0
github.com/cloudquery/plugin-sdk v1.11.2
github.com/gocarina/gocsv v0.0.0-20230406101422-6445c2b15027
github.com/gocarina/gocsv v0.0.0-20230616125104-99d496ca653d
github.com/golang/mock v1.6.0
github.com/google/go-cmp v0.5.9
github.com/mitchellh/mapstructure v1.5.0
github.com/rs/zerolog v1.29.1
github.com/stretchr/testify v1.8.3
github.com/stretchr/testify v1.8.4
github.com/thoas/go-funk v0.9.3
golang.org/x/sync v0.1.0
)

require (
github.com/aws/aws-sdk-go-v2/credentials v1.13.24 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.25 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.28 // indirect
github.com/aws/aws-sdk-go-v2/service/networkfirewall v1.28.0 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.10 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.13.39 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.1.4 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.36 // indirect
github.com/aws/aws-sdk-go-v2/service/networkfirewall v1.30.0 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.17.0 // indirect
github.com/bitly/go-simplejson v0.5.0 // indirect
github.com/getsentry/sentry-go v0.20.0 // indirect
github.com/grpc-ecosystem/go-grpc-middleware/providers/zerolog/v2 v2.0.0-rc.3 // indirect
Expand All @@ -120,27 +120,27 @@ require (
github.com/spf13/cast v1.5.0 // indirect
github.com/spf13/cobra v1.7.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/tidwall/gjson v1.14.4 // indirect
github.com/tidwall/gjson v1.16.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.1 // indirect
golang.org/x/exp v0.0.0-20230420155640-133eef4313cb // indirect
)

require (
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.3 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.34 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.28 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.34 // indirect
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.13 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.11 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.41 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.35 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.42 // indirect
github.com/aws/aws-sdk-go-v2/service/athena v1.25.2
github.com/aws/aws-sdk-go-v2/service/backup v1.20.9
github.com/aws/aws-sdk-go-v2/service/glue v1.45.3
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.14 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/endpoint-discovery v1.7.26 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.28 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.2 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.35 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.15.4 // indirect
github.com/aws/aws-sdk-go-v2/service/shield v1.18.8
github.com/aws/aws-sdk-go-v2/service/sso v1.12.10 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.14.0 // indirect
github.com/aws/aws-sdk-go-v2/service/transfer v1.28.10
github.com/aws/aws-sdk-go-v2/service/wafregional v1.13.10
github.com/davecgh/go-spew v1.1.1 // indirect
Expand Down
Loading

0 comments on commit 51740a7

Please sign in to comment.