aws-sdk-licensemanagerusersubscriptions 1.26.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-licensemanagerusersubscriptions/client.rb +627 -62
- data/lib/aws-sdk-licensemanagerusersubscriptions/client_api.rb +255 -12
- data/lib/aws-sdk-licensemanagerusersubscriptions/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-licensemanagerusersubscriptions/types.rb +636 -57
- data/lib/aws-sdk-licensemanagerusersubscriptions.rb +1 -1
- data/sig/client.rbs +232 -15
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +157 -3
- metadata +6 -6
@@ -257,11 +257,34 @@ module Aws::LicenseManagerUserSubscriptions
|
|
257
257
|
# Used when loading credentials from the shared credentials file
|
258
258
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
259
259
|
#
|
260
|
+
# @option options [String] :request_checksum_calculation ("when_supported")
|
261
|
+
# Determines when a checksum will be calculated for request payloads. Values are:
|
262
|
+
#
|
263
|
+
# * `when_supported` - (default) When set, a checksum will be
|
264
|
+
# calculated for all request payloads of operations modeled with the
|
265
|
+
# `httpChecksum` trait where `requestChecksumRequired` is `true` and/or a
|
266
|
+
# `requestAlgorithmMember` is modeled.
|
267
|
+
# * `when_required` - When set, a checksum will only be calculated for
|
268
|
+
# request payloads of operations modeled with the `httpChecksum` trait where
|
269
|
+
# `requestChecksumRequired` is `true` or where a `requestAlgorithmMember`
|
270
|
+
# is modeled and supplied.
|
271
|
+
#
|
260
272
|
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
261
273
|
# The minimum size in bytes that triggers compression for request
|
262
274
|
# bodies. The value must be non-negative integer value between 0
|
263
275
|
# and 10485780 bytes inclusive.
|
264
276
|
#
|
277
|
+
# @option options [String] :response_checksum_validation ("when_supported")
|
278
|
+
# Determines when checksum validation will be performed on response payloads. Values are:
|
279
|
+
#
|
280
|
+
# * `when_supported` - (default) When set, checksum validation is performed on all
|
281
|
+
# response payloads of operations modeled with the `httpChecksum` trait where
|
282
|
+
# `responseAlgorithms` is modeled, except when no modeled checksum algorithms
|
283
|
+
# are supported.
|
284
|
+
# * `when_required` - When set, checksum validation is not performed on
|
285
|
+
# response payloads of operations unless the checksum algorithm is supported and
|
286
|
+
# the `requestValidationModeMember` member is set to `ENABLED`.
|
287
|
+
#
|
265
288
|
# @option options [Proc] :retry_backoff
|
266
289
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
267
290
|
# This option is only used in the `legacy` retry mode.
|
@@ -463,16 +486,20 @@ module Aws::LicenseManagerUserSubscriptions
|
|
463
486
|
# [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html
|
464
487
|
#
|
465
488
|
# @option params [String] :domain
|
466
|
-
# The domain name of the
|
489
|
+
# The domain name of the Active Directory that contains information for
|
490
|
+
# the user to associate.
|
467
491
|
#
|
468
492
|
# @option params [required, Types::IdentityProvider] :identity_provider
|
469
|
-
# The identity provider
|
493
|
+
# The identity provider for the user.
|
470
494
|
#
|
471
495
|
# @option params [required, String] :instance_id
|
472
|
-
# The ID of the EC2 instance
|
496
|
+
# The ID of the EC2 instance that provides the user-based subscription.
|
497
|
+
#
|
498
|
+
# @option params [Hash<String,String>] :tags
|
499
|
+
# The tags that apply for the user association.
|
473
500
|
#
|
474
501
|
# @option params [required, String] :username
|
475
|
-
# The user name from the identity provider
|
502
|
+
# The user name from the identity provider.
|
476
503
|
#
|
477
504
|
# @return [Types::AssociateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
478
505
|
#
|
@@ -484,10 +511,26 @@ module Aws::LicenseManagerUserSubscriptions
|
|
484
511
|
# domain: "String",
|
485
512
|
# identity_provider: { # required
|
486
513
|
# active_directory_identity_provider: {
|
487
|
-
#
|
514
|
+
# active_directory_settings: {
|
515
|
+
# domain_credentials_provider: {
|
516
|
+
# secrets_manager_credentials_provider: {
|
517
|
+
# secret_id: "SecretsManagerCredentialsProviderSecretIdString",
|
518
|
+
# },
|
519
|
+
# },
|
520
|
+
# domain_ipv_4_list: ["IpV4"],
|
521
|
+
# domain_name: "String",
|
522
|
+
# domain_network_settings: {
|
523
|
+
# subnets: ["Subnet"], # required
|
524
|
+
# },
|
525
|
+
# },
|
526
|
+
# active_directory_type: "SELF_MANAGED", # accepts SELF_MANAGED, AWS_MANAGED
|
527
|
+
# directory_id: "Directory",
|
488
528
|
# },
|
489
529
|
# },
|
490
530
|
# instance_id: "String", # required
|
531
|
+
# tags: {
|
532
|
+
# "String" => "String",
|
533
|
+
# },
|
491
534
|
# username: "String", # required
|
492
535
|
# })
|
493
536
|
#
|
@@ -496,8 +539,16 @@ module Aws::LicenseManagerUserSubscriptions
|
|
496
539
|
# resp.instance_user_summary.association_date #=> String
|
497
540
|
# resp.instance_user_summary.disassociation_date #=> String
|
498
541
|
# resp.instance_user_summary.domain #=> String
|
542
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_credentials_provider.secrets_manager_credentials_provider.secret_id #=> String
|
543
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list #=> Array
|
544
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list[0] #=> String
|
545
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_name #=> String
|
546
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets #=> Array
|
547
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets[0] #=> String
|
548
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_type #=> String, one of "SELF_MANAGED", "AWS_MANAGED"
|
499
549
|
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.directory_id #=> String
|
500
550
|
# resp.instance_user_summary.instance_id #=> String
|
551
|
+
# resp.instance_user_summary.instance_user_arn #=> String
|
501
552
|
# resp.instance_user_summary.status #=> String
|
502
553
|
# resp.instance_user_summary.status_message #=> String
|
503
554
|
# resp.instance_user_summary.username #=> String
|
@@ -511,15 +562,126 @@ module Aws::LicenseManagerUserSubscriptions
|
|
511
562
|
req.send_request(options)
|
512
563
|
end
|
513
564
|
|
514
|
-
#
|
515
|
-
#
|
565
|
+
# Creates a network endpoint for the Remote Desktop Services (RDS)
|
566
|
+
# license server.
|
516
567
|
#
|
517
|
-
# @option params [required,
|
518
|
-
#
|
568
|
+
# @option params [required, String] :identity_provider_arn
|
569
|
+
# The Amazon Resource Name (ARN) that identifies the `IdentityProvider`
|
570
|
+
# resource that contains details about a registered identity provider.
|
571
|
+
# In the case of Active Directory, that can be a self-managed Active
|
572
|
+
# Directory or an Amazon Web Services Managed Active Directory that
|
573
|
+
# contains user identity details.
|
519
574
|
#
|
520
|
-
# @option params [required,
|
575
|
+
# @option params [required, Types::LicenseServerSettings] :license_server_settings
|
576
|
+
# The `LicenseServerSettings` resource to create for the endpoint. The
|
577
|
+
# settings include the type of license server and the Secrets Manager
|
578
|
+
# secret that enables administrators to add or remove users associated
|
579
|
+
# with the license server.
|
580
|
+
#
|
581
|
+
# @option params [Hash<String,String>] :tags
|
582
|
+
# The tags that apply for the license server endpoint.
|
583
|
+
#
|
584
|
+
# @return [Types::CreateLicenseServerEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
585
|
+
#
|
586
|
+
# * {Types::CreateLicenseServerEndpointResponse#identity_provider_arn #identity_provider_arn} => String
|
587
|
+
# * {Types::CreateLicenseServerEndpointResponse#license_server_endpoint_arn #license_server_endpoint_arn} => String
|
588
|
+
#
|
589
|
+
# @example Request syntax with placeholder values
|
590
|
+
#
|
591
|
+
# resp = client.create_license_server_endpoint({
|
592
|
+
# identity_provider_arn: "Arn", # required
|
593
|
+
# license_server_settings: { # required
|
594
|
+
# server_settings: { # required
|
595
|
+
# rds_sal_settings: {
|
596
|
+
# rds_sal_credentials_provider: { # required
|
597
|
+
# secrets_manager_credentials_provider: {
|
598
|
+
# secret_id: "SecretsManagerCredentialsProviderSecretIdString",
|
599
|
+
# },
|
600
|
+
# },
|
601
|
+
# },
|
602
|
+
# },
|
603
|
+
# server_type: "RDS_SAL", # required, accepts RDS_SAL
|
604
|
+
# },
|
605
|
+
# tags: {
|
606
|
+
# "String" => "String",
|
607
|
+
# },
|
608
|
+
# })
|
609
|
+
#
|
610
|
+
# @example Response structure
|
611
|
+
#
|
612
|
+
# resp.identity_provider_arn #=> String
|
613
|
+
# resp.license_server_endpoint_arn #=> String
|
614
|
+
#
|
615
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/CreateLicenseServerEndpoint AWS API Documentation
|
616
|
+
#
|
617
|
+
# @overload create_license_server_endpoint(params = {})
|
618
|
+
# @param [Hash] params ({})
|
619
|
+
def create_license_server_endpoint(params = {}, options = {})
|
620
|
+
req = build_request(:create_license_server_endpoint, params)
|
621
|
+
req.send_request(options)
|
622
|
+
end
|
623
|
+
|
624
|
+
# Deletes a `LicenseServerEndpoint` resource.
|
625
|
+
#
|
626
|
+
# @option params [required, String] :license_server_endpoint_arn
|
627
|
+
# The Amazon Resource Name (ARN) that identifies the
|
628
|
+
# `LicenseServerEndpoint` resource to delete.
|
629
|
+
#
|
630
|
+
# @option params [required, String] :server_type
|
631
|
+
# The type of License Server that the delete request refers to.
|
632
|
+
#
|
633
|
+
# @return [Types::DeleteLicenseServerEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
634
|
+
#
|
635
|
+
# * {Types::DeleteLicenseServerEndpointResponse#license_server_endpoint #license_server_endpoint} => Types::LicenseServerEndpoint
|
636
|
+
#
|
637
|
+
# @example Request syntax with placeholder values
|
638
|
+
#
|
639
|
+
# resp = client.delete_license_server_endpoint({
|
640
|
+
# license_server_endpoint_arn: "Arn", # required
|
641
|
+
# server_type: "RDS_SAL", # required, accepts RDS_SAL
|
642
|
+
# })
|
643
|
+
#
|
644
|
+
# @example Response structure
|
645
|
+
#
|
646
|
+
# resp.license_server_endpoint.creation_time #=> Time
|
647
|
+
# resp.license_server_endpoint.identity_provider_arn #=> String
|
648
|
+
# resp.license_server_endpoint.license_server_endpoint_arn #=> String
|
649
|
+
# resp.license_server_endpoint.license_server_endpoint_id #=> String
|
650
|
+
# resp.license_server_endpoint.license_server_endpoint_provisioning_status #=> String, one of "PROVISIONING", "PROVISIONING_FAILED", "PROVISIONED", "DELETING", "DELETION_FAILED", "DELETED"
|
651
|
+
# resp.license_server_endpoint.license_servers #=> Array
|
652
|
+
# resp.license_server_endpoint.license_servers[0].health_status #=> String, one of "HEALTHY", "UNHEALTHY", "NOT_APPLICABLE"
|
653
|
+
# resp.license_server_endpoint.license_servers[0].ipv_4_address #=> String
|
654
|
+
# resp.license_server_endpoint.license_servers[0].provisioning_status #=> String, one of "PROVISIONING", "PROVISIONING_FAILED", "PROVISIONED", "DELETING", "DELETION_FAILED", "DELETED"
|
655
|
+
# resp.license_server_endpoint.server_endpoint.endpoint #=> String
|
656
|
+
# resp.license_server_endpoint.server_type #=> String, one of "RDS_SAL"
|
657
|
+
# resp.license_server_endpoint.status_message #=> String
|
658
|
+
#
|
659
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/DeleteLicenseServerEndpoint AWS API Documentation
|
660
|
+
#
|
661
|
+
# @overload delete_license_server_endpoint(params = {})
|
662
|
+
# @param [Hash] params ({})
|
663
|
+
def delete_license_server_endpoint(params = {}, options = {})
|
664
|
+
req = build_request(:delete_license_server_endpoint, params)
|
665
|
+
req.send_request(options)
|
666
|
+
end
|
667
|
+
|
668
|
+
# Deregisters the Active Directory identity provider from License
|
669
|
+
# Manager user-based subscriptions.
|
670
|
+
#
|
671
|
+
# @option params [Types::IdentityProvider] :identity_provider
|
672
|
+
# An object that specifies details for the Active Directory identity
|
673
|
+
# provider.
|
674
|
+
#
|
675
|
+
# @option params [String] :identity_provider_arn
|
676
|
+
# The Amazon Resource Name (ARN) that identifies the identity provider
|
677
|
+
# to deregister.
|
678
|
+
#
|
679
|
+
# @option params [String] :product
|
521
680
|
# The name of the user-based subscription product.
|
522
681
|
#
|
682
|
+
# Valid values: `VISUAL_STUDIO_ENTERPRISE` \|
|
683
|
+
# `VISUAL_STUDIO_PROFESSIONAL` \| `OFFICE_PROFESSIONAL_PLUS`
|
684
|
+
#
|
523
685
|
# @return [Types::DeregisterIdentityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
524
686
|
#
|
525
687
|
# * {Types::DeregisterIdentityProviderResponse#identity_provider_summary #identity_provider_summary} => Types::IdentityProviderSummary
|
@@ -527,18 +689,40 @@ module Aws::LicenseManagerUserSubscriptions
|
|
527
689
|
# @example Request syntax with placeholder values
|
528
690
|
#
|
529
691
|
# resp = client.deregister_identity_provider({
|
530
|
-
# identity_provider: {
|
692
|
+
# identity_provider: {
|
531
693
|
# active_directory_identity_provider: {
|
532
|
-
#
|
694
|
+
# active_directory_settings: {
|
695
|
+
# domain_credentials_provider: {
|
696
|
+
# secrets_manager_credentials_provider: {
|
697
|
+
# secret_id: "SecretsManagerCredentialsProviderSecretIdString",
|
698
|
+
# },
|
699
|
+
# },
|
700
|
+
# domain_ipv_4_list: ["IpV4"],
|
701
|
+
# domain_name: "String",
|
702
|
+
# domain_network_settings: {
|
703
|
+
# subnets: ["Subnet"], # required
|
704
|
+
# },
|
705
|
+
# },
|
706
|
+
# active_directory_type: "SELF_MANAGED", # accepts SELF_MANAGED, AWS_MANAGED
|
707
|
+
# directory_id: "Directory",
|
533
708
|
# },
|
534
709
|
# },
|
535
|
-
#
|
710
|
+
# identity_provider_arn: "Arn",
|
711
|
+
# product: "String",
|
536
712
|
# })
|
537
713
|
#
|
538
714
|
# @example Response structure
|
539
715
|
#
|
540
716
|
# resp.identity_provider_summary.failure_message #=> String
|
717
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_credentials_provider.secrets_manager_credentials_provider.secret_id #=> String
|
718
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list #=> Array
|
719
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list[0] #=> String
|
720
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_name #=> String
|
721
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets #=> Array
|
722
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets[0] #=> String
|
723
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_type #=> String, one of "SELF_MANAGED", "AWS_MANAGED"
|
541
724
|
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.directory_id #=> String
|
725
|
+
# resp.identity_provider_summary.identity_provider_arn #=> String
|
542
726
|
# resp.identity_provider_summary.product #=> String
|
543
727
|
# resp.identity_provider_summary.settings.security_group_id #=> String
|
544
728
|
# resp.identity_provider_summary.settings.subnets #=> Array
|
@@ -558,16 +742,23 @@ module Aws::LicenseManagerUserSubscriptions
|
|
558
742
|
# subscriptions.
|
559
743
|
#
|
560
744
|
# @option params [String] :domain
|
561
|
-
# The domain name of the
|
745
|
+
# The domain name of the Active Directory that contains information for
|
746
|
+
# the user to disassociate.
|
562
747
|
#
|
563
|
-
# @option params [
|
564
|
-
# An object that specifies details for the identity
|
748
|
+
# @option params [Types::IdentityProvider] :identity_provider
|
749
|
+
# An object that specifies details for the Active Directory identity
|
750
|
+
# provider.
|
565
751
|
#
|
566
|
-
# @option params [
|
567
|
-
# The ID of the EC2 instance
|
752
|
+
# @option params [String] :instance_id
|
753
|
+
# The ID of the EC2 instance which provides user-based subscriptions.
|
568
754
|
#
|
569
|
-
# @option params [
|
570
|
-
# The
|
755
|
+
# @option params [String] :instance_user_arn
|
756
|
+
# The Amazon Resource Name (ARN) of the user to disassociate from the
|
757
|
+
# EC2 instance.
|
758
|
+
#
|
759
|
+
# @option params [String] :username
|
760
|
+
# The user name from the Active Directory identity provider for the
|
761
|
+
# user.
|
571
762
|
#
|
572
763
|
# @return [Types::DisassociateUserResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
573
764
|
#
|
@@ -577,13 +768,27 @@ module Aws::LicenseManagerUserSubscriptions
|
|
577
768
|
#
|
578
769
|
# resp = client.disassociate_user({
|
579
770
|
# domain: "String",
|
580
|
-
# identity_provider: {
|
771
|
+
# identity_provider: {
|
581
772
|
# active_directory_identity_provider: {
|
582
|
-
#
|
773
|
+
# active_directory_settings: {
|
774
|
+
# domain_credentials_provider: {
|
775
|
+
# secrets_manager_credentials_provider: {
|
776
|
+
# secret_id: "SecretsManagerCredentialsProviderSecretIdString",
|
777
|
+
# },
|
778
|
+
# },
|
779
|
+
# domain_ipv_4_list: ["IpV4"],
|
780
|
+
# domain_name: "String",
|
781
|
+
# domain_network_settings: {
|
782
|
+
# subnets: ["Subnet"], # required
|
783
|
+
# },
|
784
|
+
# },
|
785
|
+
# active_directory_type: "SELF_MANAGED", # accepts SELF_MANAGED, AWS_MANAGED
|
786
|
+
# directory_id: "Directory",
|
583
787
|
# },
|
584
788
|
# },
|
585
|
-
# instance_id: "String",
|
586
|
-
#
|
789
|
+
# instance_id: "String",
|
790
|
+
# instance_user_arn: "Arn",
|
791
|
+
# username: "String",
|
587
792
|
# })
|
588
793
|
#
|
589
794
|
# @example Response structure
|
@@ -591,8 +796,16 @@ module Aws::LicenseManagerUserSubscriptions
|
|
591
796
|
# resp.instance_user_summary.association_date #=> String
|
592
797
|
# resp.instance_user_summary.disassociation_date #=> String
|
593
798
|
# resp.instance_user_summary.domain #=> String
|
799
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_credentials_provider.secrets_manager_credentials_provider.secret_id #=> String
|
800
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list #=> Array
|
801
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list[0] #=> String
|
802
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_name #=> String
|
803
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets #=> Array
|
804
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets[0] #=> String
|
805
|
+
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.active_directory_type #=> String, one of "SELF_MANAGED", "AWS_MANAGED"
|
594
806
|
# resp.instance_user_summary.identity_provider.active_directory_identity_provider.directory_id #=> String
|
595
807
|
# resp.instance_user_summary.instance_id #=> String
|
808
|
+
# resp.instance_user_summary.instance_user_arn #=> String
|
596
809
|
# resp.instance_user_summary.status #=> String
|
597
810
|
# resp.instance_user_summary.status_message #=> String
|
598
811
|
# resp.instance_user_summary.username #=> String
|
@@ -606,13 +819,22 @@ module Aws::LicenseManagerUserSubscriptions
|
|
606
819
|
req.send_request(options)
|
607
820
|
end
|
608
821
|
|
609
|
-
# Lists the identity providers for user-based
|
822
|
+
# Lists the Active Directory identity providers for user-based
|
823
|
+
# subscriptions.
|
824
|
+
#
|
825
|
+
# @option params [Array<Types::Filter>] :filters
|
826
|
+
# You can use the following filters to streamline results:
|
827
|
+
#
|
828
|
+
# * Product
|
829
|
+
#
|
830
|
+
# * DirectoryId
|
610
831
|
#
|
611
832
|
# @option params [Integer] :max_results
|
612
|
-
#
|
833
|
+
# The maximum number of results to return from a single request.
|
613
834
|
#
|
614
835
|
# @option params [String] :next_token
|
615
|
-
#
|
836
|
+
# A token to specify where to start paginating. This is the nextToken
|
837
|
+
# from a previously truncated response.
|
616
838
|
#
|
617
839
|
# @return [Types::ListIdentityProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
618
840
|
#
|
@@ -624,6 +846,13 @@ module Aws::LicenseManagerUserSubscriptions
|
|
624
846
|
# @example Request syntax with placeholder values
|
625
847
|
#
|
626
848
|
# resp = client.list_identity_providers({
|
849
|
+
# filters: [
|
850
|
+
# {
|
851
|
+
# attribute: "String",
|
852
|
+
# operation: "String",
|
853
|
+
# value: "String",
|
854
|
+
# },
|
855
|
+
# ],
|
627
856
|
# max_results: 1,
|
628
857
|
# next_token: "String",
|
629
858
|
# })
|
@@ -632,7 +861,15 @@ module Aws::LicenseManagerUserSubscriptions
|
|
632
861
|
#
|
633
862
|
# resp.identity_provider_summaries #=> Array
|
634
863
|
# resp.identity_provider_summaries[0].failure_message #=> String
|
864
|
+
# resp.identity_provider_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_credentials_provider.secrets_manager_credentials_provider.secret_id #=> String
|
865
|
+
# resp.identity_provider_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list #=> Array
|
866
|
+
# resp.identity_provider_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list[0] #=> String
|
867
|
+
# resp.identity_provider_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_name #=> String
|
868
|
+
# resp.identity_provider_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets #=> Array
|
869
|
+
# resp.identity_provider_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets[0] #=> String
|
870
|
+
# resp.identity_provider_summaries[0].identity_provider.active_directory_identity_provider.active_directory_type #=> String, one of "SELF_MANAGED", "AWS_MANAGED"
|
635
871
|
# resp.identity_provider_summaries[0].identity_provider.active_directory_identity_provider.directory_id #=> String
|
872
|
+
# resp.identity_provider_summaries[0].identity_provider_arn #=> String
|
636
873
|
# resp.identity_provider_summaries[0].product #=> String
|
637
874
|
# resp.identity_provider_summaries[0].settings.security_group_id #=> String
|
638
875
|
# resp.identity_provider_summaries[0].settings.subnets #=> Array
|
@@ -652,14 +889,18 @@ module Aws::LicenseManagerUserSubscriptions
|
|
652
889
|
# Lists the EC2 instances providing user-based subscriptions.
|
653
890
|
#
|
654
891
|
# @option params [Array<Types::Filter>] :filters
|
655
|
-
#
|
656
|
-
#
|
892
|
+
# You can use the following filters to streamline results:
|
893
|
+
#
|
894
|
+
# * Status
|
895
|
+
#
|
896
|
+
# * InstanceId
|
657
897
|
#
|
658
898
|
# @option params [Integer] :max_results
|
659
|
-
#
|
899
|
+
# The maximum number of results to return from a single request.
|
660
900
|
#
|
661
901
|
# @option params [String] :next_token
|
662
|
-
#
|
902
|
+
# A token to specify where to start paginating. This is the nextToken
|
903
|
+
# from a previously truncated response.
|
663
904
|
#
|
664
905
|
# @return [Types::ListInstancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
665
906
|
#
|
@@ -702,25 +943,97 @@ module Aws::LicenseManagerUserSubscriptions
|
|
702
943
|
req.send_request(options)
|
703
944
|
end
|
704
945
|
|
946
|
+
# List the Remote Desktop Services (RDS) License Server endpoints
|
947
|
+
#
|
948
|
+
# @option params [Array<Types::Filter>] :filters
|
949
|
+
# You can use the following filters to streamline results:
|
950
|
+
#
|
951
|
+
# * IdentityProviderArn
|
952
|
+
#
|
953
|
+
# ^
|
954
|
+
#
|
955
|
+
# @option params [Integer] :max_results
|
956
|
+
# The maximum number of results to return from a single request.
|
957
|
+
#
|
958
|
+
# @option params [String] :next_token
|
959
|
+
# A token to specify where to start paginating. This is the nextToken
|
960
|
+
# from a previously truncated response.
|
961
|
+
#
|
962
|
+
# @return [Types::ListLicenseServerEndpointsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
963
|
+
#
|
964
|
+
# * {Types::ListLicenseServerEndpointsResponse#license_server_endpoints #license_server_endpoints} => Array<Types::LicenseServerEndpoint>
|
965
|
+
# * {Types::ListLicenseServerEndpointsResponse#next_token #next_token} => String
|
966
|
+
#
|
967
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
968
|
+
#
|
969
|
+
# @example Request syntax with placeholder values
|
970
|
+
#
|
971
|
+
# resp = client.list_license_server_endpoints({
|
972
|
+
# filters: [
|
973
|
+
# {
|
974
|
+
# attribute: "String",
|
975
|
+
# operation: "String",
|
976
|
+
# value: "String",
|
977
|
+
# },
|
978
|
+
# ],
|
979
|
+
# max_results: 1,
|
980
|
+
# next_token: "String",
|
981
|
+
# })
|
982
|
+
#
|
983
|
+
# @example Response structure
|
984
|
+
#
|
985
|
+
# resp.license_server_endpoints #=> Array
|
986
|
+
# resp.license_server_endpoints[0].creation_time #=> Time
|
987
|
+
# resp.license_server_endpoints[0].identity_provider_arn #=> String
|
988
|
+
# resp.license_server_endpoints[0].license_server_endpoint_arn #=> String
|
989
|
+
# resp.license_server_endpoints[0].license_server_endpoint_id #=> String
|
990
|
+
# resp.license_server_endpoints[0].license_server_endpoint_provisioning_status #=> String, one of "PROVISIONING", "PROVISIONING_FAILED", "PROVISIONED", "DELETING", "DELETION_FAILED", "DELETED"
|
991
|
+
# resp.license_server_endpoints[0].license_servers #=> Array
|
992
|
+
# resp.license_server_endpoints[0].license_servers[0].health_status #=> String, one of "HEALTHY", "UNHEALTHY", "NOT_APPLICABLE"
|
993
|
+
# resp.license_server_endpoints[0].license_servers[0].ipv_4_address #=> String
|
994
|
+
# resp.license_server_endpoints[0].license_servers[0].provisioning_status #=> String, one of "PROVISIONING", "PROVISIONING_FAILED", "PROVISIONED", "DELETING", "DELETION_FAILED", "DELETED"
|
995
|
+
# resp.license_server_endpoints[0].server_endpoint.endpoint #=> String
|
996
|
+
# resp.license_server_endpoints[0].server_type #=> String, one of "RDS_SAL"
|
997
|
+
# resp.license_server_endpoints[0].status_message #=> String
|
998
|
+
# resp.next_token #=> String
|
999
|
+
#
|
1000
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/ListLicenseServerEndpoints AWS API Documentation
|
1001
|
+
#
|
1002
|
+
# @overload list_license_server_endpoints(params = {})
|
1003
|
+
# @param [Hash] params ({})
|
1004
|
+
def list_license_server_endpoints(params = {}, options = {})
|
1005
|
+
req = build_request(:list_license_server_endpoints, params)
|
1006
|
+
req.send_request(options)
|
1007
|
+
end
|
1008
|
+
|
705
1009
|
# Lists the user-based subscription products available from an identity
|
706
1010
|
# provider.
|
707
1011
|
#
|
708
1012
|
# @option params [Array<Types::Filter>] :filters
|
709
|
-
#
|
710
|
-
#
|
1013
|
+
# You can use the following filters to streamline results:
|
1014
|
+
#
|
1015
|
+
# * Status
|
1016
|
+
#
|
1017
|
+
# * Username
|
1018
|
+
#
|
1019
|
+
# * Domain
|
711
1020
|
#
|
712
1021
|
# @option params [required, Types::IdentityProvider] :identity_provider
|
713
1022
|
# An object that specifies details for the identity provider.
|
714
1023
|
#
|
715
1024
|
# @option params [Integer] :max_results
|
716
|
-
#
|
1025
|
+
# The maximum number of results to return from a single request.
|
717
1026
|
#
|
718
1027
|
# @option params [String] :next_token
|
719
|
-
#
|
1028
|
+
# A token to specify where to start paginating. This is the nextToken
|
1029
|
+
# from a previously truncated response.
|
720
1030
|
#
|
721
|
-
# @option params [
|
1031
|
+
# @option params [String] :product
|
722
1032
|
# The name of the user-based subscription product.
|
723
1033
|
#
|
1034
|
+
# Valid values: `VISUAL_STUDIO_ENTERPRISE` \|
|
1035
|
+
# `VISUAL_STUDIO_PROFESSIONAL` \| `OFFICE_PROFESSIONAL_PLUS`
|
1036
|
+
#
|
724
1037
|
# @return [Types::ListProductSubscriptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
725
1038
|
#
|
726
1039
|
# * {Types::ListProductSubscriptionsResponse#next_token #next_token} => String
|
@@ -740,12 +1053,25 @@ module Aws::LicenseManagerUserSubscriptions
|
|
740
1053
|
# ],
|
741
1054
|
# identity_provider: { # required
|
742
1055
|
# active_directory_identity_provider: {
|
743
|
-
#
|
1056
|
+
# active_directory_settings: {
|
1057
|
+
# domain_credentials_provider: {
|
1058
|
+
# secrets_manager_credentials_provider: {
|
1059
|
+
# secret_id: "SecretsManagerCredentialsProviderSecretIdString",
|
1060
|
+
# },
|
1061
|
+
# },
|
1062
|
+
# domain_ipv_4_list: ["IpV4"],
|
1063
|
+
# domain_name: "String",
|
1064
|
+
# domain_network_settings: {
|
1065
|
+
# subnets: ["Subnet"], # required
|
1066
|
+
# },
|
1067
|
+
# },
|
1068
|
+
# active_directory_type: "SELF_MANAGED", # accepts SELF_MANAGED, AWS_MANAGED
|
1069
|
+
# directory_id: "Directory",
|
744
1070
|
# },
|
745
1071
|
# },
|
746
1072
|
# max_results: 1,
|
747
1073
|
# next_token: "String",
|
748
|
-
# product: "String",
|
1074
|
+
# product: "String",
|
749
1075
|
# })
|
750
1076
|
#
|
751
1077
|
# @example Response structure
|
@@ -753,8 +1079,16 @@ module Aws::LicenseManagerUserSubscriptions
|
|
753
1079
|
# resp.next_token #=> String
|
754
1080
|
# resp.product_user_summaries #=> Array
|
755
1081
|
# resp.product_user_summaries[0].domain #=> String
|
1082
|
+
# resp.product_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_credentials_provider.secrets_manager_credentials_provider.secret_id #=> String
|
1083
|
+
# resp.product_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list #=> Array
|
1084
|
+
# resp.product_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list[0] #=> String
|
1085
|
+
# resp.product_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_name #=> String
|
1086
|
+
# resp.product_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets #=> Array
|
1087
|
+
# resp.product_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets[0] #=> String
|
1088
|
+
# resp.product_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_type #=> String, one of "SELF_MANAGED", "AWS_MANAGED"
|
756
1089
|
# resp.product_user_summaries[0].identity_provider.active_directory_identity_provider.directory_id #=> String
|
757
1090
|
# resp.product_user_summaries[0].product #=> String
|
1091
|
+
# resp.product_user_summaries[0].product_user_arn #=> String
|
758
1092
|
# resp.product_user_summaries[0].status #=> String
|
759
1093
|
# resp.product_user_summaries[0].status_message #=> String
|
760
1094
|
# resp.product_user_summaries[0].subscription_end_date #=> String
|
@@ -770,11 +1104,46 @@ module Aws::LicenseManagerUserSubscriptions
|
|
770
1104
|
req.send_request(options)
|
771
1105
|
end
|
772
1106
|
|
1107
|
+
# Returns the list of tags for the specified resource.
|
1108
|
+
#
|
1109
|
+
# @option params [required, String] :resource_arn
|
1110
|
+
# The Amazon Resource Name (ARN) of the resource whose tags you want to
|
1111
|
+
# retrieve.
|
1112
|
+
#
|
1113
|
+
# @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1114
|
+
#
|
1115
|
+
# * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
|
1116
|
+
#
|
1117
|
+
# @example Request syntax with placeholder values
|
1118
|
+
#
|
1119
|
+
# resp = client.list_tags_for_resource({
|
1120
|
+
# resource_arn: "ResourceArn", # required
|
1121
|
+
# })
|
1122
|
+
#
|
1123
|
+
# @example Response structure
|
1124
|
+
#
|
1125
|
+
# resp.tags #=> Hash
|
1126
|
+
# resp.tags["String"] #=> String
|
1127
|
+
#
|
1128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/ListTagsForResource AWS API Documentation
|
1129
|
+
#
|
1130
|
+
# @overload list_tags_for_resource(params = {})
|
1131
|
+
# @param [Hash] params ({})
|
1132
|
+
def list_tags_for_resource(params = {}, options = {})
|
1133
|
+
req = build_request(:list_tags_for_resource, params)
|
1134
|
+
req.send_request(options)
|
1135
|
+
end
|
1136
|
+
|
773
1137
|
# Lists user associations for an identity provider.
|
774
1138
|
#
|
775
1139
|
# @option params [Array<Types::Filter>] :filters
|
776
|
-
#
|
777
|
-
#
|
1140
|
+
# You can use the following filters to streamline results:
|
1141
|
+
#
|
1142
|
+
# * Status
|
1143
|
+
#
|
1144
|
+
# * Username
|
1145
|
+
#
|
1146
|
+
# * Domain
|
778
1147
|
#
|
779
1148
|
# @option params [required, Types::IdentityProvider] :identity_provider
|
780
1149
|
# An object that specifies details for the identity provider.
|
@@ -783,10 +1152,11 @@ module Aws::LicenseManagerUserSubscriptions
|
|
783
1152
|
# The ID of the EC2 instance, which provides user-based subscriptions.
|
784
1153
|
#
|
785
1154
|
# @option params [Integer] :max_results
|
786
|
-
#
|
1155
|
+
# The maximum number of results to return from a single request.
|
787
1156
|
#
|
788
1157
|
# @option params [String] :next_token
|
789
|
-
#
|
1158
|
+
# A token to specify where to start paginating. This is the nextToken
|
1159
|
+
# from a previously truncated response.
|
790
1160
|
#
|
791
1161
|
# @return [Types::ListUserAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
792
1162
|
#
|
@@ -807,7 +1177,20 @@ module Aws::LicenseManagerUserSubscriptions
|
|
807
1177
|
# ],
|
808
1178
|
# identity_provider: { # required
|
809
1179
|
# active_directory_identity_provider: {
|
810
|
-
#
|
1180
|
+
# active_directory_settings: {
|
1181
|
+
# domain_credentials_provider: {
|
1182
|
+
# secrets_manager_credentials_provider: {
|
1183
|
+
# secret_id: "SecretsManagerCredentialsProviderSecretIdString",
|
1184
|
+
# },
|
1185
|
+
# },
|
1186
|
+
# domain_ipv_4_list: ["IpV4"],
|
1187
|
+
# domain_name: "String",
|
1188
|
+
# domain_network_settings: {
|
1189
|
+
# subnets: ["Subnet"], # required
|
1190
|
+
# },
|
1191
|
+
# },
|
1192
|
+
# active_directory_type: "SELF_MANAGED", # accepts SELF_MANAGED, AWS_MANAGED
|
1193
|
+
# directory_id: "Directory",
|
811
1194
|
# },
|
812
1195
|
# },
|
813
1196
|
# instance_id: "String", # required
|
@@ -821,8 +1204,16 @@ module Aws::LicenseManagerUserSubscriptions
|
|
821
1204
|
# resp.instance_user_summaries[0].association_date #=> String
|
822
1205
|
# resp.instance_user_summaries[0].disassociation_date #=> String
|
823
1206
|
# resp.instance_user_summaries[0].domain #=> String
|
1207
|
+
# resp.instance_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_credentials_provider.secrets_manager_credentials_provider.secret_id #=> String
|
1208
|
+
# resp.instance_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list #=> Array
|
1209
|
+
# resp.instance_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list[0] #=> String
|
1210
|
+
# resp.instance_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_name #=> String
|
1211
|
+
# resp.instance_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets #=> Array
|
1212
|
+
# resp.instance_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets[0] #=> String
|
1213
|
+
# resp.instance_user_summaries[0].identity_provider.active_directory_identity_provider.active_directory_type #=> String, one of "SELF_MANAGED", "AWS_MANAGED"
|
824
1214
|
# resp.instance_user_summaries[0].identity_provider.active_directory_identity_provider.directory_id #=> String
|
825
1215
|
# resp.instance_user_summaries[0].instance_id #=> String
|
1216
|
+
# resp.instance_user_summaries[0].instance_user_arn #=> String
|
826
1217
|
# resp.instance_user_summaries[0].status #=> String
|
827
1218
|
# resp.instance_user_summaries[0].status_message #=> String
|
828
1219
|
# resp.instance_user_summaries[0].username #=> String
|
@@ -840,15 +1231,22 @@ module Aws::LicenseManagerUserSubscriptions
|
|
840
1231
|
# Registers an identity provider for user-based subscriptions.
|
841
1232
|
#
|
842
1233
|
# @option params [required, Types::IdentityProvider] :identity_provider
|
843
|
-
# An object that specifies details for the identity provider
|
1234
|
+
# An object that specifies details for the identity provider to
|
1235
|
+
# register.
|
844
1236
|
#
|
845
1237
|
# @option params [required, String] :product
|
846
1238
|
# The name of the user-based subscription product.
|
847
1239
|
#
|
1240
|
+
# Valid values: `VISUAL_STUDIO_ENTERPRISE` \|
|
1241
|
+
# `VISUAL_STUDIO_PROFESSIONAL` \| `OFFICE_PROFESSIONAL_PLUS`
|
1242
|
+
#
|
848
1243
|
# @option params [Types::Settings] :settings
|
849
1244
|
# The registered identity provider’s product related configuration
|
850
1245
|
# settings such as the subnets to provision VPC endpoints.
|
851
1246
|
#
|
1247
|
+
# @option params [Hash<String,String>] :tags
|
1248
|
+
# The tags that apply to the identity provider's registration.
|
1249
|
+
#
|
852
1250
|
# @return [Types::RegisterIdentityProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
853
1251
|
#
|
854
1252
|
# * {Types::RegisterIdentityProviderResponse#identity_provider_summary #identity_provider_summary} => Types::IdentityProviderSummary
|
@@ -858,7 +1256,20 @@ module Aws::LicenseManagerUserSubscriptions
|
|
858
1256
|
# resp = client.register_identity_provider({
|
859
1257
|
# identity_provider: { # required
|
860
1258
|
# active_directory_identity_provider: {
|
861
|
-
#
|
1259
|
+
# active_directory_settings: {
|
1260
|
+
# domain_credentials_provider: {
|
1261
|
+
# secrets_manager_credentials_provider: {
|
1262
|
+
# secret_id: "SecretsManagerCredentialsProviderSecretIdString",
|
1263
|
+
# },
|
1264
|
+
# },
|
1265
|
+
# domain_ipv_4_list: ["IpV4"],
|
1266
|
+
# domain_name: "String",
|
1267
|
+
# domain_network_settings: {
|
1268
|
+
# subnets: ["Subnet"], # required
|
1269
|
+
# },
|
1270
|
+
# },
|
1271
|
+
# active_directory_type: "SELF_MANAGED", # accepts SELF_MANAGED, AWS_MANAGED
|
1272
|
+
# directory_id: "Directory",
|
862
1273
|
# },
|
863
1274
|
# },
|
864
1275
|
# product: "String", # required
|
@@ -866,12 +1277,23 @@ module Aws::LicenseManagerUserSubscriptions
|
|
866
1277
|
# security_group_id: "SecurityGroup", # required
|
867
1278
|
# subnets: ["Subnet"], # required
|
868
1279
|
# },
|
1280
|
+
# tags: {
|
1281
|
+
# "String" => "String",
|
1282
|
+
# },
|
869
1283
|
# })
|
870
1284
|
#
|
871
1285
|
# @example Response structure
|
872
1286
|
#
|
873
1287
|
# resp.identity_provider_summary.failure_message #=> String
|
1288
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_credentials_provider.secrets_manager_credentials_provider.secret_id #=> String
|
1289
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list #=> Array
|
1290
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list[0] #=> String
|
1291
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_name #=> String
|
1292
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets #=> Array
|
1293
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets[0] #=> String
|
1294
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_type #=> String, one of "SELF_MANAGED", "AWS_MANAGED"
|
874
1295
|
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.directory_id #=> String
|
1296
|
+
# resp.identity_provider_summary.identity_provider_arn #=> String
|
875
1297
|
# resp.identity_provider_summary.product #=> String
|
876
1298
|
# resp.identity_provider_summary.settings.security_group_id #=> String
|
877
1299
|
# resp.identity_provider_summary.settings.subnets #=> Array
|
@@ -903,7 +1325,8 @@ module Aws::LicenseManagerUserSubscriptions
|
|
903
1325
|
# [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html
|
904
1326
|
#
|
905
1327
|
# @option params [String] :domain
|
906
|
-
# The domain name of the user
|
1328
|
+
# The domain name of the Active Directory that contains the user for
|
1329
|
+
# whom to start the product subscription.
|
907
1330
|
#
|
908
1331
|
# @option params [required, Types::IdentityProvider] :identity_provider
|
909
1332
|
# An object that specifies details for the identity provider.
|
@@ -911,6 +1334,12 @@ module Aws::LicenseManagerUserSubscriptions
|
|
911
1334
|
# @option params [required, String] :product
|
912
1335
|
# The name of the user-based subscription product.
|
913
1336
|
#
|
1337
|
+
# Valid values: `VISUAL_STUDIO_ENTERPRISE` \|
|
1338
|
+
# `VISUAL_STUDIO_PROFESSIONAL` \| `OFFICE_PROFESSIONAL_PLUS`
|
1339
|
+
#
|
1340
|
+
# @option params [Hash<String,String>] :tags
|
1341
|
+
# The tags that apply to the product subscription.
|
1342
|
+
#
|
914
1343
|
# @option params [required, String] :username
|
915
1344
|
# The user name from the identity provider of the user.
|
916
1345
|
#
|
@@ -924,18 +1353,42 @@ module Aws::LicenseManagerUserSubscriptions
|
|
924
1353
|
# domain: "String",
|
925
1354
|
# identity_provider: { # required
|
926
1355
|
# active_directory_identity_provider: {
|
927
|
-
#
|
1356
|
+
# active_directory_settings: {
|
1357
|
+
# domain_credentials_provider: {
|
1358
|
+
# secrets_manager_credentials_provider: {
|
1359
|
+
# secret_id: "SecretsManagerCredentialsProviderSecretIdString",
|
1360
|
+
# },
|
1361
|
+
# },
|
1362
|
+
# domain_ipv_4_list: ["IpV4"],
|
1363
|
+
# domain_name: "String",
|
1364
|
+
# domain_network_settings: {
|
1365
|
+
# subnets: ["Subnet"], # required
|
1366
|
+
# },
|
1367
|
+
# },
|
1368
|
+
# active_directory_type: "SELF_MANAGED", # accepts SELF_MANAGED, AWS_MANAGED
|
1369
|
+
# directory_id: "Directory",
|
928
1370
|
# },
|
929
1371
|
# },
|
930
1372
|
# product: "String", # required
|
1373
|
+
# tags: {
|
1374
|
+
# "String" => "String",
|
1375
|
+
# },
|
931
1376
|
# username: "String", # required
|
932
1377
|
# })
|
933
1378
|
#
|
934
1379
|
# @example Response structure
|
935
1380
|
#
|
936
1381
|
# resp.product_user_summary.domain #=> String
|
1382
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_credentials_provider.secrets_manager_credentials_provider.secret_id #=> String
|
1383
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list #=> Array
|
1384
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list[0] #=> String
|
1385
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_name #=> String
|
1386
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets #=> Array
|
1387
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets[0] #=> String
|
1388
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_type #=> String, one of "SELF_MANAGED", "AWS_MANAGED"
|
937
1389
|
# resp.product_user_summary.identity_provider.active_directory_identity_provider.directory_id #=> String
|
938
1390
|
# resp.product_user_summary.product #=> String
|
1391
|
+
# resp.product_user_summary.product_user_arn #=> String
|
939
1392
|
# resp.product_user_summary.status #=> String
|
940
1393
|
# resp.product_user_summary.status_message #=> String
|
941
1394
|
# resp.product_user_summary.subscription_end_date #=> String
|
@@ -955,15 +1408,22 @@ module Aws::LicenseManagerUserSubscriptions
|
|
955
1408
|
# provider.
|
956
1409
|
#
|
957
1410
|
# @option params [String] :domain
|
958
|
-
# The domain name of the user
|
1411
|
+
# The domain name of the Active Directory that contains the user for
|
1412
|
+
# whom to stop the product subscription.
|
959
1413
|
#
|
960
|
-
# @option params [
|
1414
|
+
# @option params [Types::IdentityProvider] :identity_provider
|
961
1415
|
# An object that specifies details for the identity provider.
|
962
1416
|
#
|
963
|
-
# @option params [
|
1417
|
+
# @option params [String] :product
|
964
1418
|
# The name of the user-based subscription product.
|
965
1419
|
#
|
966
|
-
#
|
1420
|
+
# Valid values: `VISUAL_STUDIO_ENTERPRISE` \|
|
1421
|
+
# `VISUAL_STUDIO_PROFESSIONAL` \| `OFFICE_PROFESSIONAL_PLUS`
|
1422
|
+
#
|
1423
|
+
# @option params [String] :product_user_arn
|
1424
|
+
# The Amazon Resource Name (ARN) of the product user.
|
1425
|
+
#
|
1426
|
+
# @option params [String] :username
|
967
1427
|
# The user name from the identity provider for the user.
|
968
1428
|
#
|
969
1429
|
# @return [Types::StopProductSubscriptionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -974,20 +1434,42 @@ module Aws::LicenseManagerUserSubscriptions
|
|
974
1434
|
#
|
975
1435
|
# resp = client.stop_product_subscription({
|
976
1436
|
# domain: "String",
|
977
|
-
# identity_provider: {
|
1437
|
+
# identity_provider: {
|
978
1438
|
# active_directory_identity_provider: {
|
979
|
-
#
|
1439
|
+
# active_directory_settings: {
|
1440
|
+
# domain_credentials_provider: {
|
1441
|
+
# secrets_manager_credentials_provider: {
|
1442
|
+
# secret_id: "SecretsManagerCredentialsProviderSecretIdString",
|
1443
|
+
# },
|
1444
|
+
# },
|
1445
|
+
# domain_ipv_4_list: ["IpV4"],
|
1446
|
+
# domain_name: "String",
|
1447
|
+
# domain_network_settings: {
|
1448
|
+
# subnets: ["Subnet"], # required
|
1449
|
+
# },
|
1450
|
+
# },
|
1451
|
+
# active_directory_type: "SELF_MANAGED", # accepts SELF_MANAGED, AWS_MANAGED
|
1452
|
+
# directory_id: "Directory",
|
980
1453
|
# },
|
981
1454
|
# },
|
982
|
-
# product: "String",
|
983
|
-
#
|
1455
|
+
# product: "String",
|
1456
|
+
# product_user_arn: "Arn",
|
1457
|
+
# username: "String",
|
984
1458
|
# })
|
985
1459
|
#
|
986
1460
|
# @example Response structure
|
987
1461
|
#
|
988
1462
|
# resp.product_user_summary.domain #=> String
|
1463
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_credentials_provider.secrets_manager_credentials_provider.secret_id #=> String
|
1464
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list #=> Array
|
1465
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list[0] #=> String
|
1466
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_name #=> String
|
1467
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets #=> Array
|
1468
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets[0] #=> String
|
1469
|
+
# resp.product_user_summary.identity_provider.active_directory_identity_provider.active_directory_type #=> String, one of "SELF_MANAGED", "AWS_MANAGED"
|
989
1470
|
# resp.product_user_summary.identity_provider.active_directory_identity_provider.directory_id #=> String
|
990
1471
|
# resp.product_user_summary.product #=> String
|
1472
|
+
# resp.product_user_summary.product_user_arn #=> String
|
991
1473
|
# resp.product_user_summary.status #=> String
|
992
1474
|
# resp.product_user_summary.status_message #=> String
|
993
1475
|
# resp.product_user_summary.subscription_end_date #=> String
|
@@ -1003,15 +1485,76 @@ module Aws::LicenseManagerUserSubscriptions
|
|
1003
1485
|
req.send_request(options)
|
1004
1486
|
end
|
1005
1487
|
|
1488
|
+
# Adds tags to a resource.
|
1489
|
+
#
|
1490
|
+
# @option params [required, String] :resource_arn
|
1491
|
+
# The Amazon Resource Name (ARN) of the resource that you want to tag.
|
1492
|
+
#
|
1493
|
+
# @option params [required, Hash<String,String>] :tags
|
1494
|
+
# The tags to apply to the specified resource.
|
1495
|
+
#
|
1496
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1497
|
+
#
|
1498
|
+
# @example Request syntax with placeholder values
|
1499
|
+
#
|
1500
|
+
# resp = client.tag_resource({
|
1501
|
+
# resource_arn: "ResourceArn", # required
|
1502
|
+
# tags: { # required
|
1503
|
+
# "String" => "String",
|
1504
|
+
# },
|
1505
|
+
# })
|
1506
|
+
#
|
1507
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/TagResource AWS API Documentation
|
1508
|
+
#
|
1509
|
+
# @overload tag_resource(params = {})
|
1510
|
+
# @param [Hash] params ({})
|
1511
|
+
def tag_resource(params = {}, options = {})
|
1512
|
+
req = build_request(:tag_resource, params)
|
1513
|
+
req.send_request(options)
|
1514
|
+
end
|
1515
|
+
|
1516
|
+
# Removes tags from a resource.
|
1517
|
+
#
|
1518
|
+
# @option params [required, String] :resource_arn
|
1519
|
+
# The Amazon Resource Name (ARN) of the resource that you want to remove
|
1520
|
+
# tags from.
|
1521
|
+
#
|
1522
|
+
# @option params [required, Array<String>] :tag_keys
|
1523
|
+
# The tag keys to remove from the resource.
|
1524
|
+
#
|
1525
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1526
|
+
#
|
1527
|
+
# @example Request syntax with placeholder values
|
1528
|
+
#
|
1529
|
+
# resp = client.untag_resource({
|
1530
|
+
# resource_arn: "ResourceArn", # required
|
1531
|
+
# tag_keys: ["String"], # required
|
1532
|
+
# })
|
1533
|
+
#
|
1534
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-user-subscriptions-2018-05-10/UntagResource AWS API Documentation
|
1535
|
+
#
|
1536
|
+
# @overload untag_resource(params = {})
|
1537
|
+
# @param [Hash] params ({})
|
1538
|
+
def untag_resource(params = {}, options = {})
|
1539
|
+
req = build_request(:untag_resource, params)
|
1540
|
+
req.send_request(options)
|
1541
|
+
end
|
1542
|
+
|
1006
1543
|
# Updates additional product configuration settings for the registered
|
1007
1544
|
# identity provider.
|
1008
1545
|
#
|
1009
|
-
# @option params [
|
1010
|
-
#
|
1546
|
+
# @option params [Types::IdentityProvider] :identity_provider
|
1547
|
+
# Refers to an identity provider.
|
1011
1548
|
#
|
1012
|
-
# @option params [
|
1549
|
+
# @option params [String] :identity_provider_arn
|
1550
|
+
# The Amazon Resource Name (ARN) of the identity provider to update.
|
1551
|
+
#
|
1552
|
+
# @option params [String] :product
|
1013
1553
|
# The name of the user-based subscription product.
|
1014
1554
|
#
|
1555
|
+
# Valid values: `VISUAL_STUDIO_ENTERPRISE` \|
|
1556
|
+
# `VISUAL_STUDIO_PROFESSIONAL` \| `OFFICE_PROFESSIONAL_PLUS`
|
1557
|
+
#
|
1015
1558
|
# @option params [required, Types::UpdateSettings] :update_settings
|
1016
1559
|
# Updates the registered identity provider’s product related
|
1017
1560
|
# configuration settings. You can update any combination of settings in
|
@@ -1030,12 +1573,26 @@ module Aws::LicenseManagerUserSubscriptions
|
|
1030
1573
|
# @example Request syntax with placeholder values
|
1031
1574
|
#
|
1032
1575
|
# resp = client.update_identity_provider_settings({
|
1033
|
-
# identity_provider: {
|
1576
|
+
# identity_provider: {
|
1034
1577
|
# active_directory_identity_provider: {
|
1035
|
-
#
|
1578
|
+
# active_directory_settings: {
|
1579
|
+
# domain_credentials_provider: {
|
1580
|
+
# secrets_manager_credentials_provider: {
|
1581
|
+
# secret_id: "SecretsManagerCredentialsProviderSecretIdString",
|
1582
|
+
# },
|
1583
|
+
# },
|
1584
|
+
# domain_ipv_4_list: ["IpV4"],
|
1585
|
+
# domain_name: "String",
|
1586
|
+
# domain_network_settings: {
|
1587
|
+
# subnets: ["Subnet"], # required
|
1588
|
+
# },
|
1589
|
+
# },
|
1590
|
+
# active_directory_type: "SELF_MANAGED", # accepts SELF_MANAGED, AWS_MANAGED
|
1591
|
+
# directory_id: "Directory",
|
1036
1592
|
# },
|
1037
1593
|
# },
|
1038
|
-
#
|
1594
|
+
# identity_provider_arn: "Arn",
|
1595
|
+
# product: "String",
|
1039
1596
|
# update_settings: { # required
|
1040
1597
|
# add_subnets: ["Subnet"], # required
|
1041
1598
|
# remove_subnets: ["Subnet"], # required
|
@@ -1046,7 +1603,15 @@ module Aws::LicenseManagerUserSubscriptions
|
|
1046
1603
|
# @example Response structure
|
1047
1604
|
#
|
1048
1605
|
# resp.identity_provider_summary.failure_message #=> String
|
1606
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_credentials_provider.secrets_manager_credentials_provider.secret_id #=> String
|
1607
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list #=> Array
|
1608
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_ipv_4_list[0] #=> String
|
1609
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_name #=> String
|
1610
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets #=> Array
|
1611
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_settings.domain_network_settings.subnets[0] #=> String
|
1612
|
+
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.active_directory_type #=> String, one of "SELF_MANAGED", "AWS_MANAGED"
|
1049
1613
|
# resp.identity_provider_summary.identity_provider.active_directory_identity_provider.directory_id #=> String
|
1614
|
+
# resp.identity_provider_summary.identity_provider_arn #=> String
|
1050
1615
|
# resp.identity_provider_summary.product #=> String
|
1051
1616
|
# resp.identity_provider_summary.settings.security_group_id #=> String
|
1052
1617
|
# resp.identity_provider_summary.settings.subnets #=> Array
|
@@ -1080,7 +1645,7 @@ module Aws::LicenseManagerUserSubscriptions
|
|
1080
1645
|
tracer: tracer
|
1081
1646
|
)
|
1082
1647
|
context[:gem_name] = 'aws-sdk-licensemanagerusersubscriptions'
|
1083
|
-
context[:gem_version] = '1.
|
1648
|
+
context[:gem_version] = '1.28.0'
|
1084
1649
|
Seahorse::Client::Request.new(handlers, context)
|
1085
1650
|
end
|
1086
1651
|
|