aws-sdk-cloudtrail 1.24.1 → 1.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudtrail.rb +5 -2
- data/lib/aws-sdk-cloudtrail/client.rb +25 -8
- data/lib/aws-sdk-cloudtrail/client_api.rb +2 -0
- data/lib/aws-sdk-cloudtrail/customizations.rb +1 -0
- data/lib/aws-sdk-cloudtrail/errors.rb +2 -0
- data/lib/aws-sdk-cloudtrail/resource.rb +2 -0
- data/lib/aws-sdk-cloudtrail/types.rb +44 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c590671f42adb99b94cde4e31ac15e5db72082833869507afe5dc56c07fdad0c
|
4
|
+
data.tar.gz: d013741c883286dd1f430f903e2a7299c7bdac28a0e2fff58d91e19a5b846dd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b209c1733fdd5371ef69d85d12c4b52d13e907fb1b39419cdfb37accb6e27229b2b73336906a44d072c3e3bee160e76d1e82c0f78cb477f80486b0e43b2f2091
|
7
|
+
data.tar.gz: 32f34ff7b21618d2eb1bec68690b77a8f0694acdabe371f983c5d1f2e26106d0d300d6fbf4f8915f1e828d71528deb63fd4db8df7586f464d0650a1f9a3a41d3
|
data/lib/aws-sdk-cloudtrail.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-cloudtrail/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::CloudTrail
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.29.0'
|
49
52
|
|
50
53
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -83,13 +85,28 @@ module Aws::CloudTrail
|
|
83
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
84
86
|
# credentials.
|
85
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
86
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
87
103
|
# from an EC2 IMDS on an EC2 instance.
|
88
104
|
#
|
89
|
-
# * `Aws::
|
90
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
91
107
|
#
|
92
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
93
110
|
#
|
94
111
|
# When `:credentials` are not configured directly, the following
|
95
112
|
# locations will be searched for credentials:
|
@@ -99,10 +116,10 @@ module Aws::CloudTrail
|
|
99
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
100
117
|
# * `~/.aws/credentials`
|
101
118
|
# * `~/.aws/config`
|
102
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
103
|
-
# very aggressive. Construct and pass an instance of
|
104
|
-
# `Aws::InstanceProfileCredentails`
|
105
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
106
123
|
#
|
107
124
|
# @option options [required, String] :region
|
108
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -1576,7 +1593,7 @@ module Aws::CloudTrail
|
|
1576
1593
|
params: params,
|
1577
1594
|
config: config)
|
1578
1595
|
context[:gem_name] = 'aws-sdk-cloudtrail'
|
1579
|
-
context[:gem_version] = '1.
|
1596
|
+
context[:gem_version] = '1.29.0'
|
1580
1597
|
Seahorse::Client::Request.new(handlers, context)
|
1581
1598
|
end
|
1582
1599
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -39,6 +41,7 @@ module Aws::CloudTrail
|
|
39
41
|
class AddTagsRequest < Struct.new(
|
40
42
|
:resource_id,
|
41
43
|
:tags_list)
|
44
|
+
SENSITIVE = []
|
42
45
|
include Aws::Structure
|
43
46
|
end
|
44
47
|
|
@@ -230,6 +233,7 @@ module Aws::CloudTrail
|
|
230
233
|
:kms_key_id,
|
231
234
|
:is_organization_trail,
|
232
235
|
:tags_list)
|
236
|
+
SENSITIVE = []
|
233
237
|
include Aws::Structure
|
234
238
|
end
|
235
239
|
|
@@ -325,6 +329,7 @@ module Aws::CloudTrail
|
|
325
329
|
:cloud_watch_logs_role_arn,
|
326
330
|
:kms_key_id,
|
327
331
|
:is_organization_trail)
|
332
|
+
SENSITIVE = []
|
328
333
|
include Aws::Structure
|
329
334
|
end
|
330
335
|
|
@@ -444,6 +449,7 @@ module Aws::CloudTrail
|
|
444
449
|
class DataResource < Struct.new(
|
445
450
|
:type,
|
446
451
|
:values)
|
452
|
+
SENSITIVE = []
|
447
453
|
include Aws::Structure
|
448
454
|
end
|
449
455
|
|
@@ -466,6 +472,7 @@ module Aws::CloudTrail
|
|
466
472
|
#
|
467
473
|
class DeleteTrailRequest < Struct.new(
|
468
474
|
:name)
|
475
|
+
SENSITIVE = []
|
469
476
|
include Aws::Structure
|
470
477
|
end
|
471
478
|
|
@@ -525,6 +532,7 @@ module Aws::CloudTrail
|
|
525
532
|
class DescribeTrailsRequest < Struct.new(
|
526
533
|
:trail_name_list,
|
527
534
|
:include_shadow_trails)
|
535
|
+
SENSITIVE = []
|
528
536
|
include Aws::Structure
|
529
537
|
end
|
530
538
|
|
@@ -544,6 +552,7 @@ module Aws::CloudTrail
|
|
544
552
|
#
|
545
553
|
class DescribeTrailsResponse < Struct.new(
|
546
554
|
:trail_list)
|
555
|
+
SENSITIVE = []
|
547
556
|
include Aws::Structure
|
548
557
|
end
|
549
558
|
|
@@ -602,6 +611,7 @@ module Aws::CloudTrail
|
|
602
611
|
:username,
|
603
612
|
:resources,
|
604
613
|
:cloud_trail_event)
|
614
|
+
SENSITIVE = []
|
605
615
|
include Aws::Structure
|
606
616
|
end
|
607
617
|
|
@@ -687,6 +697,7 @@ module Aws::CloudTrail
|
|
687
697
|
:include_management_events,
|
688
698
|
:data_resources,
|
689
699
|
:exclude_management_event_sources)
|
700
|
+
SENSITIVE = []
|
690
701
|
include Aws::Structure
|
691
702
|
end
|
692
703
|
|
@@ -722,6 +733,7 @@ module Aws::CloudTrail
|
|
722
733
|
#
|
723
734
|
class GetEventSelectorsRequest < Struct.new(
|
724
735
|
:trail_name)
|
736
|
+
SENSITIVE = []
|
725
737
|
include Aws::Structure
|
726
738
|
end
|
727
739
|
|
@@ -738,6 +750,7 @@ module Aws::CloudTrail
|
|
738
750
|
class GetEventSelectorsResponse < Struct.new(
|
739
751
|
:trail_arn,
|
740
752
|
:event_selectors)
|
753
|
+
SENSITIVE = []
|
741
754
|
include Aws::Structure
|
742
755
|
end
|
743
756
|
|
@@ -773,6 +786,7 @@ module Aws::CloudTrail
|
|
773
786
|
#
|
774
787
|
class GetInsightSelectorsRequest < Struct.new(
|
775
788
|
:trail_name)
|
789
|
+
SENSITIVE = []
|
776
790
|
include Aws::Structure
|
777
791
|
end
|
778
792
|
|
@@ -792,6 +806,7 @@ module Aws::CloudTrail
|
|
792
806
|
class GetInsightSelectorsResponse < Struct.new(
|
793
807
|
:trail_arn,
|
794
808
|
:insight_selectors)
|
809
|
+
SENSITIVE = []
|
795
810
|
include Aws::Structure
|
796
811
|
end
|
797
812
|
|
@@ -811,6 +826,7 @@ module Aws::CloudTrail
|
|
811
826
|
#
|
812
827
|
class GetTrailRequest < Struct.new(
|
813
828
|
:name)
|
829
|
+
SENSITIVE = []
|
814
830
|
include Aws::Structure
|
815
831
|
end
|
816
832
|
|
@@ -822,6 +838,7 @@ module Aws::CloudTrail
|
|
822
838
|
#
|
823
839
|
class GetTrailResponse < Struct.new(
|
824
840
|
:trail)
|
841
|
+
SENSITIVE = []
|
825
842
|
include Aws::Structure
|
826
843
|
end
|
827
844
|
|
@@ -847,6 +864,7 @@ module Aws::CloudTrail
|
|
847
864
|
#
|
848
865
|
class GetTrailStatusRequest < Struct.new(
|
849
866
|
:name)
|
867
|
+
SENSITIVE = []
|
850
868
|
include Aws::Structure
|
851
869
|
end
|
852
870
|
|
@@ -985,6 +1003,7 @@ module Aws::CloudTrail
|
|
985
1003
|
:latest_delivery_attempt_succeeded,
|
986
1004
|
:time_logging_started,
|
987
1005
|
:time_logging_stopped)
|
1006
|
+
SENSITIVE = []
|
988
1007
|
include Aws::Structure
|
989
1008
|
end
|
990
1009
|
|
@@ -1015,6 +1034,7 @@ module Aws::CloudTrail
|
|
1015
1034
|
#
|
1016
1035
|
class InsightSelector < Struct.new(
|
1017
1036
|
:insight_type)
|
1037
|
+
SENSITIVE = []
|
1018
1038
|
include Aws::Structure
|
1019
1039
|
end
|
1020
1040
|
|
@@ -1260,6 +1280,7 @@ module Aws::CloudTrail
|
|
1260
1280
|
:start_time,
|
1261
1281
|
:end_time,
|
1262
1282
|
:next_token)
|
1283
|
+
SENSITIVE = []
|
1263
1284
|
include Aws::Structure
|
1264
1285
|
end
|
1265
1286
|
|
@@ -1283,6 +1304,7 @@ module Aws::CloudTrail
|
|
1283
1304
|
class ListPublicKeysResponse < Struct.new(
|
1284
1305
|
:public_key_list,
|
1285
1306
|
:next_token)
|
1307
|
+
SENSITIVE = []
|
1286
1308
|
include Aws::Structure
|
1287
1309
|
end
|
1288
1310
|
|
@@ -1312,6 +1334,7 @@ module Aws::CloudTrail
|
|
1312
1334
|
class ListTagsRequest < Struct.new(
|
1313
1335
|
:resource_id_list,
|
1314
1336
|
:next_token)
|
1337
|
+
SENSITIVE = []
|
1315
1338
|
include Aws::Structure
|
1316
1339
|
end
|
1317
1340
|
|
@@ -1331,6 +1354,7 @@ module Aws::CloudTrail
|
|
1331
1354
|
class ListTagsResponse < Struct.new(
|
1332
1355
|
:resource_tag_list,
|
1333
1356
|
:next_token)
|
1357
|
+
SENSITIVE = []
|
1334
1358
|
include Aws::Structure
|
1335
1359
|
end
|
1336
1360
|
|
@@ -1354,6 +1378,7 @@ module Aws::CloudTrail
|
|
1354
1378
|
#
|
1355
1379
|
class ListTrailsRequest < Struct.new(
|
1356
1380
|
:next_token)
|
1381
|
+
SENSITIVE = []
|
1357
1382
|
include Aws::Structure
|
1358
1383
|
end
|
1359
1384
|
|
@@ -1376,6 +1401,7 @@ module Aws::CloudTrail
|
|
1376
1401
|
class ListTrailsResponse < Struct.new(
|
1377
1402
|
:trails,
|
1378
1403
|
:next_token)
|
1404
|
+
SENSITIVE = []
|
1379
1405
|
include Aws::Structure
|
1380
1406
|
end
|
1381
1407
|
|
@@ -1402,6 +1428,7 @@ module Aws::CloudTrail
|
|
1402
1428
|
class LookupAttribute < Struct.new(
|
1403
1429
|
:attribute_key,
|
1404
1430
|
:attribute_value)
|
1431
|
+
SENSITIVE = []
|
1405
1432
|
include Aws::Structure
|
1406
1433
|
end
|
1407
1434
|
|
@@ -1471,6 +1498,7 @@ module Aws::CloudTrail
|
|
1471
1498
|
:event_category,
|
1472
1499
|
:max_results,
|
1473
1500
|
:next_token)
|
1501
|
+
SENSITIVE = []
|
1474
1502
|
include Aws::Structure
|
1475
1503
|
end
|
1476
1504
|
|
@@ -1496,6 +1524,7 @@ module Aws::CloudTrail
|
|
1496
1524
|
class LookupEventsResponse < Struct.new(
|
1497
1525
|
:events,
|
1498
1526
|
:next_token)
|
1527
|
+
SENSITIVE = []
|
1499
1528
|
include Aws::Structure
|
1500
1529
|
end
|
1501
1530
|
|
@@ -1571,6 +1600,7 @@ module Aws::CloudTrail
|
|
1571
1600
|
:validity_start_time,
|
1572
1601
|
:validity_end_time,
|
1573
1602
|
:fingerprint)
|
1603
|
+
SENSITIVE = []
|
1574
1604
|
include Aws::Structure
|
1575
1605
|
end
|
1576
1606
|
|
@@ -1625,6 +1655,7 @@ module Aws::CloudTrail
|
|
1625
1655
|
class PutEventSelectorsRequest < Struct.new(
|
1626
1656
|
:trail_name,
|
1627
1657
|
:event_selectors)
|
1658
|
+
SENSITIVE = []
|
1628
1659
|
include Aws::Structure
|
1629
1660
|
end
|
1630
1661
|
|
@@ -1644,6 +1675,7 @@ module Aws::CloudTrail
|
|
1644
1675
|
class PutEventSelectorsResponse < Struct.new(
|
1645
1676
|
:trail_arn,
|
1646
1677
|
:event_selectors)
|
1678
|
+
SENSITIVE = []
|
1647
1679
|
include Aws::Structure
|
1648
1680
|
end
|
1649
1681
|
|
@@ -1675,6 +1707,7 @@ module Aws::CloudTrail
|
|
1675
1707
|
class PutInsightSelectorsRequest < Struct.new(
|
1676
1708
|
:trail_name,
|
1677
1709
|
:insight_selectors)
|
1710
|
+
SENSITIVE = []
|
1678
1711
|
include Aws::Structure
|
1679
1712
|
end
|
1680
1713
|
|
@@ -1694,6 +1727,7 @@ module Aws::CloudTrail
|
|
1694
1727
|
class PutInsightSelectorsResponse < Struct.new(
|
1695
1728
|
:trail_arn,
|
1696
1729
|
:insight_selectors)
|
1730
|
+
SENSITIVE = []
|
1697
1731
|
include Aws::Structure
|
1698
1732
|
end
|
1699
1733
|
|
@@ -1728,6 +1762,7 @@ module Aws::CloudTrail
|
|
1728
1762
|
class RemoveTagsRequest < Struct.new(
|
1729
1763
|
:resource_id,
|
1730
1764
|
:tags_list)
|
1765
|
+
SENSITIVE = []
|
1731
1766
|
include Aws::Structure
|
1732
1767
|
end
|
1733
1768
|
|
@@ -1765,6 +1800,7 @@ module Aws::CloudTrail
|
|
1765
1800
|
class Resource < Struct.new(
|
1766
1801
|
:resource_type,
|
1767
1802
|
:resource_name)
|
1803
|
+
SENSITIVE = []
|
1768
1804
|
include Aws::Structure
|
1769
1805
|
end
|
1770
1806
|
|
@@ -1789,6 +1825,7 @@ module Aws::CloudTrail
|
|
1789
1825
|
class ResourceTag < Struct.new(
|
1790
1826
|
:resource_id,
|
1791
1827
|
:tags_list)
|
1828
|
+
SENSITIVE = []
|
1792
1829
|
include Aws::Structure
|
1793
1830
|
end
|
1794
1831
|
|
@@ -1826,6 +1863,7 @@ module Aws::CloudTrail
|
|
1826
1863
|
#
|
1827
1864
|
class StartLoggingRequest < Struct.new(
|
1828
1865
|
:name)
|
1866
|
+
SENSITIVE = []
|
1829
1867
|
include Aws::Structure
|
1830
1868
|
end
|
1831
1869
|
|
@@ -1858,6 +1896,7 @@ module Aws::CloudTrail
|
|
1858
1896
|
#
|
1859
1897
|
class StopLoggingRequest < Struct.new(
|
1860
1898
|
:name)
|
1899
|
+
SENSITIVE = []
|
1861
1900
|
include Aws::Structure
|
1862
1901
|
end
|
1863
1902
|
|
@@ -1895,6 +1934,7 @@ module Aws::CloudTrail
|
|
1895
1934
|
class Tag < Struct.new(
|
1896
1935
|
:key,
|
1897
1936
|
:value)
|
1937
|
+
SENSITIVE = []
|
1898
1938
|
include Aws::Structure
|
1899
1939
|
end
|
1900
1940
|
|
@@ -2018,6 +2058,7 @@ module Aws::CloudTrail
|
|
2018
2058
|
:has_custom_event_selectors,
|
2019
2059
|
:has_insight_selectors,
|
2020
2060
|
:is_organization_trail)
|
2061
|
+
SENSITIVE = []
|
2021
2062
|
include Aws::Structure
|
2022
2063
|
end
|
2023
2064
|
|
@@ -2048,6 +2089,7 @@ module Aws::CloudTrail
|
|
2048
2089
|
:trail_arn,
|
2049
2090
|
:name,
|
2050
2091
|
:home_region)
|
2092
|
+
SENSITIVE = []
|
2051
2093
|
include Aws::Structure
|
2052
2094
|
end
|
2053
2095
|
|
@@ -2225,6 +2267,7 @@ module Aws::CloudTrail
|
|
2225
2267
|
:cloud_watch_logs_role_arn,
|
2226
2268
|
:kms_key_id,
|
2227
2269
|
:is_organization_trail)
|
2270
|
+
SENSITIVE = []
|
2228
2271
|
include Aws::Structure
|
2229
2272
|
end
|
2230
2273
|
|
@@ -2320,6 +2363,7 @@ module Aws::CloudTrail
|
|
2320
2363
|
:cloud_watch_logs_role_arn,
|
2321
2364
|
:kms_key_id,
|
2322
2365
|
:is_organization_trail)
|
2366
|
+
SENSITIVE = []
|
2323
2367
|
include Aws::Structure
|
2324
2368
|
end
|
2325
2369
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudtrail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.29.0
|
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: 2020-
|
11
|
+
date: 2020-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.109.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|