Class: Aws::PcaConnectorAd::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::PcaConnectorAd::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-pcaconnectorad/client.rb
Overview
An API client for PcaConnectorAd. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::PcaConnectorAd::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#create_connector(params = {}) ⇒ Types::CreateConnectorResponse
Creates a connector between Amazon Web Services Private CA and an Active Directory.
-
#create_directory_registration(params = {}) ⇒ Types::CreateDirectoryRegistrationResponse
Creates a directory registration that authorizes communication between Amazon Web Services Private CA and an Active Directory.
-
#create_service_principal_name(params = {}) ⇒ Struct
Creates a service principal name (SPN) for the service account in Active Directory.
-
#create_template(params = {}) ⇒ Types::CreateTemplateResponse
Creates an Active Directory compatible certificate template.
-
#create_template_group_access_control_entry(params = {}) ⇒ Struct
Create a group access control entry.
-
#delete_connector(params = {}) ⇒ Struct
Deletes a connector for Active Directory.
-
#delete_directory_registration(params = {}) ⇒ Struct
Deletes a directory registration.
-
#delete_service_principal_name(params = {}) ⇒ Struct
Deletes the service principal name (SPN) used by a connector to authenticate with your Active Directory.
-
#delete_template(params = {}) ⇒ Struct
Deletes a template.
-
#delete_template_group_access_control_entry(params = {}) ⇒ Struct
Deletes a group access control entry.
-
#get_connector(params = {}) ⇒ Types::GetConnectorResponse
Lists information about your connector.
-
#get_directory_registration(params = {}) ⇒ Types::GetDirectoryRegistrationResponse
A structure that contains information about your directory registration.
-
#get_service_principal_name(params = {}) ⇒ Types::GetServicePrincipalNameResponse
Lists the service principal name that the connector uses to authenticate with Active Directory.
-
#get_template(params = {}) ⇒ Types::GetTemplateResponse
Retrieves a certificate template that the connector uses to issue certificates from a private CA.
-
#get_template_group_access_control_entry(params = {}) ⇒ Types::GetTemplateGroupAccessControlEntryResponse
Retrieves the group access control entries for a template.
-
#list_connectors(params = {}) ⇒ Types::ListConnectorsResponse
Lists the connectors that you created by using the [docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateConnector][1] action.
-
#list_directory_registrations(params = {}) ⇒ Types::ListDirectoryRegistrationsResponse
Lists the directory registrations that you created by using the [docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateDirectoryRegistration][1] action.
-
#list_service_principal_names(params = {}) ⇒ Types::ListServicePrincipalNamesResponse
Lists the service principal names that the connector uses to authenticate with Active Directory.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags, if any, that are associated with your resource.
-
#list_template_group_access_control_entries(params = {}) ⇒ Types::ListTemplateGroupAccessControlEntriesResponse
Lists group access control entries you created.
-
#list_templates(params = {}) ⇒ Types::ListTemplatesResponse
Lists the templates, if any, that are associated with a connector.
-
#tag_resource(params = {}) ⇒ Struct
Adds one or more tags to your resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from your resource.
-
#update_template(params = {}) ⇒ Struct
Update template configuration to define the information included in certificates.
-
#update_template_group_access_control_entry(params = {}) ⇒ Struct
Update a group access control entry you created using [CreateTemplateGroupAccessControlEntry].
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 444 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2316 2317 2318 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 2316 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2319 2320 2321 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 2319 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 2289 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::PcaConnectorAd') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-pcaconnectorad' context[:gem_version] = '1.17.0' Seahorse::Client::Request.new(handlers, context) end |
#create_connector(params = {}) ⇒ Types::CreateConnectorResponse
Creates a connector between Amazon Web Services Private CA and an Active Directory. You must specify the private CA, directory ID, and security groups.
499 500 501 502 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 499 def create_connector(params = {}, = {}) req = build_request(:create_connector, params) req.send_request() end |
#create_directory_registration(params = {}) ⇒ Types::CreateDirectoryRegistrationResponse
Creates a directory registration that authorizes communication between Amazon Web Services Private CA and an Active Directory
542 543 544 545 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 542 def create_directory_registration(params = {}, = {}) req = build_request(:create_directory_registration, params) req.send_request() end |
#create_service_principal_name(params = {}) ⇒ Struct
Creates a service principal name (SPN) for the service account in Active Directory. Kerberos authentication uses SPNs to associate a service instance with a service sign-in account.
587 588 589 590 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 587 def create_service_principal_name(params = {}, = {}) req = build_request(:create_service_principal_name, params) req.send_request() end |
#create_template(params = {}) ⇒ Types::CreateTemplateResponse
Creates an Active Directory compatible certificate template. The connectors issues certificates using these templates based on the requester’s Active Directory group membership.
872 873 874 875 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 872 def create_template(params = {}, = {}) req = build_request(:create_template, params) req.send_request() end |
#create_template_group_access_control_entry(params = {}) ⇒ Struct
Create a group access control entry. Allow or deny Active Directory groups from enrolling and/or autoenrolling with the template based on the group security identifiers (SIDs).
926 927 928 929 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 926 def create_template_group_access_control_entry(params = {}, = {}) req = build_request(:create_template_group_access_control_entry, params) req.send_request() end |
#delete_connector(params = {}) ⇒ Struct
Deletes a connector for Active Directory. You must provide the Amazon Resource Name (ARN) of the connector that you want to delete. You can find the ARN by calling the
- docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_ListConnectors][1
-
action. Deleting a connector does not deregister your directory with Amazon Web Services Private CA. You can deregister your directory by calling the
966 967 968 969 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 966 def delete_connector(params = {}, = {}) req = build_request(:delete_connector, params) req.send_request() end |
#delete_directory_registration(params = {}) ⇒ Struct
Deletes a directory registration. Deleting a directory registration deauthorizes Amazon Web Services Private CA with the directory.
994 995 996 997 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 994 def delete_directory_registration(params = {}, = {}) req = build_request(:delete_directory_registration, params) req.send_request() end |
#delete_service_principal_name(params = {}) ⇒ Struct
Deletes the service principal name (SPN) used by a connector to authenticate with your Active Directory.
1031 1032 1033 1034 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1031 def delete_service_principal_name(params = {}, = {}) req = build_request(:delete_service_principal_name, params) req.send_request() end |
#delete_template(params = {}) ⇒ Struct
Deletes a template. Certificates issued using the template are still valid until they are revoked or expired.
1059 1060 1061 1062 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1059 def delete_template(params = {}, = {}) req = build_request(:delete_template, params) req.send_request() end |
#delete_template_group_access_control_entry(params = {}) ⇒ Struct
Deletes a group access control entry.
1091 1092 1093 1094 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1091 def delete_template_group_access_control_entry(params = {}, = {}) req = build_request(:delete_template_group_access_control_entry, params) req.send_request() end |
#get_connector(params = {}) ⇒ Types::GetConnectorResponse
Lists information about your connector. You specify the connector on input by its ARN (Amazon Resource Name).
1134 1135 1136 1137 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1134 def get_connector(params = {}, = {}) req = build_request(:get_connector, params) req.send_request() end |
#get_directory_registration(params = {}) ⇒ Types::GetDirectoryRegistrationResponse
A structure that contains information about your directory registration.
1173 1174 1175 1176 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1173 def get_directory_registration(params = {}, = {}) req = build_request(:get_directory_registration, params) req.send_request() end |
#get_service_principal_name(params = {}) ⇒ Types::GetServicePrincipalNameResponse
Lists the service principal name that the connector uses to authenticate with Active Directory.
1221 1222 1223 1224 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1221 def get_service_principal_name(params = {}, = {}) req = build_request(:get_service_principal_name, params) req.send_request() end |
#get_template(params = {}) ⇒ Types::GetTemplateResponse
Retrieves a certificate template that the connector uses to issue certificates from a private CA.
1400 1401 1402 1403 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1400 def get_template(params = {}, = {}) req = build_request(:get_template, params) req.send_request() end |
#get_template_group_access_control_entry(params = {}) ⇒ Types::GetTemplateGroupAccessControlEntryResponse
Retrieves the group access control entries for a template.
1444 1445 1446 1447 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1444 def get_template_group_access_control_entry(params = {}, = {}) req = build_request(:get_template_group_access_control_entry, params) req.send_request() end |
#list_connectors(params = {}) ⇒ Types::ListConnectorsResponse
Lists the connectors that you created by using the
- docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateConnector][1
-
action.
[1]: docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateConnector
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1503 1504 1505 1506 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1503 def list_connectors(params = {}, = {}) req = build_request(:list_connectors, params) req.send_request() end |
#list_directory_registrations(params = {}) ⇒ Types::ListDirectoryRegistrationsResponse
Lists the directory registrations that you created by using the
- docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateDirectoryRegistration][1
-
action.
[1]: docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateDirectoryRegistration
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1558 1559 1560 1561 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1558 def list_directory_registrations(params = {}, = {}) req = build_request(:list_directory_registrations, params) req.send_request() end |
#list_service_principal_names(params = {}) ⇒ Types::ListServicePrincipalNamesResponse
Lists the service principal names that the connector uses to authenticate with Active Directory.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1617 1618 1619 1620 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1617 def list_service_principal_names(params = {}, = {}) req = build_request(:list_service_principal_names, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags, if any, that are associated with your resource.
1647 1648 1649 1650 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1647 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_template_group_access_control_entries(params = {}) ⇒ Types::ListTemplateGroupAccessControlEntriesResponse
Lists group access control entries you created.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1706 1707 1708 1709 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1706 def list_template_group_access_control_entries(params = {}, = {}) req = build_request(:list_template_group_access_control_entries, params) req.send_request() end |
#list_templates(params = {}) ⇒ Types::ListTemplatesResponse
Lists the templates, if any, that are associated with a connector.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1904 1905 1906 1907 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1904 def list_templates(params = {}, = {}) req = build_request(:list_templates, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds one or more tags to your resource.
1934 1935 1936 1937 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1934 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes one or more tags from your resource.
1962 1963 1964 1965 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 1962 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_template(params = {}) ⇒ Struct
Update template configuration to define the information included in certificates.
2230 2231 2232 2233 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 2230 def update_template(params = {}, = {}) req = build_request(:update_template, params) req.send_request() end |
#update_template_group_access_control_entry(params = {}) ⇒ Struct
Update a group access control entry you created using [CreateTemplateGroupAccessControlEntry].
2280 2281 2282 2283 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 2280 def update_template_group_access_control_entry(params = {}, = {}) req = build_request(:update_template_group_access_control_entry, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
2309 2310 2311 |
# File 'lib/aws-sdk-pcaconnectorad/client.rb', line 2309 def waiter_names [] end |