aws-sdk-efs 1.9.0 → 1.10.0
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-efs.rb +1 -1
- data/lib/aws-sdk-efs/client.rb +45 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 110d2d26a7576963e6c43e4c6092516154323a8d
|
4
|
+
data.tar.gz: 513867c8c8ac0514c597eab572d7524787a28b41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 836ee06385d243af15553a1b4901186ddf842854aec28fe7945b1824f930c85c85fca7c9318b175aa14d2039e54b36dabfe25f8499d7a9f173f157f9a98b5d4d
|
7
|
+
data.tar.gz: a78c3e72915f2c9cffc0d45bdddb9381a39acb6f513f7cd9bc641222d027a6c1729a67d86e79b0713d84c0077940893faa4948eaba7c8e12eb80f9f5376a4f38
|
data/lib/aws-sdk-efs.rb
CHANGED
data/lib/aws-sdk-efs/client.rb
CHANGED
@@ -982,6 +982,25 @@ module Aws::EFS
|
|
982
982
|
#
|
983
983
|
# * {Types::LifecycleConfigurationDescription#lifecycle_policies #lifecycle_policies} => Array<Types::LifecyclePolicy>
|
984
984
|
#
|
985
|
+
#
|
986
|
+
# @example Example: To describe the lifecycle configuration for a file system
|
987
|
+
#
|
988
|
+
# # This operation describes a file system's LifecycleConfiguration. EFS lifecycle management uses the
|
989
|
+
# # LifecycleConfiguration object to identify which files to move to the EFS Infrequent Access (IA) storage class.
|
990
|
+
#
|
991
|
+
# resp = client.describe_lifecycle_configuration({
|
992
|
+
# file_system_id: "fs-01234567",
|
993
|
+
# })
|
994
|
+
#
|
995
|
+
# resp.to_h outputs the following:
|
996
|
+
# {
|
997
|
+
# lifecycle_policies: [
|
998
|
+
# {
|
999
|
+
# transition_to_ia: "AFTER_30_DAYS",
|
1000
|
+
# },
|
1001
|
+
# ],
|
1002
|
+
# }
|
1003
|
+
#
|
985
1004
|
# @example Request syntax with placeholder values
|
986
1005
|
#
|
987
1006
|
# resp = client.describe_lifecycle_configuration({
|
@@ -1322,6 +1341,31 @@ module Aws::EFS
|
|
1322
1341
|
#
|
1323
1342
|
# * {Types::LifecycleConfigurationDescription#lifecycle_policies #lifecycle_policies} => Array<Types::LifecyclePolicy>
|
1324
1343
|
#
|
1344
|
+
#
|
1345
|
+
# @example Example: Creates a new lifecycleconfiguration object for a file system
|
1346
|
+
#
|
1347
|
+
# # This operation enables lifecycle management on a file system by creating a new LifecycleConfiguration object. A
|
1348
|
+
# # LifecycleConfiguration object defines when files in an Amazon EFS file system are automatically transitioned to the
|
1349
|
+
# # lower-cost EFS Infrequent Access (IA) storage class. A LifecycleConfiguration applies to all files in a file system.
|
1350
|
+
#
|
1351
|
+
# resp = client.put_lifecycle_configuration({
|
1352
|
+
# file_system_id: "fs-01234567",
|
1353
|
+
# lifecycle_policies: [
|
1354
|
+
# {
|
1355
|
+
# transition_to_ia: "AFTER_30_DAYS",
|
1356
|
+
# },
|
1357
|
+
# ],
|
1358
|
+
# })
|
1359
|
+
#
|
1360
|
+
# resp.to_h outputs the following:
|
1361
|
+
# {
|
1362
|
+
# lifecycle_policies: [
|
1363
|
+
# {
|
1364
|
+
# transition_to_ia: "AFTER_30_DAYS",
|
1365
|
+
# },
|
1366
|
+
# ],
|
1367
|
+
# }
|
1368
|
+
#
|
1325
1369
|
# @example Request syntax with placeholder values
|
1326
1370
|
#
|
1327
1371
|
# resp = client.put_lifecycle_configuration({
|
@@ -1433,7 +1477,7 @@ module Aws::EFS
|
|
1433
1477
|
params: params,
|
1434
1478
|
config: config)
|
1435
1479
|
context[:gem_name] = 'aws-sdk-efs'
|
1436
|
-
context[:gem_version] = '1.
|
1480
|
+
context[:gem_version] = '1.10.0'
|
1437
1481
|
Seahorse::Client::Request.new(handlers, context)
|
1438
1482
|
end
|
1439
1483
|
|
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.10.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: 2019-
|
11
|
+
date: 2019-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|