Amazon.Shield.AmazonShieldClient.ListProtections C# (CSharp) Method

ListProtections() public method

Lists all Protection objects for the account.
/// Exception that indicates that a problem occurred with the service infrastructure. /// You can retry the request. /// /// Exception indicating the specified resource does not exist. ///
public ListProtections ( ListProtectionsRequest request ) : ListProtectionsResponse
request Amazon.Shield.Model.ListProtectionsRequest Container for the necessary parameters to execute the ListProtections service method.
return Amazon.Shield.Model.ListProtectionsResponse
        public ListProtectionsResponse ListProtections(ListProtectionsRequest request)
        {
            var marshaller = new ListProtectionsRequestMarshaller();
            var unmarshaller = ListProtectionsResponseUnmarshaller.Instance;

            return Invoke<ListProtectionsRequest,ListProtectionsResponse>(request, marshaller, unmarshaller);
        }