Class: Aws::SecurityIR::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::SecurityIR::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb
Overview
An API client for SecurityIR. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::SecurityIR::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#batch_get_member_account_details(params = {}) ⇒ Types::BatchGetMemberAccountDetailsResponse
Grants permission to view an existing membership.
-
#cancel_membership(params = {}) ⇒ Types::CancelMembershipResponse
Grants permissions to cancel an existing membership.
-
#close_case(params = {}) ⇒ Types::CloseCaseResponse
Grants permission to close an existing case.
-
#create_case(params = {}) ⇒ Types::CreateCaseResponse
Grants permission to create a new case.
-
#create_case_comment(params = {}) ⇒ Types::CreateCaseCommentResponse
Grants permission to add a comment to an existing case.
-
#create_membership(params = {}) ⇒ Types::CreateMembershipResponse
Grants permissions to create a new membership.
-
#get_case(params = {}) ⇒ Types::GetCaseResponse
Grant permission to view a designated case.
-
#get_case_attachment_download_url(params = {}) ⇒ Types::GetCaseAttachmentDownloadUrlResponse
Grants permission to obtain an Amazon S3 presigned URL to download an attachment.
-
#get_case_attachment_upload_url(params = {}) ⇒ Types::GetCaseAttachmentUploadUrlResponse
Grants permission to upload an attachment to a case.
-
#get_membership(params = {}) ⇒ Types::GetMembershipResponse
Grants permission to get details of a designated service membership.
-
#list_case_edits(params = {}) ⇒ Types::ListCaseEditsResponse
Grants permissions to view the aidt log for edits made to a designated case.
-
#list_cases(params = {}) ⇒ Types::ListCasesResponse
Grants permission to list all cases the requester has access to.
-
#list_comments(params = {}) ⇒ Types::ListCommentsResponse
Grants permissions to list and view comments for a designated case.
-
#list_memberships(params = {}) ⇒ Types::ListMembershipsResponse
Grants permission to query the memberships a principal has access to.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Grants permission to view currently configured tags on a resource.
-
#tag_resource(params = {}) ⇒ Struct
Grants permission to add a tag(s) to a designated resource.
-
#untag_resource(params = {}) ⇒ Struct
Grants permission to remove a tag(s) from a designate resource.
-
#update_case(params = {}) ⇒ Struct
Grants permission to update an existing case.
-
#update_case_comment(params = {}) ⇒ Types::UpdateCaseCommentResponse
Grants permission to update an existing case comment.
-
#update_case_status(params = {}) ⇒ Types::UpdateCaseStatusResponse
Grants permission to update the status for a designated cases.
-
#update_membership(params = {}) ⇒ Struct
Grants access to UpdateMembership to change membership configuration.
-
#update_resolver_type(params = {}) ⇒ Types::UpdateResolverTypeResponse
Grants permission to update the resolver type for a case.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
467 468 469 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 467 def initialize(*args) super end |
Instance Method Details
#batch_get_member_account_details(params = {}) ⇒ Types::BatchGetMemberAccountDetailsResponse
Grants permission to view an existing membership.
531 532 533 534 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 531 def batch_get_member_account_details(params = {}, = {}) req = build_request(:batch_get_member_account_details, params) req.send_request() end |
#cancel_membership(params = {}) ⇒ Types::CancelMembershipResponse
Grants permissions to cancel an existing membership.
572 573 574 575 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 572 def cancel_membership(params = {}, = {}) req = build_request(:cancel_membership, params) req.send_request() end |
#close_case(params = {}) ⇒ Types::CloseCaseResponse
Grants permission to close an existing case.
616 617 618 619 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 616 def close_case(params = {}, = {}) req = build_request(:close_case, params) req.send_request() end |
#create_case(params = {}) ⇒ Types::CreateCaseResponse
Grants permission to create a new case.
764 765 766 767 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 764 def create_case(params = {}, = {}) req = build_request(:create_case, params) req.send_request() end |
#create_case_comment(params = {}) ⇒ Types::CreateCaseCommentResponse
Grants permission to add a comment to an existing case.
818 819 820 821 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 818 def create_case_comment(params = {}, = {}) req = build_request(:create_case_comment, params) req.send_request() end |
#create_membership(params = {}) ⇒ Types::CreateMembershipResponse
Grants permissions to create a new membership.
912 913 914 915 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 912 def create_membership(params = {}, = {}) req = build_request(:create_membership, params) req.send_request() end |
#get_case(params = {}) ⇒ Types::GetCaseResponse
Grant permission to view a designated case.
1042 1043 1044 1045 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1042 def get_case(params = {}, = {}) req = build_request(:get_case, params) req.send_request() end |
#get_case_attachment_download_url(params = {}) ⇒ Types::GetCaseAttachmentDownloadUrlResponse
Grants permission to obtain an Amazon S3 presigned URL to download an attachment.
1090 1091 1092 1093 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1090 def (params = {}, = {}) req = build_request(:get_case_attachment_download_url, params) req.send_request() end |
#get_case_attachment_upload_url(params = {}) ⇒ Types::GetCaseAttachmentUploadUrlResponse
Grants permission to upload an attachment to a case.
1150 1151 1152 1153 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1150 def (params = {}, = {}) req = build_request(:get_case_attachment_upload_url, params) req.send_request() end |
#get_membership(params = {}) ⇒ Types::GetMembershipResponse
Grants permission to get details of a designated service membership.
1245 1246 1247 1248 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1245 def get_membership(params = {}, = {}) req = build_request(:get_membership, params) req.send_request() end |
#list_case_edits(params = {}) ⇒ Types::ListCaseEditsResponse
Grants permissions to view the aidt log for edits made to a designated case.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1314 1315 1316 1317 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1314 def list_case_edits(params = {}, = {}) req = build_request(:list_case_edits, params) req.send_request() end |
#list_cases(params = {}) ⇒ Types::ListCasesResponse
Grants permission to list all cases the requester has access to.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1387 1388 1389 1390 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1387 def list_cases(params = {}, = {}) req = build_request(:list_cases, params) req.send_request() end |
#list_comments(params = {}) ⇒ Types::ListCommentsResponse
Grants permissions to list and view comments for a designated case.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1453 1454 1455 1456 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1453 def list_comments(params = {}, = {}) req = build_request(:list_comments, params) req.send_request() end |
#list_memberships(params = {}) ⇒ Types::ListMembershipsResponse
Grants permission to query the memberships a principal has access to.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1514 1515 1516 1517 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1514 def list_memberships(params = {}, = {}) req = build_request(:list_memberships, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Grants permission to view currently configured tags on a resource.
1559 1560 1561 1562 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1559 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Grants permission to add a tag(s) to a designated resource.
1604 1605 1606 1607 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1604 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Grants permission to remove a tag(s) from a designate resource.
1641 1642 1643 1644 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1641 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_case(params = {}) ⇒ Struct
Grants permission to update an existing case.
1833 1834 1835 1836 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1833 def update_case(params = {}, = {}) req = build_request(:update_case, params) req.send_request() end |
#update_case_comment(params = {}) ⇒ Types::UpdateCaseCommentResponse
Grants permission to update an existing case comment.
1889 1890 1891 1892 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1889 def update_case_comment(params = {}, = {}) req = build_request(:update_case_comment, params) req.send_request() end |
#update_case_status(params = {}) ⇒ Types::UpdateCaseStatusResponse
Grants permission to update the status for a designated cases. Options
include Submitted | Detection and Analysis | Eradication, Containment
and Recovery | Post-Incident Activities | Closed
.
1938 1939 1940 1941 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1938 def update_case_status(params = {}, = {}) req = build_request(:update_case_status, params) req.send_request() end |
#update_membership(params = {}) ⇒ Struct
Grants access to UpdateMembership to change membership configuration.
2015 2016 2017 2018 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 2015 def update_membership(params = {}, = {}) req = build_request(:update_membership, params) req.send_request() end |
#update_resolver_type(params = {}) ⇒ Types::UpdateResolverTypeResponse
Grants permission to update the resolver type for a case.
This is a one-way action and cannot be reversed.
Options include self-supported > AWS-supported.
2071 2072 2073 2074 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 2071 def update_resolver_type(params = {}, = {}) req = build_request(:update_resolver_type, params) req.send_request() end |