aws-sdk-efs 1.29.0 → 1.34.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-efs.rb +4 -2
- data/lib/aws-sdk-efs/client.rb +100 -10
- data/lib/aws-sdk-efs/client_api.rb +56 -0
- data/lib/aws-sdk-efs/customizations.rb +1 -0
- data/lib/aws-sdk-efs/errors.rb +23 -0
- data/lib/aws-sdk-efs/resource.rb +2 -0
- data/lib/aws-sdk-efs/types.rb +195 -1
- 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: a2ae1b193e69fb9c803c72635659d9ef4b951d28bb4bc0a646102e96068fcf88
|
4
|
+
data.tar.gz: 1bab911a62fd0fd9e8b93a8ec322b0f233a7187033209636b4551b328d985226
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e44bb574c9263a75a3e77cdd7c19a72927102c8628823abaf5b4baf7acb4818442feec0228150115dc693d129aa221b799cf7616f0419978d34f5b46b419b95
|
7
|
+
data.tar.gz: 20ff7138e289d0e05a1e844ed830a1d93a7b99077703c6fbe9c516a34832b2145e65d15e3bf1e68e7b44f45b5a5476c77b9fff9c326859d8ec4a1dc009f39054
|
data/lib/aws-sdk-efs.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:
|
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-efs/customizations'
|
|
42
44
|
#
|
43
45
|
# See {Errors} for more information.
|
44
46
|
#
|
45
|
-
#
|
47
|
+
# @!group service
|
46
48
|
module Aws::EFS
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.34.0'
|
49
51
|
|
50
52
|
end
|
data/lib/aws-sdk-efs/client.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:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::EFS
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
74
78
|
|
@@ -81,13 +85,28 @@ module Aws::EFS
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
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
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::EFS
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# 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.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::EFS
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -569,6 +588,7 @@ module Aws::EFS
|
|
569
588
|
# * {Types::FileSystemDescription#owner_id #owner_id} => String
|
570
589
|
# * {Types::FileSystemDescription#creation_token #creation_token} => String
|
571
590
|
# * {Types::FileSystemDescription#file_system_id #file_system_id} => String
|
591
|
+
# * {Types::FileSystemDescription#file_system_arn #file_system_arn} => String
|
572
592
|
# * {Types::FileSystemDescription#creation_time #creation_time} => Time
|
573
593
|
# * {Types::FileSystemDescription#life_cycle_state #life_cycle_state} => String
|
574
594
|
# * {Types::FileSystemDescription#name #name} => String
|
@@ -639,6 +659,7 @@ module Aws::EFS
|
|
639
659
|
# resp.owner_id #=> String
|
640
660
|
# resp.creation_token #=> String
|
641
661
|
# resp.file_system_id #=> String
|
662
|
+
# resp.file_system_arn #=> String
|
642
663
|
# resp.creation_time #=> Time
|
643
664
|
# resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
|
644
665
|
# resp.name #=> String
|
@@ -804,6 +825,7 @@ module Aws::EFS
|
|
804
825
|
# * {Types::MountTargetDescription#network_interface_id #network_interface_id} => String
|
805
826
|
# * {Types::MountTargetDescription#availability_zone_id #availability_zone_id} => String
|
806
827
|
# * {Types::MountTargetDescription#availability_zone_name #availability_zone_name} => String
|
828
|
+
# * {Types::MountTargetDescription#vpc_id #vpc_id} => String
|
807
829
|
#
|
808
830
|
#
|
809
831
|
# @example Example: To create a new mount target
|
@@ -846,6 +868,7 @@ module Aws::EFS
|
|
846
868
|
# resp.network_interface_id #=> String
|
847
869
|
# resp.availability_zone_id #=> String
|
848
870
|
# resp.availability_zone_name #=> String
|
871
|
+
# resp.vpc_id #=> String
|
849
872
|
#
|
850
873
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/CreateMountTarget AWS API Documentation
|
851
874
|
#
|
@@ -1208,6 +1231,34 @@ module Aws::EFS
|
|
1208
1231
|
req.send_request(options)
|
1209
1232
|
end
|
1210
1233
|
|
1234
|
+
# Returns the backup policy for the specified EFS file system.
|
1235
|
+
#
|
1236
|
+
# @option params [required, String] :file_system_id
|
1237
|
+
# Specifies which EFS file system to retrieve the `BackupPolicy` for.
|
1238
|
+
#
|
1239
|
+
# @return [Types::BackupPolicyDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1240
|
+
#
|
1241
|
+
# * {Types::BackupPolicyDescription#backup_policy #backup_policy} => Types::BackupPolicy
|
1242
|
+
#
|
1243
|
+
# @example Request syntax with placeholder values
|
1244
|
+
#
|
1245
|
+
# resp = client.describe_backup_policy({
|
1246
|
+
# file_system_id: "FileSystemId", # required
|
1247
|
+
# })
|
1248
|
+
#
|
1249
|
+
# @example Response structure
|
1250
|
+
#
|
1251
|
+
# resp.backup_policy.status #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING"
|
1252
|
+
#
|
1253
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeBackupPolicy AWS API Documentation
|
1254
|
+
#
|
1255
|
+
# @overload describe_backup_policy(params = {})
|
1256
|
+
# @param [Hash] params ({})
|
1257
|
+
def describe_backup_policy(params = {}, options = {})
|
1258
|
+
req = build_request(:describe_backup_policy, params)
|
1259
|
+
req.send_request(options)
|
1260
|
+
end
|
1261
|
+
|
1211
1262
|
# Returns the `FileSystemPolicy` for the specified EFS file system.
|
1212
1263
|
#
|
1213
1264
|
# This operation requires permissions for the
|
@@ -1346,6 +1397,7 @@ module Aws::EFS
|
|
1346
1397
|
# resp.file_systems[0].owner_id #=> String
|
1347
1398
|
# resp.file_systems[0].creation_token #=> String
|
1348
1399
|
# resp.file_systems[0].file_system_id #=> String
|
1400
|
+
# resp.file_systems[0].file_system_arn #=> String
|
1349
1401
|
# resp.file_systems[0].creation_time #=> Time
|
1350
1402
|
# resp.file_systems[0].life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
|
1351
1403
|
# resp.file_systems[0].name #=> String
|
@@ -1462,7 +1514,7 @@ module Aws::EFS
|
|
1462
1514
|
# resp.to_h outputs the following:
|
1463
1515
|
# {
|
1464
1516
|
# security_groups: [
|
1465
|
-
# "sg-
|
1517
|
+
# "sg-4567abcd",
|
1466
1518
|
# ],
|
1467
1519
|
# }
|
1468
1520
|
#
|
@@ -1577,6 +1629,7 @@ module Aws::EFS
|
|
1577
1629
|
# resp.mount_targets[0].network_interface_id #=> String
|
1578
1630
|
# resp.mount_targets[0].availability_zone_id #=> String
|
1579
1631
|
# resp.mount_targets[0].availability_zone_name #=> String
|
1632
|
+
# resp.mount_targets[0].vpc_id #=> String
|
1580
1633
|
# resp.next_marker #=> String
|
1581
1634
|
#
|
1582
1635
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeMountTargets AWS API Documentation
|
@@ -1766,6 +1819,41 @@ module Aws::EFS
|
|
1766
1819
|
req.send_request(options)
|
1767
1820
|
end
|
1768
1821
|
|
1822
|
+
# Updates the file system's backup policy. Use this action to start or
|
1823
|
+
# stop automatic backups of the file system.
|
1824
|
+
#
|
1825
|
+
# @option params [required, String] :file_system_id
|
1826
|
+
# Specifies which EFS file system to update the backup policy for.
|
1827
|
+
#
|
1828
|
+
# @option params [required, Types::BackupPolicy] :backup_policy
|
1829
|
+
# The backup policy included in the `PutBackupPolicy` request.
|
1830
|
+
#
|
1831
|
+
# @return [Types::BackupPolicyDescription] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1832
|
+
#
|
1833
|
+
# * {Types::BackupPolicyDescription#backup_policy #backup_policy} => Types::BackupPolicy
|
1834
|
+
#
|
1835
|
+
# @example Request syntax with placeholder values
|
1836
|
+
#
|
1837
|
+
# resp = client.put_backup_policy({
|
1838
|
+
# file_system_id: "FileSystemId", # required
|
1839
|
+
# backup_policy: { # required
|
1840
|
+
# status: "ENABLED", # required, accepts ENABLED, ENABLING, DISABLED, DISABLING
|
1841
|
+
# },
|
1842
|
+
# })
|
1843
|
+
#
|
1844
|
+
# @example Response structure
|
1845
|
+
#
|
1846
|
+
# resp.backup_policy.status #=> String, one of "ENABLED", "ENABLING", "DISABLED", "DISABLING"
|
1847
|
+
#
|
1848
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutBackupPolicy AWS API Documentation
|
1849
|
+
#
|
1850
|
+
# @overload put_backup_policy(params = {})
|
1851
|
+
# @param [Hash] params ({})
|
1852
|
+
def put_backup_policy(params = {}, options = {})
|
1853
|
+
req = build_request(:put_backup_policy, params)
|
1854
|
+
req.send_request(options)
|
1855
|
+
end
|
1856
|
+
|
1769
1857
|
# Applies an Amazon EFS `FileSystemPolicy` to an Amazon EFS file system.
|
1770
1858
|
# A file system policy is an IAM resource-based policy and can contain
|
1771
1859
|
# multiple policy statements. A file system always has exactly one file
|
@@ -2017,6 +2105,7 @@ module Aws::EFS
|
|
2017
2105
|
# * {Types::FileSystemDescription#owner_id #owner_id} => String
|
2018
2106
|
# * {Types::FileSystemDescription#creation_token #creation_token} => String
|
2019
2107
|
# * {Types::FileSystemDescription#file_system_id #file_system_id} => String
|
2108
|
+
# * {Types::FileSystemDescription#file_system_arn #file_system_arn} => String
|
2020
2109
|
# * {Types::FileSystemDescription#creation_time #creation_time} => Time
|
2021
2110
|
# * {Types::FileSystemDescription#life_cycle_state #life_cycle_state} => String
|
2022
2111
|
# * {Types::FileSystemDescription#name #name} => String
|
@@ -2042,6 +2131,7 @@ module Aws::EFS
|
|
2042
2131
|
# resp.owner_id #=> String
|
2043
2132
|
# resp.creation_token #=> String
|
2044
2133
|
# resp.file_system_id #=> String
|
2134
|
+
# resp.file_system_arn #=> String
|
2045
2135
|
# resp.creation_time #=> Time
|
2046
2136
|
# resp.life_cycle_state #=> String, one of "creating", "available", "updating", "deleting", "deleted"
|
2047
2137
|
# resp.name #=> String
|
@@ -2081,7 +2171,7 @@ module Aws::EFS
|
|
2081
2171
|
params: params,
|
2082
2172
|
config: config)
|
2083
2173
|
context[:gem_name] = 'aws-sdk-efs'
|
2084
|
-
context[:gem_version] = '1.
|
2174
|
+
context[:gem_version] = '1.34.0'
|
2085
2175
|
Seahorse::Client::Request.new(handlers, context)
|
2086
2176
|
end
|
2087
2177
|
|
@@ -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:
|
@@ -21,6 +23,8 @@ module Aws::EFS
|
|
21
23
|
AvailabilityZoneId = Shapes::StringShape.new(name: 'AvailabilityZoneId')
|
22
24
|
AvailabilityZoneName = Shapes::StringShape.new(name: 'AvailabilityZoneName')
|
23
25
|
AwsAccountId = Shapes::StringShape.new(name: 'AwsAccountId')
|
26
|
+
BackupPolicy = Shapes::StructureShape.new(name: 'BackupPolicy')
|
27
|
+
BackupPolicyDescription = Shapes::StructureShape.new(name: 'BackupPolicyDescription')
|
24
28
|
BadRequest = Shapes::StructureShape.new(name: 'BadRequest')
|
25
29
|
BypassPolicyLockoutSafetyCheck = Shapes::BooleanShape.new(name: 'BypassPolicyLockoutSafetyCheck')
|
26
30
|
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
@@ -38,6 +42,7 @@ module Aws::EFS
|
|
38
42
|
DependencyTimeout = Shapes::StructureShape.new(name: 'DependencyTimeout')
|
39
43
|
DescribeAccessPointsRequest = Shapes::StructureShape.new(name: 'DescribeAccessPointsRequest')
|
40
44
|
DescribeAccessPointsResponse = Shapes::StructureShape.new(name: 'DescribeAccessPointsResponse')
|
45
|
+
DescribeBackupPolicyRequest = Shapes::StructureShape.new(name: 'DescribeBackupPolicyRequest')
|
41
46
|
DescribeFileSystemPolicyRequest = Shapes::StructureShape.new(name: 'DescribeFileSystemPolicyRequest')
|
42
47
|
DescribeFileSystemsRequest = Shapes::StructureShape.new(name: 'DescribeFileSystemsRequest')
|
43
48
|
DescribeFileSystemsResponse = Shapes::StructureShape.new(name: 'DescribeFileSystemsResponse')
|
@@ -52,6 +57,7 @@ module Aws::EFS
|
|
52
57
|
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
|
53
58
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
54
59
|
FileSystemAlreadyExists = Shapes::StructureShape.new(name: 'FileSystemAlreadyExists')
|
60
|
+
FileSystemArn = Shapes::StringShape.new(name: 'FileSystemArn')
|
55
61
|
FileSystemDescription = Shapes::StructureShape.new(name: 'FileSystemDescription')
|
56
62
|
FileSystemDescriptions = Shapes::ListShape.new(name: 'FileSystemDescriptions')
|
57
63
|
FileSystemId = Shapes::StringShape.new(name: 'FileSystemId')
|
@@ -100,6 +106,7 @@ module Aws::EFS
|
|
100
106
|
PolicyNotFound = Shapes::StructureShape.new(name: 'PolicyNotFound')
|
101
107
|
PosixUser = Shapes::StructureShape.new(name: 'PosixUser')
|
102
108
|
ProvisionedThroughputInMibps = Shapes::FloatShape.new(name: 'ProvisionedThroughputInMibps')
|
109
|
+
PutBackupPolicyRequest = Shapes::StructureShape.new(name: 'PutBackupPolicyRequest')
|
103
110
|
PutFileSystemPolicyRequest = Shapes::StructureShape.new(name: 'PutFileSystemPolicyRequest')
|
104
111
|
PutLifecycleConfigurationRequest = Shapes::StructureShape.new(name: 'PutLifecycleConfigurationRequest')
|
105
112
|
ResourceId = Shapes::StringShape.new(name: 'ResourceId')
|
@@ -109,6 +116,7 @@ module Aws::EFS
|
|
109
116
|
SecurityGroupLimitExceeded = Shapes::StructureShape.new(name: 'SecurityGroupLimitExceeded')
|
110
117
|
SecurityGroupNotFound = Shapes::StructureShape.new(name: 'SecurityGroupNotFound')
|
111
118
|
SecurityGroups = Shapes::ListShape.new(name: 'SecurityGroups')
|
119
|
+
Status = Shapes::StringShape.new(name: 'Status')
|
112
120
|
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
|
113
121
|
SubnetNotFound = Shapes::StructureShape.new(name: 'SubnetNotFound')
|
114
122
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
@@ -127,6 +135,8 @@ module Aws::EFS
|
|
127
135
|
UnsupportedAvailabilityZone = Shapes::StructureShape.new(name: 'UnsupportedAvailabilityZone')
|
128
136
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
129
137
|
UpdateFileSystemRequest = Shapes::StructureShape.new(name: 'UpdateFileSystemRequest')
|
138
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
139
|
+
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
130
140
|
|
131
141
|
AccessPointAlreadyExists.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
|
132
142
|
AccessPointAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
@@ -155,6 +165,12 @@ module Aws::EFS
|
|
155
165
|
AccessPointNotFound.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
156
166
|
AccessPointNotFound.struct_class = Types::AccessPointNotFound
|
157
167
|
|
168
|
+
BackupPolicy.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "Status"))
|
169
|
+
BackupPolicy.struct_class = Types::BackupPolicy
|
170
|
+
|
171
|
+
BackupPolicyDescription.add_member(:backup_policy, Shapes::ShapeRef.new(shape: BackupPolicy, location_name: "BackupPolicy"))
|
172
|
+
BackupPolicyDescription.struct_class = Types::BackupPolicyDescription
|
173
|
+
|
158
174
|
BadRequest.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
|
159
175
|
BadRequest.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
160
176
|
BadRequest.struct_class = Types::BadRequest
|
@@ -220,6 +236,9 @@ module Aws::EFS
|
|
220
236
|
DescribeAccessPointsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
221
237
|
DescribeAccessPointsResponse.struct_class = Types::DescribeAccessPointsResponse
|
222
238
|
|
239
|
+
DescribeBackupPolicyRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
|
240
|
+
DescribeBackupPolicyRequest.struct_class = Types::DescribeBackupPolicyRequest
|
241
|
+
|
223
242
|
DescribeFileSystemPolicyRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
|
224
243
|
DescribeFileSystemPolicyRequest.struct_class = Types::DescribeFileSystemPolicyRequest
|
225
244
|
|
@@ -273,6 +292,7 @@ module Aws::EFS
|
|
273
292
|
FileSystemDescription.add_member(:owner_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location_name: "OwnerId"))
|
274
293
|
FileSystemDescription.add_member(:creation_token, Shapes::ShapeRef.new(shape: CreationToken, required: true, location_name: "CreationToken"))
|
275
294
|
FileSystemDescription.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location_name: "FileSystemId"))
|
295
|
+
FileSystemDescription.add_member(:file_system_arn, Shapes::ShapeRef.new(shape: FileSystemArn, location_name: "FileSystemArn"))
|
276
296
|
FileSystemDescription.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationTime"))
|
277
297
|
FileSystemDescription.add_member(:life_cycle_state, Shapes::ShapeRef.new(shape: LifeCycleState, required: true, location_name: "LifeCycleState"))
|
278
298
|
FileSystemDescription.add_member(:name, Shapes::ShapeRef.new(shape: TagValue, location_name: "Name"))
|
@@ -368,6 +388,7 @@ module Aws::EFS
|
|
368
388
|
MountTargetDescription.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: NetworkInterfaceId, location_name: "NetworkInterfaceId"))
|
369
389
|
MountTargetDescription.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: AvailabilityZoneId, location_name: "AvailabilityZoneId"))
|
370
390
|
MountTargetDescription.add_member(:availability_zone_name, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZoneName"))
|
391
|
+
MountTargetDescription.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
|
371
392
|
MountTargetDescription.struct_class = Types::MountTargetDescription
|
372
393
|
|
373
394
|
MountTargetDescriptions.member = Shapes::ShapeRef.new(shape: MountTargetDescription)
|
@@ -393,6 +414,10 @@ module Aws::EFS
|
|
393
414
|
PosixUser.add_member(:secondary_gids, Shapes::ShapeRef.new(shape: SecondaryGids, location_name: "SecondaryGids"))
|
394
415
|
PosixUser.struct_class = Types::PosixUser
|
395
416
|
|
417
|
+
PutBackupPolicyRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
|
418
|
+
PutBackupPolicyRequest.add_member(:backup_policy, Shapes::ShapeRef.new(shape: BackupPolicy, required: true, location_name: "BackupPolicy"))
|
419
|
+
PutBackupPolicyRequest.struct_class = Types::PutBackupPolicyRequest
|
420
|
+
|
396
421
|
PutFileSystemPolicyRequest.add_member(:file_system_id, Shapes::ShapeRef.new(shape: FileSystemId, required: true, location: "uri", location_name: "FileSystemId"))
|
397
422
|
PutFileSystemPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: Policy, required: true, location_name: "Policy"))
|
398
423
|
PutFileSystemPolicyRequest.add_member(:bypass_policy_lockout_safety_check, Shapes::ShapeRef.new(shape: BypassPolicyLockoutSafetyCheck, location_name: "BypassPolicyLockoutSafetyCheck"))
|
@@ -455,6 +480,10 @@ module Aws::EFS
|
|
455
480
|
UpdateFileSystemRequest.add_member(:provisioned_throughput_in_mibps, Shapes::ShapeRef.new(shape: ProvisionedThroughputInMibps, location_name: "ProvisionedThroughputInMibps"))
|
456
481
|
UpdateFileSystemRequest.struct_class = Types::UpdateFileSystemRequest
|
457
482
|
|
483
|
+
ValidationException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, required: true, location_name: "ErrorCode"))
|
484
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
485
|
+
ValidationException.struct_class = Types::ValidationException
|
486
|
+
|
458
487
|
|
459
488
|
# @api private
|
460
489
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -480,6 +509,7 @@ module Aws::EFS
|
|
480
509
|
o.output = Shapes::ShapeRef.new(shape: AccessPointDescription)
|
481
510
|
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
482
511
|
o.errors << Shapes::ShapeRef.new(shape: AccessPointAlreadyExists)
|
512
|
+
o.errors << Shapes::ShapeRef.new(shape: IncorrectFileSystemLifeCycleState)
|
483
513
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
484
514
|
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
485
515
|
o.errors << Shapes::ShapeRef.new(shape: AccessPointLimitExceeded)
|
@@ -607,6 +637,19 @@ module Aws::EFS
|
|
607
637
|
)
|
608
638
|
end)
|
609
639
|
|
640
|
+
api.add_operation(:describe_backup_policy, Seahorse::Model::Operation.new.tap do |o|
|
641
|
+
o.name = "DescribeBackupPolicy"
|
642
|
+
o.http_method = "GET"
|
643
|
+
o.http_request_uri = "/2015-02-01/file-systems/{FileSystemId}/backup-policy"
|
644
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeBackupPolicyRequest)
|
645
|
+
o.output = Shapes::ShapeRef.new(shape: BackupPolicyDescription)
|
646
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
647
|
+
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
648
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
649
|
+
o.errors << Shapes::ShapeRef.new(shape: PolicyNotFound)
|
650
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
651
|
+
end)
|
652
|
+
|
610
653
|
api.add_operation(:describe_file_system_policy, Seahorse::Model::Operation.new.tap do |o|
|
611
654
|
o.name = "DescribeFileSystemPolicy"
|
612
655
|
o.http_method = "GET"
|
@@ -721,6 +764,19 @@ module Aws::EFS
|
|
721
764
|
o.errors << Shapes::ShapeRef.new(shape: SecurityGroupNotFound)
|
722
765
|
end)
|
723
766
|
|
767
|
+
api.add_operation(:put_backup_policy, Seahorse::Model::Operation.new.tap do |o|
|
768
|
+
o.name = "PutBackupPolicy"
|
769
|
+
o.http_method = "PUT"
|
770
|
+
o.http_request_uri = "/2015-02-01/file-systems/{FileSystemId}/backup-policy"
|
771
|
+
o.input = Shapes::ShapeRef.new(shape: PutBackupPolicyRequest)
|
772
|
+
o.output = Shapes::ShapeRef.new(shape: BackupPolicyDescription)
|
773
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequest)
|
774
|
+
o.errors << Shapes::ShapeRef.new(shape: FileSystemNotFound)
|
775
|
+
o.errors << Shapes::ShapeRef.new(shape: IncorrectFileSystemLifeCycleState)
|
776
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
777
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
778
|
+
end)
|
779
|
+
|
724
780
|
api.add_operation(:put_file_system_policy, Seahorse::Model::Operation.new.tap do |o|
|
725
781
|
o.name = "PutFileSystemPolicy"
|
726
782
|
o.http_method = "PUT"
|
data/lib/aws-sdk-efs/errors.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:
|
@@ -51,6 +53,7 @@ module Aws::EFS
|
|
51
53
|
# * {ThroughputLimitExceeded}
|
52
54
|
# * {TooManyRequests}
|
53
55
|
# * {UnsupportedAvailabilityZone}
|
56
|
+
# * {ValidationException}
|
54
57
|
#
|
55
58
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
56
59
|
# if they are not defined above.
|
@@ -588,5 +591,25 @@ module Aws::EFS
|
|
588
591
|
end
|
589
592
|
end
|
590
593
|
|
594
|
+
class ValidationException < ServiceError
|
595
|
+
|
596
|
+
# @param [Seahorse::Client::RequestContext] context
|
597
|
+
# @param [String] message
|
598
|
+
# @param [Aws::EFS::Types::ValidationException] data
|
599
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
600
|
+
super(context, message, data)
|
601
|
+
end
|
602
|
+
|
603
|
+
# @return [String]
|
604
|
+
def error_code
|
605
|
+
@data[:error_code]
|
606
|
+
end
|
607
|
+
|
608
|
+
# @return [String]
|
609
|
+
def message
|
610
|
+
@message || @data[:message]
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
591
614
|
end
|
592
615
|
end
|
data/lib/aws-sdk-efs/resource.rb
CHANGED
data/lib/aws-sdk-efs/types.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:
|
@@ -26,6 +28,7 @@ module Aws::EFS
|
|
26
28
|
:error_code,
|
27
29
|
:message,
|
28
30
|
:access_point_id)
|
31
|
+
SENSITIVE = []
|
29
32
|
include Aws::Structure
|
30
33
|
end
|
31
34
|
|
@@ -90,6 +93,7 @@ module Aws::EFS
|
|
90
93
|
:root_directory,
|
91
94
|
:owner_id,
|
92
95
|
:life_cycle_state)
|
96
|
+
SENSITIVE = []
|
93
97
|
include Aws::Structure
|
94
98
|
end
|
95
99
|
|
@@ -107,6 +111,7 @@ module Aws::EFS
|
|
107
111
|
class AccessPointLimitExceeded < Struct.new(
|
108
112
|
:error_code,
|
109
113
|
:message)
|
114
|
+
SENSITIVE = []
|
110
115
|
include Aws::Structure
|
111
116
|
end
|
112
117
|
|
@@ -124,6 +129,54 @@ module Aws::EFS
|
|
124
129
|
class AccessPointNotFound < Struct.new(
|
125
130
|
:error_code,
|
126
131
|
:message)
|
132
|
+
SENSITIVE = []
|
133
|
+
include Aws::Structure
|
134
|
+
end
|
135
|
+
|
136
|
+
# The backup policy for the file system, showing the curent status. If
|
137
|
+
# `ENABLED`, the file system is being backed up.
|
138
|
+
#
|
139
|
+
# @note When making an API call, you may pass BackupPolicy
|
140
|
+
# data as a hash:
|
141
|
+
#
|
142
|
+
# {
|
143
|
+
# status: "ENABLED", # required, accepts ENABLED, ENABLING, DISABLED, DISABLING
|
144
|
+
# }
|
145
|
+
#
|
146
|
+
# @!attribute [rw] status
|
147
|
+
# Describes the status of the file system's backup policy.
|
148
|
+
#
|
149
|
+
# * <i> <code>ENABLED</code> - EFS is automatically backing up the
|
150
|
+
# file system.</i>
|
151
|
+
#
|
152
|
+
# * <i> <code>ENABLING</code> - EFS is turning on automatic backups
|
153
|
+
# for the file system.</i>
|
154
|
+
#
|
155
|
+
# * <i> <code>DISABLED</code> - automatic back ups are turned off for
|
156
|
+
# the file system.</i>
|
157
|
+
#
|
158
|
+
# * <i> <code>DISABLED</code> - EFS is turning off automatic backups
|
159
|
+
# for the file system.</i>
|
160
|
+
# @return [String]
|
161
|
+
#
|
162
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/BackupPolicy AWS API Documentation
|
163
|
+
#
|
164
|
+
class BackupPolicy < Struct.new(
|
165
|
+
:status)
|
166
|
+
SENSITIVE = []
|
167
|
+
include Aws::Structure
|
168
|
+
end
|
169
|
+
|
170
|
+
# @!attribute [rw] backup_policy
|
171
|
+
# Describes the file system's backup policy, indicating whether
|
172
|
+
# automatic backups are turned on or off..
|
173
|
+
# @return [Types::BackupPolicy]
|
174
|
+
#
|
175
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/BackupPolicyDescription AWS API Documentation
|
176
|
+
#
|
177
|
+
class BackupPolicyDescription < Struct.new(
|
178
|
+
:backup_policy)
|
179
|
+
SENSITIVE = []
|
127
180
|
include Aws::Structure
|
128
181
|
end
|
129
182
|
|
@@ -141,6 +194,7 @@ module Aws::EFS
|
|
141
194
|
class BadRequest < Struct.new(
|
142
195
|
:error_code,
|
143
196
|
:message)
|
197
|
+
SENSITIVE = []
|
144
198
|
include Aws::Structure
|
145
199
|
end
|
146
200
|
|
@@ -213,6 +267,7 @@ module Aws::EFS
|
|
213
267
|
:file_system_id,
|
214
268
|
:posix_user,
|
215
269
|
:root_directory)
|
270
|
+
SENSITIVE = []
|
216
271
|
include Aws::Structure
|
217
272
|
end
|
218
273
|
|
@@ -334,6 +389,7 @@ module Aws::EFS
|
|
334
389
|
:throughput_mode,
|
335
390
|
:provisioned_throughput_in_mibps,
|
336
391
|
:tags)
|
392
|
+
SENSITIVE = []
|
337
393
|
include Aws::Structure
|
338
394
|
end
|
339
395
|
|
@@ -371,6 +427,7 @@ module Aws::EFS
|
|
371
427
|
:subnet_id,
|
372
428
|
:ip_address,
|
373
429
|
:security_groups)
|
430
|
+
SENSITIVE = []
|
374
431
|
include Aws::Structure
|
375
432
|
end
|
376
433
|
|
@@ -402,6 +459,7 @@ module Aws::EFS
|
|
402
459
|
class CreateTagsRequest < Struct.new(
|
403
460
|
:file_system_id,
|
404
461
|
:tags)
|
462
|
+
SENSITIVE = []
|
405
463
|
include Aws::Structure
|
406
464
|
end
|
407
465
|
|
@@ -446,6 +504,7 @@ module Aws::EFS
|
|
446
504
|
:owner_uid,
|
447
505
|
:owner_gid,
|
448
506
|
:permissions)
|
507
|
+
SENSITIVE = []
|
449
508
|
include Aws::Structure
|
450
509
|
end
|
451
510
|
|
@@ -464,6 +523,7 @@ module Aws::EFS
|
|
464
523
|
#
|
465
524
|
class DeleteAccessPointRequest < Struct.new(
|
466
525
|
:access_point_id)
|
526
|
+
SENSITIVE = []
|
467
527
|
include Aws::Structure
|
468
528
|
end
|
469
529
|
|
@@ -483,6 +543,7 @@ module Aws::EFS
|
|
483
543
|
#
|
484
544
|
class DeleteFileSystemPolicyRequest < Struct.new(
|
485
545
|
:file_system_id)
|
546
|
+
SENSITIVE = []
|
486
547
|
include Aws::Structure
|
487
548
|
end
|
488
549
|
|
@@ -501,6 +562,7 @@ module Aws::EFS
|
|
501
562
|
#
|
502
563
|
class DeleteFileSystemRequest < Struct.new(
|
503
564
|
:file_system_id)
|
565
|
+
SENSITIVE = []
|
504
566
|
include Aws::Structure
|
505
567
|
end
|
506
568
|
|
@@ -519,6 +581,7 @@ module Aws::EFS
|
|
519
581
|
#
|
520
582
|
class DeleteMountTargetRequest < Struct.new(
|
521
583
|
:mount_target_id)
|
584
|
+
SENSITIVE = []
|
522
585
|
include Aws::Structure
|
523
586
|
end
|
524
587
|
|
@@ -543,6 +606,7 @@ module Aws::EFS
|
|
543
606
|
class DeleteTagsRequest < Struct.new(
|
544
607
|
:file_system_id,
|
545
608
|
:tag_keys)
|
609
|
+
SENSITIVE = []
|
546
610
|
include Aws::Structure
|
547
611
|
end
|
548
612
|
|
@@ -560,6 +624,7 @@ module Aws::EFS
|
|
560
624
|
class DependencyTimeout < Struct.new(
|
561
625
|
:error_code,
|
562
626
|
:message)
|
627
|
+
SENSITIVE = []
|
563
628
|
include Aws::Structure
|
564
629
|
end
|
565
630
|
|
@@ -603,6 +668,7 @@ module Aws::EFS
|
|
603
668
|
:next_token,
|
604
669
|
:access_point_id,
|
605
670
|
:file_system_id)
|
671
|
+
SENSITIVE = []
|
606
672
|
include Aws::Structure
|
607
673
|
end
|
608
674
|
|
@@ -621,6 +687,26 @@ module Aws::EFS
|
|
621
687
|
class DescribeAccessPointsResponse < Struct.new(
|
622
688
|
:access_points,
|
623
689
|
:next_token)
|
690
|
+
SENSITIVE = []
|
691
|
+
include Aws::Structure
|
692
|
+
end
|
693
|
+
|
694
|
+
# @note When making an API call, you may pass DescribeBackupPolicyRequest
|
695
|
+
# data as a hash:
|
696
|
+
#
|
697
|
+
# {
|
698
|
+
# file_system_id: "FileSystemId", # required
|
699
|
+
# }
|
700
|
+
#
|
701
|
+
# @!attribute [rw] file_system_id
|
702
|
+
# Specifies which EFS file system to retrieve the `BackupPolicy` for.
|
703
|
+
# @return [String]
|
704
|
+
#
|
705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/DescribeBackupPolicyRequest AWS API Documentation
|
706
|
+
#
|
707
|
+
class DescribeBackupPolicyRequest < Struct.new(
|
708
|
+
:file_system_id)
|
709
|
+
SENSITIVE = []
|
624
710
|
include Aws::Structure
|
625
711
|
end
|
626
712
|
|
@@ -640,6 +726,7 @@ module Aws::EFS
|
|
640
726
|
#
|
641
727
|
class DescribeFileSystemPolicyRequest < Struct.new(
|
642
728
|
:file_system_id)
|
729
|
+
SENSITIVE = []
|
643
730
|
include Aws::Structure
|
644
731
|
end
|
645
732
|
|
@@ -684,6 +771,7 @@ module Aws::EFS
|
|
684
771
|
:marker,
|
685
772
|
:creation_token,
|
686
773
|
:file_system_id)
|
774
|
+
SENSITIVE = []
|
687
775
|
include Aws::Structure
|
688
776
|
end
|
689
777
|
|
@@ -707,6 +795,7 @@ module Aws::EFS
|
|
707
795
|
:marker,
|
708
796
|
:file_systems,
|
709
797
|
:next_marker)
|
798
|
+
SENSITIVE = []
|
710
799
|
include Aws::Structure
|
711
800
|
end
|
712
801
|
|
@@ -726,6 +815,7 @@ module Aws::EFS
|
|
726
815
|
#
|
727
816
|
class DescribeLifecycleConfigurationRequest < Struct.new(
|
728
817
|
:file_system_id)
|
818
|
+
SENSITIVE = []
|
729
819
|
include Aws::Structure
|
730
820
|
end
|
731
821
|
|
@@ -745,6 +835,7 @@ module Aws::EFS
|
|
745
835
|
#
|
746
836
|
class DescribeMountTargetSecurityGroupsRequest < Struct.new(
|
747
837
|
:mount_target_id)
|
838
|
+
SENSITIVE = []
|
748
839
|
include Aws::Structure
|
749
840
|
end
|
750
841
|
|
@@ -756,6 +847,7 @@ module Aws::EFS
|
|
756
847
|
#
|
757
848
|
class DescribeMountTargetSecurityGroupsResponse < Struct.new(
|
758
849
|
:security_groups)
|
850
|
+
SENSITIVE = []
|
759
851
|
include Aws::Structure
|
760
852
|
end
|
761
853
|
|
@@ -812,6 +904,7 @@ module Aws::EFS
|
|
812
904
|
:file_system_id,
|
813
905
|
:mount_target_id,
|
814
906
|
:access_point_id)
|
907
|
+
SENSITIVE = []
|
815
908
|
include Aws::Structure
|
816
909
|
end
|
817
910
|
|
@@ -837,6 +930,7 @@ module Aws::EFS
|
|
837
930
|
:marker,
|
838
931
|
:mount_targets,
|
839
932
|
:next_marker)
|
933
|
+
SENSITIVE = []
|
840
934
|
include Aws::Structure
|
841
935
|
end
|
842
936
|
|
@@ -872,6 +966,7 @@ module Aws::EFS
|
|
872
966
|
:max_items,
|
873
967
|
:marker,
|
874
968
|
:file_system_id)
|
969
|
+
SENSITIVE = []
|
875
970
|
include Aws::Structure
|
876
971
|
end
|
877
972
|
|
@@ -898,6 +993,7 @@ module Aws::EFS
|
|
898
993
|
:marker,
|
899
994
|
:tags,
|
900
995
|
:next_marker)
|
996
|
+
SENSITIVE = []
|
901
997
|
include Aws::Structure
|
902
998
|
end
|
903
999
|
|
@@ -919,6 +1015,7 @@ module Aws::EFS
|
|
919
1015
|
:error_code,
|
920
1016
|
:message,
|
921
1017
|
:file_system_id)
|
1018
|
+
SENSITIVE = []
|
922
1019
|
include Aws::Structure
|
923
1020
|
end
|
924
1021
|
|
@@ -938,6 +1035,14 @@ module Aws::EFS
|
|
938
1035
|
# The ID of the file system, assigned by Amazon EFS.
|
939
1036
|
# @return [String]
|
940
1037
|
#
|
1038
|
+
# @!attribute [rw] file_system_arn
|
1039
|
+
# The Amazon Resource Name (ARN) for the EFS file system, in the
|
1040
|
+
# format
|
1041
|
+
# `arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id
|
1042
|
+
# `. Example with sample data:
|
1043
|
+
# `arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567`
|
1044
|
+
# @return [String]
|
1045
|
+
#
|
941
1046
|
# @!attribute [rw] creation_time
|
942
1047
|
# The time that the file system was created, in seconds (since
|
943
1048
|
# 1970-01-01T00:00:00Z).
|
@@ -1020,6 +1125,7 @@ module Aws::EFS
|
|
1020
1125
|
:owner_id,
|
1021
1126
|
:creation_token,
|
1022
1127
|
:file_system_id,
|
1128
|
+
:file_system_arn,
|
1023
1129
|
:creation_time,
|
1024
1130
|
:life_cycle_state,
|
1025
1131
|
:name,
|
@@ -1031,6 +1137,7 @@ module Aws::EFS
|
|
1031
1137
|
:throughput_mode,
|
1032
1138
|
:provisioned_throughput_in_mibps,
|
1033
1139
|
:tags)
|
1140
|
+
SENSITIVE = []
|
1034
1141
|
include Aws::Structure
|
1035
1142
|
end
|
1036
1143
|
|
@@ -1047,6 +1154,7 @@ module Aws::EFS
|
|
1047
1154
|
class FileSystemInUse < Struct.new(
|
1048
1155
|
:error_code,
|
1049
1156
|
:message)
|
1157
|
+
SENSITIVE = []
|
1050
1158
|
include Aws::Structure
|
1051
1159
|
end
|
1052
1160
|
|
@@ -1064,6 +1172,7 @@ module Aws::EFS
|
|
1064
1172
|
class FileSystemLimitExceeded < Struct.new(
|
1065
1173
|
:error_code,
|
1066
1174
|
:message)
|
1175
|
+
SENSITIVE = []
|
1067
1176
|
include Aws::Structure
|
1068
1177
|
end
|
1069
1178
|
|
@@ -1081,6 +1190,7 @@ module Aws::EFS
|
|
1081
1190
|
class FileSystemNotFound < Struct.new(
|
1082
1191
|
:error_code,
|
1083
1192
|
:message)
|
1193
|
+
SENSITIVE = []
|
1084
1194
|
include Aws::Structure
|
1085
1195
|
end
|
1086
1196
|
|
@@ -1098,6 +1208,7 @@ module Aws::EFS
|
|
1098
1208
|
class FileSystemPolicyDescription < Struct.new(
|
1099
1209
|
:file_system_id,
|
1100
1210
|
:policy)
|
1211
|
+
SENSITIVE = []
|
1101
1212
|
include Aws::Structure
|
1102
1213
|
end
|
1103
1214
|
|
@@ -1139,6 +1250,7 @@ module Aws::EFS
|
|
1139
1250
|
:timestamp,
|
1140
1251
|
:value_in_ia,
|
1141
1252
|
:value_in_standard)
|
1253
|
+
SENSITIVE = []
|
1142
1254
|
include Aws::Structure
|
1143
1255
|
end
|
1144
1256
|
|
@@ -1155,6 +1267,7 @@ module Aws::EFS
|
|
1155
1267
|
class IncorrectFileSystemLifeCycleState < Struct.new(
|
1156
1268
|
:error_code,
|
1157
1269
|
:message)
|
1270
|
+
SENSITIVE = []
|
1158
1271
|
include Aws::Structure
|
1159
1272
|
end
|
1160
1273
|
|
@@ -1172,6 +1285,7 @@ module Aws::EFS
|
|
1172
1285
|
class IncorrectMountTargetState < Struct.new(
|
1173
1286
|
:error_code,
|
1174
1287
|
:message)
|
1288
|
+
SENSITIVE = []
|
1175
1289
|
include Aws::Structure
|
1176
1290
|
end
|
1177
1291
|
|
@@ -1193,6 +1307,7 @@ module Aws::EFS
|
|
1193
1307
|
class InsufficientThroughputCapacity < Struct.new(
|
1194
1308
|
:error_code,
|
1195
1309
|
:message)
|
1310
|
+
SENSITIVE = []
|
1196
1311
|
include Aws::Structure
|
1197
1312
|
end
|
1198
1313
|
|
@@ -1209,6 +1324,7 @@ module Aws::EFS
|
|
1209
1324
|
class InternalServerError < Struct.new(
|
1210
1325
|
:error_code,
|
1211
1326
|
:message)
|
1327
|
+
SENSITIVE = []
|
1212
1328
|
include Aws::Structure
|
1213
1329
|
end
|
1214
1330
|
|
@@ -1228,6 +1344,7 @@ module Aws::EFS
|
|
1228
1344
|
class InvalidPolicyException < Struct.new(
|
1229
1345
|
:error_code,
|
1230
1346
|
:message)
|
1347
|
+
SENSITIVE = []
|
1231
1348
|
include Aws::Structure
|
1232
1349
|
end
|
1233
1350
|
|
@@ -1245,6 +1362,7 @@ module Aws::EFS
|
|
1245
1362
|
class IpAddressInUse < Struct.new(
|
1246
1363
|
:error_code,
|
1247
1364
|
:message)
|
1365
|
+
SENSITIVE = []
|
1248
1366
|
include Aws::Structure
|
1249
1367
|
end
|
1250
1368
|
|
@@ -1257,6 +1375,7 @@ module Aws::EFS
|
|
1257
1375
|
#
|
1258
1376
|
class LifecycleConfigurationDescription < Struct.new(
|
1259
1377
|
:lifecycle_policies)
|
1378
|
+
SENSITIVE = []
|
1260
1379
|
include Aws::Structure
|
1261
1380
|
end
|
1262
1381
|
|
@@ -1281,6 +1400,7 @@ module Aws::EFS
|
|
1281
1400
|
#
|
1282
1401
|
class LifecyclePolicy < Struct.new(
|
1283
1402
|
:transition_to_ia)
|
1403
|
+
SENSITIVE = []
|
1284
1404
|
include Aws::Structure
|
1285
1405
|
end
|
1286
1406
|
|
@@ -1316,6 +1436,7 @@ module Aws::EFS
|
|
1316
1436
|
:resource_id,
|
1317
1437
|
:max_results,
|
1318
1438
|
:next_token)
|
1439
|
+
SENSITIVE = []
|
1319
1440
|
include Aws::Structure
|
1320
1441
|
end
|
1321
1442
|
|
@@ -1334,6 +1455,7 @@ module Aws::EFS
|
|
1334
1455
|
class ListTagsForResourceResponse < Struct.new(
|
1335
1456
|
:tags,
|
1336
1457
|
:next_token)
|
1458
|
+
SENSITIVE = []
|
1337
1459
|
include Aws::Structure
|
1338
1460
|
end
|
1339
1461
|
|
@@ -1358,6 +1480,7 @@ module Aws::EFS
|
|
1358
1480
|
class ModifyMountTargetSecurityGroupsRequest < Struct.new(
|
1359
1481
|
:mount_target_id,
|
1360
1482
|
:security_groups)
|
1483
|
+
SENSITIVE = []
|
1361
1484
|
include Aws::Structure
|
1362
1485
|
end
|
1363
1486
|
|
@@ -1375,6 +1498,7 @@ module Aws::EFS
|
|
1375
1498
|
class MountTargetConflict < Struct.new(
|
1376
1499
|
:error_code,
|
1377
1500
|
:message)
|
1501
|
+
SENSITIVE = []
|
1378
1502
|
include Aws::Structure
|
1379
1503
|
end
|
1380
1504
|
|
@@ -1425,6 +1549,11 @@ module Aws::EFS
|
|
1425
1549
|
# account.
|
1426
1550
|
# @return [String]
|
1427
1551
|
#
|
1552
|
+
# @!attribute [rw] vpc_id
|
1553
|
+
# The Virtual Private Cloud (VPC) ID that the mount target is
|
1554
|
+
# configured in.
|
1555
|
+
# @return [String]
|
1556
|
+
#
|
1428
1557
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/MountTargetDescription AWS API Documentation
|
1429
1558
|
#
|
1430
1559
|
class MountTargetDescription < Struct.new(
|
@@ -1436,7 +1565,9 @@ module Aws::EFS
|
|
1436
1565
|
:ip_address,
|
1437
1566
|
:network_interface_id,
|
1438
1567
|
:availability_zone_id,
|
1439
|
-
:availability_zone_name
|
1568
|
+
:availability_zone_name,
|
1569
|
+
:vpc_id)
|
1570
|
+
SENSITIVE = []
|
1440
1571
|
include Aws::Structure
|
1441
1572
|
end
|
1442
1573
|
|
@@ -1454,6 +1585,7 @@ module Aws::EFS
|
|
1454
1585
|
class MountTargetNotFound < Struct.new(
|
1455
1586
|
:error_code,
|
1456
1587
|
:message)
|
1588
|
+
SENSITIVE = []
|
1457
1589
|
include Aws::Structure
|
1458
1590
|
end
|
1459
1591
|
|
@@ -1479,6 +1611,7 @@ module Aws::EFS
|
|
1479
1611
|
class NetworkInterfaceLimitExceeded < Struct.new(
|
1480
1612
|
:error_code,
|
1481
1613
|
:message)
|
1614
|
+
SENSITIVE = []
|
1482
1615
|
include Aws::Structure
|
1483
1616
|
end
|
1484
1617
|
|
@@ -1496,6 +1629,7 @@ module Aws::EFS
|
|
1496
1629
|
class NoFreeAddressesInSubnet < Struct.new(
|
1497
1630
|
:error_code,
|
1498
1631
|
:message)
|
1632
|
+
SENSITIVE = []
|
1499
1633
|
include Aws::Structure
|
1500
1634
|
end
|
1501
1635
|
|
@@ -1513,6 +1647,7 @@ module Aws::EFS
|
|
1513
1647
|
class PolicyNotFound < Struct.new(
|
1514
1648
|
:error_code,
|
1515
1649
|
:message)
|
1650
|
+
SENSITIVE = []
|
1516
1651
|
include Aws::Structure
|
1517
1652
|
end
|
1518
1653
|
|
@@ -1550,6 +1685,34 @@ module Aws::EFS
|
|
1550
1685
|
:uid,
|
1551
1686
|
:gid,
|
1552
1687
|
:secondary_gids)
|
1688
|
+
SENSITIVE = []
|
1689
|
+
include Aws::Structure
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
# @note When making an API call, you may pass PutBackupPolicyRequest
|
1693
|
+
# data as a hash:
|
1694
|
+
#
|
1695
|
+
# {
|
1696
|
+
# file_system_id: "FileSystemId", # required
|
1697
|
+
# backup_policy: { # required
|
1698
|
+
# status: "ENABLED", # required, accepts ENABLED, ENABLING, DISABLED, DISABLING
|
1699
|
+
# },
|
1700
|
+
# }
|
1701
|
+
#
|
1702
|
+
# @!attribute [rw] file_system_id
|
1703
|
+
# Specifies which EFS file system to update the backup policy for.
|
1704
|
+
# @return [String]
|
1705
|
+
#
|
1706
|
+
# @!attribute [rw] backup_policy
|
1707
|
+
# The backup policy included in the `PutBackupPolicy` request.
|
1708
|
+
# @return [Types::BackupPolicy]
|
1709
|
+
#
|
1710
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/PutBackupPolicyRequest AWS API Documentation
|
1711
|
+
#
|
1712
|
+
class PutBackupPolicyRequest < Struct.new(
|
1713
|
+
:file_system_id,
|
1714
|
+
:backup_policy)
|
1715
|
+
SENSITIVE = []
|
1553
1716
|
include Aws::Structure
|
1554
1717
|
end
|
1555
1718
|
|
@@ -1596,6 +1759,7 @@ module Aws::EFS
|
|
1596
1759
|
:file_system_id,
|
1597
1760
|
:policy,
|
1598
1761
|
:bypass_policy_lockout_safety_check)
|
1762
|
+
SENSITIVE = []
|
1599
1763
|
include Aws::Structure
|
1600
1764
|
end
|
1601
1765
|
|
@@ -1628,6 +1792,7 @@ module Aws::EFS
|
|
1628
1792
|
class PutLifecycleConfigurationRequest < Struct.new(
|
1629
1793
|
:file_system_id,
|
1630
1794
|
:lifecycle_policies)
|
1795
|
+
SENSITIVE = []
|
1631
1796
|
include Aws::Structure
|
1632
1797
|
end
|
1633
1798
|
|
@@ -1676,6 +1841,7 @@ module Aws::EFS
|
|
1676
1841
|
class RootDirectory < Struct.new(
|
1677
1842
|
:path,
|
1678
1843
|
:creation_info)
|
1844
|
+
SENSITIVE = []
|
1679
1845
|
include Aws::Structure
|
1680
1846
|
end
|
1681
1847
|
|
@@ -1693,6 +1859,7 @@ module Aws::EFS
|
|
1693
1859
|
class SecurityGroupLimitExceeded < Struct.new(
|
1694
1860
|
:error_code,
|
1695
1861
|
:message)
|
1862
|
+
SENSITIVE = []
|
1696
1863
|
include Aws::Structure
|
1697
1864
|
end
|
1698
1865
|
|
@@ -1710,6 +1877,7 @@ module Aws::EFS
|
|
1710
1877
|
class SecurityGroupNotFound < Struct.new(
|
1711
1878
|
:error_code,
|
1712
1879
|
:message)
|
1880
|
+
SENSITIVE = []
|
1713
1881
|
include Aws::Structure
|
1714
1882
|
end
|
1715
1883
|
|
@@ -1727,6 +1895,7 @@ module Aws::EFS
|
|
1727
1895
|
class SubnetNotFound < Struct.new(
|
1728
1896
|
:error_code,
|
1729
1897
|
:message)
|
1898
|
+
SENSITIVE = []
|
1730
1899
|
include Aws::Structure
|
1731
1900
|
end
|
1732
1901
|
|
@@ -1755,6 +1924,7 @@ module Aws::EFS
|
|
1755
1924
|
class Tag < Struct.new(
|
1756
1925
|
:key,
|
1757
1926
|
:value)
|
1927
|
+
SENSITIVE = []
|
1758
1928
|
include Aws::Structure
|
1759
1929
|
end
|
1760
1930
|
|
@@ -1784,6 +1954,7 @@ module Aws::EFS
|
|
1784
1954
|
class TagResourceRequest < Struct.new(
|
1785
1955
|
:resource_id,
|
1786
1956
|
:tags)
|
1957
|
+
SENSITIVE = []
|
1787
1958
|
include Aws::Structure
|
1788
1959
|
end
|
1789
1960
|
|
@@ -1802,6 +1973,7 @@ module Aws::EFS
|
|
1802
1973
|
class ThroughputLimitExceeded < Struct.new(
|
1803
1974
|
:error_code,
|
1804
1975
|
:message)
|
1976
|
+
SENSITIVE = []
|
1805
1977
|
include Aws::Structure
|
1806
1978
|
end
|
1807
1979
|
|
@@ -1819,6 +1991,7 @@ module Aws::EFS
|
|
1819
1991
|
class TooManyRequests < Struct.new(
|
1820
1992
|
:error_code,
|
1821
1993
|
:message)
|
1994
|
+
SENSITIVE = []
|
1822
1995
|
include Aws::Structure
|
1823
1996
|
end
|
1824
1997
|
|
@@ -1833,6 +2006,7 @@ module Aws::EFS
|
|
1833
2006
|
class UnsupportedAvailabilityZone < Struct.new(
|
1834
2007
|
:error_code,
|
1835
2008
|
:message)
|
2009
|
+
SENSITIVE = []
|
1836
2010
|
include Aws::Structure
|
1837
2011
|
end
|
1838
2012
|
|
@@ -1858,6 +2032,7 @@ module Aws::EFS
|
|
1858
2032
|
class UntagResourceRequest < Struct.new(
|
1859
2033
|
:resource_id,
|
1860
2034
|
:tag_keys)
|
2035
|
+
SENSITIVE = []
|
1861
2036
|
include Aws::Structure
|
1862
2037
|
end
|
1863
2038
|
|
@@ -1896,6 +2071,25 @@ module Aws::EFS
|
|
1896
2071
|
:file_system_id,
|
1897
2072
|
:throughput_mode,
|
1898
2073
|
:provisioned_throughput_in_mibps)
|
2074
|
+
SENSITIVE = []
|
2075
|
+
include Aws::Structure
|
2076
|
+
end
|
2077
|
+
|
2078
|
+
# Returned if the AWS Backup service is not available in the region that
|
2079
|
+
# the request was made.
|
2080
|
+
#
|
2081
|
+
# @!attribute [rw] error_code
|
2082
|
+
# @return [String]
|
2083
|
+
#
|
2084
|
+
# @!attribute [rw] message
|
2085
|
+
# @return [String]
|
2086
|
+
#
|
2087
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticfilesystem-2015-02-01/ValidationException AWS API Documentation
|
2088
|
+
#
|
2089
|
+
class ValidationException < Struct.new(
|
2090
|
+
:error_code,
|
2091
|
+
:message)
|
2092
|
+
SENSITIVE = []
|
1899
2093
|
include Aws::Structure
|
1900
2094
|
end
|
1901
2095
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-efs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.34.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-08-25 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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|