aws-sdk-configservice 1.0.0.rc12 → 1.0.0.rc13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-configservice.rb +1 -1
- data/lib/aws-sdk-configservice/client.rb +113 -17
- data/lib/aws-sdk-configservice/client_api.rb +32 -0
- data/lib/aws-sdk-configservice/types.rb +109 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f9309115bfc0e871937de35aaefa8418739c686
|
4
|
+
data.tar.gz: 87a68d2454b483446135f723f11b602a4c215e4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6bf53252e455459129f24df6f62ff5f2e99ab9a14d4d0be648e689de6a675f0293849d7b0e075130f40ae3746407979409c04e00e9adb05e1c50aa19a4c7375
|
7
|
+
data.tar.gz: 70b12ddefebade1231916add2620c282b0995160176c4912904ab30b0b97b77cf9fd7d32e9dfca70b987c6618018275dde0022e113d94a0c3def84209109b78b
|
@@ -664,7 +664,7 @@ module Aws::ConfigService
|
|
664
664
|
# resp.configuration_recorders[0].recording_group.all_supported #=> Boolean
|
665
665
|
# resp.configuration_recorders[0].recording_group.include_global_resource_types #=> Boolean
|
666
666
|
# resp.configuration_recorders[0].recording_group.resource_types #=> Array
|
667
|
-
# resp.configuration_recorders[0].recording_group.resource_types[0] #=> String, one of "AWS::EC2::CustomerGateway", "AWS::EC2::EIP", "AWS::EC2::Host", "AWS::EC2::Instance", "AWS::EC2::InternetGateway", "AWS::EC2::NetworkAcl", "AWS::EC2::NetworkInterface", "AWS::EC2::RouteTable", "AWS::EC2::SecurityGroup", "AWS::EC2::Subnet", "AWS::CloudTrail::Trail", "AWS::EC2::Volume", "AWS::EC2::VPC", "AWS::EC2::VPNConnection", "AWS::EC2::VPNGateway", "AWS::IAM::Group", "AWS::IAM::Policy", "AWS::IAM::Role", "AWS::IAM::User", "AWS::ACM::Certificate", "AWS::RDS::DBInstance", "AWS::RDS::DBSubnetGroup", "AWS::RDS::DBSecurityGroup", "AWS::RDS::DBSnapshot", "AWS::RDS::EventSubscription", "AWS::ElasticLoadBalancingV2::LoadBalancer", "AWS::S3::Bucket", "AWS::SSM::ManagedInstanceInventory", "AWS::Redshift::Cluster", "AWS::Redshift::ClusterSnapshot", "AWS::Redshift::ClusterParameterGroup", "AWS::Redshift::ClusterSecurityGroup", "AWS::Redshift::ClusterSubnetGroup", "AWS::Redshift::EventSubscription", "AWS::CloudWatch::Alarm"
|
667
|
+
# resp.configuration_recorders[0].recording_group.resource_types[0] #=> String, one of "AWS::EC2::CustomerGateway", "AWS::EC2::EIP", "AWS::EC2::Host", "AWS::EC2::Instance", "AWS::EC2::InternetGateway", "AWS::EC2::NetworkAcl", "AWS::EC2::NetworkInterface", "AWS::EC2::RouteTable", "AWS::EC2::SecurityGroup", "AWS::EC2::Subnet", "AWS::CloudTrail::Trail", "AWS::EC2::Volume", "AWS::EC2::VPC", "AWS::EC2::VPNConnection", "AWS::EC2::VPNGateway", "AWS::IAM::Group", "AWS::IAM::Policy", "AWS::IAM::Role", "AWS::IAM::User", "AWS::ACM::Certificate", "AWS::RDS::DBInstance", "AWS::RDS::DBSubnetGroup", "AWS::RDS::DBSecurityGroup", "AWS::RDS::DBSnapshot", "AWS::RDS::EventSubscription", "AWS::ElasticLoadBalancingV2::LoadBalancer", "AWS::S3::Bucket", "AWS::SSM::ManagedInstanceInventory", "AWS::Redshift::Cluster", "AWS::Redshift::ClusterSnapshot", "AWS::Redshift::ClusterParameterGroup", "AWS::Redshift::ClusterSecurityGroup", "AWS::Redshift::ClusterSubnetGroup", "AWS::Redshift::EventSubscription", "AWS::CloudWatch::Alarm", "AWS::CloudFormation::Stack"
|
668
668
|
#
|
669
669
|
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/DescribeConfigurationRecorders AWS API Documentation
|
670
670
|
#
|
@@ -954,14 +954,110 @@ module Aws::ConfigService
|
|
954
954
|
req.send_request(options)
|
955
955
|
end
|
956
956
|
|
957
|
+
# Returns the resource types, the number of each resource type, and the
|
958
|
+
# total number of resources that AWS Config is recording in this region
|
959
|
+
# for your AWS account.
|
960
|
+
#
|
961
|
+
# **Example**
|
962
|
+
#
|
963
|
+
# 1. AWS Config is recording three resource types in the US East (Ohio)
|
964
|
+
# Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3
|
965
|
+
# buckets.
|
966
|
+
#
|
967
|
+
# 2. You make a call to the `GetDiscoveredResourceCounts` action and
|
968
|
+
# specify that you want all resource types.
|
969
|
+
#
|
970
|
+
# 3. AWS Config returns the following:
|
971
|
+
#
|
972
|
+
# * The resource types (EC2 instances, IAM users, and S3 buckets)
|
973
|
+
#
|
974
|
+
# * The number of each resource type (25, 20, and 15)
|
975
|
+
#
|
976
|
+
# * The total number of all resources (60)
|
977
|
+
#
|
978
|
+
# The response is paginated. By default, AWS Config lists 100
|
979
|
+
# ResourceCount objects on each page. You can customize this number with
|
980
|
+
# the `limit` parameter. The response includes a `nextToken` string. To
|
981
|
+
# get the next page of results, run the request again and specify the
|
982
|
+
# string for the `nextToken` parameter.
|
983
|
+
#
|
984
|
+
# <note markdown="1"> If you make a call to the GetDiscoveredResourceCounts action, you may
|
985
|
+
# not immediately receive resource counts in the following situations:
|
986
|
+
#
|
987
|
+
# * You are a new AWS Config customer
|
988
|
+
#
|
989
|
+
# * You just enabled resource recording
|
990
|
+
#
|
991
|
+
# It may take a few minutes for AWS Config to record and count your
|
992
|
+
# resources. Wait a few minutes and then retry the
|
993
|
+
# GetDiscoveredResourceCounts action.
|
994
|
+
#
|
995
|
+
# </note>
|
996
|
+
#
|
997
|
+
# @option params [Array<String>] :resource_types
|
998
|
+
# The comma-separated list that specifies the resource types that you
|
999
|
+
# want the AWS Config to return. For example, (`"AWS::EC2::Instance"`,
|
1000
|
+
# `"AWS::IAM::User"`).
|
1001
|
+
#
|
1002
|
+
# If a value for `resourceTypes` is not specified, AWS Config returns
|
1003
|
+
# all resource types that AWS Config is recording in the region for your
|
1004
|
+
# account.
|
1005
|
+
#
|
1006
|
+
# <note markdown="1"> If the configuration recorder is turned off, AWS Config returns an
|
1007
|
+
# empty list of ResourceCount objects. If the configuration recorder is
|
1008
|
+
# not recording a specific resource type (for example, S3 buckets), that
|
1009
|
+
# resource type is not returned in the list of ResourceCount objects.
|
1010
|
+
#
|
1011
|
+
# </note>
|
1012
|
+
#
|
1013
|
+
# @option params [Integer] :limit
|
1014
|
+
# The maximum number of ResourceCount objects returned on each page. The
|
1015
|
+
# default is 100. You cannot specify a limit greater than 100. If you
|
1016
|
+
# specify 0, AWS Config uses the default.
|
1017
|
+
#
|
1018
|
+
# @option params [String] :next_token
|
1019
|
+
# The `nextToken` string returned on a previous page that you use to get
|
1020
|
+
# the next page of results in a paginated response.
|
1021
|
+
#
|
1022
|
+
# @return [Types::GetDiscoveredResourceCountsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1023
|
+
#
|
1024
|
+
# * {Types::GetDiscoveredResourceCountsResponse#total_discovered_resources #total_discovered_resources} => Integer
|
1025
|
+
# * {Types::GetDiscoveredResourceCountsResponse#resource_counts #resource_counts} => Array<Types::ResourceCount>
|
1026
|
+
# * {Types::GetDiscoveredResourceCountsResponse#next_token #next_token} => String
|
1027
|
+
#
|
1028
|
+
# @example Request syntax with placeholder values
|
1029
|
+
#
|
1030
|
+
# resp = client.get_discovered_resource_counts({
|
1031
|
+
# resource_types: ["StringWithCharLimit256"],
|
1032
|
+
# limit: 1,
|
1033
|
+
# next_token: "NextToken",
|
1034
|
+
# })
|
1035
|
+
#
|
1036
|
+
# @example Response structure
|
1037
|
+
#
|
1038
|
+
# resp.total_discovered_resources #=> Integer
|
1039
|
+
# resp.resource_counts #=> Array
|
1040
|
+
# resp.resource_counts[0].resource_type #=> String, one of "AWS::EC2::CustomerGateway", "AWS::EC2::EIP", "AWS::EC2::Host", "AWS::EC2::Instance", "AWS::EC2::InternetGateway", "AWS::EC2::NetworkAcl", "AWS::EC2::NetworkInterface", "AWS::EC2::RouteTable", "AWS::EC2::SecurityGroup", "AWS::EC2::Subnet", "AWS::CloudTrail::Trail", "AWS::EC2::Volume", "AWS::EC2::VPC", "AWS::EC2::VPNConnection", "AWS::EC2::VPNGateway", "AWS::IAM::Group", "AWS::IAM::Policy", "AWS::IAM::Role", "AWS::IAM::User", "AWS::ACM::Certificate", "AWS::RDS::DBInstance", "AWS::RDS::DBSubnetGroup", "AWS::RDS::DBSecurityGroup", "AWS::RDS::DBSnapshot", "AWS::RDS::EventSubscription", "AWS::ElasticLoadBalancingV2::LoadBalancer", "AWS::S3::Bucket", "AWS::SSM::ManagedInstanceInventory", "AWS::Redshift::Cluster", "AWS::Redshift::ClusterSnapshot", "AWS::Redshift::ClusterParameterGroup", "AWS::Redshift::ClusterSecurityGroup", "AWS::Redshift::ClusterSubnetGroup", "AWS::Redshift::EventSubscription", "AWS::CloudWatch::Alarm", "AWS::CloudFormation::Stack"
|
1041
|
+
# resp.resource_counts[0].count #=> Integer
|
1042
|
+
# resp.next_token #=> String
|
1043
|
+
#
|
1044
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCounts AWS API Documentation
|
1045
|
+
#
|
1046
|
+
# @overload get_discovered_resource_counts(params = {})
|
1047
|
+
# @param [Hash] params ({})
|
1048
|
+
def get_discovered_resource_counts(params = {}, options = {})
|
1049
|
+
req = build_request(:get_discovered_resource_counts, params)
|
1050
|
+
req.send_request(options)
|
1051
|
+
end
|
1052
|
+
|
957
1053
|
# Returns a list of configuration items for the specified resource. The
|
958
1054
|
# list contains details about each state of the resource during the
|
959
1055
|
# specified time interval.
|
960
1056
|
#
|
961
|
-
# The response is paginated
|
962
|
-
#
|
963
|
-
# the `limit` parameter. The response includes a `nextToken` string
|
964
|
-
#
|
1057
|
+
# The response is paginated. By default, AWS Config returns a limit of
|
1058
|
+
# 10 configuration items per page. You can customize this number with
|
1059
|
+
# the `limit` parameter. The response includes a `nextToken` string. To
|
1060
|
+
# get the next page of results, run the request again and specify the
|
965
1061
|
# string for the `nextToken` parameter.
|
966
1062
|
#
|
967
1063
|
# <note markdown="1"> Each call to the API is limited to span a duration of seven days. It
|
@@ -1007,7 +1103,7 @@ module Aws::ConfigService
|
|
1007
1103
|
# @example Request syntax with placeholder values
|
1008
1104
|
#
|
1009
1105
|
# resp = client.get_resource_config_history({
|
1010
|
-
# resource_type: "AWS::EC2::CustomerGateway", # required, accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm
|
1106
|
+
# resource_type: "AWS::EC2::CustomerGateway", # required, accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack
|
1011
1107
|
# resource_id: "ResourceId", # required
|
1012
1108
|
# later_time: Time.now,
|
1013
1109
|
# earlier_time: Time.now,
|
@@ -1026,7 +1122,7 @@ module Aws::ConfigService
|
|
1026
1122
|
# resp.configuration_items[0].configuration_state_id #=> String
|
1027
1123
|
# resp.configuration_items[0].configuration_item_md5_hash #=> String
|
1028
1124
|
# resp.configuration_items[0].arn #=> String
|
1029
|
-
# resp.configuration_items[0].resource_type #=> String, one of "AWS::EC2::CustomerGateway", "AWS::EC2::EIP", "AWS::EC2::Host", "AWS::EC2::Instance", "AWS::EC2::InternetGateway", "AWS::EC2::NetworkAcl", "AWS::EC2::NetworkInterface", "AWS::EC2::RouteTable", "AWS::EC2::SecurityGroup", "AWS::EC2::Subnet", "AWS::CloudTrail::Trail", "AWS::EC2::Volume", "AWS::EC2::VPC", "AWS::EC2::VPNConnection", "AWS::EC2::VPNGateway", "AWS::IAM::Group", "AWS::IAM::Policy", "AWS::IAM::Role", "AWS::IAM::User", "AWS::ACM::Certificate", "AWS::RDS::DBInstance", "AWS::RDS::DBSubnetGroup", "AWS::RDS::DBSecurityGroup", "AWS::RDS::DBSnapshot", "AWS::RDS::EventSubscription", "AWS::ElasticLoadBalancingV2::LoadBalancer", "AWS::S3::Bucket", "AWS::SSM::ManagedInstanceInventory", "AWS::Redshift::Cluster", "AWS::Redshift::ClusterSnapshot", "AWS::Redshift::ClusterParameterGroup", "AWS::Redshift::ClusterSecurityGroup", "AWS::Redshift::ClusterSubnetGroup", "AWS::Redshift::EventSubscription", "AWS::CloudWatch::Alarm"
|
1125
|
+
# resp.configuration_items[0].resource_type #=> String, one of "AWS::EC2::CustomerGateway", "AWS::EC2::EIP", "AWS::EC2::Host", "AWS::EC2::Instance", "AWS::EC2::InternetGateway", "AWS::EC2::NetworkAcl", "AWS::EC2::NetworkInterface", "AWS::EC2::RouteTable", "AWS::EC2::SecurityGroup", "AWS::EC2::Subnet", "AWS::CloudTrail::Trail", "AWS::EC2::Volume", "AWS::EC2::VPC", "AWS::EC2::VPNConnection", "AWS::EC2::VPNGateway", "AWS::IAM::Group", "AWS::IAM::Policy", "AWS::IAM::Role", "AWS::IAM::User", "AWS::ACM::Certificate", "AWS::RDS::DBInstance", "AWS::RDS::DBSubnetGroup", "AWS::RDS::DBSecurityGroup", "AWS::RDS::DBSnapshot", "AWS::RDS::EventSubscription", "AWS::ElasticLoadBalancingV2::LoadBalancer", "AWS::S3::Bucket", "AWS::SSM::ManagedInstanceInventory", "AWS::Redshift::Cluster", "AWS::Redshift::ClusterSnapshot", "AWS::Redshift::ClusterParameterGroup", "AWS::Redshift::ClusterSecurityGroup", "AWS::Redshift::ClusterSubnetGroup", "AWS::Redshift::EventSubscription", "AWS::CloudWatch::Alarm", "AWS::CloudFormation::Stack"
|
1030
1126
|
# resp.configuration_items[0].resource_id #=> String
|
1031
1127
|
# resp.configuration_items[0].resource_name #=> String
|
1032
1128
|
# resp.configuration_items[0].aws_region #=> String
|
@@ -1037,7 +1133,7 @@ module Aws::ConfigService
|
|
1037
1133
|
# resp.configuration_items[0].related_events #=> Array
|
1038
1134
|
# resp.configuration_items[0].related_events[0] #=> String
|
1039
1135
|
# resp.configuration_items[0].relationships #=> Array
|
1040
|
-
# resp.configuration_items[0].relationships[0].resource_type #=> String, one of "AWS::EC2::CustomerGateway", "AWS::EC2::EIP", "AWS::EC2::Host", "AWS::EC2::Instance", "AWS::EC2::InternetGateway", "AWS::EC2::NetworkAcl", "AWS::EC2::NetworkInterface", "AWS::EC2::RouteTable", "AWS::EC2::SecurityGroup", "AWS::EC2::Subnet", "AWS::CloudTrail::Trail", "AWS::EC2::Volume", "AWS::EC2::VPC", "AWS::EC2::VPNConnection", "AWS::EC2::VPNGateway", "AWS::IAM::Group", "AWS::IAM::Policy", "AWS::IAM::Role", "AWS::IAM::User", "AWS::ACM::Certificate", "AWS::RDS::DBInstance", "AWS::RDS::DBSubnetGroup", "AWS::RDS::DBSecurityGroup", "AWS::RDS::DBSnapshot", "AWS::RDS::EventSubscription", "AWS::ElasticLoadBalancingV2::LoadBalancer", "AWS::S3::Bucket", "AWS::SSM::ManagedInstanceInventory", "AWS::Redshift::Cluster", "AWS::Redshift::ClusterSnapshot", "AWS::Redshift::ClusterParameterGroup", "AWS::Redshift::ClusterSecurityGroup", "AWS::Redshift::ClusterSubnetGroup", "AWS::Redshift::EventSubscription", "AWS::CloudWatch::Alarm"
|
1136
|
+
# resp.configuration_items[0].relationships[0].resource_type #=> String, one of "AWS::EC2::CustomerGateway", "AWS::EC2::EIP", "AWS::EC2::Host", "AWS::EC2::Instance", "AWS::EC2::InternetGateway", "AWS::EC2::NetworkAcl", "AWS::EC2::NetworkInterface", "AWS::EC2::RouteTable", "AWS::EC2::SecurityGroup", "AWS::EC2::Subnet", "AWS::CloudTrail::Trail", "AWS::EC2::Volume", "AWS::EC2::VPC", "AWS::EC2::VPNConnection", "AWS::EC2::VPNGateway", "AWS::IAM::Group", "AWS::IAM::Policy", "AWS::IAM::Role", "AWS::IAM::User", "AWS::ACM::Certificate", "AWS::RDS::DBInstance", "AWS::RDS::DBSubnetGroup", "AWS::RDS::DBSecurityGroup", "AWS::RDS::DBSnapshot", "AWS::RDS::EventSubscription", "AWS::ElasticLoadBalancingV2::LoadBalancer", "AWS::S3::Bucket", "AWS::SSM::ManagedInstanceInventory", "AWS::Redshift::Cluster", "AWS::Redshift::ClusterSnapshot", "AWS::Redshift::ClusterParameterGroup", "AWS::Redshift::ClusterSecurityGroup", "AWS::Redshift::ClusterSubnetGroup", "AWS::Redshift::EventSubscription", "AWS::CloudWatch::Alarm", "AWS::CloudFormation::Stack"
|
1041
1137
|
# resp.configuration_items[0].relationships[0].resource_id #=> String
|
1042
1138
|
# resp.configuration_items[0].relationships[0].resource_name #=> String
|
1043
1139
|
# resp.configuration_items[0].relationships[0].relationship_name #=> String
|
@@ -1068,11 +1164,11 @@ module Aws::ConfigService
|
|
1068
1164
|
#
|
1069
1165
|
# </note>
|
1070
1166
|
#
|
1071
|
-
# The response is paginated
|
1072
|
-
#
|
1073
|
-
#
|
1074
|
-
#
|
1075
|
-
#
|
1167
|
+
# The response is paginated. By default, AWS Config lists 100 resource
|
1168
|
+
# identifiers on each page. You can customize this number with the
|
1169
|
+
# `limit` parameter. The response includes a `nextToken` string. To get
|
1170
|
+
# the next page of results, run the request again and specify the string
|
1171
|
+
# for the `nextToken` parameter.
|
1076
1172
|
#
|
1077
1173
|
# @option params [required, String] :resource_type
|
1078
1174
|
# The type of resources that you want AWS Config to list in the
|
@@ -1109,7 +1205,7 @@ module Aws::ConfigService
|
|
1109
1205
|
# @example Request syntax with placeholder values
|
1110
1206
|
#
|
1111
1207
|
# resp = client.list_discovered_resources({
|
1112
|
-
# resource_type: "AWS::EC2::CustomerGateway", # required, accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm
|
1208
|
+
# resource_type: "AWS::EC2::CustomerGateway", # required, accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack
|
1113
1209
|
# resource_ids: ["ResourceId"],
|
1114
1210
|
# resource_name: "ResourceName",
|
1115
1211
|
# limit: 1,
|
@@ -1120,7 +1216,7 @@ module Aws::ConfigService
|
|
1120
1216
|
# @example Response structure
|
1121
1217
|
#
|
1122
1218
|
# resp.resource_identifiers #=> Array
|
1123
|
-
# resp.resource_identifiers[0].resource_type #=> String, one of "AWS::EC2::CustomerGateway", "AWS::EC2::EIP", "AWS::EC2::Host", "AWS::EC2::Instance", "AWS::EC2::InternetGateway", "AWS::EC2::NetworkAcl", "AWS::EC2::NetworkInterface", "AWS::EC2::RouteTable", "AWS::EC2::SecurityGroup", "AWS::EC2::Subnet", "AWS::CloudTrail::Trail", "AWS::EC2::Volume", "AWS::EC2::VPC", "AWS::EC2::VPNConnection", "AWS::EC2::VPNGateway", "AWS::IAM::Group", "AWS::IAM::Policy", "AWS::IAM::Role", "AWS::IAM::User", "AWS::ACM::Certificate", "AWS::RDS::DBInstance", "AWS::RDS::DBSubnetGroup", "AWS::RDS::DBSecurityGroup", "AWS::RDS::DBSnapshot", "AWS::RDS::EventSubscription", "AWS::ElasticLoadBalancingV2::LoadBalancer", "AWS::S3::Bucket", "AWS::SSM::ManagedInstanceInventory", "AWS::Redshift::Cluster", "AWS::Redshift::ClusterSnapshot", "AWS::Redshift::ClusterParameterGroup", "AWS::Redshift::ClusterSecurityGroup", "AWS::Redshift::ClusterSubnetGroup", "AWS::Redshift::EventSubscription", "AWS::CloudWatch::Alarm"
|
1219
|
+
# resp.resource_identifiers[0].resource_type #=> String, one of "AWS::EC2::CustomerGateway", "AWS::EC2::EIP", "AWS::EC2::Host", "AWS::EC2::Instance", "AWS::EC2::InternetGateway", "AWS::EC2::NetworkAcl", "AWS::EC2::NetworkInterface", "AWS::EC2::RouteTable", "AWS::EC2::SecurityGroup", "AWS::EC2::Subnet", "AWS::CloudTrail::Trail", "AWS::EC2::Volume", "AWS::EC2::VPC", "AWS::EC2::VPNConnection", "AWS::EC2::VPNGateway", "AWS::IAM::Group", "AWS::IAM::Policy", "AWS::IAM::Role", "AWS::IAM::User", "AWS::ACM::Certificate", "AWS::RDS::DBInstance", "AWS::RDS::DBSubnetGroup", "AWS::RDS::DBSecurityGroup", "AWS::RDS::DBSnapshot", "AWS::RDS::EventSubscription", "AWS::ElasticLoadBalancingV2::LoadBalancer", "AWS::S3::Bucket", "AWS::SSM::ManagedInstanceInventory", "AWS::Redshift::Cluster", "AWS::Redshift::ClusterSnapshot", "AWS::Redshift::ClusterParameterGroup", "AWS::Redshift::ClusterSecurityGroup", "AWS::Redshift::ClusterSubnetGroup", "AWS::Redshift::EventSubscription", "AWS::CloudWatch::Alarm", "AWS::CloudFormation::Stack"
|
1124
1220
|
# resp.resource_identifiers[0].resource_id #=> String
|
1125
1221
|
# resp.resource_identifiers[0].resource_name #=> String
|
1126
1222
|
# resp.resource_identifiers[0].resource_deletion_time #=> Time
|
@@ -1255,7 +1351,7 @@ module Aws::ConfigService
|
|
1255
1351
|
# recording_group: {
|
1256
1352
|
# all_supported: false,
|
1257
1353
|
# include_global_resource_types: false,
|
1258
|
-
# resource_types: ["AWS::EC2::CustomerGateway"], # accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm
|
1354
|
+
# resource_types: ["AWS::EC2::CustomerGateway"], # accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack
|
1259
1355
|
# },
|
1260
1356
|
# },
|
1261
1357
|
# })
|
@@ -1501,7 +1597,7 @@ module Aws::ConfigService
|
|
1501
1597
|
params: params,
|
1502
1598
|
config: config)
|
1503
1599
|
context[:gem_name] = 'aws-sdk-configservice'
|
1504
|
-
context[:gem_version] = '1.0.0.
|
1600
|
+
context[:gem_version] = '1.0.0.rc13'
|
1505
1601
|
Seahorse::Client::Request.new(handlers, context)
|
1506
1602
|
end
|
1507
1603
|
|
@@ -98,6 +98,8 @@ module Aws::ConfigService
|
|
98
98
|
GetComplianceSummaryByConfigRuleResponse = Shapes::StructureShape.new(name: 'GetComplianceSummaryByConfigRuleResponse')
|
99
99
|
GetComplianceSummaryByResourceTypeRequest = Shapes::StructureShape.new(name: 'GetComplianceSummaryByResourceTypeRequest')
|
100
100
|
GetComplianceSummaryByResourceTypeResponse = Shapes::StructureShape.new(name: 'GetComplianceSummaryByResourceTypeResponse')
|
101
|
+
GetDiscoveredResourceCountsRequest = Shapes::StructureShape.new(name: 'GetDiscoveredResourceCountsRequest')
|
102
|
+
GetDiscoveredResourceCountsResponse = Shapes::StructureShape.new(name: 'GetDiscoveredResourceCountsResponse')
|
101
103
|
GetResourceConfigHistoryRequest = Shapes::StructureShape.new(name: 'GetResourceConfigHistoryRequest')
|
102
104
|
GetResourceConfigHistoryResponse = Shapes::StructureShape.new(name: 'GetResourceConfigHistoryResponse')
|
103
105
|
IncludeGlobalResourceTypes = Shapes::BooleanShape.new(name: 'IncludeGlobalResourceTypes')
|
@@ -121,6 +123,7 @@ module Aws::ConfigService
|
|
121
123
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
122
124
|
ListDiscoveredResourcesRequest = Shapes::StructureShape.new(name: 'ListDiscoveredResourcesRequest')
|
123
125
|
ListDiscoveredResourcesResponse = Shapes::StructureShape.new(name: 'ListDiscoveredResourcesResponse')
|
126
|
+
Long = Shapes::IntegerShape.new(name: 'Long')
|
124
127
|
MaxNumberOfConfigRulesExceededException = Shapes::StructureShape.new(name: 'MaxNumberOfConfigRulesExceededException')
|
125
128
|
MaxNumberOfConfigurationRecordersExceededException = Shapes::StructureShape.new(name: 'MaxNumberOfConfigurationRecordersExceededException')
|
126
129
|
MaxNumberOfDeliveryChannelsExceededException = Shapes::StructureShape.new(name: 'MaxNumberOfDeliveryChannelsExceededException')
|
@@ -151,6 +154,8 @@ module Aws::ConfigService
|
|
151
154
|
Relationship = Shapes::StructureShape.new(name: 'Relationship')
|
152
155
|
RelationshipList = Shapes::ListShape.new(name: 'RelationshipList')
|
153
156
|
RelationshipName = Shapes::StringShape.new(name: 'RelationshipName')
|
157
|
+
ResourceCount = Shapes::StructureShape.new(name: 'ResourceCount')
|
158
|
+
ResourceCounts = Shapes::ListShape.new(name: 'ResourceCounts')
|
154
159
|
ResourceCreationTime = Shapes::TimestampShape.new(name: 'ResourceCreationTime')
|
155
160
|
ResourceDeletionTime = Shapes::TimestampShape.new(name: 'ResourceDeletionTime')
|
156
161
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
@@ -468,6 +473,16 @@ module Aws::ConfigService
|
|
468
473
|
GetComplianceSummaryByResourceTypeResponse.add_member(:compliance_summaries_by_resource_type, Shapes::ShapeRef.new(shape: ComplianceSummariesByResourceType, location_name: "ComplianceSummariesByResourceType"))
|
469
474
|
GetComplianceSummaryByResourceTypeResponse.struct_class = Types::GetComplianceSummaryByResourceTypeResponse
|
470
475
|
|
476
|
+
GetDiscoveredResourceCountsRequest.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "resourceTypes"))
|
477
|
+
GetDiscoveredResourceCountsRequest.add_member(:limit, Shapes::ShapeRef.new(shape: Limit, location_name: "limit"))
|
478
|
+
GetDiscoveredResourceCountsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
479
|
+
GetDiscoveredResourceCountsRequest.struct_class = Types::GetDiscoveredResourceCountsRequest
|
480
|
+
|
481
|
+
GetDiscoveredResourceCountsResponse.add_member(:total_discovered_resources, Shapes::ShapeRef.new(shape: Long, location_name: "totalDiscoveredResources"))
|
482
|
+
GetDiscoveredResourceCountsResponse.add_member(:resource_counts, Shapes::ShapeRef.new(shape: ResourceCounts, location_name: "resourceCounts"))
|
483
|
+
GetDiscoveredResourceCountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
484
|
+
GetDiscoveredResourceCountsResponse.struct_class = Types::GetDiscoveredResourceCountsResponse
|
485
|
+
|
471
486
|
GetResourceConfigHistoryRequest.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
|
472
487
|
GetResourceConfigHistoryRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "resourceId"))
|
473
488
|
GetResourceConfigHistoryRequest.add_member(:later_time, Shapes::ShapeRef.new(shape: LaterTime, location_name: "laterTime"))
|
@@ -527,6 +542,12 @@ module Aws::ConfigService
|
|
527
542
|
|
528
543
|
RelationshipList.member = Shapes::ShapeRef.new(shape: Relationship)
|
529
544
|
|
545
|
+
ResourceCount.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
546
|
+
ResourceCount.add_member(:count, Shapes::ShapeRef.new(shape: Long, location_name: "count"))
|
547
|
+
ResourceCount.struct_class = Types::ResourceCount
|
548
|
+
|
549
|
+
ResourceCounts.member = Shapes::ShapeRef.new(shape: ResourceCount)
|
550
|
+
|
530
551
|
ResourceIdList.member = Shapes::ShapeRef.new(shape: ResourceId)
|
531
552
|
|
532
553
|
ResourceIdentifier.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
@@ -756,6 +777,17 @@ module Aws::ConfigService
|
|
756
777
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
757
778
|
end)
|
758
779
|
|
780
|
+
api.add_operation(:get_discovered_resource_counts, Seahorse::Model::Operation.new.tap do |o|
|
781
|
+
o.name = "GetDiscoveredResourceCounts"
|
782
|
+
o.http_method = "POST"
|
783
|
+
o.http_request_uri = "/"
|
784
|
+
o.input = Shapes::ShapeRef.new(shape: GetDiscoveredResourceCountsRequest)
|
785
|
+
o.output = Shapes::ShapeRef.new(shape: GetDiscoveredResourceCountsResponse)
|
786
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
787
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidLimitException)
|
788
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
|
789
|
+
end)
|
790
|
+
|
759
791
|
api.add_operation(:get_resource_config_history, Seahorse::Model::Operation.new.tap do |o|
|
760
792
|
o.name = "GetResourceConfigHistory"
|
761
793
|
o.http_method = "POST"
|
@@ -648,7 +648,7 @@ module Aws::ConfigService
|
|
648
648
|
# recording_group: {
|
649
649
|
# all_supported: false,
|
650
650
|
# include_global_resource_types: false,
|
651
|
-
# resource_types: ["AWS::EC2::CustomerGateway"], # accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm
|
651
|
+
# resource_types: ["AWS::EC2::CustomerGateway"], # accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack
|
652
652
|
# },
|
653
653
|
# }
|
654
654
|
#
|
@@ -1646,13 +1646,98 @@ module Aws::ConfigService
|
|
1646
1646
|
include Aws::Structure
|
1647
1647
|
end
|
1648
1648
|
|
1649
|
+
# @note When making an API call, you may pass GetDiscoveredResourceCountsRequest
|
1650
|
+
# data as a hash:
|
1651
|
+
#
|
1652
|
+
# {
|
1653
|
+
# resource_types: ["StringWithCharLimit256"],
|
1654
|
+
# limit: 1,
|
1655
|
+
# next_token: "NextToken",
|
1656
|
+
# }
|
1657
|
+
#
|
1658
|
+
# @!attribute [rw] resource_types
|
1659
|
+
# The comma-separated list that specifies the resource types that you
|
1660
|
+
# want the AWS Config to return. For example, (`"AWS::EC2::Instance"`,
|
1661
|
+
# `"AWS::IAM::User"`).
|
1662
|
+
#
|
1663
|
+
# If a value for `resourceTypes` is not specified, AWS Config returns
|
1664
|
+
# all resource types that AWS Config is recording in the region for
|
1665
|
+
# your account.
|
1666
|
+
#
|
1667
|
+
# <note markdown="1"> If the configuration recorder is turned off, AWS Config returns an
|
1668
|
+
# empty list of ResourceCount objects. If the configuration recorder
|
1669
|
+
# is not recording a specific resource type (for example, S3 buckets),
|
1670
|
+
# that resource type is not returned in the list of ResourceCount
|
1671
|
+
# objects.
|
1672
|
+
#
|
1673
|
+
# </note>
|
1674
|
+
# @return [Array<String>]
|
1675
|
+
#
|
1676
|
+
# @!attribute [rw] limit
|
1677
|
+
# The maximum number of ResourceCount objects returned on each page.
|
1678
|
+
# The default is 100. You cannot specify a limit greater than 100. If
|
1679
|
+
# you specify 0, AWS Config uses the default.
|
1680
|
+
# @return [Integer]
|
1681
|
+
#
|
1682
|
+
# @!attribute [rw] next_token
|
1683
|
+
# The `nextToken` string returned on a previous page that you use to
|
1684
|
+
# get the next page of results in a paginated response.
|
1685
|
+
# @return [String]
|
1686
|
+
#
|
1687
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCountsRequest AWS API Documentation
|
1688
|
+
#
|
1689
|
+
class GetDiscoveredResourceCountsRequest < Struct.new(
|
1690
|
+
:resource_types,
|
1691
|
+
:limit,
|
1692
|
+
:next_token)
|
1693
|
+
include Aws::Structure
|
1694
|
+
end
|
1695
|
+
|
1696
|
+
# @!attribute [rw] total_discovered_resources
|
1697
|
+
# The total number of resources that AWS Config is recording in the
|
1698
|
+
# region for your account. If you specify resource types in the
|
1699
|
+
# request, AWS Config returns only the total number of resources for
|
1700
|
+
# those resource types.
|
1701
|
+
#
|
1702
|
+
# **Example**
|
1703
|
+
#
|
1704
|
+
# 1. AWS Config is recording three resource types in the US East
|
1705
|
+
# (Ohio) Region for your account: 25 EC2 instances, 20 IAM users,
|
1706
|
+
# and 15 S3 buckets, for a total of 60 resources.
|
1707
|
+
#
|
1708
|
+
# 2. You make a call to the `GetDiscoveredResourceCounts` action and
|
1709
|
+
# specify the resource type, `"AWS::EC2::Instances"` in the
|
1710
|
+
# request.
|
1711
|
+
#
|
1712
|
+
# 3. AWS Config returns 25 for `totalDiscoveredResources`.
|
1713
|
+
# @return [Integer]
|
1714
|
+
#
|
1715
|
+
# @!attribute [rw] resource_counts
|
1716
|
+
# The list of `ResourceCount` objects. Each object is listed in
|
1717
|
+
# descending order by the number of resources.
|
1718
|
+
# @return [Array<Types::ResourceCount>]
|
1719
|
+
#
|
1720
|
+
# @!attribute [rw] next_token
|
1721
|
+
# The string that you use in a subsequent request to get the next page
|
1722
|
+
# of results in a paginated response.
|
1723
|
+
# @return [String]
|
1724
|
+
#
|
1725
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/GetDiscoveredResourceCountsResponse AWS API Documentation
|
1726
|
+
#
|
1727
|
+
class GetDiscoveredResourceCountsResponse < Struct.new(
|
1728
|
+
:total_discovered_resources,
|
1729
|
+
:resource_counts,
|
1730
|
+
:next_token)
|
1731
|
+
include Aws::Structure
|
1732
|
+
end
|
1733
|
+
|
1649
1734
|
# The input for the GetResourceConfigHistory action.
|
1650
1735
|
#
|
1651
1736
|
# @note When making an API call, you may pass GetResourceConfigHistoryRequest
|
1652
1737
|
# data as a hash:
|
1653
1738
|
#
|
1654
1739
|
# {
|
1655
|
-
# resource_type: "AWS::EC2::CustomerGateway", # required, accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm
|
1740
|
+
# resource_type: "AWS::EC2::CustomerGateway", # required, accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack
|
1656
1741
|
# resource_id: "ResourceId", # required
|
1657
1742
|
# later_time: Time.now,
|
1658
1743
|
# earlier_time: Time.now,
|
@@ -1733,7 +1818,7 @@ module Aws::ConfigService
|
|
1733
1818
|
# data as a hash:
|
1734
1819
|
#
|
1735
1820
|
# {
|
1736
|
-
# resource_type: "AWS::EC2::CustomerGateway", # required, accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm
|
1821
|
+
# resource_type: "AWS::EC2::CustomerGateway", # required, accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack
|
1737
1822
|
# resource_ids: ["ResourceId"],
|
1738
1823
|
# resource_name: "ResourceName",
|
1739
1824
|
# limit: 1,
|
@@ -1861,7 +1946,7 @@ module Aws::ConfigService
|
|
1861
1946
|
# recording_group: {
|
1862
1947
|
# all_supported: false,
|
1863
1948
|
# include_global_resource_types: false,
|
1864
|
-
# resource_types: ["AWS::EC2::CustomerGateway"], # accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm
|
1949
|
+
# resource_types: ["AWS::EC2::CustomerGateway"], # accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack
|
1865
1950
|
# },
|
1866
1951
|
# },
|
1867
1952
|
# }
|
@@ -2017,7 +2102,7 @@ module Aws::ConfigService
|
|
2017
2102
|
# {
|
2018
2103
|
# all_supported: false,
|
2019
2104
|
# include_global_resource_types: false,
|
2020
|
-
# resource_types: ["AWS::EC2::CustomerGateway"], # accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm
|
2105
|
+
# resource_types: ["AWS::EC2::CustomerGateway"], # accepts AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack
|
2021
2106
|
# }
|
2022
2107
|
#
|
2023
2108
|
# @!attribute [rw] all_supported
|
@@ -2107,6 +2192,24 @@ module Aws::ConfigService
|
|
2107
2192
|
include Aws::Structure
|
2108
2193
|
end
|
2109
2194
|
|
2195
|
+
# An object that contains the resource type and the number of resources.
|
2196
|
+
#
|
2197
|
+
# @!attribute [rw] resource_type
|
2198
|
+
# The resource type, for example `"AWS::EC2::Instance"`.
|
2199
|
+
# @return [String]
|
2200
|
+
#
|
2201
|
+
# @!attribute [rw] count
|
2202
|
+
# The number of resources.
|
2203
|
+
# @return [Integer]
|
2204
|
+
#
|
2205
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/config-2014-11-12/ResourceCount AWS API Documentation
|
2206
|
+
#
|
2207
|
+
class ResourceCount < Struct.new(
|
2208
|
+
:resource_type,
|
2209
|
+
:count)
|
2210
|
+
include Aws::Structure
|
2211
|
+
end
|
2212
|
+
|
2110
2213
|
# The details that identify a resource that is discovered by AWS Config,
|
2111
2214
|
# including the resource type, ID, and (if available) the custom
|
2112
2215
|
# resource name.
|
@@ -2219,7 +2322,7 @@ module Aws::ConfigService
|
|
2219
2322
|
#
|
2220
2323
|
# For custom rules, the identifier is the Amazon Resource Name (ARN)
|
2221
2324
|
# of the rule's AWS Lambda function, such as
|
2222
|
-
# `arn:aws:lambda:us-east-
|
2325
|
+
# `arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name`.
|
2223
2326
|
#
|
2224
2327
|
#
|
2225
2328
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-configservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.rc13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.0.
|
19
|
+
version: 3.0.0.rc19
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.0.
|
26
|
+
version: 3.0.0.rc19
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: aws-sigv4
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|