aws-sdk-fsx 1.35.0 → 1.39.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/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-fsx.rb +1 -1
- data/lib/aws-sdk-fsx/client.rb +316 -7
- data/lib/aws-sdk-fsx/client_api.rb +87 -0
- data/lib/aws-sdk-fsx/errors.rb +106 -0
- data/lib/aws-sdk-fsx/types.rb +537 -46
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1f03291c87edf061a4152dd8e584b4688c807348a90d38eb9ff3379945cbc2b
|
4
|
+
data.tar.gz: 7e1fc2630744117eaebff801bb417bf98ad724ef1a37f459ccb38326881655eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b0d9c74c239c8e747466f91a35e6cd6f294c5e354d9b20093e1b8b4de82adb4d7e7c444d3daa4cef7e8a29143871479639a36e1dddf2d7288d8f1a8349da79f
|
7
|
+
data.tar.gz: 4427c4f1fc8f5ef009db50059a70bbe93f464c41be0921a65ffe94d60245e29a8843cddcb0d67dfad28069fa37d8cf44d970e934e310ab3bae555754bab92a6f
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.39.0 (2021-07-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.38.0 (2021-06-08)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for auditing end-user access to files, folders, and file shares using Windows event logs, enabling customers to meet their security and compliance needs.
|
13
|
+
|
14
|
+
1.37.0 (2021-05-27)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - This release adds LZ4 data compression support to FSx for Lustre to reduce storage consumption of both file system storage and file system backups.
|
18
|
+
|
19
|
+
1.36.0 (2021-04-12)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Support for cross-region and cross-account backup copies
|
23
|
+
|
4
24
|
1.35.0 (2021-03-10)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.39.0
|
data/lib/aws-sdk-fsx.rb
CHANGED
data/lib/aws-sdk-fsx/client.rb
CHANGED
@@ -456,6 +456,242 @@ module Aws::FSx
|
|
456
456
|
req.send_request(options)
|
457
457
|
end
|
458
458
|
|
459
|
+
# Copies an existing backup within the same AWS account to another
|
460
|
+
# Region (cross-Region copy) or within the same Region (in-Region copy).
|
461
|
+
# You can have up to five backup copy requests in progress to a single
|
462
|
+
# destination Region per account.
|
463
|
+
#
|
464
|
+
# You can use cross-Region backup copies for cross-region disaster
|
465
|
+
# recovery. You periodically take backups and copy them to another
|
466
|
+
# Region so that in the event of a disaster in the primary Region, you
|
467
|
+
# can restore from backup and recover availability quickly in the other
|
468
|
+
# Region. You can make cross-Region copies only within your AWS
|
469
|
+
# partition.
|
470
|
+
#
|
471
|
+
# You can also use backup copies to clone your file data set to another
|
472
|
+
# Region or within the same Region.
|
473
|
+
#
|
474
|
+
# You can use the `SourceRegion` parameter to specify the AWS Region
|
475
|
+
# from which the backup will be copied. For example, if you make the
|
476
|
+
# call from the `us-west-1` Region and want to copy a backup from the
|
477
|
+
# `us-east-2` Region, you specify `us-east-2` in the `SourceRegion`
|
478
|
+
# parameter to make a cross-Region copy. If you don't specify a Region,
|
479
|
+
# the backup copy is created in the same Region where the request is
|
480
|
+
# sent from (in-Region copy).
|
481
|
+
#
|
482
|
+
# For more information on creating backup copies, see [ Copying
|
483
|
+
# backups][1] in the *Amazon FSx for Windows User Guide* and [Copying
|
484
|
+
# backups][2] in the *Amazon FSx for Lustre User Guide*.
|
485
|
+
#
|
486
|
+
#
|
487
|
+
#
|
488
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/using-backups.html#copy-backups
|
489
|
+
# [2]: https://docs.aws.amazon.com/fsx/latest/LustreGuide/using-backups-fsx.html#copy-backups
|
490
|
+
#
|
491
|
+
# @option params [String] :client_request_token
|
492
|
+
# (Optional) An idempotency token for resource creation, in a string of
|
493
|
+
# up to 64 ASCII characters. This token is automatically filled on your
|
494
|
+
# behalf when you use the AWS Command Line Interface (AWS CLI) or an AWS
|
495
|
+
# SDK.
|
496
|
+
#
|
497
|
+
# **A suitable default value is auto-generated.** You should normally
|
498
|
+
# not need to pass this option.**
|
499
|
+
#
|
500
|
+
# @option params [required, String] :source_backup_id
|
501
|
+
# The ID of the source backup. Specifies the ID of the backup that is
|
502
|
+
# being copied.
|
503
|
+
#
|
504
|
+
# @option params [String] :source_region
|
505
|
+
# The source AWS Region of the backup. Specifies the AWS Region from
|
506
|
+
# which the backup is being copied. The source and destination Regions
|
507
|
+
# must be in the same AWS partition. If you don't specify a Region, it
|
508
|
+
# defaults to the Region where the request is sent from (in-Region
|
509
|
+
# copy).
|
510
|
+
#
|
511
|
+
# @option params [String] :kms_key_id
|
512
|
+
# The ID of the AWS Key Management Service (AWS KMS) key used to encrypt
|
513
|
+
# the file system's data for Amazon FSx for Windows File Server file
|
514
|
+
# systems and Amazon FSx for Lustre `PERSISTENT_1` file systems at rest.
|
515
|
+
# In either case, if not specified, the Amazon FSx managed key is used.
|
516
|
+
# The Amazon FSx for Lustre `SCRATCH_1` and `SCRATCH_2` file systems are
|
517
|
+
# always encrypted at rest using Amazon FSx managed keys. For more
|
518
|
+
# information, see [Encrypt][1] in the *AWS Key Management Service API
|
519
|
+
# Reference*.
|
520
|
+
#
|
521
|
+
#
|
522
|
+
#
|
523
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html
|
524
|
+
#
|
525
|
+
# @option params [Boolean] :copy_tags
|
526
|
+
# A boolean flag indicating whether tags from the source backup should
|
527
|
+
# be copied to the backup copy. This value defaults to false.
|
528
|
+
#
|
529
|
+
# If you set `CopyTags` to true and the source backup has existing tags,
|
530
|
+
# you can use the `Tags` parameter to create new tags, provided that the
|
531
|
+
# sum of the source backup tags and the new tags doesn't exceed 50.
|
532
|
+
# Both sets of tags are merged. If there are tag conflicts (for example,
|
533
|
+
# two tags with the same key but different values), the tags created
|
534
|
+
# with the `Tags` parameter take precedence.
|
535
|
+
#
|
536
|
+
# @option params [Array<Types::Tag>] :tags
|
537
|
+
# A list of `Tag` values, with a maximum of 50 elements.
|
538
|
+
#
|
539
|
+
# @return [Types::CopyBackupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
540
|
+
#
|
541
|
+
# * {Types::CopyBackupResponse#backup #backup} => Types::Backup
|
542
|
+
#
|
543
|
+
#
|
544
|
+
# @example Example: To copy a backup
|
545
|
+
#
|
546
|
+
# # This operation copies an Amazon FSx backup.
|
547
|
+
#
|
548
|
+
# resp = client.copy_backup({
|
549
|
+
# source_backup_id: "backup-03e3c82e0183b7b6b",
|
550
|
+
# source_region: "us-east-2",
|
551
|
+
# })
|
552
|
+
#
|
553
|
+
# resp.to_h outputs the following:
|
554
|
+
# {
|
555
|
+
# backup: {
|
556
|
+
# backup_id: "backup-0a3364eded1014b28",
|
557
|
+
# creation_time: Time.parse(1617954808.068),
|
558
|
+
# file_system: {
|
559
|
+
# file_system_id: "fs-0498eed5fe91001ec",
|
560
|
+
# file_system_type: "LUSTRE",
|
561
|
+
# lustre_configuration: {
|
562
|
+
# automatic_backup_retention_days: 0,
|
563
|
+
# deployment_type: "PERSISTENT_1",
|
564
|
+
# per_unit_storage_throughput: 50,
|
565
|
+
# weekly_maintenance_start_time: "1:05:00",
|
566
|
+
# },
|
567
|
+
# resource_arn: "arn:aws:fsx:us-east-1:012345678912:file-system/fs-0f5179e395f597e66",
|
568
|
+
# storage_capacity: 2400,
|
569
|
+
# storage_type: "SSD",
|
570
|
+
# },
|
571
|
+
# kms_key_id: "arn:aws:fsx:us-east-1:012345678912:key/d1234e22-543a-12b7-a98f-e12c2b54001a",
|
572
|
+
# lifecycle: "COPYING",
|
573
|
+
# owner_id: "123456789012",
|
574
|
+
# resource_arn: "arn:aws:fsx:us-east-1:012345678912:backup/backup-0a3364eded1014b28",
|
575
|
+
# tags: [
|
576
|
+
# {
|
577
|
+
# key: "Name",
|
578
|
+
# value: "MyBackup",
|
579
|
+
# },
|
580
|
+
# ],
|
581
|
+
# type: "USER_INITIATED",
|
582
|
+
# },
|
583
|
+
# }
|
584
|
+
#
|
585
|
+
# @example Request syntax with placeholder values
|
586
|
+
#
|
587
|
+
# resp = client.copy_backup({
|
588
|
+
# client_request_token: "ClientRequestToken",
|
589
|
+
# source_backup_id: "SourceBackupId", # required
|
590
|
+
# source_region: "Region",
|
591
|
+
# kms_key_id: "KmsKeyId",
|
592
|
+
# copy_tags: false,
|
593
|
+
# tags: [
|
594
|
+
# {
|
595
|
+
# key: "TagKey", # required
|
596
|
+
# value: "TagValue", # required
|
597
|
+
# },
|
598
|
+
# ],
|
599
|
+
# })
|
600
|
+
#
|
601
|
+
# @example Response structure
|
602
|
+
#
|
603
|
+
# resp.backup.backup_id #=> String
|
604
|
+
# resp.backup.lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED", "PENDING", "COPYING"
|
605
|
+
# resp.backup.failure_details.message #=> String
|
606
|
+
# resp.backup.type #=> String, one of "AUTOMATIC", "USER_INITIATED", "AWS_BACKUP"
|
607
|
+
# resp.backup.progress_percent #=> Integer
|
608
|
+
# resp.backup.creation_time #=> Time
|
609
|
+
# resp.backup.kms_key_id #=> String
|
610
|
+
# resp.backup.resource_arn #=> String
|
611
|
+
# resp.backup.tags #=> Array
|
612
|
+
# resp.backup.tags[0].key #=> String
|
613
|
+
# resp.backup.tags[0].value #=> String
|
614
|
+
# resp.backup.file_system.owner_id #=> String
|
615
|
+
# resp.backup.file_system.creation_time #=> Time
|
616
|
+
# resp.backup.file_system.file_system_id #=> String
|
617
|
+
# resp.backup.file_system.file_system_type #=> String, one of "WINDOWS", "LUSTRE"
|
618
|
+
# resp.backup.file_system.lifecycle #=> String, one of "AVAILABLE", "CREATING", "FAILED", "DELETING", "MISCONFIGURED", "UPDATING"
|
619
|
+
# resp.backup.file_system.failure_details.message #=> String
|
620
|
+
# resp.backup.file_system.storage_capacity #=> Integer
|
621
|
+
# resp.backup.file_system.storage_type #=> String, one of "SSD", "HDD"
|
622
|
+
# resp.backup.file_system.vpc_id #=> String
|
623
|
+
# resp.backup.file_system.subnet_ids #=> Array
|
624
|
+
# resp.backup.file_system.subnet_ids[0] #=> String
|
625
|
+
# resp.backup.file_system.network_interface_ids #=> Array
|
626
|
+
# resp.backup.file_system.network_interface_ids[0] #=> String
|
627
|
+
# resp.backup.file_system.dns_name #=> String
|
628
|
+
# resp.backup.file_system.kms_key_id #=> String
|
629
|
+
# resp.backup.file_system.resource_arn #=> String
|
630
|
+
# resp.backup.file_system.tags #=> Array
|
631
|
+
# resp.backup.file_system.tags[0].key #=> String
|
632
|
+
# resp.backup.file_system.tags[0].value #=> String
|
633
|
+
# resp.backup.file_system.windows_configuration.active_directory_id #=> String
|
634
|
+
# resp.backup.file_system.windows_configuration.self_managed_active_directory_configuration.domain_name #=> String
|
635
|
+
# resp.backup.file_system.windows_configuration.self_managed_active_directory_configuration.organizational_unit_distinguished_name #=> String
|
636
|
+
# resp.backup.file_system.windows_configuration.self_managed_active_directory_configuration.file_system_administrators_group #=> String
|
637
|
+
# resp.backup.file_system.windows_configuration.self_managed_active_directory_configuration.user_name #=> String
|
638
|
+
# resp.backup.file_system.windows_configuration.self_managed_active_directory_configuration.dns_ips #=> Array
|
639
|
+
# resp.backup.file_system.windows_configuration.self_managed_active_directory_configuration.dns_ips[0] #=> String
|
640
|
+
# resp.backup.file_system.windows_configuration.deployment_type #=> String, one of "MULTI_AZ_1", "SINGLE_AZ_1", "SINGLE_AZ_2"
|
641
|
+
# resp.backup.file_system.windows_configuration.remote_administration_endpoint #=> String
|
642
|
+
# resp.backup.file_system.windows_configuration.preferred_subnet_id #=> String
|
643
|
+
# resp.backup.file_system.windows_configuration.preferred_file_server_ip #=> String
|
644
|
+
# resp.backup.file_system.windows_configuration.throughput_capacity #=> Integer
|
645
|
+
# resp.backup.file_system.windows_configuration.maintenance_operations_in_progress #=> Array
|
646
|
+
# resp.backup.file_system.windows_configuration.maintenance_operations_in_progress[0] #=> String, one of "PATCHING", "BACKING_UP"
|
647
|
+
# resp.backup.file_system.windows_configuration.weekly_maintenance_start_time #=> String
|
648
|
+
# resp.backup.file_system.windows_configuration.daily_automatic_backup_start_time #=> String
|
649
|
+
# resp.backup.file_system.windows_configuration.automatic_backup_retention_days #=> Integer
|
650
|
+
# resp.backup.file_system.windows_configuration.copy_tags_to_backups #=> Boolean
|
651
|
+
# resp.backup.file_system.windows_configuration.aliases #=> Array
|
652
|
+
# resp.backup.file_system.windows_configuration.aliases[0].name #=> String
|
653
|
+
# resp.backup.file_system.windows_configuration.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
654
|
+
# resp.backup.file_system.windows_configuration.audit_log_configuration.file_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
655
|
+
# resp.backup.file_system.windows_configuration.audit_log_configuration.file_share_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
656
|
+
# resp.backup.file_system.windows_configuration.audit_log_configuration.audit_log_destination #=> String
|
657
|
+
# resp.backup.file_system.lustre_configuration.weekly_maintenance_start_time #=> String
|
658
|
+
# resp.backup.file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
|
659
|
+
# resp.backup.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
660
|
+
# resp.backup.file_system.lustre_configuration.data_repository_configuration.export_path #=> String
|
661
|
+
# resp.backup.file_system.lustre_configuration.data_repository_configuration.imported_file_chunk_size #=> Integer
|
662
|
+
# resp.backup.file_system.lustre_configuration.data_repository_configuration.auto_import_policy #=> String, one of "NONE", "NEW", "NEW_CHANGED"
|
663
|
+
# resp.backup.file_system.lustre_configuration.data_repository_configuration.failure_details.message #=> String
|
664
|
+
# resp.backup.file_system.lustre_configuration.deployment_type #=> String, one of "SCRATCH_1", "SCRATCH_2", "PERSISTENT_1"
|
665
|
+
# resp.backup.file_system.lustre_configuration.per_unit_storage_throughput #=> Integer
|
666
|
+
# resp.backup.file_system.lustre_configuration.mount_name #=> String
|
667
|
+
# resp.backup.file_system.lustre_configuration.daily_automatic_backup_start_time #=> String
|
668
|
+
# resp.backup.file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
669
|
+
# resp.backup.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
670
|
+
# resp.backup.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
671
|
+
# resp.backup.file_system.lustre_configuration.data_compression_type #=> String, one of "NONE", "LZ4"
|
672
|
+
# resp.backup.file_system.administrative_actions #=> Array
|
673
|
+
# resp.backup.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION", "FILE_SYSTEM_ALIAS_ASSOCIATION", "FILE_SYSTEM_ALIAS_DISASSOCIATION"
|
674
|
+
# resp.backup.file_system.administrative_actions[0].progress_percent #=> Integer
|
675
|
+
# resp.backup.file_system.administrative_actions[0].request_time #=> Time
|
676
|
+
# resp.backup.file_system.administrative_actions[0].status #=> String, one of "FAILED", "IN_PROGRESS", "PENDING", "COMPLETED", "UPDATED_OPTIMIZING"
|
677
|
+
# resp.backup.file_system.administrative_actions[0].target_file_system_values #=> Types::FileSystem
|
678
|
+
# resp.backup.file_system.administrative_actions[0].failure_details.message #=> String
|
679
|
+
# resp.backup.directory_information.domain_name #=> String
|
680
|
+
# resp.backup.directory_information.active_directory_id #=> String
|
681
|
+
# resp.backup.directory_information.resource_arn #=> String
|
682
|
+
# resp.backup.owner_id #=> String
|
683
|
+
# resp.backup.source_backup_id #=> String
|
684
|
+
# resp.backup.source_backup_region #=> String
|
685
|
+
#
|
686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CopyBackup AWS API Documentation
|
687
|
+
#
|
688
|
+
# @overload copy_backup(params = {})
|
689
|
+
# @param [Hash] params ({})
|
690
|
+
def copy_backup(params = {}, options = {})
|
691
|
+
req = build_request(:copy_backup, params)
|
692
|
+
req.send_request(options)
|
693
|
+
end
|
694
|
+
|
459
695
|
# Creates a backup of an existing Amazon FSx file system. Creating
|
460
696
|
# regular backups for your file system is a best practice, enabling you
|
461
697
|
# to restore a file system from a backup if an issue arises with the
|
@@ -586,7 +822,7 @@ module Aws::FSx
|
|
586
822
|
# @example Response structure
|
587
823
|
#
|
588
824
|
# resp.backup.backup_id #=> String
|
589
|
-
# resp.backup.lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED", "PENDING"
|
825
|
+
# resp.backup.lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED", "PENDING", "COPYING"
|
590
826
|
# resp.backup.failure_details.message #=> String
|
591
827
|
# resp.backup.type #=> String, one of "AUTOMATIC", "USER_INITIATED", "AWS_BACKUP"
|
592
828
|
# resp.backup.progress_percent #=> Integer
|
@@ -636,6 +872,9 @@ module Aws::FSx
|
|
636
872
|
# resp.backup.file_system.windows_configuration.aliases #=> Array
|
637
873
|
# resp.backup.file_system.windows_configuration.aliases[0].name #=> String
|
638
874
|
# resp.backup.file_system.windows_configuration.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
875
|
+
# resp.backup.file_system.windows_configuration.audit_log_configuration.file_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
876
|
+
# resp.backup.file_system.windows_configuration.audit_log_configuration.file_share_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
877
|
+
# resp.backup.file_system.windows_configuration.audit_log_configuration.audit_log_destination #=> String
|
639
878
|
# resp.backup.file_system.lustre_configuration.weekly_maintenance_start_time #=> String
|
640
879
|
# resp.backup.file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
|
641
880
|
# resp.backup.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
@@ -650,6 +889,7 @@ module Aws::FSx
|
|
650
889
|
# resp.backup.file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
651
890
|
# resp.backup.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
652
891
|
# resp.backup.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
892
|
+
# resp.backup.file_system.lustre_configuration.data_compression_type #=> String, one of "NONE", "LZ4"
|
653
893
|
# resp.backup.file_system.administrative_actions #=> Array
|
654
894
|
# resp.backup.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION", "FILE_SYSTEM_ALIAS_ASSOCIATION", "FILE_SYSTEM_ALIAS_DISASSOCIATION"
|
655
895
|
# resp.backup.file_system.administrative_actions[0].progress_percent #=> Integer
|
@@ -659,6 +899,10 @@ module Aws::FSx
|
|
659
899
|
# resp.backup.file_system.administrative_actions[0].failure_details.message #=> String
|
660
900
|
# resp.backup.directory_information.domain_name #=> String
|
661
901
|
# resp.backup.directory_information.active_directory_id #=> String
|
902
|
+
# resp.backup.directory_information.resource_arn #=> String
|
903
|
+
# resp.backup.owner_id #=> String
|
904
|
+
# resp.backup.source_backup_id #=> String
|
905
|
+
# resp.backup.source_backup_region #=> String
|
662
906
|
#
|
663
907
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/CreateBackup AWS API Documentation
|
664
908
|
#
|
@@ -878,12 +1122,17 @@ module Aws::FSx
|
|
878
1122
|
# types, provide exactly two subnet IDs, one for the preferred file
|
879
1123
|
# server and one for the standby file server. You specify one of these
|
880
1124
|
# subnets as the preferred subnet using the `WindowsConfiguration >
|
881
|
-
# PreferredSubnetID` property.
|
1125
|
+
# PreferredSubnetID` property. For more information, see [ Availability
|
1126
|
+
# and durability: Single-AZ and Multi-AZ file systems][1].
|
882
1127
|
#
|
883
1128
|
# For Windows `SINGLE_AZ_1` and `SINGLE_AZ_2` file system deployment
|
884
1129
|
# types and Lustre file systems, provide exactly one subnet ID. The file
|
885
1130
|
# server is launched in that subnet's Availability Zone.
|
886
1131
|
#
|
1132
|
+
#
|
1133
|
+
#
|
1134
|
+
# [1]: https://docs.aws.amazon.com/fsx/latest/WindowsGuide/high-availability-multiAZ.html
|
1135
|
+
#
|
887
1136
|
# @option params [Array<String>] :security_group_ids
|
888
1137
|
# A list of IDs specifying the security groups to apply to all network
|
889
1138
|
# interfaces created for file system access. This list isn't returned
|
@@ -1024,6 +1273,11 @@ module Aws::FSx
|
|
1024
1273
|
# automatic_backup_retention_days: 1,
|
1025
1274
|
# copy_tags_to_backups: false,
|
1026
1275
|
# aliases: ["AlternateDNSName"],
|
1276
|
+
# audit_log_configuration: {
|
1277
|
+
# file_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
|
1278
|
+
# file_share_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
|
1279
|
+
# audit_log_destination: "GeneralARN",
|
1280
|
+
# },
|
1027
1281
|
# },
|
1028
1282
|
# lustre_configuration: {
|
1029
1283
|
# weekly_maintenance_start_time: "WeeklyTime",
|
@@ -1037,6 +1291,7 @@ module Aws::FSx
|
|
1037
1291
|
# automatic_backup_retention_days: 1,
|
1038
1292
|
# copy_tags_to_backups: false,
|
1039
1293
|
# drive_cache_type: "NONE", # accepts NONE, READ
|
1294
|
+
# data_compression_type: "NONE", # accepts NONE, LZ4
|
1040
1295
|
# },
|
1041
1296
|
# })
|
1042
1297
|
#
|
@@ -1082,6 +1337,9 @@ module Aws::FSx
|
|
1082
1337
|
# resp.file_system.windows_configuration.aliases #=> Array
|
1083
1338
|
# resp.file_system.windows_configuration.aliases[0].name #=> String
|
1084
1339
|
# resp.file_system.windows_configuration.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
1340
|
+
# resp.file_system.windows_configuration.audit_log_configuration.file_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
1341
|
+
# resp.file_system.windows_configuration.audit_log_configuration.file_share_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
1342
|
+
# resp.file_system.windows_configuration.audit_log_configuration.audit_log_destination #=> String
|
1085
1343
|
# resp.file_system.lustre_configuration.weekly_maintenance_start_time #=> String
|
1086
1344
|
# resp.file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
|
1087
1345
|
# resp.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
@@ -1096,6 +1354,7 @@ module Aws::FSx
|
|
1096
1354
|
# resp.file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
1097
1355
|
# resp.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
1098
1356
|
# resp.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
1357
|
+
# resp.file_system.lustre_configuration.data_compression_type #=> String, one of "NONE", "LZ4"
|
1099
1358
|
# resp.file_system.administrative_actions #=> Array
|
1100
1359
|
# resp.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION", "FILE_SYSTEM_ALIAS_ASSOCIATION", "FILE_SYSTEM_ALIAS_DISASSOCIATION"
|
1101
1360
|
# resp.file_system.administrative_actions[0].progress_percent #=> Integer
|
@@ -1151,8 +1410,7 @@ module Aws::FSx
|
|
1151
1410
|
# </note>
|
1152
1411
|
#
|
1153
1412
|
# @option params [required, String] :backup_id
|
1154
|
-
# The ID of the backup. Specifies the backup
|
1155
|
-
# a file system from an existing backup.
|
1413
|
+
# The ID of the source backup. Specifies the backup you are copying.
|
1156
1414
|
#
|
1157
1415
|
# @option params [String] :client_request_token
|
1158
1416
|
# A string of up to 64 ASCII characters that Amazon FSx uses to ensure
|
@@ -1213,6 +1471,20 @@ module Aws::FSx
|
|
1213
1471
|
#
|
1214
1472
|
# </note>
|
1215
1473
|
#
|
1474
|
+
# @option params [String] :kms_key_id
|
1475
|
+
# The ID of the AWS Key Management Service (AWS KMS) key used to encrypt
|
1476
|
+
# the file system's data for Amazon FSx for Windows File Server file
|
1477
|
+
# systems and Amazon FSx for Lustre `PERSISTENT_1` file systems at rest.
|
1478
|
+
# In either case, if not specified, the Amazon FSx managed key is used.
|
1479
|
+
# The Amazon FSx for Lustre `SCRATCH_1` and `SCRATCH_2` file systems are
|
1480
|
+
# always encrypted at rest using Amazon FSx managed keys. For more
|
1481
|
+
# information, see [Encrypt][1] in the *AWS Key Management Service API
|
1482
|
+
# Reference*.
|
1483
|
+
#
|
1484
|
+
#
|
1485
|
+
#
|
1486
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/APIReference/API_Encrypt.html
|
1487
|
+
#
|
1216
1488
|
# @return [Types::CreateFileSystemFromBackupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1217
1489
|
#
|
1218
1490
|
# * {Types::CreateFileSystemFromBackupResponse#file_system #file_system} => Types::FileSystem
|
@@ -1304,6 +1576,11 @@ module Aws::FSx
|
|
1304
1576
|
# automatic_backup_retention_days: 1,
|
1305
1577
|
# copy_tags_to_backups: false,
|
1306
1578
|
# aliases: ["AlternateDNSName"],
|
1579
|
+
# audit_log_configuration: {
|
1580
|
+
# file_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
|
1581
|
+
# file_share_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
|
1582
|
+
# audit_log_destination: "GeneralARN",
|
1583
|
+
# },
|
1307
1584
|
# },
|
1308
1585
|
# lustre_configuration: {
|
1309
1586
|
# weekly_maintenance_start_time: "WeeklyTime",
|
@@ -1317,8 +1594,10 @@ module Aws::FSx
|
|
1317
1594
|
# automatic_backup_retention_days: 1,
|
1318
1595
|
# copy_tags_to_backups: false,
|
1319
1596
|
# drive_cache_type: "NONE", # accepts NONE, READ
|
1597
|
+
# data_compression_type: "NONE", # accepts NONE, LZ4
|
1320
1598
|
# },
|
1321
1599
|
# storage_type: "SSD", # accepts SSD, HDD
|
1600
|
+
# kms_key_id: "KmsKeyId",
|
1322
1601
|
# })
|
1323
1602
|
#
|
1324
1603
|
# @example Response structure
|
@@ -1363,6 +1642,9 @@ module Aws::FSx
|
|
1363
1642
|
# resp.file_system.windows_configuration.aliases #=> Array
|
1364
1643
|
# resp.file_system.windows_configuration.aliases[0].name #=> String
|
1365
1644
|
# resp.file_system.windows_configuration.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
1645
|
+
# resp.file_system.windows_configuration.audit_log_configuration.file_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
1646
|
+
# resp.file_system.windows_configuration.audit_log_configuration.file_share_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
1647
|
+
# resp.file_system.windows_configuration.audit_log_configuration.audit_log_destination #=> String
|
1366
1648
|
# resp.file_system.lustre_configuration.weekly_maintenance_start_time #=> String
|
1367
1649
|
# resp.file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
|
1368
1650
|
# resp.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
@@ -1377,6 +1659,7 @@ module Aws::FSx
|
|
1377
1659
|
# resp.file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
1378
1660
|
# resp.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
1379
1661
|
# resp.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
1662
|
+
# resp.file_system.lustre_configuration.data_compression_type #=> String, one of "NONE", "LZ4"
|
1380
1663
|
# resp.file_system.administrative_actions #=> Array
|
1381
1664
|
# resp.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION", "FILE_SYSTEM_ALIAS_ASSOCIATION", "FILE_SYSTEM_ALIAS_DISASSOCIATION"
|
1382
1665
|
# resp.file_system.administrative_actions[0].progress_percent #=> Integer
|
@@ -1444,7 +1727,7 @@ module Aws::FSx
|
|
1444
1727
|
# @example Response structure
|
1445
1728
|
#
|
1446
1729
|
# resp.backup_id #=> String
|
1447
|
-
# resp.lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED", "PENDING"
|
1730
|
+
# resp.lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED", "PENDING", "COPYING"
|
1448
1731
|
#
|
1449
1732
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DeleteBackup AWS API Documentation
|
1450
1733
|
#
|
@@ -1677,7 +1960,7 @@ module Aws::FSx
|
|
1677
1960
|
#
|
1678
1961
|
# resp.backups #=> Array
|
1679
1962
|
# resp.backups[0].backup_id #=> String
|
1680
|
-
# resp.backups[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED", "PENDING"
|
1963
|
+
# resp.backups[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "TRANSFERRING", "DELETED", "FAILED", "PENDING", "COPYING"
|
1681
1964
|
# resp.backups[0].failure_details.message #=> String
|
1682
1965
|
# resp.backups[0].type #=> String, one of "AUTOMATIC", "USER_INITIATED", "AWS_BACKUP"
|
1683
1966
|
# resp.backups[0].progress_percent #=> Integer
|
@@ -1727,6 +2010,9 @@ module Aws::FSx
|
|
1727
2010
|
# resp.backups[0].file_system.windows_configuration.aliases #=> Array
|
1728
2011
|
# resp.backups[0].file_system.windows_configuration.aliases[0].name #=> String
|
1729
2012
|
# resp.backups[0].file_system.windows_configuration.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
2013
|
+
# resp.backups[0].file_system.windows_configuration.audit_log_configuration.file_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
2014
|
+
# resp.backups[0].file_system.windows_configuration.audit_log_configuration.file_share_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
2015
|
+
# resp.backups[0].file_system.windows_configuration.audit_log_configuration.audit_log_destination #=> String
|
1730
2016
|
# resp.backups[0].file_system.lustre_configuration.weekly_maintenance_start_time #=> String
|
1731
2017
|
# resp.backups[0].file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
|
1732
2018
|
# resp.backups[0].file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
@@ -1741,6 +2027,7 @@ module Aws::FSx
|
|
1741
2027
|
# resp.backups[0].file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
1742
2028
|
# resp.backups[0].file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
1743
2029
|
# resp.backups[0].file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
2030
|
+
# resp.backups[0].file_system.lustre_configuration.data_compression_type #=> String, one of "NONE", "LZ4"
|
1744
2031
|
# resp.backups[0].file_system.administrative_actions #=> Array
|
1745
2032
|
# resp.backups[0].file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION", "FILE_SYSTEM_ALIAS_ASSOCIATION", "FILE_SYSTEM_ALIAS_DISASSOCIATION"
|
1746
2033
|
# resp.backups[0].file_system.administrative_actions[0].progress_percent #=> Integer
|
@@ -1750,6 +2037,10 @@ module Aws::FSx
|
|
1750
2037
|
# resp.backups[0].file_system.administrative_actions[0].failure_details.message #=> String
|
1751
2038
|
# resp.backups[0].directory_information.domain_name #=> String
|
1752
2039
|
# resp.backups[0].directory_information.active_directory_id #=> String
|
2040
|
+
# resp.backups[0].directory_information.resource_arn #=> String
|
2041
|
+
# resp.backups[0].owner_id #=> String
|
2042
|
+
# resp.backups[0].source_backup_id #=> String
|
2043
|
+
# resp.backups[0].source_backup_region #=> String
|
1753
2044
|
# resp.next_token #=> String
|
1754
2045
|
#
|
1755
2046
|
# @see http://docs.aws.amazon.com/goto/WebAPI/fsx-2018-03-01/DescribeBackups AWS API Documentation
|
@@ -2061,6 +2352,9 @@ module Aws::FSx
|
|
2061
2352
|
# resp.file_systems[0].windows_configuration.aliases #=> Array
|
2062
2353
|
# resp.file_systems[0].windows_configuration.aliases[0].name #=> String
|
2063
2354
|
# resp.file_systems[0].windows_configuration.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
2355
|
+
# resp.file_systems[0].windows_configuration.audit_log_configuration.file_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
2356
|
+
# resp.file_systems[0].windows_configuration.audit_log_configuration.file_share_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
2357
|
+
# resp.file_systems[0].windows_configuration.audit_log_configuration.audit_log_destination #=> String
|
2064
2358
|
# resp.file_systems[0].lustre_configuration.weekly_maintenance_start_time #=> String
|
2065
2359
|
# resp.file_systems[0].lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
|
2066
2360
|
# resp.file_systems[0].lustre_configuration.data_repository_configuration.import_path #=> String
|
@@ -2075,6 +2369,7 @@ module Aws::FSx
|
|
2075
2369
|
# resp.file_systems[0].lustre_configuration.automatic_backup_retention_days #=> Integer
|
2076
2370
|
# resp.file_systems[0].lustre_configuration.copy_tags_to_backups #=> Boolean
|
2077
2371
|
# resp.file_systems[0].lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
2372
|
+
# resp.file_systems[0].lustre_configuration.data_compression_type #=> String, one of "NONE", "LZ4"
|
2078
2373
|
# resp.file_systems[0].administrative_actions #=> Array
|
2079
2374
|
# resp.file_systems[0].administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION", "FILE_SYSTEM_ALIAS_ASSOCIATION", "FILE_SYSTEM_ALIAS_DISASSOCIATION"
|
2080
2375
|
# resp.file_systems[0].administrative_actions[0].progress_percent #=> Integer
|
@@ -2332,6 +2627,8 @@ module Aws::FSx
|
|
2332
2627
|
# For Amazon FSx for Windows File Server file systems, you can update
|
2333
2628
|
# the following properties:
|
2334
2629
|
#
|
2630
|
+
# * AuditLogConfiguration
|
2631
|
+
#
|
2335
2632
|
# * AutomaticBackupRetentionDays
|
2336
2633
|
#
|
2337
2634
|
# * DailyAutomaticBackupStartTime
|
@@ -2353,6 +2650,8 @@ module Aws::FSx
|
|
2353
2650
|
#
|
2354
2651
|
# * DailyAutomaticBackupStartTime
|
2355
2652
|
#
|
2653
|
+
# * DataCompressionType
|
2654
|
+
#
|
2356
2655
|
# * StorageCapacity
|
2357
2656
|
#
|
2358
2657
|
# * WeeklyMaintenanceStartTime
|
@@ -2476,12 +2775,18 @@ module Aws::FSx
|
|
2476
2775
|
# password: "DirectoryPassword",
|
2477
2776
|
# dns_ips: ["IpAddress"],
|
2478
2777
|
# },
|
2778
|
+
# audit_log_configuration: {
|
2779
|
+
# file_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
|
2780
|
+
# file_share_access_audit_log_level: "DISABLED", # required, accepts DISABLED, SUCCESS_ONLY, FAILURE_ONLY, SUCCESS_AND_FAILURE
|
2781
|
+
# audit_log_destination: "GeneralARN",
|
2782
|
+
# },
|
2479
2783
|
# },
|
2480
2784
|
# lustre_configuration: {
|
2481
2785
|
# weekly_maintenance_start_time: "WeeklyTime",
|
2482
2786
|
# daily_automatic_backup_start_time: "DailyTime",
|
2483
2787
|
# automatic_backup_retention_days: 1,
|
2484
2788
|
# auto_import_policy: "NONE", # accepts NONE, NEW, NEW_CHANGED
|
2789
|
+
# data_compression_type: "NONE", # accepts NONE, LZ4
|
2485
2790
|
# },
|
2486
2791
|
# })
|
2487
2792
|
#
|
@@ -2527,6 +2832,9 @@ module Aws::FSx
|
|
2527
2832
|
# resp.file_system.windows_configuration.aliases #=> Array
|
2528
2833
|
# resp.file_system.windows_configuration.aliases[0].name #=> String
|
2529
2834
|
# resp.file_system.windows_configuration.aliases[0].lifecycle #=> String, one of "AVAILABLE", "CREATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED"
|
2835
|
+
# resp.file_system.windows_configuration.audit_log_configuration.file_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
2836
|
+
# resp.file_system.windows_configuration.audit_log_configuration.file_share_access_audit_log_level #=> String, one of "DISABLED", "SUCCESS_ONLY", "FAILURE_ONLY", "SUCCESS_AND_FAILURE"
|
2837
|
+
# resp.file_system.windows_configuration.audit_log_configuration.audit_log_destination #=> String
|
2530
2838
|
# resp.file_system.lustre_configuration.weekly_maintenance_start_time #=> String
|
2531
2839
|
# resp.file_system.lustre_configuration.data_repository_configuration.lifecycle #=> String, one of "CREATING", "AVAILABLE", "MISCONFIGURED", "UPDATING", "DELETING"
|
2532
2840
|
# resp.file_system.lustre_configuration.data_repository_configuration.import_path #=> String
|
@@ -2541,6 +2849,7 @@ module Aws::FSx
|
|
2541
2849
|
# resp.file_system.lustre_configuration.automatic_backup_retention_days #=> Integer
|
2542
2850
|
# resp.file_system.lustre_configuration.copy_tags_to_backups #=> Boolean
|
2543
2851
|
# resp.file_system.lustre_configuration.drive_cache_type #=> String, one of "NONE", "READ"
|
2852
|
+
# resp.file_system.lustre_configuration.data_compression_type #=> String, one of "NONE", "LZ4"
|
2544
2853
|
# resp.file_system.administrative_actions #=> Array
|
2545
2854
|
# resp.file_system.administrative_actions[0].administrative_action_type #=> String, one of "FILE_SYSTEM_UPDATE", "STORAGE_OPTIMIZATION", "FILE_SYSTEM_ALIAS_ASSOCIATION", "FILE_SYSTEM_ALIAS_DISASSOCIATION"
|
2546
2855
|
# resp.file_system.administrative_actions[0].progress_percent #=> Integer
|
@@ -2571,7 +2880,7 @@ module Aws::FSx
|
|
2571
2880
|
params: params,
|
2572
2881
|
config: config)
|
2573
2882
|
context[:gem_name] = 'aws-sdk-fsx'
|
2574
|
-
context[:gem_version] = '1.
|
2883
|
+
context[:gem_version] = '1.39.0'
|
2575
2884
|
Seahorse::Client::Request.new(handlers, context)
|
2576
2885
|
end
|
2577
2886
|
|